golang-im聊天
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 

735 líneas
25 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. IsUpdateIntroduction bool `protobuf:"varint,6,opt,name=isUpdateIntroduction,proto3" json:"isUpdateIntroduction,omitempty"` // 是否更新群组简介
  197. Extra string `protobuf:"bytes,7,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
  198. }
  199. func (x *UpdateGroupPush) Reset() {
  200. *x = UpdateGroupPush{}
  201. if protoimpl.UnsafeEnabled {
  202. mi := &file_push_ext_proto_msgTypes[2]
  203. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  204. ms.StoreMessageInfo(mi)
  205. }
  206. }
  207. func (x *UpdateGroupPush) String() string {
  208. return protoimpl.X.MessageStringOf(x)
  209. }
  210. func (*UpdateGroupPush) ProtoMessage() {}
  211. func (x *UpdateGroupPush) ProtoReflect() protoreflect.Message {
  212. mi := &file_push_ext_proto_msgTypes[2]
  213. if protoimpl.UnsafeEnabled && x != nil {
  214. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  215. if ms.LoadMessageInfo() == nil {
  216. ms.StoreMessageInfo(mi)
  217. }
  218. return ms
  219. }
  220. return mi.MessageOf(x)
  221. }
  222. // Deprecated: Use UpdateGroupPush.ProtoReflect.Descriptor instead.
  223. func (*UpdateGroupPush) Descriptor() ([]byte, []int) {
  224. return file_push_ext_proto_rawDescGZIP(), []int{2}
  225. }
  226. func (x *UpdateGroupPush) GetOptId() int64 {
  227. if x != nil {
  228. return x.OptId
  229. }
  230. return 0
  231. }
  232. func (x *UpdateGroupPush) GetOptName() string {
  233. if x != nil {
  234. return x.OptName
  235. }
  236. return ""
  237. }
  238. func (x *UpdateGroupPush) GetName() string {
  239. if x != nil {
  240. return x.Name
  241. }
  242. return ""
  243. }
  244. func (x *UpdateGroupPush) GetAvatarUrl() string {
  245. if x != nil {
  246. return x.AvatarUrl
  247. }
  248. return ""
  249. }
  250. func (x *UpdateGroupPush) GetIntroduction() string {
  251. if x != nil {
  252. return x.Introduction
  253. }
  254. return ""
  255. }
  256. func (x *UpdateGroupPush) GetIsUpdateIntroduction() bool {
  257. if x != nil {
  258. return x.IsUpdateIntroduction
  259. }
  260. return false
  261. }
  262. func (x *UpdateGroupPush) GetExtra() string {
  263. if x != nil {
  264. return x.Extra
  265. }
  266. return ""
  267. }
  268. // 添加群组成员 PC_AGREE_ADD_GROUPS = 120
  269. type AddGroupMembersPush struct {
  270. state protoimpl.MessageState
  271. sizeCache protoimpl.SizeCache
  272. unknownFields protoimpl.UnknownFields
  273. OptId int64 `protobuf:"varint,1,opt,name=opt_id,json=optId,proto3" json:"opt_id,omitempty"` // 操作人用户id
  274. OptName string `protobuf:"bytes,2,opt,name=opt_name,json=optName,proto3" json:"opt_name,omitempty"` // 操作人昵称
  275. Members []*GroupMember `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"` // 群组成员
  276. }
  277. func (x *AddGroupMembersPush) Reset() {
  278. *x = AddGroupMembersPush{}
  279. if protoimpl.UnsafeEnabled {
  280. mi := &file_push_ext_proto_msgTypes[3]
  281. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  282. ms.StoreMessageInfo(mi)
  283. }
  284. }
  285. func (x *AddGroupMembersPush) String() string {
  286. return protoimpl.X.MessageStringOf(x)
  287. }
  288. func (*AddGroupMembersPush) ProtoMessage() {}
  289. func (x *AddGroupMembersPush) ProtoReflect() protoreflect.Message {
  290. mi := &file_push_ext_proto_msgTypes[3]
  291. if protoimpl.UnsafeEnabled && x != nil {
  292. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  293. if ms.LoadMessageInfo() == nil {
  294. ms.StoreMessageInfo(mi)
  295. }
  296. return ms
  297. }
  298. return mi.MessageOf(x)
  299. }
  300. // Deprecated: Use AddGroupMembersPush.ProtoReflect.Descriptor instead.
  301. func (*AddGroupMembersPush) Descriptor() ([]byte, []int) {
  302. return file_push_ext_proto_rawDescGZIP(), []int{3}
  303. }
  304. func (x *AddGroupMembersPush) GetOptId() int64 {
  305. if x != nil {
  306. return x.OptId
  307. }
  308. return 0
  309. }
  310. func (x *AddGroupMembersPush) GetOptName() string {
  311. if x != nil {
  312. return x.OptName
  313. }
  314. return ""
  315. }
  316. func (x *AddGroupMembersPush) GetMembers() []*GroupMember {
  317. if x != nil {
  318. return x.Members
  319. }
  320. return nil
  321. }
  322. // 删除群组成员 PC_REMOVE_GROUP_MEMBER = 121
  323. type RemoveGroupMemberPush struct {
  324. state protoimpl.MessageState
  325. sizeCache protoimpl.SizeCache
  326. unknownFields protoimpl.UnknownFields
  327. OptId int64 `protobuf:"varint,1,opt,name=opt_id,json=optId,proto3" json:"opt_id,omitempty"` // 操作人用户id
  328. OptName string `protobuf:"bytes,2,opt,name=opt_name,json=optName,proto3" json:"opt_name,omitempty"` // 操作人昵称
  329. DeletedUserId int64 `protobuf:"varint,3,opt,name=deleted_user_id,json=deletedUserId,proto3" json:"deleted_user_id,omitempty"` // 被删除的成员id
  330. DeletedUserName string `protobuf:"bytes,4,opt,name=deleted_user_name,json=deletedUserName,proto3" json:"deleted_user_name,omitempty"` // 被删除的成员昵称
  331. }
  332. func (x *RemoveGroupMemberPush) Reset() {
  333. *x = RemoveGroupMemberPush{}
  334. if protoimpl.UnsafeEnabled {
  335. mi := &file_push_ext_proto_msgTypes[4]
  336. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  337. ms.StoreMessageInfo(mi)
  338. }
  339. }
  340. func (x *RemoveGroupMemberPush) String() string {
  341. return protoimpl.X.MessageStringOf(x)
  342. }
  343. func (*RemoveGroupMemberPush) ProtoMessage() {}
  344. func (x *RemoveGroupMemberPush) ProtoReflect() protoreflect.Message {
  345. mi := &file_push_ext_proto_msgTypes[4]
  346. if protoimpl.UnsafeEnabled && x != nil {
  347. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  348. if ms.LoadMessageInfo() == nil {
  349. ms.StoreMessageInfo(mi)
  350. }
  351. return ms
  352. }
  353. return mi.MessageOf(x)
  354. }
  355. // Deprecated: Use RemoveGroupMemberPush.ProtoReflect.Descriptor instead.
  356. func (*RemoveGroupMemberPush) Descriptor() ([]byte, []int) {
  357. return file_push_ext_proto_rawDescGZIP(), []int{4}
  358. }
  359. func (x *RemoveGroupMemberPush) GetOptId() int64 {
  360. if x != nil {
  361. return x.OptId
  362. }
  363. return 0
  364. }
  365. func (x *RemoveGroupMemberPush) GetOptName() string {
  366. if x != nil {
  367. return x.OptName
  368. }
  369. return ""
  370. }
  371. func (x *RemoveGroupMemberPush) GetDeletedUserId() int64 {
  372. if x != nil {
  373. return x.DeletedUserId
  374. }
  375. return 0
  376. }
  377. func (x *RemoveGroupMemberPush) GetDeletedUserName() string {
  378. if x != nil {
  379. return x.DeletedUserName
  380. }
  381. return ""
  382. }
  383. // 禁言群组成员 PC_BANNED_GROUP_MEMBER = 122
  384. type BannedGroupMemberPush struct {
  385. state protoimpl.MessageState
  386. sizeCache protoimpl.SizeCache
  387. unknownFields protoimpl.UnknownFields
  388. OptId int64 `protobuf:"varint,1,opt,name=opt_id,json=optId,proto3" json:"opt_id,omitempty"` // 操作人用户id
  389. OptName string `protobuf:"bytes,2,opt,name=opt_name,json=optName,proto3" json:"opt_name,omitempty"` // 操作人昵称
  390. BannedUserId int64 `protobuf:"varint,3,opt,name=banned_user_id,json=bannedUserId,proto3" json:"banned_user_id,omitempty"` // 被禁言的成员id
  391. BannedUserName string `protobuf:"bytes,4,opt,name=banned_user_name,json=bannedUserName,proto3" json:"banned_user_name,omitempty"` // 被禁言的成员昵称
  392. }
  393. func (x *BannedGroupMemberPush) Reset() {
  394. *x = BannedGroupMemberPush{}
  395. if protoimpl.UnsafeEnabled {
  396. mi := &file_push_ext_proto_msgTypes[5]
  397. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  398. ms.StoreMessageInfo(mi)
  399. }
  400. }
  401. func (x *BannedGroupMemberPush) String() string {
  402. return protoimpl.X.MessageStringOf(x)
  403. }
  404. func (*BannedGroupMemberPush) ProtoMessage() {}
  405. func (x *BannedGroupMemberPush) ProtoReflect() protoreflect.Message {
  406. mi := &file_push_ext_proto_msgTypes[5]
  407. if protoimpl.UnsafeEnabled && x != nil {
  408. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  409. if ms.LoadMessageInfo() == nil {
  410. ms.StoreMessageInfo(mi)
  411. }
  412. return ms
  413. }
  414. return mi.MessageOf(x)
  415. }
  416. // Deprecated: Use BannedGroupMemberPush.ProtoReflect.Descriptor instead.
  417. func (*BannedGroupMemberPush) Descriptor() ([]byte, []int) {
  418. return file_push_ext_proto_rawDescGZIP(), []int{5}
  419. }
  420. func (x *BannedGroupMemberPush) GetOptId() int64 {
  421. if x != nil {
  422. return x.OptId
  423. }
  424. return 0
  425. }
  426. func (x *BannedGroupMemberPush) GetOptName() string {
  427. if x != nil {
  428. return x.OptName
  429. }
  430. return ""
  431. }
  432. func (x *BannedGroupMemberPush) GetBannedUserId() int64 {
  433. if x != nil {
  434. return x.BannedUserId
  435. }
  436. return 0
  437. }
  438. func (x *BannedGroupMemberPush) GetBannedUserName() string {
  439. if x != nil {
  440. return x.BannedUserName
  441. }
  442. return ""
  443. }
  444. var File_push_ext_proto protoreflect.FileDescriptor
  445. var file_push_ext_proto_rawDesc = []byte{
  446. 0x0a, 0x0e, 0x70, 0x75, 0x73, 0x68, 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  447. 0x12, 0x02, 0x70, 0x62, 0x1a, 0x0f, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x2e, 0x65, 0x78, 0x74, 0x2e,
  448. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x89, 0x01, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69,
  449. 0x65, 0x6e, 0x64, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65, 0x6e,
  450. 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69, 0x65,
  451. 0x6e, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65,
  452. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65,
  453. 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03,
  454. 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12,
  455. 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04,
  456. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
  457. 0x6e, 0x22, 0x6c, 0x0a, 0x12, 0x41, 0x67, 0x72, 0x65, 0x65, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69,
  458. 0x65, 0x6e, 0x64, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65, 0x6e,
  459. 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69, 0x65,
  460. 0x6e, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65,
  461. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65,
  462. 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03,
  463. 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x22,
  464. 0xe4, 0x01, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50,
  465. 0x75, 0x73, 0x68, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
  466. 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f, 0x70, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70,
  467. 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70,
  468. 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20,
  469. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61,
  470. 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61,
  471. 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x72,
  472. 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
  473. 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x14,
  474. 0x69, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63,
  475. 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x73, 0x55, 0x70,
  476. 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  477. 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
  478. 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x72, 0x0a, 0x13, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f,
  479. 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x50, 0x75, 0x73, 0x68, 0x12, 0x15, 0x0a,
  480. 0x06, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f,
  481. 0x70, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
  482. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12,
  483. 0x29, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
  484. 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65,
  485. 0x72, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x22, 0x9d, 0x01, 0x0a, 0x15, 0x52,
  486. 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
  487. 0x50, 0x75, 0x73, 0x68, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01,
  488. 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f, 0x70, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f,
  489. 0x70, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f,
  490. 0x70, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65,
  491. 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
  492. 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2a,
  493. 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e,
  494. 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74,
  495. 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x99, 0x01, 0x0a, 0x15, 0x42,
  496. 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
  497. 0x50, 0x75, 0x73, 0x68, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01,
  498. 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f, 0x70, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f,
  499. 0x70, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f,
  500. 0x70, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64,
  501. 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c,
  502. 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10,
  503. 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
  504. 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x55, 0x73,
  505. 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x2a, 0xb1, 0x01, 0x0a, 0x08, 0x50, 0x75, 0x73, 0x68, 0x43,
  506. 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x43, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x44, 0x45,
  507. 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x43, 0x5f, 0x41, 0x44,
  508. 0x44, 0x5f, 0x46, 0x52, 0x49, 0x45, 0x4e, 0x44, 0x10, 0x64, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x43,
  509. 0x5f, 0x41, 0x47, 0x52, 0x45, 0x45, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x46, 0x52, 0x49, 0x45, 0x4e,
  510. 0x44, 0x10, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x43, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45,
  511. 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x6e, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x43, 0x5f, 0x41,
  512. 0x44, 0x44, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x53,
  513. 0x10, 0x78, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x43, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x5f,
  514. 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x79, 0x12, 0x1a,
  515. 0x0a, 0x16, 0x50, 0x43, 0x5f, 0x42, 0x41, 0x4e, 0x4e, 0x45, 0x44, 0x5f, 0x47, 0x52, 0x4f, 0x55,
  516. 0x50, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x7a, 0x42, 0x0d, 0x5a, 0x0b, 0x67, 0x69,
  517. 0x6d, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x62, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  518. 0x33,
  519. }
  520. var (
  521. file_push_ext_proto_rawDescOnce sync.Once
  522. file_push_ext_proto_rawDescData = file_push_ext_proto_rawDesc
  523. )
  524. func file_push_ext_proto_rawDescGZIP() []byte {
  525. file_push_ext_proto_rawDescOnce.Do(func() {
  526. file_push_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_push_ext_proto_rawDescData)
  527. })
  528. return file_push_ext_proto_rawDescData
  529. }
  530. var file_push_ext_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  531. var file_push_ext_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
  532. var file_push_ext_proto_goTypes = []interface{}{
  533. (PushCode)(0), // 0: pb.PushCode
  534. (*AddFriendPush)(nil), // 1: pb.AddFriendPush
  535. (*AgreeAddFriendPush)(nil), // 2: pb.AgreeAddFriendPush
  536. (*UpdateGroupPush)(nil), // 3: pb.UpdateGroupPush
  537. (*AddGroupMembersPush)(nil), // 4: pb.AddGroupMembersPush
  538. (*RemoveGroupMemberPush)(nil), // 5: pb.RemoveGroupMemberPush
  539. (*BannedGroupMemberPush)(nil), // 6: pb.BannedGroupMemberPush
  540. (*GroupMember)(nil), // 7: pb.GroupMember
  541. }
  542. var file_push_ext_proto_depIdxs = []int32{
  543. 7, // 0: pb.AddGroupMembersPush.members:type_name -> pb.GroupMember
  544. 1, // [1:1] is the sub-list for method output_type
  545. 1, // [1:1] is the sub-list for method input_type
  546. 1, // [1:1] is the sub-list for extension type_name
  547. 1, // [1:1] is the sub-list for extension extendee
  548. 0, // [0:1] is the sub-list for field type_name
  549. }
  550. func init() { file_push_ext_proto_init() }
  551. func file_push_ext_proto_init() {
  552. if File_push_ext_proto != nil {
  553. return
  554. }
  555. file_logic_ext_proto_init()
  556. if !protoimpl.UnsafeEnabled {
  557. file_push_ext_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  558. switch v := v.(*AddFriendPush); i {
  559. case 0:
  560. return &v.state
  561. case 1:
  562. return &v.sizeCache
  563. case 2:
  564. return &v.unknownFields
  565. default:
  566. return nil
  567. }
  568. }
  569. file_push_ext_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  570. switch v := v.(*AgreeAddFriendPush); i {
  571. case 0:
  572. return &v.state
  573. case 1:
  574. return &v.sizeCache
  575. case 2:
  576. return &v.unknownFields
  577. default:
  578. return nil
  579. }
  580. }
  581. file_push_ext_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  582. switch v := v.(*UpdateGroupPush); i {
  583. case 0:
  584. return &v.state
  585. case 1:
  586. return &v.sizeCache
  587. case 2:
  588. return &v.unknownFields
  589. default:
  590. return nil
  591. }
  592. }
  593. file_push_ext_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  594. switch v := v.(*AddGroupMembersPush); i {
  595. case 0:
  596. return &v.state
  597. case 1:
  598. return &v.sizeCache
  599. case 2:
  600. return &v.unknownFields
  601. default:
  602. return nil
  603. }
  604. }
  605. file_push_ext_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  606. switch v := v.(*RemoveGroupMemberPush); i {
  607. case 0:
  608. return &v.state
  609. case 1:
  610. return &v.sizeCache
  611. case 2:
  612. return &v.unknownFields
  613. default:
  614. return nil
  615. }
  616. }
  617. file_push_ext_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  618. switch v := v.(*BannedGroupMemberPush); i {
  619. case 0:
  620. return &v.state
  621. case 1:
  622. return &v.sizeCache
  623. case 2:
  624. return &v.unknownFields
  625. default:
  626. return nil
  627. }
  628. }
  629. }
  630. type x struct{}
  631. out := protoimpl.TypeBuilder{
  632. File: protoimpl.DescBuilder{
  633. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  634. RawDescriptor: file_push_ext_proto_rawDesc,
  635. NumEnums: 1,
  636. NumMessages: 6,
  637. NumExtensions: 0,
  638. NumServices: 0,
  639. },
  640. GoTypes: file_push_ext_proto_goTypes,
  641. DependencyIndexes: file_push_ext_proto_depIdxs,
  642. EnumInfos: file_push_ext_proto_enumTypes,
  643. MessageInfos: file_push_ext_proto_msgTypes,
  644. }.Build()
  645. File_push_ext_proto = out.File
  646. file_push_ext_proto_rawDesc = nil
  647. file_push_ext_proto_goTypes = nil
  648. file_push_ext_proto_depIdxs = nil
  649. }