// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v7.34.0 // source: user.proto package user import ( common "github.com/topfans/backend/pkg/proto/common" _ "google.golang.org/genproto/googleapis/api/annotations" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) 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 User struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Mobile string `protobuf:"bytes,2,opt,name=mobile,proto3" json:"mobile,omitempty"` AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` GlobalWalletAddress string `protobuf:"bytes,4,opt,name=global_wallet_address,json=globalWalletAddress,proto3" json:"global_wallet_address,omitempty"` IsActive bool `protobuf:"varint,5,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *User) Reset() { *x = User{} mi := &file_user_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *User) String() string { return protoimpl.X.MessageStringOf(x) } func (*User) ProtoMessage() {} func (x *User) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use User.ProtoReflect.Descriptor instead. func (*User) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{0} } func (x *User) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *User) GetMobile() string { if x != nil { return x.Mobile } return "" } func (x *User) GetAvatarUrl() string { if x != nil { return x.AvatarUrl } return "" } func (x *User) GetGlobalWalletAddress() string { if x != nil { return x.GlobalWalletAddress } return "" } func (x *User) GetIsActive() bool { if x != nil { return x.IsActive } return false } func (x *User) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } // 粉丝档案(星球内身份) type FanProfile struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` StarId int64 `protobuf:"varint,3,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"` // 核心隔离键 Nickname string `protobuf:"bytes,4,opt,name=nickname,proto3" json:"nickname,omitempty"` // 星球专属昵称 Level int32 `protobuf:"varint,5,opt,name=level,proto3" json:"level,omitempty"` // 等级 Times int32 `protobuf:"varint,6,opt,name=times,proto3" json:"times,omitempty"` // 剩余铸造次数 Social int32 `protobuf:"varint,7,opt,name=social,proto3" json:"social,omitempty"` // 好友个数 Experience int64 `protobuf:"varint,8,opt,name=experience,proto3" json:"experience,omitempty"` // 经验值 CoinBalance int64 `protobuf:"varint,9,opt,name=coin_balance,json=coinBalance,proto3" json:"coin_balance,omitempty"` // 游戏币余额 CrystalBalance int64 `protobuf:"varint,10,opt,name=crystal_balance,json=crystalBalance,proto3" json:"crystal_balance,omitempty"` // 顶粉水晶余额 Tags []string `protobuf:"bytes,11,rep,name=tags,proto3" json:"tags,omitempty"` // 标签数组 AvatarUrl string `protobuf:"bytes,17,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像URL(星球专属) CreatedAt int64 `protobuf:"varint,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` StarbookLimit int32 `protobuf:"varint,13,opt,name=starbook_limit,json=starbookLimit,proto3" json:"starbook_limit,omitempty"` // 星书限制 SlotLimit int32 `protobuf:"varint,14,opt,name=slot_limit,json=slotLimit,proto3" json:"slot_limit,omitempty"` // 槽位限制 AssetsCount int32 `protobuf:"varint,15,opt,name=assets_count,json=assetsCount,proto3" json:"assets_count,omitempty"` // 资产数量 ChainAddress string `protobuf:"bytes,16,opt,name=chain_address,json=chainAddress,proto3" json:"chain_address,omitempty"` // 链地址 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FanProfile) Reset() { *x = FanProfile{} mi := &file_user_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FanProfile) String() string { return protoimpl.X.MessageStringOf(x) } func (*FanProfile) ProtoMessage() {} func (x *FanProfile) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use FanProfile.ProtoReflect.Descriptor instead. func (*FanProfile) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{1} } func (x *FanProfile) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *FanProfile) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *FanProfile) GetStarId() int64 { if x != nil { return x.StarId } return 0 } func (x *FanProfile) GetNickname() string { if x != nil { return x.Nickname } return "" } func (x *FanProfile) GetLevel() int32 { if x != nil { return x.Level } return 0 } func (x *FanProfile) GetTimes() int32 { if x != nil { return x.Times } return 0 } func (x *FanProfile) GetSocial() int32 { if x != nil { return x.Social } return 0 } func (x *FanProfile) GetExperience() int64 { if x != nil { return x.Experience } return 0 } func (x *FanProfile) GetCoinBalance() int64 { if x != nil { return x.CoinBalance } return 0 } func (x *FanProfile) GetCrystalBalance() int64 { if x != nil { return x.CrystalBalance } return 0 } func (x *FanProfile) GetTags() []string { if x != nil { return x.Tags } return nil } func (x *FanProfile) GetAvatarUrl() string { if x != nil { return x.AvatarUrl } return "" } func (x *FanProfile) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } func (x *FanProfile) GetStarbookLimit() int32 { if x != nil { return x.StarbookLimit } return 0 } func (x *FanProfile) GetSlotLimit() int32 { if x != nil { return x.SlotLimit } return 0 } func (x *FanProfile) GetAssetsCount() int32 { if x != nil { return x.AssetsCount } return 0 } func (x *FanProfile) GetChainAddress() string { if x != nil { return x.ChainAddress } return "" } // 明星信息 type Star struct { state protoimpl.MessageState `protogen:"open.v1"` StarId int64 `protobuf:"varint,1,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` NameEn string `protobuf:"bytes,3,opt,name=name_en,json=nameEn,proto3" json:"name_en,omitempty"` PicUrl string `protobuf:"bytes,4,opt,name=pic_url,json=picUrl,proto3" json:"pic_url,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` IdentityId string `protobuf:"bytes,6,opt,name=identity_id,json=identityId,proto3" json:"identity_id,omitempty"` IsActive bool `protobuf:"varint,7,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` CreatedAt int64 `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Tag string `protobuf:"bytes,9,opt,name=tag,proto3" json:"tag,omitempty"` // 昵称标签(如"小飞侠") unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Star) Reset() { *x = Star{} mi := &file_user_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Star) String() string { return protoimpl.X.MessageStringOf(x) } func (*Star) ProtoMessage() {} func (x *Star) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Star.ProtoReflect.Descriptor instead. func (*Star) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{2} } func (x *Star) GetStarId() int64 { if x != nil { return x.StarId } return 0 } func (x *Star) GetName() string { if x != nil { return x.Name } return "" } func (x *Star) GetNameEn() string { if x != nil { return x.NameEn } return "" } func (x *Star) GetPicUrl() string { if x != nil { return x.PicUrl } return "" } func (x *Star) GetDescription() string { if x != nil { return x.Description } return "" } func (x *Star) GetIdentityId() string { if x != nil { return x.IdentityId } return "" } func (x *Star) GetIsActive() bool { if x != nil { return x.IsActive } return false } func (x *Star) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } func (x *Star) GetTag() string { if x != nil { return x.Tag } return "" } // 注册请求 type RegisterRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Mobile string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"` // 手机号 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 密码 StarId int64 `protobuf:"varint,3,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"` // 选择第一个粉丝身份的明星ID Nickname string `protobuf:"bytes,4,opt,name=nickname,proto3" json:"nickname,omitempty"` // 第一个粉丝身份的昵称 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RegisterRequest) Reset() { *x = RegisterRequest{} mi := &file_user_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RegisterRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*RegisterRequest) ProtoMessage() {} func (x *RegisterRequest) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead. func (*RegisterRequest) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{3} } func (x *RegisterRequest) GetMobile() string { if x != nil { return x.Mobile } return "" } func (x *RegisterRequest) GetPassword() string { if x != nil { return x.Password } return "" } func (x *RegisterRequest) GetStarId() int64 { if x != nil { return x.StarId } return 0 } func (x *RegisterRequest) GetNickname() string { if x != nil { return x.Nickname } return "" } // 注册响应 type RegisterResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // JWT Token(已包含star_id) ExpiresIn int64 `protobuf:"varint,3,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` // Token过期时间(秒) User *User `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` // 用户信息 FanProfile *FanProfile `protobuf:"bytes,5,opt,name=fan_profile,json=fanProfile,proto3" json:"fan_profile,omitempty"` // 创建的粉丝档案 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RegisterResponse) Reset() { *x = RegisterResponse{} mi := &file_user_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RegisterResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*RegisterResponse) ProtoMessage() {} func (x *RegisterResponse) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead. func (*RegisterResponse) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{4} } func (x *RegisterResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *RegisterResponse) GetAccessToken() string { if x != nil { return x.AccessToken } return "" } func (x *RegisterResponse) GetExpiresIn() int64 { if x != nil { return x.ExpiresIn } return 0 } func (x *RegisterResponse) GetUser() *User { if x != nil { return x.User } return nil } func (x *RegisterResponse) GetFanProfile() *FanProfile { if x != nil { return x.FanProfile } return nil } // 登录请求 type LoginRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Mobile string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"` // 手机号 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // 密码 StarId int64 `protobuf:"varint,3,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"` // 可选:指定登录的明星ID,不指定则使用最早创建的粉丝档案 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LoginRequest) Reset() { *x = LoginRequest{} mi := &file_user_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LoginRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*LoginRequest) ProtoMessage() {} func (x *LoginRequest) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead. func (*LoginRequest) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{5} } func (x *LoginRequest) GetMobile() string { if x != nil { return x.Mobile } return "" } func (x *LoginRequest) GetPassword() string { if x != nil { return x.Password } return "" } func (x *LoginRequest) GetStarId() int64 { if x != nil { return x.StarId } return 0 } // 登录响应 type LoginResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // JWT Token(已包含star_id) ExpiresIn int64 `protobuf:"varint,3,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` // Token过期时间(秒) User *User `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` // 用户信息 FanProfile *FanProfile `protobuf:"bytes,5,opt,name=fan_profile,json=fanProfile,proto3" json:"fan_profile,omitempty"` // 当前粉丝档案(根据Token中的star_id) FanProfiles []*FanProfile `protobuf:"bytes,6,rep,name=fan_profiles,json=fanProfiles,proto3" json:"fan_profiles,omitempty"` // 用户的所有粉丝身份列表 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LoginResponse) Reset() { *x = LoginResponse{} mi := &file_user_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LoginResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*LoginResponse) ProtoMessage() {} func (x *LoginResponse) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead. func (*LoginResponse) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{6} } func (x *LoginResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *LoginResponse) GetAccessToken() string { if x != nil { return x.AccessToken } return "" } func (x *LoginResponse) GetExpiresIn() int64 { if x != nil { return x.ExpiresIn } return 0 } func (x *LoginResponse) GetUser() *User { if x != nil { return x.User } return nil } func (x *LoginResponse) GetFanProfile() *FanProfile { if x != nil { return x.FanProfile } return nil } func (x *LoginResponse) GetFanProfiles() []*FanProfile { if x != nil { return x.FanProfiles } return nil } // 刷新Token请求 type RefreshTokenRequest struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RefreshTokenRequest) Reset() { *x = RefreshTokenRequest{} mi := &file_user_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RefreshTokenRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*RefreshTokenRequest) ProtoMessage() {} func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RefreshTokenRequest.ProtoReflect.Descriptor instead. func (*RefreshTokenRequest) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{7} } // 刷新Token响应 type RefreshTokenResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // 新的 Access Token ExpiresIn int64 `protobuf:"varint,3,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` // Access Token 过期时间(秒) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RefreshTokenResponse) Reset() { *x = RefreshTokenResponse{} mi := &file_user_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RefreshTokenResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*RefreshTokenResponse) ProtoMessage() {} func (x *RefreshTokenResponse) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[8] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RefreshTokenResponse.ProtoReflect.Descriptor instead. func (*RefreshTokenResponse) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{8} } func (x *RefreshTokenResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *RefreshTokenResponse) GetAccessToken() string { if x != nil { return x.AccessToken } return "" } func (x *RefreshTokenResponse) GetExpiresIn() int64 { if x != nil { return x.ExpiresIn } return 0 } // 验证Token请求(可选,用于服务端验证Token有效性) type ValidateTokenRequest struct { state protoimpl.MessageState `protogen:"open.v1"` AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ValidateTokenRequest) Reset() { *x = ValidateTokenRequest{} mi := &file_user_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ValidateTokenRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ValidateTokenRequest) ProtoMessage() {} func (x *ValidateTokenRequest) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[9] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ValidateTokenRequest.ProtoReflect.Descriptor instead. func (*ValidateTokenRequest) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{9} } func (x *ValidateTokenRequest) GetAccessToken() string { if x != nil { return x.AccessToken } return "" } // 验证Token响应 type ValidateTokenResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Token关联的用户ID StarId int64 `protobuf:"varint,3,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"` // Token关联的明星ID IsValid bool `protobuf:"varint,4,opt,name=is_valid,json=isValid,proto3" json:"is_valid,omitempty"` // Token是否有效 ExpiresAt int64 `protobuf:"varint,5,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // Token过期时间戳(毫秒) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ValidateTokenResponse) Reset() { *x = ValidateTokenResponse{} mi := &file_user_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ValidateTokenResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ValidateTokenResponse) ProtoMessage() {} func (x *ValidateTokenResponse) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[10] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ValidateTokenResponse.ProtoReflect.Descriptor instead. func (*ValidateTokenResponse) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{10} } func (x *ValidateTokenResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *ValidateTokenResponse) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *ValidateTokenResponse) GetStarId() int64 { if x != nil { return x.StarId } return 0 } func (x *ValidateTokenResponse) GetIsValid() bool { if x != nil { return x.IsValid } return false } func (x *ValidateTokenResponse) GetExpiresAt() int64 { if x != nil { return x.ExpiresAt } return 0 } // 登出请求 type LogoutRequest struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LogoutRequest) Reset() { *x = LogoutRequest{} mi := &file_user_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LogoutRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*LogoutRequest) ProtoMessage() {} func (x *LogoutRequest) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[11] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead. func (*LogoutRequest) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{11} } // 登出响应 type LogoutResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LogoutResponse) Reset() { *x = LogoutResponse{} mi := &file_user_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LogoutResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*LogoutResponse) ProtoMessage() {} func (x *LogoutResponse) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[12] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead. func (*LogoutResponse) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{12} } func (x *LogoutResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } // 检查昵称是否被注册请求 type CheckNicknameRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"` // 要检查的昵称 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CheckNicknameRequest) Reset() { *x = CheckNicknameRequest{} mi := &file_user_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CheckNicknameRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CheckNicknameRequest) ProtoMessage() {} func (x *CheckNicknameRequest) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[13] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CheckNicknameRequest.ProtoReflect.Descriptor instead. func (*CheckNicknameRequest) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{13} } func (x *CheckNicknameRequest) GetNickname() string { if x != nil { return x.Nickname } return "" } // 检查昵称是否被注册响应 type CheckNicknameResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` // 昵称是否已存在 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CheckNicknameResponse) Reset() { *x = CheckNicknameResponse{} mi := &file_user_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CheckNicknameResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CheckNicknameResponse) ProtoMessage() {} func (x *CheckNicknameResponse) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[14] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CheckNicknameResponse.ProtoReflect.Descriptor instead. func (*CheckNicknameResponse) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{14} } func (x *CheckNicknameResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *CheckNicknameResponse) GetExists() bool { if x != nil { return x.Exists } return false } // 检查手机号是否已被注册请求 type CheckMobileRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Mobile string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"` // 要检查的手机号 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CheckMobileRequest) Reset() { *x = CheckMobileRequest{} mi := &file_user_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CheckMobileRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CheckMobileRequest) ProtoMessage() {} func (x *CheckMobileRequest) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[15] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CheckMobileRequest.ProtoReflect.Descriptor instead. func (*CheckMobileRequest) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{15} } func (x *CheckMobileRequest) GetMobile() string { if x != nil { return x.Mobile } return "" } // 检查手机号是否已被注册响应 type CheckMobileResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Exists bool `protobuf:"varint,2,opt,name=exists,proto3" json:"exists,omitempty"` // 手机号是否已存在 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CheckMobileResponse) Reset() { *x = CheckMobileResponse{} mi := &file_user_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CheckMobileResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CheckMobileResponse) ProtoMessage() {} func (x *CheckMobileResponse) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[16] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use CheckMobileResponse.ProtoReflect.Descriptor instead. func (*CheckMobileResponse) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{16} } func (x *CheckMobileResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *CheckMobileResponse) GetExists() bool { if x != nil { return x.Exists } return false } // 获取用户信息请求 type GetUserRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetUserRequest) Reset() { *x = GetUserRequest{} mi := &file_user_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetUserRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetUserRequest) ProtoMessage() {} func (x *GetUserRequest) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[17] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead. func (*GetUserRequest) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{17} } func (x *GetUserRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } // 获取用户信息响应 type GetUserResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetUserResponse) Reset() { *x = GetUserResponse{} mi := &file_user_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetUserResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetUserResponse) ProtoMessage() {} func (x *GetUserResponse) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[18] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead. func (*GetUserResponse) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{18} } func (x *GetUserResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetUserResponse) GetUser() *User { if x != nil { return x.User } return nil } // 获取粉丝档案请求 type GetFanProfileRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` StarId int64 `protobuf:"varint,2,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetFanProfileRequest) Reset() { *x = GetFanProfileRequest{} mi := &file_user_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetFanProfileRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetFanProfileRequest) ProtoMessage() {} func (x *GetFanProfileRequest) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[19] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetFanProfileRequest.ProtoReflect.Descriptor instead. func (*GetFanProfileRequest) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{19} } func (x *GetFanProfileRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *GetFanProfileRequest) GetStarId() int64 { if x != nil { return x.StarId } return 0 } // 获取粉丝档案响应 type GetFanProfileResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Profile *FanProfile `protobuf:"bytes,2,opt,name=profile,proto3" json:"profile,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetFanProfileResponse) Reset() { *x = GetFanProfileResponse{} mi := &file_user_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetFanProfileResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetFanProfileResponse) ProtoMessage() {} func (x *GetFanProfileResponse) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[20] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetFanProfileResponse.ProtoReflect.Descriptor instead. func (*GetFanProfileResponse) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{20} } func (x *GetFanProfileResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetFanProfileResponse) GetProfile() *FanProfile { if x != nil { return x.Profile } return nil } // 更新粉丝档案social字段请求(内部RPC调用,用于好友数量变更) type UpdateFanProfileSocialRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户ID StarId int64 `protobuf:"varint,2,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"` // 明星ID Delta int32 `protobuf:"varint,3,opt,name=delta,proto3" json:"delta,omitempty"` // 变化量(正数增加,负数减少) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateFanProfileSocialRequest) Reset() { *x = UpdateFanProfileSocialRequest{} mi := &file_user_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateFanProfileSocialRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateFanProfileSocialRequest) ProtoMessage() {} func (x *UpdateFanProfileSocialRequest) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[21] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateFanProfileSocialRequest.ProtoReflect.Descriptor instead. func (*UpdateFanProfileSocialRequest) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{21} } func (x *UpdateFanProfileSocialRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *UpdateFanProfileSocialRequest) GetStarId() int64 { if x != nil { return x.StarId } return 0 } func (x *UpdateFanProfileSocialRequest) GetDelta() int32 { if x != nil { return x.Delta } return 0 } // 更新粉丝档案social字段响应 type UpdateFanProfileSocialResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` NewSocial int32 `protobuf:"varint,2,opt,name=new_social,json=newSocial,proto3" json:"new_social,omitempty"` // 更新后的好友数量 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateFanProfileSocialResponse) Reset() { *x = UpdateFanProfileSocialResponse{} mi := &file_user_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateFanProfileSocialResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateFanProfileSocialResponse) ProtoMessage() {} func (x *UpdateFanProfileSocialResponse) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[22] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateFanProfileSocialResponse.ProtoReflect.Descriptor instead. func (*UpdateFanProfileSocialResponse) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{22} } func (x *UpdateFanProfileSocialResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *UpdateFanProfileSocialResponse) GetNewSocial() int32 { if x != nil { return x.NewSocial } return 0 } // 更新水晶余额请求(内部RPC调用,用于资产服务扣除/退款水晶) type UpdateCrystalBalanceRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户ID StarId int64 `protobuf:"varint,2,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"` // 明星ID Delta int64 `protobuf:"varint,3,opt,name=delta,proto3" json:"delta,omitempty"` // 变化量(正数增加,负数减少) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateCrystalBalanceRequest) Reset() { *x = UpdateCrystalBalanceRequest{} mi := &file_user_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateCrystalBalanceRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateCrystalBalanceRequest) ProtoMessage() {} func (x *UpdateCrystalBalanceRequest) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[23] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateCrystalBalanceRequest.ProtoReflect.Descriptor instead. func (*UpdateCrystalBalanceRequest) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{23} } func (x *UpdateCrystalBalanceRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *UpdateCrystalBalanceRequest) GetStarId() int64 { if x != nil { return x.StarId } return 0 } func (x *UpdateCrystalBalanceRequest) GetDelta() int64 { if x != nil { return x.Delta } return 0 } // 更新水晶余额响应 type UpdateCrystalBalanceResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` NewBalance int64 `protobuf:"varint,2,opt,name=new_balance,json=newBalance,proto3" json:"new_balance,omitempty"` // 更新后的水晶余额 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateCrystalBalanceResponse) Reset() { *x = UpdateCrystalBalanceResponse{} mi := &file_user_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateCrystalBalanceResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateCrystalBalanceResponse) ProtoMessage() {} func (x *UpdateCrystalBalanceResponse) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[24] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateCrystalBalanceResponse.ProtoReflect.Descriptor instead. func (*UpdateCrystalBalanceResponse) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{24} } func (x *UpdateCrystalBalanceResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *UpdateCrystalBalanceResponse) GetNewBalance() int64 { if x != nil { return x.NewBalance } return 0 } // 更新资产数量请求(内部RPC调用,用于资产服务更新用户资产数量) type UpdateAssetsCountRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户ID StarId int64 `protobuf:"varint,2,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"` // 明星ID Delta int32 `protobuf:"varint,3,opt,name=delta,proto3" json:"delta,omitempty"` // 变化量(正数增加,负数减少) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateAssetsCountRequest) Reset() { *x = UpdateAssetsCountRequest{} mi := &file_user_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateAssetsCountRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateAssetsCountRequest) ProtoMessage() {} func (x *UpdateAssetsCountRequest) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[25] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateAssetsCountRequest.ProtoReflect.Descriptor instead. func (*UpdateAssetsCountRequest) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{25} } func (x *UpdateAssetsCountRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *UpdateAssetsCountRequest) GetStarId() int64 { if x != nil { return x.StarId } return 0 } func (x *UpdateAssetsCountRequest) GetDelta() int32 { if x != nil { return x.Delta } return 0 } // 更新资产数量响应 type UpdateAssetsCountResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` NewCount int32 `protobuf:"varint,2,opt,name=new_count,json=newCount,proto3" json:"new_count,omitempty"` // 更新后的资产数量 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateAssetsCountResponse) Reset() { *x = UpdateAssetsCountResponse{} mi := &file_user_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateAssetsCountResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateAssetsCountResponse) ProtoMessage() {} func (x *UpdateAssetsCountResponse) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[26] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateAssetsCountResponse.ProtoReflect.Descriptor instead. func (*UpdateAssetsCountResponse) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{26} } func (x *UpdateAssetsCountResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *UpdateAssetsCountResponse) GetNewCount() int32 { if x != nil { return x.NewCount } return 0 } // 增加经验值请求(内部RPC调用,用于taskService增加经验) type AddExperienceRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户ID StarId int64 `protobuf:"varint,2,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"` // 明星ID Delta int64 `protobuf:"varint,3,opt,name=delta,proto3" json:"delta,omitempty"` // 变化量(正数增加,负数减少) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AddExperienceRequest) Reset() { *x = AddExperienceRequest{} mi := &file_user_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AddExperienceRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AddExperienceRequest) ProtoMessage() {} func (x *AddExperienceRequest) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[27] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AddExperienceRequest.ProtoReflect.Descriptor instead. func (*AddExperienceRequest) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{27} } func (x *AddExperienceRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *AddExperienceRequest) GetStarId() int64 { if x != nil { return x.StarId } return 0 } func (x *AddExperienceRequest) GetDelta() int64 { if x != nil { return x.Delta } return 0 } // 增加经验值响应 type AddExperienceResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` NewExperience int64 `protobuf:"varint,2,opt,name=new_experience,json=newExperience,proto3" json:"new_experience,omitempty"` // 更新后的经验值 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AddExperienceResponse) Reset() { *x = AddExperienceResponse{} mi := &file_user_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AddExperienceResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*AddExperienceResponse) ProtoMessage() {} func (x *AddExperienceResponse) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[28] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AddExperienceResponse.ProtoReflect.Descriptor instead. func (*AddExperienceResponse) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{28} } func (x *AddExperienceResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *AddExperienceResponse) GetNewExperience() int64 { if x != nil { return x.NewExperience } return 0 } // 获取当前登录用户信息请求 type GetCurrentUserRequest struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetCurrentUserRequest) Reset() { *x = GetCurrentUserRequest{} mi := &file_user_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetCurrentUserRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetCurrentUserRequest) ProtoMessage() {} func (x *GetCurrentUserRequest) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[29] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetCurrentUserRequest.ProtoReflect.Descriptor instead. func (*GetCurrentUserRequest) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{29} } // 获取当前登录用户信息响应 type GetCurrentUserResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` FanProfile *FanProfile `protobuf:"bytes,3,opt,name=fan_profile,json=fanProfile,proto3" json:"fan_profile,omitempty"` // 当前粉丝档案 FanProfiles []*FanProfile `protobuf:"bytes,4,rep,name=fan_profiles,json=fanProfiles,proto3" json:"fan_profiles,omitempty"` // 所有粉丝身份 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetCurrentUserResponse) Reset() { *x = GetCurrentUserResponse{} mi := &file_user_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetCurrentUserResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetCurrentUserResponse) ProtoMessage() {} func (x *GetCurrentUserResponse) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[30] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetCurrentUserResponse.ProtoReflect.Descriptor instead. func (*GetCurrentUserResponse) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{30} } func (x *GetCurrentUserResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetCurrentUserResponse) GetUser() *User { if x != nil { return x.User } return nil } func (x *GetCurrentUserResponse) GetFanProfile() *FanProfile { if x != nil { return x.FanProfile } return nil } func (x *GetCurrentUserResponse) GetFanProfiles() []*FanProfile { if x != nil { return x.FanProfiles } return nil } // 获取个人信息页请求 type GetMyProfileRequest struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetMyProfileRequest) Reset() { *x = GetMyProfileRequest{} mi := &file_user_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetMyProfileRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetMyProfileRequest) ProtoMessage() {} func (x *GetMyProfileRequest) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[31] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetMyProfileRequest.ProtoReflect.Descriptor instead. func (*GetMyProfileRequest) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{31} } // 获取个人信息页响应 type GetMyProfileResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` User *User `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` FanProfile *FanProfile `protobuf:"bytes,3,opt,name=fan_profile,json=fanProfile,proto3" json:"fan_profile,omitempty"` FanProfiles []*FanProfile `protobuf:"bytes,4,rep,name=fan_profiles,json=fanProfiles,proto3" json:"fan_profiles,omitempty"` // 所有粉丝身份列表 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetMyProfileResponse) Reset() { *x = GetMyProfileResponse{} mi := &file_user_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetMyProfileResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetMyProfileResponse) ProtoMessage() {} func (x *GetMyProfileResponse) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[32] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetMyProfileResponse.ProtoReflect.Descriptor instead. func (*GetMyProfileResponse) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{32} } func (x *GetMyProfileResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetMyProfileResponse) GetUser() *User { if x != nil { return x.User } return nil } func (x *GetMyProfileResponse) GetFanProfile() *FanProfile { if x != nil { return x.FanProfile } return nil } func (x *GetMyProfileResponse) GetFanProfiles() []*FanProfile { if x != nil { return x.FanProfiles } return nil } // 修改昵称请求 type UpdateNicknameRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Nickname string `protobuf:"bytes,1,opt,name=nickname,proto3" json:"nickname,omitempty"` // 新昵称 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateNicknameRequest) Reset() { *x = UpdateNicknameRequest{} mi := &file_user_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateNicknameRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateNicknameRequest) ProtoMessage() {} func (x *UpdateNicknameRequest) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[33] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateNicknameRequest.ProtoReflect.Descriptor instead. func (*UpdateNicknameRequest) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{33} } func (x *UpdateNicknameRequest) GetNickname() string { if x != nil { return x.Nickname } return "" } // 修改昵称响应 type UpdateNicknameResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` FanProfile *FanProfile `protobuf:"bytes,2,opt,name=fan_profile,json=fanProfile,proto3" json:"fan_profile,omitempty"` // 更新后的粉丝档案 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateNicknameResponse) Reset() { *x = UpdateNicknameResponse{} mi := &file_user_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateNicknameResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateNicknameResponse) ProtoMessage() {} func (x *UpdateNicknameResponse) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[34] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateNicknameResponse.ProtoReflect.Descriptor instead. func (*UpdateNicknameResponse) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{34} } func (x *UpdateNicknameResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *UpdateNicknameResponse) GetFanProfile() *FanProfile { if x != nil { return x.FanProfile } return nil } // 修改密码请求 type UpdatePasswordRequest struct { state protoimpl.MessageState `protogen:"open.v1"` OldPassword string `protobuf:"bytes,1,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"` // 旧密码 NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"` // 新密码 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdatePasswordRequest) Reset() { *x = UpdatePasswordRequest{} mi := &file_user_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdatePasswordRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdatePasswordRequest) ProtoMessage() {} func (x *UpdatePasswordRequest) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[35] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdatePasswordRequest.ProtoReflect.Descriptor instead. func (*UpdatePasswordRequest) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{35} } func (x *UpdatePasswordRequest) GetOldPassword() string { if x != nil { return x.OldPassword } return "" } func (x *UpdatePasswordRequest) GetNewPassword() string { if x != nil { return x.NewPassword } return "" } // 修改密码响应 type UpdatePasswordResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdatePasswordResponse) Reset() { *x = UpdatePasswordResponse{} mi := &file_user_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdatePasswordResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdatePasswordResponse) ProtoMessage() {} func (x *UpdatePasswordResponse) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[36] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdatePasswordResponse.ProtoReflect.Descriptor instead. func (*UpdatePasswordResponse) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{36} } func (x *UpdatePasswordResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } // 更新头像请求 type UpdateAvatarRequest struct { state protoimpl.MessageState `protogen:"open.v1"` AvatarUrl string `protobuf:"bytes,1,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 头像URL(必填) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateAvatarRequest) Reset() { *x = UpdateAvatarRequest{} mi := &file_user_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateAvatarRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateAvatarRequest) ProtoMessage() {} func (x *UpdateAvatarRequest) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[37] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateAvatarRequest.ProtoReflect.Descriptor instead. func (*UpdateAvatarRequest) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{37} } func (x *UpdateAvatarRequest) GetAvatarUrl() string { if x != nil { return x.AvatarUrl } return "" } // 更新头像响应 type UpdateAvatarResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` AvatarUrl string `protobuf:"bytes,2,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` // 更新后的头像URL unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateAvatarResponse) Reset() { *x = UpdateAvatarResponse{} mi := &file_user_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateAvatarResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateAvatarResponse) ProtoMessage() {} func (x *UpdateAvatarResponse) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[38] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateAvatarResponse.ProtoReflect.Descriptor instead. func (*UpdateAvatarResponse) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{38} } func (x *UpdateAvatarResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *UpdateAvatarResponse) GetAvatarUrl() string { if x != nil { return x.AvatarUrl } return "" } // 获取可选粉丝身份列表请求(所有可用明星) type GetFanIdentitiesRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` // 搜索关键词(可选,为空则返回所有可用的明星列表) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetFanIdentitiesRequest) Reset() { *x = GetFanIdentitiesRequest{} mi := &file_user_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetFanIdentitiesRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetFanIdentitiesRequest) ProtoMessage() {} func (x *GetFanIdentitiesRequest) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[39] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetFanIdentitiesRequest.ProtoReflect.Descriptor instead. func (*GetFanIdentitiesRequest) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{39} } func (x *GetFanIdentitiesRequest) GetKeyword() string { if x != nil { return x.Keyword } return "" } // 获取可选粉丝身份列表响应 type GetFanIdentitiesResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Stars []*Star `protobuf:"bytes,2,rep,name=stars,proto3" json:"stars,omitempty"` // 所有可用的明星列表 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetFanIdentitiesResponse) Reset() { *x = GetFanIdentitiesResponse{} mi := &file_user_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetFanIdentitiesResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetFanIdentitiesResponse) ProtoMessage() {} func (x *GetFanIdentitiesResponse) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[40] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetFanIdentitiesResponse.ProtoReflect.Descriptor instead. func (*GetFanIdentitiesResponse) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{40} } func (x *GetFanIdentitiesResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetFanIdentitiesResponse) GetStars() []*Star { if x != nil { return x.Stars } return nil } // 获取我的粉丝身份列表请求(当前用户拥有的粉丝身份) type GetMyFanIdentitiesRequest struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetMyFanIdentitiesRequest) Reset() { *x = GetMyFanIdentitiesRequest{} mi := &file_user_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetMyFanIdentitiesRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetMyFanIdentitiesRequest) ProtoMessage() {} func (x *GetMyFanIdentitiesRequest) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[41] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetMyFanIdentitiesRequest.ProtoReflect.Descriptor instead. func (*GetMyFanIdentitiesRequest) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{41} } // 我的粉丝身份项(包含粉丝档案和明星信息) type MyFanIdentityItem struct { state protoimpl.MessageState `protogen:"open.v1"` FanProfile *FanProfile `protobuf:"bytes,1,opt,name=fan_profile,json=fanProfile,proto3" json:"fan_profile,omitempty"` // 粉丝档案 Star *Star `protobuf:"bytes,2,opt,name=star,proto3" json:"star,omitempty"` // 对应的明星信息 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *MyFanIdentityItem) Reset() { *x = MyFanIdentityItem{} mi := &file_user_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *MyFanIdentityItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*MyFanIdentityItem) ProtoMessage() {} func (x *MyFanIdentityItem) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[42] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use MyFanIdentityItem.ProtoReflect.Descriptor instead. func (*MyFanIdentityItem) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{42} } func (x *MyFanIdentityItem) GetFanProfile() *FanProfile { if x != nil { return x.FanProfile } return nil } func (x *MyFanIdentityItem) GetStar() *Star { if x != nil { return x.Star } return nil } // 获取我的粉丝身份列表响应 type GetMyFanIdentitiesResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Items []*MyFanIdentityItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // 用户拥有的所有粉丝身份列表(包含明星信息) CurrentStarId int64 `protobuf:"varint,3,opt,name=current_star_id,json=currentStarId,proto3" json:"current_star_id,omitempty"` // 当前激活的明星ID(从Token中获取) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetMyFanIdentitiesResponse) Reset() { *x = GetMyFanIdentitiesResponse{} mi := &file_user_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetMyFanIdentitiesResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetMyFanIdentitiesResponse) ProtoMessage() {} func (x *GetMyFanIdentitiesResponse) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[43] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetMyFanIdentitiesResponse.ProtoReflect.Descriptor instead. func (*GetMyFanIdentitiesResponse) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{43} } func (x *GetMyFanIdentitiesResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetMyFanIdentitiesResponse) GetItems() []*MyFanIdentityItem { if x != nil { return x.Items } return nil } func (x *GetMyFanIdentitiesResponse) GetCurrentStarId() int64 { if x != nil { return x.CurrentStarId } return 0 } // 新增粉丝身份请求 type AddIdentityRequest struct { state protoimpl.MessageState `protogen:"open.v1"` StarId int64 `protobuf:"varint,1,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"` // 选择的明星ID Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` // 粉丝身份昵称 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AddIdentityRequest) Reset() { *x = AddIdentityRequest{} mi := &file_user_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AddIdentityRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*AddIdentityRequest) ProtoMessage() {} func (x *AddIdentityRequest) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[44] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AddIdentityRequest.ProtoReflect.Descriptor instead. func (*AddIdentityRequest) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{44} } func (x *AddIdentityRequest) GetStarId() int64 { if x != nil { return x.StarId } return 0 } func (x *AddIdentityRequest) GetNickname() string { if x != nil { return x.Nickname } return "" } // 新增粉丝身份响应 type AddIdentityResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` FanProfile *FanProfile `protobuf:"bytes,2,opt,name=fan_profile,json=fanProfile,proto3" json:"fan_profile,omitempty"` // 新创建的粉丝档案 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AddIdentityResponse) Reset() { *x = AddIdentityResponse{} mi := &file_user_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AddIdentityResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*AddIdentityResponse) ProtoMessage() {} func (x *AddIdentityResponse) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[45] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AddIdentityResponse.ProtoReflect.Descriptor instead. func (*AddIdentityResponse) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{45} } func (x *AddIdentityResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *AddIdentityResponse) GetFanProfile() *FanProfile { if x != nil { return x.FanProfile } return nil } // 切换粉丝身份请求 type SwitchIdentityRequest struct { state protoimpl.MessageState `protogen:"open.v1"` NewStarId int64 `protobuf:"varint,1,opt,name=new_star_id,json=newStarId,proto3" json:"new_star_id,omitempty"` // 切换到的新明星ID unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SwitchIdentityRequest) Reset() { *x = SwitchIdentityRequest{} mi := &file_user_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SwitchIdentityRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SwitchIdentityRequest) ProtoMessage() {} func (x *SwitchIdentityRequest) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[46] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SwitchIdentityRequest.ProtoReflect.Descriptor instead. func (*SwitchIdentityRequest) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{46} } func (x *SwitchIdentityRequest) GetNewStarId() int64 { if x != nil { return x.NewStarId } return 0 } // 切换粉丝身份响应 type SwitchIdentityResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // 新的JWT Token(包含新的star_id) ExpiresIn int64 `protobuf:"varint,3,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` // Token过期时间(秒) FanProfile *FanProfile `protobuf:"bytes,4,opt,name=fan_profile,json=fanProfile,proto3" json:"fan_profile,omitempty"` // 切换后的粉丝档案 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SwitchIdentityResponse) Reset() { *x = SwitchIdentityResponse{} mi := &file_user_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SwitchIdentityResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*SwitchIdentityResponse) ProtoMessage() {} func (x *SwitchIdentityResponse) ProtoReflect() protoreflect.Message { mi := &file_user_proto_msgTypes[47] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SwitchIdentityResponse.ProtoReflect.Descriptor instead. func (*SwitchIdentityResponse) Descriptor() ([]byte, []int) { return file_user_proto_rawDescGZIP(), []int{47} } func (x *SwitchIdentityResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *SwitchIdentityResponse) GetAccessToken() string { if x != nil { return x.AccessToken } return "" } func (x *SwitchIdentityResponse) GetExpiresIn() int64 { if x != nil { return x.ExpiresIn } return 0 } func (x *SwitchIdentityResponse) GetFanProfile() *FanProfile { if x != nil { return x.FanProfile } return nil } var File_user_proto protoreflect.FileDescriptor const file_user_proto_rawDesc = "" + "\n" + "\n" + "user.proto\x12\ftopfans.user\x1a\x12proto/common.proto\x1a\x1cgoogle/api/annotations.proto\"\xbd\x01\n" + "\x04User\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x16\n" + "\x06mobile\x18\x02 \x01(\tR\x06mobile\x12\x1d\n" + "\n" + "avatar_url\x18\x03 \x01(\tR\tavatarUrl\x122\n" + "\x15global_wallet_address\x18\x04 \x01(\tR\x13globalWalletAddress\x12\x1b\n" + "\tis_active\x18\x05 \x01(\bR\bisActive\x12\x1d\n" + "\n" + "created_at\x18\x06 \x01(\x03R\tcreatedAt\"\xfa\x03\n" + "\n" + "FanProfile\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x17\n" + "\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x17\n" + "\astar_id\x18\x03 \x01(\x03R\x06starId\x12\x1a\n" + "\bnickname\x18\x04 \x01(\tR\bnickname\x12\x14\n" + "\x05level\x18\x05 \x01(\x05R\x05level\x12\x14\n" + "\x05times\x18\x06 \x01(\x05R\x05times\x12\x16\n" + "\x06social\x18\a \x01(\x05R\x06social\x12\x1e\n" + "\n" + "experience\x18\b \x01(\x03R\n" + "experience\x12!\n" + "\fcoin_balance\x18\t \x01(\x03R\vcoinBalance\x12'\n" + "\x0fcrystal_balance\x18\n" + " \x01(\x03R\x0ecrystalBalance\x12\x12\n" + "\x04tags\x18\v \x03(\tR\x04tags\x12\x1d\n" + "\n" + "avatar_url\x18\x11 \x01(\tR\tavatarUrl\x12\x1d\n" + "\n" + "created_at\x18\f \x01(\x03R\tcreatedAt\x12%\n" + "\x0estarbook_limit\x18\r \x01(\x05R\rstarbookLimit\x12\x1d\n" + "\n" + "slot_limit\x18\x0e \x01(\x05R\tslotLimit\x12!\n" + "\fassets_count\x18\x0f \x01(\x05R\vassetsCount\x12#\n" + "\rchain_address\x18\x10 \x01(\tR\fchainAddress\"\xf6\x01\n" + "\x04Star\x12\x17\n" + "\astar_id\x18\x01 \x01(\x03R\x06starId\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\x12\x17\n" + "\aname_en\x18\x03 \x01(\tR\x06nameEn\x12\x17\n" + "\apic_url\x18\x04 \x01(\tR\x06picUrl\x12 \n" + "\vdescription\x18\x05 \x01(\tR\vdescription\x12\x1f\n" + "\videntity_id\x18\x06 \x01(\tR\n" + "identityId\x12\x1b\n" + "\tis_active\x18\a \x01(\bR\bisActive\x12\x1d\n" + "\n" + "created_at\x18\b \x01(\x03R\tcreatedAt\x12\x10\n" + "\x03tag\x18\t \x01(\tR\x03tag\"z\n" + "\x0fRegisterRequest\x12\x16\n" + "\x06mobile\x18\x01 \x01(\tR\x06mobile\x12\x1a\n" + "\bpassword\x18\x02 \x01(\tR\bpassword\x12\x17\n" + "\astar_id\x18\x03 \x01(\x03R\x06starId\x12\x1a\n" + "\bnickname\x18\x04 \x01(\tR\bnickname\"\xe9\x01\n" + "\x10RegisterResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12!\n" + "\faccess_token\x18\x02 \x01(\tR\vaccessToken\x12\x1d\n" + "\n" + "expires_in\x18\x03 \x01(\x03R\texpiresIn\x12&\n" + "\x04user\x18\x04 \x01(\v2\x12.topfans.user.UserR\x04user\x129\n" + "\vfan_profile\x18\x05 \x01(\v2\x18.topfans.user.FanProfileR\n" + "fanProfile\"[\n" + "\fLoginRequest\x12\x16\n" + "\x06mobile\x18\x01 \x01(\tR\x06mobile\x12\x1a\n" + "\bpassword\x18\x02 \x01(\tR\bpassword\x12\x17\n" + "\astar_id\x18\x03 \x01(\x03R\x06starId\"\xa3\x02\n" + "\rLoginResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12!\n" + "\faccess_token\x18\x02 \x01(\tR\vaccessToken\x12\x1d\n" + "\n" + "expires_in\x18\x03 \x01(\x03R\texpiresIn\x12&\n" + "\x04user\x18\x04 \x01(\v2\x12.topfans.user.UserR\x04user\x129\n" + "\vfan_profile\x18\x05 \x01(\v2\x18.topfans.user.FanProfileR\n" + "fanProfile\x12;\n" + "\ffan_profiles\x18\x06 \x03(\v2\x18.topfans.user.FanProfileR\vfanProfiles\"\x15\n" + "\x13RefreshTokenRequest\"\x8a\x01\n" + "\x14RefreshTokenResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12!\n" + "\faccess_token\x18\x02 \x01(\tR\vaccessToken\x12\x1d\n" + "\n" + "expires_in\x18\x03 \x01(\x03R\texpiresIn\"9\n" + "\x14ValidateTokenRequest\x12!\n" + "\faccess_token\x18\x01 \x01(\tR\vaccessToken\"\xb5\x01\n" + "\x15ValidateTokenResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x17\n" + "\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x17\n" + "\astar_id\x18\x03 \x01(\x03R\x06starId\x12\x19\n" + "\bis_valid\x18\x04 \x01(\bR\aisValid\x12\x1d\n" + "\n" + "expires_at\x18\x05 \x01(\x03R\texpiresAt\"\x0f\n" + "\rLogoutRequest\"B\n" + "\x0eLogoutResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\"2\n" + "\x14CheckNicknameRequest\x12\x1a\n" + "\bnickname\x18\x01 \x01(\tR\bnickname\"a\n" + "\x15CheckNicknameResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x16\n" + "\x06exists\x18\x02 \x01(\bR\x06exists\",\n" + "\x12CheckMobileRequest\x12\x16\n" + "\x06mobile\x18\x01 \x01(\tR\x06mobile\"_\n" + "\x13CheckMobileResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x16\n" + "\x06exists\x18\x02 \x01(\bR\x06exists\")\n" + "\x0eGetUserRequest\x12\x17\n" + "\auser_id\x18\x01 \x01(\x03R\x06userId\"k\n" + "\x0fGetUserResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12&\n" + "\x04user\x18\x02 \x01(\v2\x12.topfans.user.UserR\x04user\"H\n" + "\x14GetFanProfileRequest\x12\x17\n" + "\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x17\n" + "\astar_id\x18\x02 \x01(\x03R\x06starId\"}\n" + "\x15GetFanProfileResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x122\n" + "\aprofile\x18\x02 \x01(\v2\x18.topfans.user.FanProfileR\aprofile\"g\n" + "\x1dUpdateFanProfileSocialRequest\x12\x17\n" + "\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x17\n" + "\astar_id\x18\x02 \x01(\x03R\x06starId\x12\x14\n" + "\x05delta\x18\x03 \x01(\x05R\x05delta\"q\n" + "\x1eUpdateFanProfileSocialResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x1d\n" + "\n" + "new_social\x18\x02 \x01(\x05R\tnewSocial\"e\n" + "\x1bUpdateCrystalBalanceRequest\x12\x17\n" + "\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x17\n" + "\astar_id\x18\x02 \x01(\x03R\x06starId\x12\x14\n" + "\x05delta\x18\x03 \x01(\x03R\x05delta\"q\n" + "\x1cUpdateCrystalBalanceResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x1f\n" + "\vnew_balance\x18\x02 \x01(\x03R\n" + "newBalance\"b\n" + "\x18UpdateAssetsCountRequest\x12\x17\n" + "\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x17\n" + "\astar_id\x18\x02 \x01(\x03R\x06starId\x12\x14\n" + "\x05delta\x18\x03 \x01(\x05R\x05delta\"j\n" + "\x19UpdateAssetsCountResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x1b\n" + "\tnew_count\x18\x02 \x01(\x05R\bnewCount\"^\n" + "\x14AddExperienceRequest\x12\x17\n" + "\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x17\n" + "\astar_id\x18\x02 \x01(\x03R\x06starId\x12\x14\n" + "\x05delta\x18\x03 \x01(\x03R\x05delta\"p\n" + "\x15AddExperienceResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12%\n" + "\x0enew_experience\x18\x02 \x01(\x03R\rnewExperience\"\x17\n" + "\x15GetCurrentUserRequest\"\xea\x01\n" + "\x16GetCurrentUserResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12&\n" + "\x04user\x18\x02 \x01(\v2\x12.topfans.user.UserR\x04user\x129\n" + "\vfan_profile\x18\x03 \x01(\v2\x18.topfans.user.FanProfileR\n" + "fanProfile\x12;\n" + "\ffan_profiles\x18\x04 \x03(\v2\x18.topfans.user.FanProfileR\vfanProfiles\"\x15\n" + "\x13GetMyProfileRequest\"\xe8\x01\n" + "\x14GetMyProfileResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12&\n" + "\x04user\x18\x02 \x01(\v2\x12.topfans.user.UserR\x04user\x129\n" + "\vfan_profile\x18\x03 \x01(\v2\x18.topfans.user.FanProfileR\n" + "fanProfile\x12;\n" + "\ffan_profiles\x18\x04 \x03(\v2\x18.topfans.user.FanProfileR\vfanProfiles\"3\n" + "\x15UpdateNicknameRequest\x12\x1a\n" + "\bnickname\x18\x01 \x01(\tR\bnickname\"\x85\x01\n" + "\x16UpdateNicknameResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x129\n" + "\vfan_profile\x18\x02 \x01(\v2\x18.topfans.user.FanProfileR\n" + "fanProfile\"]\n" + "\x15UpdatePasswordRequest\x12!\n" + "\fold_password\x18\x01 \x01(\tR\voldPassword\x12!\n" + "\fnew_password\x18\x02 \x01(\tR\vnewPassword\"J\n" + "\x16UpdatePasswordResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\"4\n" + "\x13UpdateAvatarRequest\x12\x1d\n" + "\n" + "avatar_url\x18\x01 \x01(\tR\tavatarUrl\"g\n" + "\x14UpdateAvatarResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x1d\n" + "\n" + "avatar_url\x18\x02 \x01(\tR\tavatarUrl\"3\n" + "\x17GetFanIdentitiesRequest\x12\x18\n" + "\akeyword\x18\x01 \x01(\tR\akeyword\"v\n" + "\x18GetFanIdentitiesResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12(\n" + "\x05stars\x18\x02 \x03(\v2\x12.topfans.user.StarR\x05stars\"\x1b\n" + "\x19GetMyFanIdentitiesRequest\"v\n" + "\x11MyFanIdentityItem\x129\n" + "\vfan_profile\x18\x01 \x01(\v2\x18.topfans.user.FanProfileR\n" + "fanProfile\x12&\n" + "\x04star\x18\x02 \x01(\v2\x12.topfans.user.StarR\x04star\"\xad\x01\n" + "\x1aGetMyFanIdentitiesResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x125\n" + "\x05items\x18\x02 \x03(\v2\x1f.topfans.user.MyFanIdentityItemR\x05items\x12&\n" + "\x0fcurrent_star_id\x18\x03 \x01(\x03R\rcurrentStarId\"I\n" + "\x12AddIdentityRequest\x12\x17\n" + "\astar_id\x18\x01 \x01(\x03R\x06starId\x12\x1a\n" + "\bnickname\x18\x02 \x01(\tR\bnickname\"\x82\x01\n" + "\x13AddIdentityResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x129\n" + "\vfan_profile\x18\x02 \x01(\v2\x18.topfans.user.FanProfileR\n" + "fanProfile\"7\n" + "\x15SwitchIdentityRequest\x12\x1e\n" + "\vnew_star_id\x18\x01 \x01(\x03R\tnewStarId\"\xc7\x01\n" + "\x16SwitchIdentityResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12!\n" + "\faccess_token\x18\x02 \x01(\tR\vaccessToken\x12\x1d\n" + "\n" + "expires_in\x18\x03 \x01(\x03R\texpiresIn\x129\n" + "\vfan_profile\x18\x04 \x01(\v2\x18.topfans.user.FanProfileR\n" + "fanProfile2\xca\x14\n" + "\x11UserSocialService\x12k\n" + "\bRegister\x12\x1d.topfans.user.RegisterRequest\x1a\x1e.topfans.user.RegisterResponse\" \x82\xd3\xe4\x93\x02\x1a:\x01*\"\x15/api/v1/auth/register\x12_\n" + "\x05Login\x12\x1a.topfans.user.LoginRequest\x1a\x1b.topfans.user.LoginResponse\"\x1d\x82\xd3\xe4\x93\x02\x17:\x01*\"\x12/api/v1/auth/login\x12v\n" + "\fRefreshToken\x12!.topfans.user.RefreshTokenRequest\x1a\".topfans.user.RefreshTokenResponse\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\"\x14/api/v1/auth/refresh\x12z\n" + "\rValidateToken\x12\".topfans.user.ValidateTokenRequest\x1a#.topfans.user.ValidateTokenResponse\" \x82\xd3\xe4\x93\x02\x1a:\x01*\"\x15/api/v1/auth/validate\x12c\n" + "\x06Logout\x12\x1b.topfans.user.LogoutRequest\x1a\x1c.topfans.user.LogoutResponse\"\x1e\x82\xd3\xe4\x93\x02\x18:\x01*\"\x13/api/v1/auth/logout\x12\x80\x01\n" + "\rCheckNickname\x12\".topfans.user.CheckNicknameRequest\x1a#.topfans.user.CheckNicknameResponse\"&\x82\xd3\xe4\x93\x02 :\x01*\"\x1b/api/v1/auth/check-nickname\x12x\n" + "\vCheckMobile\x12 .topfans.user.CheckMobileRequest\x1a!.topfans.user.CheckMobileResponse\"$\x82\xd3\xe4\x93\x02\x1e:\x01*\"\x19/api/v1/auth/check-mobile\x12g\n" + "\aGetUser\x12\x1c.topfans.user.GetUserRequest\x1a\x1d.topfans.user.GetUserResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/api/v1/users/{user_id}\x12\x90\x01\n" + "\rGetFanProfile\x12\".topfans.user.GetFanProfileRequest\x1a#.topfans.user.GetFanProfileResponse\"6\x82\xd3\xe4\x93\x020\x12./api/v1/users/{user_id}/fan-profiles/{star_id}\x12s\n" + "\x16UpdateFanProfileSocial\x12+.topfans.user.UpdateFanProfileSocialRequest\x1a,.topfans.user.UpdateFanProfileSocialResponse\x12m\n" + "\x14UpdateCrystalBalance\x12).topfans.user.UpdateCrystalBalanceRequest\x1a*.topfans.user.UpdateCrystalBalanceResponse\x12d\n" + "\x11UpdateAssetsCount\x12&.topfans.user.UpdateAssetsCountRequest\x1a'.topfans.user.UpdateAssetsCountResponse\x12X\n" + "\rAddExperience\x12\".topfans.user.AddExperienceRequest\x1a#.topfans.user.AddExperienceResponse\x12t\n" + "\x0eGetCurrentUser\x12#.topfans.user.GetCurrentUserRequest\x1a$.topfans.user.GetCurrentUserResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/api/v1/auth/me\x12q\n" + "\fGetMyProfile\x12!.topfans.user.GetMyProfileRequest\x1a\".topfans.user.GetMyProfileResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/api/v1/me/profile\x12z\n" + "\x0eUpdateNickname\x12#.topfans.user.UpdateNicknameRequest\x1a$.topfans.user.UpdateNicknameResponse\"\x1d\x82\xd3\xe4\x93\x02\x17:\x01*\"\x12/api/v1/me/profile\x12\x80\x01\n" + "\x0eUpdatePassword\x12#.topfans.user.UpdatePasswordRequest\x1a$.topfans.user.UpdatePasswordResponse\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/api/v1/account/password\x12s\n" + "\fUpdateAvatar\x12!.topfans.user.UpdateAvatarRequest\x1a\".topfans.user.UpdateAvatarResponse\"\x1c\x82\xd3\xe4\x93\x02\x16:\x01*\x1a\x11/api/v1/me/avatar\x12\x81\x01\n" + "\x10GetFanIdentities\x12%.topfans.user.GetFanIdentitiesRequest\x1a&.topfans.user.GetFanIdentitiesResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/api/v1/fan-identities\x12\x8a\x01\n" + "\x12GetMyFanIdentities\x12'.topfans.user.GetMyFanIdentitiesRequest\x1a(.topfans.user.GetMyFanIdentitiesResponse\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/api/v1/my/fan-identities\x12x\n" + "\vAddIdentity\x12 .topfans.user.AddIdentityRequest\x1a!.topfans.user.AddIdentityResponse\"$\x82\xd3\xe4\x93\x02\x1e:\x01*\"\x19/api/v1/my/fan-identities\x12\x88\x01\n" + "\x0eSwitchIdentity\x12#.topfans.user.SwitchIdentityRequest\x1a$.topfans.user.SwitchIdentityResponse\"+\x82\xd3\xe4\x93\x02%:\x01*\" /api/v1/my/fan-identities/switchB0Z.github.com/topfans/backend/pkg/proto/user;userb\x06proto3" var ( file_user_proto_rawDescOnce sync.Once file_user_proto_rawDescData []byte ) func file_user_proto_rawDescGZIP() []byte { file_user_proto_rawDescOnce.Do(func() { file_user_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_user_proto_rawDesc), len(file_user_proto_rawDesc))) }) return file_user_proto_rawDescData } var file_user_proto_msgTypes = make([]protoimpl.MessageInfo, 48) var file_user_proto_goTypes = []any{ (*User)(nil), // 0: topfans.user.User (*FanProfile)(nil), // 1: topfans.user.FanProfile (*Star)(nil), // 2: topfans.user.Star (*RegisterRequest)(nil), // 3: topfans.user.RegisterRequest (*RegisterResponse)(nil), // 4: topfans.user.RegisterResponse (*LoginRequest)(nil), // 5: topfans.user.LoginRequest (*LoginResponse)(nil), // 6: topfans.user.LoginResponse (*RefreshTokenRequest)(nil), // 7: topfans.user.RefreshTokenRequest (*RefreshTokenResponse)(nil), // 8: topfans.user.RefreshTokenResponse (*ValidateTokenRequest)(nil), // 9: topfans.user.ValidateTokenRequest (*ValidateTokenResponse)(nil), // 10: topfans.user.ValidateTokenResponse (*LogoutRequest)(nil), // 11: topfans.user.LogoutRequest (*LogoutResponse)(nil), // 12: topfans.user.LogoutResponse (*CheckNicknameRequest)(nil), // 13: topfans.user.CheckNicknameRequest (*CheckNicknameResponse)(nil), // 14: topfans.user.CheckNicknameResponse (*CheckMobileRequest)(nil), // 15: topfans.user.CheckMobileRequest (*CheckMobileResponse)(nil), // 16: topfans.user.CheckMobileResponse (*GetUserRequest)(nil), // 17: topfans.user.GetUserRequest (*GetUserResponse)(nil), // 18: topfans.user.GetUserResponse (*GetFanProfileRequest)(nil), // 19: topfans.user.GetFanProfileRequest (*GetFanProfileResponse)(nil), // 20: topfans.user.GetFanProfileResponse (*UpdateFanProfileSocialRequest)(nil), // 21: topfans.user.UpdateFanProfileSocialRequest (*UpdateFanProfileSocialResponse)(nil), // 22: topfans.user.UpdateFanProfileSocialResponse (*UpdateCrystalBalanceRequest)(nil), // 23: topfans.user.UpdateCrystalBalanceRequest (*UpdateCrystalBalanceResponse)(nil), // 24: topfans.user.UpdateCrystalBalanceResponse (*UpdateAssetsCountRequest)(nil), // 25: topfans.user.UpdateAssetsCountRequest (*UpdateAssetsCountResponse)(nil), // 26: topfans.user.UpdateAssetsCountResponse (*AddExperienceRequest)(nil), // 27: topfans.user.AddExperienceRequest (*AddExperienceResponse)(nil), // 28: topfans.user.AddExperienceResponse (*GetCurrentUserRequest)(nil), // 29: topfans.user.GetCurrentUserRequest (*GetCurrentUserResponse)(nil), // 30: topfans.user.GetCurrentUserResponse (*GetMyProfileRequest)(nil), // 31: topfans.user.GetMyProfileRequest (*GetMyProfileResponse)(nil), // 32: topfans.user.GetMyProfileResponse (*UpdateNicknameRequest)(nil), // 33: topfans.user.UpdateNicknameRequest (*UpdateNicknameResponse)(nil), // 34: topfans.user.UpdateNicknameResponse (*UpdatePasswordRequest)(nil), // 35: topfans.user.UpdatePasswordRequest (*UpdatePasswordResponse)(nil), // 36: topfans.user.UpdatePasswordResponse (*UpdateAvatarRequest)(nil), // 37: topfans.user.UpdateAvatarRequest (*UpdateAvatarResponse)(nil), // 38: topfans.user.UpdateAvatarResponse (*GetFanIdentitiesRequest)(nil), // 39: topfans.user.GetFanIdentitiesRequest (*GetFanIdentitiesResponse)(nil), // 40: topfans.user.GetFanIdentitiesResponse (*GetMyFanIdentitiesRequest)(nil), // 41: topfans.user.GetMyFanIdentitiesRequest (*MyFanIdentityItem)(nil), // 42: topfans.user.MyFanIdentityItem (*GetMyFanIdentitiesResponse)(nil), // 43: topfans.user.GetMyFanIdentitiesResponse (*AddIdentityRequest)(nil), // 44: topfans.user.AddIdentityRequest (*AddIdentityResponse)(nil), // 45: topfans.user.AddIdentityResponse (*SwitchIdentityRequest)(nil), // 46: topfans.user.SwitchIdentityRequest (*SwitchIdentityResponse)(nil), // 47: topfans.user.SwitchIdentityResponse (*common.BaseResponse)(nil), // 48: topfans.common.BaseResponse } var file_user_proto_depIdxs = []int32{ 48, // 0: topfans.user.RegisterResponse.base:type_name -> topfans.common.BaseResponse 0, // 1: topfans.user.RegisterResponse.user:type_name -> topfans.user.User 1, // 2: topfans.user.RegisterResponse.fan_profile:type_name -> topfans.user.FanProfile 48, // 3: topfans.user.LoginResponse.base:type_name -> topfans.common.BaseResponse 0, // 4: topfans.user.LoginResponse.user:type_name -> topfans.user.User 1, // 5: topfans.user.LoginResponse.fan_profile:type_name -> topfans.user.FanProfile 1, // 6: topfans.user.LoginResponse.fan_profiles:type_name -> topfans.user.FanProfile 48, // 7: topfans.user.RefreshTokenResponse.base:type_name -> topfans.common.BaseResponse 48, // 8: topfans.user.ValidateTokenResponse.base:type_name -> topfans.common.BaseResponse 48, // 9: topfans.user.LogoutResponse.base:type_name -> topfans.common.BaseResponse 48, // 10: topfans.user.CheckNicknameResponse.base:type_name -> topfans.common.BaseResponse 48, // 11: topfans.user.CheckMobileResponse.base:type_name -> topfans.common.BaseResponse 48, // 12: topfans.user.GetUserResponse.base:type_name -> topfans.common.BaseResponse 0, // 13: topfans.user.GetUserResponse.user:type_name -> topfans.user.User 48, // 14: topfans.user.GetFanProfileResponse.base:type_name -> topfans.common.BaseResponse 1, // 15: topfans.user.GetFanProfileResponse.profile:type_name -> topfans.user.FanProfile 48, // 16: topfans.user.UpdateFanProfileSocialResponse.base:type_name -> topfans.common.BaseResponse 48, // 17: topfans.user.UpdateCrystalBalanceResponse.base:type_name -> topfans.common.BaseResponse 48, // 18: topfans.user.UpdateAssetsCountResponse.base:type_name -> topfans.common.BaseResponse 48, // 19: topfans.user.AddExperienceResponse.base:type_name -> topfans.common.BaseResponse 48, // 20: topfans.user.GetCurrentUserResponse.base:type_name -> topfans.common.BaseResponse 0, // 21: topfans.user.GetCurrentUserResponse.user:type_name -> topfans.user.User 1, // 22: topfans.user.GetCurrentUserResponse.fan_profile:type_name -> topfans.user.FanProfile 1, // 23: topfans.user.GetCurrentUserResponse.fan_profiles:type_name -> topfans.user.FanProfile 48, // 24: topfans.user.GetMyProfileResponse.base:type_name -> topfans.common.BaseResponse 0, // 25: topfans.user.GetMyProfileResponse.user:type_name -> topfans.user.User 1, // 26: topfans.user.GetMyProfileResponse.fan_profile:type_name -> topfans.user.FanProfile 1, // 27: topfans.user.GetMyProfileResponse.fan_profiles:type_name -> topfans.user.FanProfile 48, // 28: topfans.user.UpdateNicknameResponse.base:type_name -> topfans.common.BaseResponse 1, // 29: topfans.user.UpdateNicknameResponse.fan_profile:type_name -> topfans.user.FanProfile 48, // 30: topfans.user.UpdatePasswordResponse.base:type_name -> topfans.common.BaseResponse 48, // 31: topfans.user.UpdateAvatarResponse.base:type_name -> topfans.common.BaseResponse 48, // 32: topfans.user.GetFanIdentitiesResponse.base:type_name -> topfans.common.BaseResponse 2, // 33: topfans.user.GetFanIdentitiesResponse.stars:type_name -> topfans.user.Star 1, // 34: topfans.user.MyFanIdentityItem.fan_profile:type_name -> topfans.user.FanProfile 2, // 35: topfans.user.MyFanIdentityItem.star:type_name -> topfans.user.Star 48, // 36: topfans.user.GetMyFanIdentitiesResponse.base:type_name -> topfans.common.BaseResponse 42, // 37: topfans.user.GetMyFanIdentitiesResponse.items:type_name -> topfans.user.MyFanIdentityItem 48, // 38: topfans.user.AddIdentityResponse.base:type_name -> topfans.common.BaseResponse 1, // 39: topfans.user.AddIdentityResponse.fan_profile:type_name -> topfans.user.FanProfile 48, // 40: topfans.user.SwitchIdentityResponse.base:type_name -> topfans.common.BaseResponse 1, // 41: topfans.user.SwitchIdentityResponse.fan_profile:type_name -> topfans.user.FanProfile 3, // 42: topfans.user.UserSocialService.Register:input_type -> topfans.user.RegisterRequest 5, // 43: topfans.user.UserSocialService.Login:input_type -> topfans.user.LoginRequest 7, // 44: topfans.user.UserSocialService.RefreshToken:input_type -> topfans.user.RefreshTokenRequest 9, // 45: topfans.user.UserSocialService.ValidateToken:input_type -> topfans.user.ValidateTokenRequest 11, // 46: topfans.user.UserSocialService.Logout:input_type -> topfans.user.LogoutRequest 13, // 47: topfans.user.UserSocialService.CheckNickname:input_type -> topfans.user.CheckNicknameRequest 15, // 48: topfans.user.UserSocialService.CheckMobile:input_type -> topfans.user.CheckMobileRequest 17, // 49: topfans.user.UserSocialService.GetUser:input_type -> topfans.user.GetUserRequest 19, // 50: topfans.user.UserSocialService.GetFanProfile:input_type -> topfans.user.GetFanProfileRequest 21, // 51: topfans.user.UserSocialService.UpdateFanProfileSocial:input_type -> topfans.user.UpdateFanProfileSocialRequest 23, // 52: topfans.user.UserSocialService.UpdateCrystalBalance:input_type -> topfans.user.UpdateCrystalBalanceRequest 25, // 53: topfans.user.UserSocialService.UpdateAssetsCount:input_type -> topfans.user.UpdateAssetsCountRequest 27, // 54: topfans.user.UserSocialService.AddExperience:input_type -> topfans.user.AddExperienceRequest 29, // 55: topfans.user.UserSocialService.GetCurrentUser:input_type -> topfans.user.GetCurrentUserRequest 31, // 56: topfans.user.UserSocialService.GetMyProfile:input_type -> topfans.user.GetMyProfileRequest 33, // 57: topfans.user.UserSocialService.UpdateNickname:input_type -> topfans.user.UpdateNicknameRequest 35, // 58: topfans.user.UserSocialService.UpdatePassword:input_type -> topfans.user.UpdatePasswordRequest 37, // 59: topfans.user.UserSocialService.UpdateAvatar:input_type -> topfans.user.UpdateAvatarRequest 39, // 60: topfans.user.UserSocialService.GetFanIdentities:input_type -> topfans.user.GetFanIdentitiesRequest 41, // 61: topfans.user.UserSocialService.GetMyFanIdentities:input_type -> topfans.user.GetMyFanIdentitiesRequest 44, // 62: topfans.user.UserSocialService.AddIdentity:input_type -> topfans.user.AddIdentityRequest 46, // 63: topfans.user.UserSocialService.SwitchIdentity:input_type -> topfans.user.SwitchIdentityRequest 4, // 64: topfans.user.UserSocialService.Register:output_type -> topfans.user.RegisterResponse 6, // 65: topfans.user.UserSocialService.Login:output_type -> topfans.user.LoginResponse 8, // 66: topfans.user.UserSocialService.RefreshToken:output_type -> topfans.user.RefreshTokenResponse 10, // 67: topfans.user.UserSocialService.ValidateToken:output_type -> topfans.user.ValidateTokenResponse 12, // 68: topfans.user.UserSocialService.Logout:output_type -> topfans.user.LogoutResponse 14, // 69: topfans.user.UserSocialService.CheckNickname:output_type -> topfans.user.CheckNicknameResponse 16, // 70: topfans.user.UserSocialService.CheckMobile:output_type -> topfans.user.CheckMobileResponse 18, // 71: topfans.user.UserSocialService.GetUser:output_type -> topfans.user.GetUserResponse 20, // 72: topfans.user.UserSocialService.GetFanProfile:output_type -> topfans.user.GetFanProfileResponse 22, // 73: topfans.user.UserSocialService.UpdateFanProfileSocial:output_type -> topfans.user.UpdateFanProfileSocialResponse 24, // 74: topfans.user.UserSocialService.UpdateCrystalBalance:output_type -> topfans.user.UpdateCrystalBalanceResponse 26, // 75: topfans.user.UserSocialService.UpdateAssetsCount:output_type -> topfans.user.UpdateAssetsCountResponse 28, // 76: topfans.user.UserSocialService.AddExperience:output_type -> topfans.user.AddExperienceResponse 30, // 77: topfans.user.UserSocialService.GetCurrentUser:output_type -> topfans.user.GetCurrentUserResponse 32, // 78: topfans.user.UserSocialService.GetMyProfile:output_type -> topfans.user.GetMyProfileResponse 34, // 79: topfans.user.UserSocialService.UpdateNickname:output_type -> topfans.user.UpdateNicknameResponse 36, // 80: topfans.user.UserSocialService.UpdatePassword:output_type -> topfans.user.UpdatePasswordResponse 38, // 81: topfans.user.UserSocialService.UpdateAvatar:output_type -> topfans.user.UpdateAvatarResponse 40, // 82: topfans.user.UserSocialService.GetFanIdentities:output_type -> topfans.user.GetFanIdentitiesResponse 43, // 83: topfans.user.UserSocialService.GetMyFanIdentities:output_type -> topfans.user.GetMyFanIdentitiesResponse 45, // 84: topfans.user.UserSocialService.AddIdentity:output_type -> topfans.user.AddIdentityResponse 47, // 85: topfans.user.UserSocialService.SwitchIdentity:output_type -> topfans.user.SwitchIdentityResponse 64, // [64:86] is the sub-list for method output_type 42, // [42:64] is the sub-list for method input_type 42, // [42:42] is the sub-list for extension type_name 42, // [42:42] is the sub-list for extension extendee 0, // [0:42] is the sub-list for field type_name } func init() { file_user_proto_init() } func file_user_proto_init() { if File_user_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_user_proto_rawDesc), len(file_user_proto_rawDesc)), NumEnums: 0, NumMessages: 48, NumExtensions: 0, NumServices: 1, }, GoTypes: file_user_proto_goTypes, DependencyIndexes: file_user_proto_depIdxs, MessageInfos: file_user_proto_msgTypes, }.Build() File_user_proto = out.File file_user_proto_goTypes = nil file_user_proto_depIdxs = nil }