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.

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