附近小店
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

im.push.ext.pb.go 21 KiB

1 månad sedan
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623
  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: im.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. )
  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. DeletedUserName string `protobuf:"bytes,4,opt,name=deleted_user_name,json=deletedUserName,proto3" json:"deleted_user_name,omitempty"` // 被删除的成员昵称
  321. }
  322. func (x *RemoveGroupMemberPush) Reset() {
  323. *x = RemoveGroupMemberPush{}
  324. if protoimpl.UnsafeEnabled {
  325. mi := &file_push_ext_proto_msgTypes[4]
  326. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  327. ms.StoreMessageInfo(mi)
  328. }
  329. }
  330. func (x *RemoveGroupMemberPush) String() string {
  331. return protoimpl.X.MessageStringOf(x)
  332. }
  333. func (*RemoveGroupMemberPush) ProtoMessage() {}
  334. func (x *RemoveGroupMemberPush) ProtoReflect() protoreflect.Message {
  335. mi := &file_push_ext_proto_msgTypes[4]
  336. if protoimpl.UnsafeEnabled && x != nil {
  337. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  338. if ms.LoadMessageInfo() == nil {
  339. ms.StoreMessageInfo(mi)
  340. }
  341. return ms
  342. }
  343. return mi.MessageOf(x)
  344. }
  345. // Deprecated: Use RemoveGroupMemberPush.ProtoReflect.Descriptor instead.
  346. func (*RemoveGroupMemberPush) Descriptor() ([]byte, []int) {
  347. return file_push_ext_proto_rawDescGZIP(), []int{4}
  348. }
  349. func (x *RemoveGroupMemberPush) GetOptId() int64 {
  350. if x != nil {
  351. return x.OptId
  352. }
  353. return 0
  354. }
  355. func (x *RemoveGroupMemberPush) GetOptName() string {
  356. if x != nil {
  357. return x.OptName
  358. }
  359. return ""
  360. }
  361. func (x *RemoveGroupMemberPush) GetDeletedUserId() int64 {
  362. if x != nil {
  363. return x.DeletedUserId
  364. }
  365. return 0
  366. }
  367. func (x *RemoveGroupMemberPush) GetDeletedUserName() string {
  368. if x != nil {
  369. return x.DeletedUserName
  370. }
  371. return ""
  372. }
  373. var File_push_ext_proto protoreflect.FileDescriptor
  374. var file_push_ext_proto_rawDesc = []byte{
  375. 0x0a, 0x0e, 0x70, 0x75, 0x73, 0x68, 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  376. 0x12, 0x02, 0x70, 0x62, 0x1a, 0x0f, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x2e, 0x65, 0x78, 0x74, 0x2e,
  377. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x89, 0x01, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69,
  378. 0x65, 0x6e, 0x64, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65, 0x6e,
  379. 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69, 0x65,
  380. 0x6e, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65,
  381. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65,
  382. 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03,
  383. 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12,
  384. 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04,
  385. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
  386. 0x6e, 0x22, 0x6c, 0x0a, 0x12, 0x41, 0x67, 0x72, 0x65, 0x65, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69,
  387. 0x65, 0x6e, 0x64, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65, 0x6e,
  388. 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69, 0x65,
  389. 0x6e, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65,
  390. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65,
  391. 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03,
  392. 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x22,
  393. 0xb0, 0x01, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50,
  394. 0x75, 0x73, 0x68, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
  395. 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f, 0x70, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70,
  396. 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70,
  397. 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20,
  398. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61,
  399. 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61,
  400. 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x72,
  401. 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
  402. 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05,
  403. 0x65, 0x78, 0x74, 0x72, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74,
  404. 0x72, 0x61, 0x22, 0x72, 0x0a, 0x13, 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65,
  405. 0x6d, 0x62, 0x65, 0x72, 0x73, 0x50, 0x75, 0x73, 0x68, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x70, 0x74,
  406. 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f, 0x70, 0x74, 0x49, 0x64,
  407. 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
  408. 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x07, 0x6d,
  409. 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70,
  410. 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x07, 0x6d,
  411. 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x22, 0x9d, 0x01, 0x0a, 0x15, 0x52, 0x65, 0x6d, 0x6f, 0x76,
  412. 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x50, 0x75, 0x73, 0x68,
  413. 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  414. 0x52, 0x05, 0x6f, 0x70, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6e,
  415. 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x4e, 0x61,
  416. 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x73,
  417. 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x65, 0x6c,
  418. 0x65, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x64, 0x65,
  419. 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  420. 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x55, 0x73,
  421. 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x2a, 0x95, 0x01, 0x0a, 0x08, 0x50, 0x75, 0x73, 0x68, 0x43,
  422. 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x43, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x44, 0x45,
  423. 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x43, 0x5f, 0x41, 0x44,
  424. 0x44, 0x5f, 0x46, 0x52, 0x49, 0x45, 0x4e, 0x44, 0x10, 0x64, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x43,
  425. 0x5f, 0x41, 0x47, 0x52, 0x45, 0x45, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x46, 0x52, 0x49, 0x45, 0x4e,
  426. 0x44, 0x10, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x43, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45,
  427. 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x6e, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x43, 0x5f, 0x41,
  428. 0x44, 0x44, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x53,
  429. 0x10, 0x78, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x43, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x5f,
  430. 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x79, 0x42, 0x0d,
  431. 0x5a, 0x0b, 0x67, 0x69, 0x6d, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x62, 0x2f, 0x62, 0x06, 0x70,
  432. 0x72, 0x6f, 0x74, 0x6f, 0x33,
  433. }
  434. var (
  435. file_push_ext_proto_rawDescOnce sync.Once
  436. file_push_ext_proto_rawDescData = file_push_ext_proto_rawDesc
  437. )
  438. func file_push_ext_proto_rawDescGZIP() []byte {
  439. file_push_ext_proto_rawDescOnce.Do(func() {
  440. file_push_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_push_ext_proto_rawDescData)
  441. })
  442. return file_push_ext_proto_rawDescData
  443. }
  444. var file_push_ext_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  445. var file_push_ext_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
  446. var file_push_ext_proto_goTypes = []interface{}{
  447. (PushCode)(0), // 0: pb.PushCode
  448. (*AddFriendPush)(nil), // 1: pb.AddFriendPush
  449. (*AgreeAddFriendPush)(nil), // 2: pb.AgreeAddFriendPush
  450. (*UpdateGroupPush)(nil), // 3: pb.UpdateGroupPush
  451. (*AddGroupMembersPush)(nil), // 4: pb.AddGroupMembersPush
  452. (*RemoveGroupMemberPush)(nil), // 5: pb.RemoveGroupMemberPush
  453. (*GroupMember)(nil), // 6: pb.GroupMember
  454. }
  455. var file_push_ext_proto_depIdxs = []int32{
  456. 6, // 0: pb.AddGroupMembersPush.members:type_name -> pb.GroupMember
  457. 1, // [1:1] is the sub-list for method output_type
  458. 1, // [1:1] is the sub-list for method input_type
  459. 1, // [1:1] is the sub-list for extension type_name
  460. 1, // [1:1] is the sub-list for extension extendee
  461. 0, // [0:1] is the sub-list for field type_name
  462. }
  463. func init() { file_push_ext_proto_init() }
  464. func file_push_ext_proto_init() {
  465. if File_push_ext_proto != nil {
  466. return
  467. }
  468. file_logic_ext_proto_init()
  469. if !protoimpl.UnsafeEnabled {
  470. file_push_ext_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  471. switch v := v.(*AddFriendPush); i {
  472. case 0:
  473. return &v.state
  474. case 1:
  475. return &v.sizeCache
  476. case 2:
  477. return &v.unknownFields
  478. default:
  479. return nil
  480. }
  481. }
  482. file_push_ext_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  483. switch v := v.(*AgreeAddFriendPush); i {
  484. case 0:
  485. return &v.state
  486. case 1:
  487. return &v.sizeCache
  488. case 2:
  489. return &v.unknownFields
  490. default:
  491. return nil
  492. }
  493. }
  494. file_push_ext_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  495. switch v := v.(*UpdateGroupPush); i {
  496. case 0:
  497. return &v.state
  498. case 1:
  499. return &v.sizeCache
  500. case 2:
  501. return &v.unknownFields
  502. default:
  503. return nil
  504. }
  505. }
  506. file_push_ext_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  507. switch v := v.(*AddGroupMembersPush); i {
  508. case 0:
  509. return &v.state
  510. case 1:
  511. return &v.sizeCache
  512. case 2:
  513. return &v.unknownFields
  514. default:
  515. return nil
  516. }
  517. }
  518. file_push_ext_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  519. switch v := v.(*RemoveGroupMemberPush); i {
  520. case 0:
  521. return &v.state
  522. case 1:
  523. return &v.sizeCache
  524. case 2:
  525. return &v.unknownFields
  526. default:
  527. return nil
  528. }
  529. }
  530. }
  531. type x struct{}
  532. out := protoimpl.TypeBuilder{
  533. File: protoimpl.DescBuilder{
  534. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  535. RawDescriptor: file_push_ext_proto_rawDesc,
  536. NumEnums: 1,
  537. NumMessages: 5,
  538. NumExtensions: 0,
  539. NumServices: 0,
  540. },
  541. GoTypes: file_push_ext_proto_goTypes,
  542. DependencyIndexes: file_push_ext_proto_depIdxs,
  543. EnumInfos: file_push_ext_proto_enumTypes,
  544. MessageInfos: file_push_ext_proto_msgTypes,
  545. }.Build()
  546. File_push_ext_proto = out.File
  547. file_push_ext_proto_rawDesc = nil
  548. file_push_ext_proto_goTypes = nil
  549. file_push_ext_proto_depIdxs = nil
  550. }