|
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.28.1
- // protoc v3.20.0--rc1
- // source: push.ext.proto
-
- package pb
-
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- reflect "reflect"
- sync "sync"
- )
-
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
-
- type PushCode int32
-
- const (
- PushCode_PC_ADD_DEFAULT PushCode = 0
- PushCode_PC_ADD_FRIEND PushCode = 100 // 添加好友请求
- PushCode_PC_AGREE_ADD_FRIEND PushCode = 101 // 同意添加好友
- PushCode_PC_UPDATE_GROUP PushCode = 110 // 更新群组
- PushCode_PC_ADD_GROUP_MEMBERS PushCode = 120 // 添加群组成员
- PushCode_PC_REMOVE_GROUP_MEMBER PushCode = 121 // 移除群组成员
- PushCode_PC_BANNED_GROUP_MEMBER PushCode = 122 // 禁言群组成员
- PushCode_PC_REMOVE_BANNED_GROUP_MEMBER PushCode = 123 // 取消禁言群组成员
- PushCode_PC_UPDATE_GROUP_MEMBER PushCode = 124 // 更新群组成员信息
- )
-
- // Enum value maps for PushCode.
- var (
- PushCode_name = map[int32]string{
- 0: "PC_ADD_DEFAULT",
- 100: "PC_ADD_FRIEND",
- 101: "PC_AGREE_ADD_FRIEND",
- 110: "PC_UPDATE_GROUP",
- 120: "PC_ADD_GROUP_MEMBERS",
- 121: "PC_REMOVE_GROUP_MEMBER",
- 122: "PC_BANNED_GROUP_MEMBER",
- 123: "PC_REMOVE_BANNED_GROUP_MEMBER",
- 124: "PC_UPDATE_GROUP_MEMBER",
- }
- PushCode_value = map[string]int32{
- "PC_ADD_DEFAULT": 0,
- "PC_ADD_FRIEND": 100,
- "PC_AGREE_ADD_FRIEND": 101,
- "PC_UPDATE_GROUP": 110,
- "PC_ADD_GROUP_MEMBERS": 120,
- "PC_REMOVE_GROUP_MEMBER": 121,
- "PC_BANNED_GROUP_MEMBER": 122,
- "PC_REMOVE_BANNED_GROUP_MEMBER": 123,
- "PC_UPDATE_GROUP_MEMBER": 124,
- }
- )
-
- func (x PushCode) Enum() *PushCode {
- p := new(PushCode)
- *p = x
- return p
- }
-
- func (x PushCode) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
-
- func (PushCode) Descriptor() protoreflect.EnumDescriptor {
- return file_push_ext_proto_enumTypes[0].Descriptor()
- }
-
- func (PushCode) Type() protoreflect.EnumType {
- return &file_push_ext_proto_enumTypes[0]
- }
-
- func (x PushCode) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
-
- // Deprecated: Use PushCode.Descriptor instead.
- func (PushCode) EnumDescriptor() ([]byte, []int) {
- return file_push_ext_proto_rawDescGZIP(), []int{0}
- }
-
- // 推送码 PC_ADD_FRIEND = 100
- type AddFriendPush struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- FriendId int64 `protobuf:"varint,1,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` // 好友id
- Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
- AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像
- Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // 描述
- }
-
- func (x *AddFriendPush) Reset() {
- *x = AddFriendPush{}
- if protoimpl.UnsafeEnabled {
- mi := &file_push_ext_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *AddFriendPush) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*AddFriendPush) ProtoMessage() {}
-
- func (x *AddFriendPush) ProtoReflect() protoreflect.Message {
- mi := &file_push_ext_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use AddFriendPush.ProtoReflect.Descriptor instead.
- func (*AddFriendPush) Descriptor() ([]byte, []int) {
- return file_push_ext_proto_rawDescGZIP(), []int{0}
- }
-
- func (x *AddFriendPush) GetFriendId() int64 {
- if x != nil {
- return x.FriendId
- }
- return 0
- }
-
- func (x *AddFriendPush) GetNickname() string {
- if x != nil {
- return x.Nickname
- }
- return ""
- }
-
- func (x *AddFriendPush) GetAvatarUrl() string {
- if x != nil {
- return x.AvatarUrl
- }
- return ""
- }
-
- func (x *AddFriendPush) GetDescription() string {
- if x != nil {
- return x.Description
- }
- return ""
- }
-
- // 推送码 PC_AGREE_ADD_FRIEND = 101
- type AgreeAddFriendPush struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- FriendId int64 `protobuf:"varint,1,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` // 好友id
- Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称
- AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像
- }
-
- func (x *AgreeAddFriendPush) Reset() {
- *x = AgreeAddFriendPush{}
- if protoimpl.UnsafeEnabled {
- mi := &file_push_ext_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *AgreeAddFriendPush) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*AgreeAddFriendPush) ProtoMessage() {}
-
- func (x *AgreeAddFriendPush) ProtoReflect() protoreflect.Message {
- mi := &file_push_ext_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use AgreeAddFriendPush.ProtoReflect.Descriptor instead.
- func (*AgreeAddFriendPush) Descriptor() ([]byte, []int) {
- return file_push_ext_proto_rawDescGZIP(), []int{1}
- }
-
- func (x *AgreeAddFriendPush) GetFriendId() int64 {
- if x != nil {
- return x.FriendId
- }
- return 0
- }
-
- func (x *AgreeAddFriendPush) GetNickname() string {
- if x != nil {
- return x.Nickname
- }
- return ""
- }
-
- func (x *AgreeAddFriendPush) GetAvatarUrl() string {
- if x != nil {
- return x.AvatarUrl
- }
- return ""
- }
-
- // 更新群组 PC_UPDATE_GROUP = 110
- type UpdateGroupPush struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- OptId int64 `protobuf:"varint,1,opt,name=opt_id,json=optId,proto3" json:"opt_id,omitempty"` // 操作人用户id
- OptName string `protobuf:"bytes,2,opt,name=opt_name,json=optName,proto3" json:"opt_name,omitempty"` // 操作人昵称
- OptAvatarUrl string `protobuf:"bytes,3,opt,name=opt_avatar_url,json=optAvatarUrl,proto3" json:"opt_avatar_url,omitempty"` // 操作人头像
- Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // 群组名称
- AvatarUrl string `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 群组头像
- Introduction string `protobuf:"bytes,6,opt,name=introduction,proto3" json:"introduction,omitempty"` // 群组简介
- IsUpdateIntroduction bool `protobuf:"varint,7,opt,name=isUpdateIntroduction,proto3" json:"isUpdateIntroduction,omitempty"` // 是否更新群组简介
- Extra string `protobuf:"bytes,8,opt,name=extra,proto3" json:"extra,omitempty"` // 附加字段
- }
-
- func (x *UpdateGroupPush) Reset() {
- *x = UpdateGroupPush{}
- if protoimpl.UnsafeEnabled {
- mi := &file_push_ext_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *UpdateGroupPush) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*UpdateGroupPush) ProtoMessage() {}
-
- func (x *UpdateGroupPush) ProtoReflect() protoreflect.Message {
- mi := &file_push_ext_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use UpdateGroupPush.ProtoReflect.Descriptor instead.
- func (*UpdateGroupPush) Descriptor() ([]byte, []int) {
- return file_push_ext_proto_rawDescGZIP(), []int{2}
- }
-
- func (x *UpdateGroupPush) GetOptId() int64 {
- if x != nil {
- return x.OptId
- }
- return 0
- }
-
- func (x *UpdateGroupPush) GetOptName() string {
- if x != nil {
- return x.OptName
- }
- return ""
- }
-
- func (x *UpdateGroupPush) GetOptAvatarUrl() string {
- if x != nil {
- return x.OptAvatarUrl
- }
- return ""
- }
-
- func (x *UpdateGroupPush) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
-
- func (x *UpdateGroupPush) GetAvatarUrl() string {
- if x != nil {
- return x.AvatarUrl
- }
- return ""
- }
-
- func (x *UpdateGroupPush) GetIntroduction() string {
- if x != nil {
- return x.Introduction
- }
- return ""
- }
-
- func (x *UpdateGroupPush) GetIsUpdateIntroduction() bool {
- if x != nil {
- return x.IsUpdateIntroduction
- }
- return false
- }
-
- func (x *UpdateGroupPush) GetExtra() string {
- if x != nil {
- return x.Extra
- }
- return ""
- }
-
- // 添加群组成员 PC_AGREE_ADD_GROUPS = 120
- type AddGroupMembersPush struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- OptId int64 `protobuf:"varint,1,opt,name=opt_id,json=optId,proto3" json:"opt_id,omitempty"` // 操作人用户id
- OptName string `protobuf:"bytes,2,opt,name=opt_name,json=optName,proto3" json:"opt_name,omitempty"` // 操作人昵称
- Members []*GroupMember `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"` // 群组成员
- }
-
- func (x *AddGroupMembersPush) Reset() {
- *x = AddGroupMembersPush{}
- if protoimpl.UnsafeEnabled {
- mi := &file_push_ext_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *AddGroupMembersPush) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*AddGroupMembersPush) ProtoMessage() {}
-
- func (x *AddGroupMembersPush) ProtoReflect() protoreflect.Message {
- mi := &file_push_ext_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use AddGroupMembersPush.ProtoReflect.Descriptor instead.
- func (*AddGroupMembersPush) Descriptor() ([]byte, []int) {
- return file_push_ext_proto_rawDescGZIP(), []int{3}
- }
-
- func (x *AddGroupMembersPush) GetOptId() int64 {
- if x != nil {
- return x.OptId
- }
- return 0
- }
-
- func (x *AddGroupMembersPush) GetOptName() string {
- if x != nil {
- return x.OptName
- }
- return ""
- }
-
- func (x *AddGroupMembersPush) GetMembers() []*GroupMember {
- if x != nil {
- return x.Members
- }
- return nil
- }
-
- // 删除群组成员 PC_REMOVE_GROUP_MEMBER = 121
- type RemoveGroupMemberPush struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- OptId int64 `protobuf:"varint,1,opt,name=opt_id,json=optId,proto3" json:"opt_id,omitempty"` // 操作人用户id
- OptName string `protobuf:"bytes,2,opt,name=opt_name,json=optName,proto3" json:"opt_name,omitempty"` // 操作人昵称
- DeletedUserId int64 `protobuf:"varint,3,opt,name=deleted_user_id,json=deletedUserId,proto3" json:"deleted_user_id,omitempty"` // 被删除的成员id
- DeletedUserName string `protobuf:"bytes,4,opt,name=deleted_user_name,json=deletedUserName,proto3" json:"deleted_user_name,omitempty"` // 被删除的成员昵称
- }
-
- func (x *RemoveGroupMemberPush) Reset() {
- *x = RemoveGroupMemberPush{}
- if protoimpl.UnsafeEnabled {
- mi := &file_push_ext_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *RemoveGroupMemberPush) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*RemoveGroupMemberPush) ProtoMessage() {}
-
- func (x *RemoveGroupMemberPush) ProtoReflect() protoreflect.Message {
- mi := &file_push_ext_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use RemoveGroupMemberPush.ProtoReflect.Descriptor instead.
- func (*RemoveGroupMemberPush) Descriptor() ([]byte, []int) {
- return file_push_ext_proto_rawDescGZIP(), []int{4}
- }
-
- func (x *RemoveGroupMemberPush) GetOptId() int64 {
- if x != nil {
- return x.OptId
- }
- return 0
- }
-
- func (x *RemoveGroupMemberPush) GetOptName() string {
- if x != nil {
- return x.OptName
- }
- return ""
- }
-
- func (x *RemoveGroupMemberPush) GetDeletedUserId() int64 {
- if x != nil {
- return x.DeletedUserId
- }
- return 0
- }
-
- func (x *RemoveGroupMemberPush) GetDeletedUserName() string {
- if x != nil {
- return x.DeletedUserName
- }
- return ""
- }
-
- // 禁言群组成员 PC_BANNED_GROUP_MEMBER = 122
- type BannedGroupMemberPush struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- OptId int64 `protobuf:"varint,1,opt,name=opt_id,json=optId,proto3" json:"opt_id,omitempty"` // 操作人用户id
- OptName string `protobuf:"bytes,2,opt,name=opt_name,json=optName,proto3" json:"opt_name,omitempty"` // 操作人昵称
- BannedUserId int64 `protobuf:"varint,3,opt,name=banned_user_id,json=bannedUserId,proto3" json:"banned_user_id,omitempty"` // 被禁言的成员id
- BannedUserName string `protobuf:"bytes,4,opt,name=banned_user_name,json=bannedUserName,proto3" json:"banned_user_name,omitempty"` // 被禁言的成员昵称
- }
-
- func (x *BannedGroupMemberPush) Reset() {
- *x = BannedGroupMemberPush{}
- if protoimpl.UnsafeEnabled {
- mi := &file_push_ext_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *BannedGroupMemberPush) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*BannedGroupMemberPush) ProtoMessage() {}
-
- func (x *BannedGroupMemberPush) ProtoReflect() protoreflect.Message {
- mi := &file_push_ext_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use BannedGroupMemberPush.ProtoReflect.Descriptor instead.
- func (*BannedGroupMemberPush) Descriptor() ([]byte, []int) {
- return file_push_ext_proto_rawDescGZIP(), []int{5}
- }
-
- func (x *BannedGroupMemberPush) GetOptId() int64 {
- if x != nil {
- return x.OptId
- }
- return 0
- }
-
- func (x *BannedGroupMemberPush) GetOptName() string {
- if x != nil {
- return x.OptName
- }
- return ""
- }
-
- func (x *BannedGroupMemberPush) GetBannedUserId() int64 {
- if x != nil {
- return x.BannedUserId
- }
- return 0
- }
-
- func (x *BannedGroupMemberPush) GetBannedUserName() string {
- if x != nil {
- return x.BannedUserName
- }
- return ""
- }
-
- // 取消禁言群组成员 PC_REMOVE_BANNED_GROUP_MEMBER = 123
- type RemoveBannedGroupMemberPush struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- OptId int64 `protobuf:"varint,1,opt,name=opt_id,json=optId,proto3" json:"opt_id,omitempty"` // 操作人用户id
- OptName string `protobuf:"bytes,2,opt,name=opt_name,json=optName,proto3" json:"opt_name,omitempty"` // 操作人昵称
- RemoveBannedUserId int64 `protobuf:"varint,3,opt,name=remove_banned_user_id,json=removeBannedUserId,proto3" json:"remove_banned_user_id,omitempty"` // 被解禁言的成员id
- RemoveBannedUserName string `protobuf:"bytes,4,opt,name=remove_banned_user_name,json=removeBannedUserName,proto3" json:"remove_banned_user_name,omitempty"` // 被解禁言的成员昵称
- }
-
- func (x *RemoveBannedGroupMemberPush) Reset() {
- *x = RemoveBannedGroupMemberPush{}
- if protoimpl.UnsafeEnabled {
- mi := &file_push_ext_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *RemoveBannedGroupMemberPush) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*RemoveBannedGroupMemberPush) ProtoMessage() {}
-
- func (x *RemoveBannedGroupMemberPush) ProtoReflect() protoreflect.Message {
- mi := &file_push_ext_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use RemoveBannedGroupMemberPush.ProtoReflect.Descriptor instead.
- func (*RemoveBannedGroupMemberPush) Descriptor() ([]byte, []int) {
- return file_push_ext_proto_rawDescGZIP(), []int{6}
- }
-
- func (x *RemoveBannedGroupMemberPush) GetOptId() int64 {
- if x != nil {
- return x.OptId
- }
- return 0
- }
-
- func (x *RemoveBannedGroupMemberPush) GetOptName() string {
- if x != nil {
- return x.OptName
- }
- return ""
- }
-
- func (x *RemoveBannedGroupMemberPush) GetRemoveBannedUserId() int64 {
- if x != nil {
- return x.RemoveBannedUserId
- }
- return 0
- }
-
- func (x *RemoveBannedGroupMemberPush) GetRemoveBannedUserName() string {
- if x != nil {
- return x.RemoveBannedUserName
- }
- return ""
- }
-
- // 修改群组成员身份 PC_UPDATE_GROUP_MEMBER = 124
- type UpdateMemberPush struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- OptId int64 `protobuf:"varint,1,opt,name=opt_id,json=optId,proto3" json:"opt_id,omitempty"` // 操作人用户id
- OptName string `protobuf:"bytes,2,opt,name=opt_name,json=optName,proto3" json:"opt_name,omitempty"` // 操作人昵称
- UpdateUserId int64 `protobuf:"varint,3,opt,name=update_user_id,json=updateUserId,proto3" json:"update_user_id,omitempty"` // 被修改的成员id
- UpdateUserName string `protobuf:"bytes,4,opt,name=update_user_name,json=updateUserName,proto3" json:"update_user_name,omitempty"` // 被修改的成员昵称
- UpdateUserMemberType int32 `protobuf:"varint,5,opt,name=update_user_member_type,json=updateUserMemberType,proto3" json:"update_user_member_type,omitempty"` // 被修改的成员身份类型
- }
-
- func (x *UpdateMemberPush) Reset() {
- *x = UpdateMemberPush{}
- if protoimpl.UnsafeEnabled {
- mi := &file_push_ext_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
-
- func (x *UpdateMemberPush) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
-
- func (*UpdateMemberPush) ProtoMessage() {}
-
- func (x *UpdateMemberPush) ProtoReflect() protoreflect.Message {
- mi := &file_push_ext_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
-
- // Deprecated: Use UpdateMemberPush.ProtoReflect.Descriptor instead.
- func (*UpdateMemberPush) Descriptor() ([]byte, []int) {
- return file_push_ext_proto_rawDescGZIP(), []int{7}
- }
-
- func (x *UpdateMemberPush) GetOptId() int64 {
- if x != nil {
- return x.OptId
- }
- return 0
- }
-
- func (x *UpdateMemberPush) GetOptName() string {
- if x != nil {
- return x.OptName
- }
- return ""
- }
-
- func (x *UpdateMemberPush) GetUpdateUserId() int64 {
- if x != nil {
- return x.UpdateUserId
- }
- return 0
- }
-
- func (x *UpdateMemberPush) GetUpdateUserName() string {
- if x != nil {
- return x.UpdateUserName
- }
- return ""
- }
-
- func (x *UpdateMemberPush) GetUpdateUserMemberType() int32 {
- if x != nil {
- return x.UpdateUserMemberType
- }
- return 0
- }
-
- var File_push_ext_proto protoreflect.FileDescriptor
-
- var file_push_ext_proto_rawDesc = []byte{
- 0x0a, 0x0e, 0x70, 0x75, 0x73, 0x68, 0x2e, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x12, 0x02, 0x70, 0x62, 0x1a, 0x0f, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x2e, 0x65, 0x78, 0x74, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x89, 0x01, 0x0a, 0x0d, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69,
- 0x65, 0x6e, 0x64, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65, 0x6e,
- 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69, 0x65,
- 0x6e, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65,
- 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12,
- 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x22, 0x6c, 0x0a, 0x12, 0x41, 0x67, 0x72, 0x65, 0x65, 0x41, 0x64, 0x64, 0x46, 0x72, 0x69,
- 0x65, 0x6e, 0x64, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x69, 0x65, 0x6e,
- 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x72, 0x69, 0x65,
- 0x6e, 0x64, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65,
- 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x22,
- 0x8a, 0x02, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x50,
- 0x75, 0x73, 0x68, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f, 0x70, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70,
- 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70,
- 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x61, 0x76, 0x61,
- 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f,
- 0x70, 0x74, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e,
- 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
- 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x22,
- 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69,
- 0x6f, 0x6e, 0x12, 0x32, 0x0a, 0x14, 0x69, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e,
- 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08,
- 0x52, 0x14, 0x69, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x74, 0x72, 0x6f, 0x64,
- 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18,
- 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x78, 0x74, 0x72, 0x61, 0x22, 0x72, 0x0a, 0x13,
- 0x41, 0x64, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x50,
- 0x75, 0x73, 0x68, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f, 0x70, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70,
- 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70,
- 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73,
- 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x72, 0x6f, 0x75,
- 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73,
- 0x22, 0x9d, 0x01, 0x0a, 0x15, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x47, 0x72, 0x6f, 0x75, 0x70,
- 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x50, 0x75, 0x73, 0x68, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x70,
- 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f, 0x70, 0x74, 0x49,
- 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0f,
- 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x55, 0x73,
- 0x65, 0x72, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f,
- 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65,
- 0x22, 0x99, 0x01, 0x0a, 0x15, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70,
- 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x50, 0x75, 0x73, 0x68, 0x12, 0x15, 0x0a, 0x06, 0x6f, 0x70,
- 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f, 0x70, 0x74, 0x49,
- 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e,
- 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72,
- 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65,
- 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x62, 0x61,
- 0x6e, 0x6e, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xb9, 0x01, 0x0a,
- 0x1b, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x47, 0x72, 0x6f,
- 0x75, 0x70, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x50, 0x75, 0x73, 0x68, 0x12, 0x15, 0x0a, 0x06,
- 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f, 0x70,
- 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x31,
- 0x0a, 0x15, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x5f,
- 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x72,
- 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49,
- 0x64, 0x12, 0x35, 0x0a, 0x17, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x62, 0x61, 0x6e, 0x6e,
- 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x14, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x64,
- 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xcb, 0x01, 0x0a, 0x10, 0x55, 0x70, 0x64,
- 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x50, 0x75, 0x73, 0x68, 0x12, 0x15, 0x0a,
- 0x06, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6f,
- 0x70, 0x74, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12,
- 0x24, 0x0a, 0x0e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69,
- 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55,
- 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f,
- 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12,
- 0x35, 0x0a, 0x17, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x6d,
- 0x65, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05,
- 0x52, 0x14, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x65, 0x6d, 0x62,
- 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x2a, 0xf0, 0x01, 0x0a, 0x08, 0x50, 0x75, 0x73, 0x68, 0x43,
- 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x43, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x44, 0x45,
- 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x43, 0x5f, 0x41, 0x44,
- 0x44, 0x5f, 0x46, 0x52, 0x49, 0x45, 0x4e, 0x44, 0x10, 0x64, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x43,
- 0x5f, 0x41, 0x47, 0x52, 0x45, 0x45, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x46, 0x52, 0x49, 0x45, 0x4e,
- 0x44, 0x10, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x50, 0x43, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45,
- 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x10, 0x6e, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x43, 0x5f, 0x41,
- 0x44, 0x44, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x53,
- 0x10, 0x78, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x43, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x5f,
- 0x47, 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x79, 0x12, 0x1a,
- 0x0a, 0x16, 0x50, 0x43, 0x5f, 0x42, 0x41, 0x4e, 0x4e, 0x45, 0x44, 0x5f, 0x47, 0x52, 0x4f, 0x55,
- 0x50, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x7a, 0x12, 0x21, 0x0a, 0x1d, 0x50, 0x43,
- 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x56, 0x45, 0x5f, 0x42, 0x41, 0x4e, 0x4e, 0x45, 0x44, 0x5f, 0x47,
- 0x52, 0x4f, 0x55, 0x50, 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x7b, 0x12, 0x1a, 0x0a,
- 0x16, 0x50, 0x43, 0x5f, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50,
- 0x5f, 0x4d, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x7c, 0x42, 0x0d, 0x5a, 0x0b, 0x67, 0x69, 0x6d,
- 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x62, 0x2f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
- }
-
- var (
- file_push_ext_proto_rawDescOnce sync.Once
- file_push_ext_proto_rawDescData = file_push_ext_proto_rawDesc
- )
-
- func file_push_ext_proto_rawDescGZIP() []byte {
- file_push_ext_proto_rawDescOnce.Do(func() {
- file_push_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_push_ext_proto_rawDescData)
- })
- return file_push_ext_proto_rawDescData
- }
-
- var file_push_ext_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
- var file_push_ext_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
- var file_push_ext_proto_goTypes = []interface{}{
- (PushCode)(0), // 0: pb.PushCode
- (*AddFriendPush)(nil), // 1: pb.AddFriendPush
- (*AgreeAddFriendPush)(nil), // 2: pb.AgreeAddFriendPush
- (*UpdateGroupPush)(nil), // 3: pb.UpdateGroupPush
- (*AddGroupMembersPush)(nil), // 4: pb.AddGroupMembersPush
- (*RemoveGroupMemberPush)(nil), // 5: pb.RemoveGroupMemberPush
- (*BannedGroupMemberPush)(nil), // 6: pb.BannedGroupMemberPush
- (*RemoveBannedGroupMemberPush)(nil), // 7: pb.RemoveBannedGroupMemberPush
- (*UpdateMemberPush)(nil), // 8: pb.UpdateMemberPush
- (*GroupMember)(nil), // 9: pb.GroupMember
- }
- var file_push_ext_proto_depIdxs = []int32{
- 9, // 0: pb.AddGroupMembersPush.members:type_name -> pb.GroupMember
- 1, // [1:1] is the sub-list for method output_type
- 1, // [1:1] is the sub-list for method input_type
- 1, // [1:1] is the sub-list for extension type_name
- 1, // [1:1] is the sub-list for extension extendee
- 0, // [0:1] is the sub-list for field type_name
- }
-
- func init() { file_push_ext_proto_init() }
- func file_push_ext_proto_init() {
- if File_push_ext_proto != nil {
- return
- }
- file_logic_ext_proto_init()
- if !protoimpl.UnsafeEnabled {
- file_push_ext_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AddFriendPush); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_push_ext_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AgreeAddFriendPush); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_push_ext_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UpdateGroupPush); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_push_ext_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AddGroupMembersPush); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_push_ext_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RemoveGroupMemberPush); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_push_ext_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BannedGroupMemberPush); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_push_ext_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RemoveBannedGroupMemberPush); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_push_ext_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UpdateMemberPush); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_push_ext_proto_rawDesc,
- NumEnums: 1,
- NumMessages: 8,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_push_ext_proto_goTypes,
- DependencyIndexes: file_push_ext_proto_depIdxs,
- EnumInfos: file_push_ext_proto_enumTypes,
- MessageInfos: file_push_ext_proto_msgTypes,
- }.Build()
- File_push_ext_proto = out.File
- file_push_ext_proto_rawDesc = nil
- file_push_ext_proto_goTypes = nil
- file_push_ext_proto_depIdxs = nil
- }
|