// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v7.34.0 // source: social.proto package social 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 FriendRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 请求ID FromUserId int64 `protobuf:"varint,2,opt,name=from_user_id,json=fromUserId,proto3" json:"from_user_id,omitempty"` // 发送者用户ID ToUserId int64 `protobuf:"varint,3,opt,name=to_user_id,json=toUserId,proto3" json:"to_user_id,omitempty"` // 接收者用户ID StarId int64 `protobuf:"varint,4,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"` // 明星ID(粉丝身份) Message string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"` // 请求附带消息 Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` // 状态:pending, accepted, rejected, expired CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间(毫秒时间戳) ExpiresAt int64 `protobuf:"varint,8,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // 过期时间(毫秒时间戳) ProcessedAt int64 `protobuf:"varint,9,opt,name=processed_at,json=processedAt,proto3" json:"processed_at,omitempty"` // 处理时间(毫秒时间戳,可选) // 扩展字段:包含用户信息(用于列表展示) FromUserNickname string `protobuf:"bytes,10,opt,name=from_user_nickname,json=fromUserNickname,proto3" json:"from_user_nickname,omitempty"` // 发送者昵称 FromUserAvatar string `protobuf:"bytes,11,opt,name=from_user_avatar,json=fromUserAvatar,proto3" json:"from_user_avatar,omitempty"` // 发送者头像 ToUserNickname string `protobuf:"bytes,12,opt,name=to_user_nickname,json=toUserNickname,proto3" json:"to_user_nickname,omitempty"` // 接收者昵称 ToUserAvatar string `protobuf:"bytes,13,opt,name=to_user_avatar,json=toUserAvatar,proto3" json:"to_user_avatar,omitempty"` // 接收者头像 FromUserFanLevel int32 `protobuf:"varint,14,opt,name=from_user_fan_level,json=fromUserFanLevel,proto3" json:"from_user_fan_level,omitempty"` // 发送者粉丝等级 ToUserFanLevel int32 `protobuf:"varint,15,opt,name=to_user_fan_level,json=toUserFanLevel,proto3" json:"to_user_fan_level,omitempty"` // 接收者粉丝等级 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FriendRequest) Reset() { *x = FriendRequest{} mi := &file_social_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FriendRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*FriendRequest) ProtoMessage() {} func (x *FriendRequest) ProtoReflect() protoreflect.Message { mi := &file_social_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 FriendRequest.ProtoReflect.Descriptor instead. func (*FriendRequest) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{0} } func (x *FriendRequest) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *FriendRequest) GetFromUserId() int64 { if x != nil { return x.FromUserId } return 0 } func (x *FriendRequest) GetToUserId() int64 { if x != nil { return x.ToUserId } return 0 } func (x *FriendRequest) GetStarId() int64 { if x != nil { return x.StarId } return 0 } func (x *FriendRequest) GetMessage() string { if x != nil { return x.Message } return "" } func (x *FriendRequest) GetStatus() string { if x != nil { return x.Status } return "" } func (x *FriendRequest) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } func (x *FriendRequest) GetExpiresAt() int64 { if x != nil { return x.ExpiresAt } return 0 } func (x *FriendRequest) GetProcessedAt() int64 { if x != nil { return x.ProcessedAt } return 0 } func (x *FriendRequest) GetFromUserNickname() string { if x != nil { return x.FromUserNickname } return "" } func (x *FriendRequest) GetFromUserAvatar() string { if x != nil { return x.FromUserAvatar } return "" } func (x *FriendRequest) GetToUserNickname() string { if x != nil { return x.ToUserNickname } return "" } func (x *FriendRequest) GetToUserAvatar() string { if x != nil { return x.ToUserAvatar } return "" } func (x *FriendRequest) GetFromUserFanLevel() int32 { if x != nil { return x.FromUserFanLevel } return 0 } func (x *FriendRequest) GetToUserFanLevel() int32 { if x != nil { return x.ToUserFanLevel } return 0 } // 好友关系信息 type Friendship struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 关系ID UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户ID FriendId int64 `protobuf:"varint,3,opt,name=friend_id,json=friendId,proto3" json:"friend_id,omitempty"` // 好友用户ID StarId int64 `protobuf:"varint,4,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"` // 明星ID(粉丝身份) Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` // 状态:accepted, blocked Remark string `protobuf:"bytes,6,opt,name=remark,proto3" json:"remark,omitempty"` // 备注名(可选) Intimacy int32 `protobuf:"varint,7,opt,name=intimacy,proto3" json:"intimacy,omitempty"` // 亲密度(预留字段) CreatedAt int64 `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间(毫秒时间戳) // 扩展字段:好友信息(用于列表展示) FriendNickname string `protobuf:"bytes,9,opt,name=friend_nickname,json=friendNickname,proto3" json:"friend_nickname,omitempty"` // 好友昵称 FriendAvatar string `protobuf:"bytes,10,opt,name=friend_avatar,json=friendAvatar,proto3" json:"friend_avatar,omitempty"` // 好友头像 FriendFanLevel int32 `protobuf:"varint,11,opt,name=friend_fan_level,json=friendFanLevel,proto3" json:"friend_fan_level,omitempty"` // 好友粉丝等级 FriendSocial int32 `protobuf:"varint,12,opt,name=friend_social,json=friendSocial,proto3" json:"friend_social,omitempty"` // 好友的好友数量 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Friendship) Reset() { *x = Friendship{} mi := &file_social_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Friendship) String() string { return protoimpl.X.MessageStringOf(x) } func (*Friendship) ProtoMessage() {} func (x *Friendship) ProtoReflect() protoreflect.Message { mi := &file_social_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 Friendship.ProtoReflect.Descriptor instead. func (*Friendship) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{1} } func (x *Friendship) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *Friendship) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *Friendship) GetFriendId() int64 { if x != nil { return x.FriendId } return 0 } func (x *Friendship) GetStarId() int64 { if x != nil { return x.StarId } return 0 } func (x *Friendship) GetStatus() string { if x != nil { return x.Status } return "" } func (x *Friendship) GetRemark() string { if x != nil { return x.Remark } return "" } func (x *Friendship) GetIntimacy() int32 { if x != nil { return x.Intimacy } return 0 } func (x *Friendship) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } func (x *Friendship) GetFriendNickname() string { if x != nil { return x.FriendNickname } return "" } func (x *Friendship) GetFriendAvatar() string { if x != nil { return x.FriendAvatar } return "" } func (x *Friendship) GetFriendFanLevel() int32 { if x != nil { return x.FriendFanLevel } return 0 } func (x *Friendship) GetFriendSocial() int32 { if x != nil { return x.FriendSocial } return 0 } // 发送好友请求 type SendFriendRequestRequest struct { state protoimpl.MessageState `protogen:"open.v1"` FriendUserId int64 `protobuf:"varint,1,opt,name=friend_user_id,json=friendUserId,proto3" json:"friend_user_id,omitempty"` // 好友用户ID(要添加的用户ID) Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 请求附带消息(可选) Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称(用于按昵称搜索,与 friend_user_id 二选一) SearchMode bool `protobuf:"varint,4,opt,name=search_mode,json=searchMode,proto3" json:"search_mode,omitempty"` // 搜索模式(true=仅搜索返回匹配用户,false=正常发送请求) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SendFriendRequestRequest) Reset() { *x = SendFriendRequestRequest{} mi := &file_social_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SendFriendRequestRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SendFriendRequestRequest) ProtoMessage() {} func (x *SendFriendRequestRequest) ProtoReflect() protoreflect.Message { mi := &file_social_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 SendFriendRequestRequest.ProtoReflect.Descriptor instead. func (*SendFriendRequestRequest) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{2} } func (x *SendFriendRequestRequest) GetFriendUserId() int64 { if x != nil { return x.FriendUserId } return 0 } func (x *SendFriendRequestRequest) GetMessage() string { if x != nil { return x.Message } return "" } func (x *SendFriendRequestRequest) GetNickname() string { if x != nil { return x.Nickname } return "" } func (x *SendFriendRequestRequest) GetSearchMode() bool { if x != nil { return x.SearchMode } return false } type SendFriendRequestResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` RequestId int64 `protobuf:"varint,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 创建的请求ID Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // 请求状态 CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间 ExpiresAt int64 `protobuf:"varint,5,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // 过期时间 MatchedUsers []*FanProfileSearchResult `protobuf:"bytes,6,rep,name=matched_users,json=matchedUsers,proto3" json:"matched_users,omitempty"` // 匹配的用户列表(仅 search_mode=true 时返回) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SendFriendRequestResponse) Reset() { *x = SendFriendRequestResponse{} mi := &file_social_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SendFriendRequestResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*SendFriendRequestResponse) ProtoMessage() {} func (x *SendFriendRequestResponse) ProtoReflect() protoreflect.Message { mi := &file_social_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 SendFriendRequestResponse.ProtoReflect.Descriptor instead. func (*SendFriendRequestResponse) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{3} } func (x *SendFriendRequestResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *SendFriendRequestResponse) GetRequestId() int64 { if x != nil { return x.RequestId } return 0 } func (x *SendFriendRequestResponse) GetStatus() string { if x != nil { return x.Status } return "" } func (x *SendFriendRequestResponse) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } func (x *SendFriendRequestResponse) GetExpiresAt() int64 { if x != nil { return x.ExpiresAt } return 0 } func (x *SendFriendRequestResponse) GetMatchedUsers() []*FanProfileSearchResult { if x != nil { return x.MatchedUsers } return nil } // 获取好友请求列表 type GetFriendRequestsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // 请求类型:received(收到的), sent(发出的) Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // 状态筛选:pending, accepted, rejected, expired, all(可选) Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` // 页码(从1开始) PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 每页数量 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetFriendRequestsRequest) Reset() { *x = GetFriendRequestsRequest{} mi := &file_social_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetFriendRequestsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetFriendRequestsRequest) ProtoMessage() {} func (x *GetFriendRequestsRequest) ProtoReflect() protoreflect.Message { mi := &file_social_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 GetFriendRequestsRequest.ProtoReflect.Descriptor instead. func (*GetFriendRequestsRequest) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{4} } func (x *GetFriendRequestsRequest) GetType() string { if x != nil { return x.Type } return "" } func (x *GetFriendRequestsRequest) GetStatus() string { if x != nil { return x.Status } return "" } func (x *GetFriendRequestsRequest) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *GetFriendRequestsRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } type GetFriendRequestsResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Items []*FriendRequest `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // 请求列表 Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` // 总数 Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"` // 当前页码 PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 每页数量 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetFriendRequestsResponse) Reset() { *x = GetFriendRequestsResponse{} mi := &file_social_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetFriendRequestsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetFriendRequestsResponse) ProtoMessage() {} func (x *GetFriendRequestsResponse) ProtoReflect() protoreflect.Message { mi := &file_social_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 GetFriendRequestsResponse.ProtoReflect.Descriptor instead. func (*GetFriendRequestsResponse) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{5} } func (x *GetFriendRequestsResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetFriendRequestsResponse) GetItems() []*FriendRequest { if x != nil { return x.Items } return nil } func (x *GetFriendRequestsResponse) GetTotal() int64 { if x != nil { return x.Total } return 0 } func (x *GetFriendRequestsResponse) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *GetFriendRequestsResponse) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } // 处理好友请求(接受/拒绝) type HandleFriendRequestRequest struct { state protoimpl.MessageState `protogen:"open.v1"` RequestId int64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // 请求ID Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` // 操作:accept(接受), reject(拒绝) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *HandleFriendRequestRequest) Reset() { *x = HandleFriendRequestRequest{} mi := &file_social_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *HandleFriendRequestRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*HandleFriendRequestRequest) ProtoMessage() {} func (x *HandleFriendRequestRequest) ProtoReflect() protoreflect.Message { mi := &file_social_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 HandleFriendRequestRequest.ProtoReflect.Descriptor instead. func (*HandleFriendRequestRequest) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{6} } func (x *HandleFriendRequestRequest) GetRequestId() int64 { if x != nil { return x.RequestId } return 0 } func (x *HandleFriendRequestRequest) GetAction() string { if x != nil { return x.Action } return "" } type HandleFriendRequestResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` // 执行的操作 FriendshipCreated bool `protobuf:"varint,3,opt,name=friendship_created,json=friendshipCreated,proto3" json:"friendship_created,omitempty"` // 是否创建了好友关系(仅 accept 时有值) ProcessedAt int64 `protobuf:"varint,4,opt,name=processed_at,json=processedAt,proto3" json:"processed_at,omitempty"` // 处理时间 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *HandleFriendRequestResponse) Reset() { *x = HandleFriendRequestResponse{} mi := &file_social_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *HandleFriendRequestResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*HandleFriendRequestResponse) ProtoMessage() {} func (x *HandleFriendRequestResponse) ProtoReflect() protoreflect.Message { mi := &file_social_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 HandleFriendRequestResponse.ProtoReflect.Descriptor instead. func (*HandleFriendRequestResponse) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{7} } func (x *HandleFriendRequestResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *HandleFriendRequestResponse) GetAction() string { if x != nil { return x.Action } return "" } func (x *HandleFriendRequestResponse) GetFriendshipCreated() bool { if x != nil { return x.FriendshipCreated } return false } func (x *HandleFriendRequestResponse) GetProcessedAt() int64 { if x != nil { return x.ProcessedAt } return 0 } // 获取好友列表 type GetFriendListRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"` // 搜索关键词(搜索昵称或备注,可选) Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // 页码(从1开始) PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 每页数量 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetFriendListRequest) Reset() { *x = GetFriendListRequest{} mi := &file_social_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetFriendListRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetFriendListRequest) ProtoMessage() {} func (x *GetFriendListRequest) ProtoReflect() protoreflect.Message { mi := &file_social_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 GetFriendListRequest.ProtoReflect.Descriptor instead. func (*GetFriendListRequest) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{8} } func (x *GetFriendListRequest) GetKeyword() string { if x != nil { return x.Keyword } return "" } func (x *GetFriendListRequest) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *GetFriendListRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } type GetFriendListResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Items []*Friendship `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // 好友列表 Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` // 总数 Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"` // 当前页码 PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 每页数量 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetFriendListResponse) Reset() { *x = GetFriendListResponse{} mi := &file_social_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetFriendListResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetFriendListResponse) ProtoMessage() {} func (x *GetFriendListResponse) ProtoReflect() protoreflect.Message { mi := &file_social_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 GetFriendListResponse.ProtoReflect.Descriptor instead. func (*GetFriendListResponse) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{9} } func (x *GetFriendListResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetFriendListResponse) GetItems() []*Friendship { if x != nil { return x.Items } return nil } func (x *GetFriendListResponse) GetTotal() int64 { if x != nil { return x.Total } return 0 } func (x *GetFriendListResponse) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *GetFriendListResponse) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } // 删除好友 type DeleteFriendRequest struct { state protoimpl.MessageState `protogen:"open.v1"` FriendUserId int64 `protobuf:"varint,1,opt,name=friend_user_id,json=friendUserId,proto3" json:"friend_user_id,omitempty"` // 好友用户ID unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DeleteFriendRequest) Reset() { *x = DeleteFriendRequest{} mi := &file_social_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DeleteFriendRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteFriendRequest) ProtoMessage() {} func (x *DeleteFriendRequest) ProtoReflect() protoreflect.Message { mi := &file_social_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 DeleteFriendRequest.ProtoReflect.Descriptor instead. func (*DeleteFriendRequest) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{10} } func (x *DeleteFriendRequest) GetFriendUserId() int64 { if x != nil { return x.FriendUserId } return 0 } type DeleteFriendResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"` // 是否成功 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *DeleteFriendResponse) Reset() { *x = DeleteFriendResponse{} mi := &file_social_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *DeleteFriendResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteFriendResponse) ProtoMessage() {} func (x *DeleteFriendResponse) ProtoReflect() protoreflect.Message { mi := &file_social_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 DeleteFriendResponse.ProtoReflect.Descriptor instead. func (*DeleteFriendResponse) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{11} } func (x *DeleteFriendResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *DeleteFriendResponse) GetSuccess() bool { if x != nil { return x.Success } return false } // 设置好友备注 type SetFriendRemarkRequest struct { state protoimpl.MessageState `protogen:"open.v1"` FriendUserId int64 `protobuf:"varint,1,opt,name=friend_user_id,json=friendUserId,proto3" json:"friend_user_id,omitempty"` // 好友用户ID Remark string `protobuf:"bytes,2,opt,name=remark,proto3" json:"remark,omitempty"` // 备注名 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SetFriendRemarkRequest) Reset() { *x = SetFriendRemarkRequest{} mi := &file_social_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SetFriendRemarkRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetFriendRemarkRequest) ProtoMessage() {} func (x *SetFriendRemarkRequest) ProtoReflect() protoreflect.Message { mi := &file_social_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 SetFriendRemarkRequest.ProtoReflect.Descriptor instead. func (*SetFriendRemarkRequest) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{12} } func (x *SetFriendRemarkRequest) GetFriendUserId() int64 { if x != nil { return x.FriendUserId } return 0 } func (x *SetFriendRemarkRequest) GetRemark() string { if x != nil { return x.Remark } return "" } type SetFriendRemarkResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Remark string `protobuf:"bytes,2,opt,name=remark,proto3" json:"remark,omitempty"` // 更新后的备注名 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SetFriendRemarkResponse) Reset() { *x = SetFriendRemarkResponse{} mi := &file_social_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SetFriendRemarkResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*SetFriendRemarkResponse) ProtoMessage() {} func (x *SetFriendRemarkResponse) ProtoReflect() protoreflect.Message { mi := &file_social_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 SetFriendRemarkResponse.ProtoReflect.Descriptor instead. func (*SetFriendRemarkResponse) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{13} } func (x *SetFriendRemarkResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *SetFriendRemarkResponse) GetRemark() string { if x != nil { return x.Remark } return "" } // 检查好友关系 type CheckFriendshipRequest struct { state protoimpl.MessageState `protogen:"open.v1"` UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户ID FriendUserId int64 `protobuf:"varint,2,opt,name=friend_user_id,json=friendUserId,proto3" json:"friend_user_id,omitempty"` // 好友用户ID unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CheckFriendshipRequest) Reset() { *x = CheckFriendshipRequest{} mi := &file_social_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CheckFriendshipRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CheckFriendshipRequest) ProtoMessage() {} func (x *CheckFriendshipRequest) ProtoReflect() protoreflect.Message { mi := &file_social_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 CheckFriendshipRequest.ProtoReflect.Descriptor instead. func (*CheckFriendshipRequest) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{14} } func (x *CheckFriendshipRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *CheckFriendshipRequest) GetFriendUserId() int64 { if x != nil { return x.FriendUserId } return 0 } type CheckFriendshipResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` IsFriend bool `protobuf:"varint,2,opt,name=is_friend,json=isFriend,proto3" json:"is_friend,omitempty"` // 是否为好友 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CheckFriendshipResponse) Reset() { *x = CheckFriendshipResponse{} mi := &file_social_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CheckFriendshipResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CheckFriendshipResponse) ProtoMessage() {} func (x *CheckFriendshipResponse) ProtoReflect() protoreflect.Message { mi := &file_social_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 CheckFriendshipResponse.ProtoReflect.Descriptor instead. func (*CheckFriendshipResponse) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{15} } func (x *CheckFriendshipResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *CheckFriendshipResponse) GetIsFriend() bool { if x != nil { return x.IsFriend } return false } // 获取好友数量 type GetFriendCountRequest struct { state protoimpl.MessageState `protogen:"open.v1"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetFriendCountRequest) Reset() { *x = GetFriendCountRequest{} mi := &file_social_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetFriendCountRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetFriendCountRequest) ProtoMessage() {} func (x *GetFriendCountRequest) ProtoReflect() protoreflect.Message { mi := &file_social_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 GetFriendCountRequest.ProtoReflect.Descriptor instead. func (*GetFriendCountRequest) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{16} } type GetFriendCountResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // 好友数量 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetFriendCountResponse) Reset() { *x = GetFriendCountResponse{} mi := &file_social_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetFriendCountResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetFriendCountResponse) ProtoMessage() {} func (x *GetFriendCountResponse) ProtoReflect() protoreflect.Message { mi := &file_social_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 GetFriendCountResponse.ProtoReflect.Descriptor instead. func (*GetFriendCountResponse) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{17} } func (x *GetFriendCountResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetFriendCountResponse) GetCount() int64 { if x != nil { return x.Count } return 0 } // 查找用户信息(用于加好友) type SearchUserForFriendRequest struct { state protoimpl.MessageState `protogen:"open.v1"` FriendFanProfileId int64 `protobuf:"varint,1,opt,name=friend_fan_profile_id,json=friendFanProfileId,proto3" json:"friend_fan_profile_id,omitempty"` // 粉丝档案ID unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SearchUserForFriendRequest) Reset() { *x = SearchUserForFriendRequest{} mi := &file_social_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SearchUserForFriendRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*SearchUserForFriendRequest) ProtoMessage() {} func (x *SearchUserForFriendRequest) ProtoReflect() protoreflect.Message { mi := &file_social_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 SearchUserForFriendRequest.ProtoReflect.Descriptor instead. func (*SearchUserForFriendRequest) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{18} } func (x *SearchUserForFriendRequest) GetFriendFanProfileId() int64 { if x != nil { return x.FriendFanProfileId } return 0 } type SearchUserForFriendResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` User *FanProfileSearchResult `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // 用户信息及关系状态 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SearchUserForFriendResponse) Reset() { *x = SearchUserForFriendResponse{} mi := &file_social_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SearchUserForFriendResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*SearchUserForFriendResponse) ProtoMessage() {} func (x *SearchUserForFriendResponse) ProtoReflect() protoreflect.Message { mi := &file_social_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 SearchUserForFriendResponse.ProtoReflect.Descriptor instead. func (*SearchUserForFriendResponse) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{19} } func (x *SearchUserForFriendResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *SearchUserForFriendResponse) GetUser() *FanProfileSearchResult { if x != nil { return x.User } return nil } // 粉丝档案搜索结果 type FanProfileSearchResult struct { state protoimpl.MessageState `protogen:"open.v1"` FanProfileId int64 `protobuf:"varint,1,opt,name=fan_profile_id,json=fanProfileId,proto3" json:"fan_profile_id,omitempty"` // 粉丝档案ID UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户ID Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称 Avatar string `protobuf:"bytes,4,opt,name=avatar,proto3" json:"avatar,omitempty"` // 头像URL FanLevel int32 `protobuf:"varint,5,opt,name=fan_level,json=fanLevel,proto3" json:"fan_level,omitempty"` // 粉丝等级 RelationshipStatus string `protobuf:"bytes,6,opt,name=relationship_status,json=relationshipStatus,proto3" json:"relationship_status,omitempty"` // 关系状态:stranger, friend, pending_sent, pending_received, rejected CanSendRequest bool `protobuf:"varint,7,opt,name=can_send_request,json=canSendRequest,proto3" json:"can_send_request,omitempty"` // 是否可以发送好友请求 CooldownEndsAt int64 `protobuf:"varint,8,opt,name=cooldown_ends_at,json=cooldownEndsAt,proto3" json:"cooldown_ends_at,omitempty"` // 冷静期结束时间(毫秒时间戳,仅当 relationship_status=rejected 时有值) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *FanProfileSearchResult) Reset() { *x = FanProfileSearchResult{} mi := &file_social_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *FanProfileSearchResult) String() string { return protoimpl.X.MessageStringOf(x) } func (*FanProfileSearchResult) ProtoMessage() {} func (x *FanProfileSearchResult) ProtoReflect() protoreflect.Message { mi := &file_social_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 FanProfileSearchResult.ProtoReflect.Descriptor instead. func (*FanProfileSearchResult) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{20} } func (x *FanProfileSearchResult) GetFanProfileId() int64 { if x != nil { return x.FanProfileId } return 0 } func (x *FanProfileSearchResult) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *FanProfileSearchResult) GetNickname() string { if x != nil { return x.Nickname } return "" } func (x *FanProfileSearchResult) GetAvatar() string { if x != nil { return x.Avatar } return "" } func (x *FanProfileSearchResult) GetFanLevel() int32 { if x != nil { return x.FanLevel } return 0 } func (x *FanProfileSearchResult) GetRelationshipStatus() string { if x != nil { return x.RelationshipStatus } return "" } func (x *FanProfileSearchResult) GetCanSendRequest() bool { if x != nil { return x.CanSendRequest } return false } func (x *FanProfileSearchResult) GetCooldownEndsAt() int64 { if x != nil { return x.CooldownEndsAt } return 0 } // 随机用户信息 type RandomUser struct { state protoimpl.MessageState `protogen:"open.v1"` UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户ID Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RandomUser) Reset() { *x = RandomUser{} mi := &file_social_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RandomUser) String() string { return protoimpl.X.MessageStringOf(x) } func (*RandomUser) ProtoMessage() {} func (x *RandomUser) ProtoReflect() protoreflect.Message { mi := &file_social_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 RandomUser.ProtoReflect.Descriptor instead. func (*RandomUser) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{21} } func (x *RandomUser) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *RandomUser) GetNickname() string { if x != nil { return x.Nickname } return "" } // 获取随机用户 type GetRandomUsersRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` // 返回数量(默认1,最大100) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetRandomUsersRequest) Reset() { *x = GetRandomUsersRequest{} mi := &file_social_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetRandomUsersRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetRandomUsersRequest) ProtoMessage() {} func (x *GetRandomUsersRequest) ProtoReflect() protoreflect.Message { mi := &file_social_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 GetRandomUsersRequest.ProtoReflect.Descriptor instead. func (*GetRandomUsersRequest) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{22} } func (x *GetRandomUsersRequest) GetCount() int32 { if x != nil { return x.Count } return 0 } type GetRandomUsersResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Users []*RandomUser `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"` // 随机用户列表 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetRandomUsersResponse) Reset() { *x = GetRandomUsersResponse{} mi := &file_social_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetRandomUsersResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetRandomUsersResponse) ProtoMessage() {} func (x *GetRandomUsersResponse) ProtoReflect() protoreflect.Message { mi := &file_social_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 GetRandomUsersResponse.ProtoReflect.Descriptor instead. func (*GetRandomUsersResponse) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{23} } func (x *GetRandomUsersResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetRandomUsersResponse) GetUsers() []*RandomUser { if x != nil { return x.Users } return nil } // 分页用户信息 type PagedUser struct { state protoimpl.MessageState `protogen:"open.v1"` UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户ID GalleryOwnerId int64 `protobuf:"varint,2,opt,name=gallery_owner_id,json=galleryOwnerId,proto3" json:"gallery_owner_id,omitempty"` // 展馆所有者ID(等于user_id) Nickname string `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"` // 昵称 Level int32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"` // 粉丝等级 SharedBoothSlotsRemaining int32 `protobuf:"varint,5,opt,name=shared_booth_slots_remaining,json=sharedBoothSlotsRemaining,proto3" json:"shared_booth_slots_remaining,omitempty"` // 剩余共享展位数 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PagedUser) Reset() { *x = PagedUser{} mi := &file_social_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PagedUser) String() string { return protoimpl.X.MessageStringOf(x) } func (*PagedUser) ProtoMessage() {} func (x *PagedUser) ProtoReflect() protoreflect.Message { mi := &file_social_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 PagedUser.ProtoReflect.Descriptor instead. func (*PagedUser) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{24} } func (x *PagedUser) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *PagedUser) GetGalleryOwnerId() int64 { if x != nil { return x.GalleryOwnerId } return 0 } func (x *PagedUser) GetNickname() string { if x != nil { return x.Nickname } return "" } func (x *PagedUser) GetLevel() int32 { if x != nil { return x.Level } return 0 } func (x *PagedUser) GetSharedBoothSlotsRemaining() int32 { if x != nil { return x.SharedBoothSlotsRemaining } return 0 } // 获取分页用户列表请求 type GetUsersPagedRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 页码(从1开始,默认1) PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 每页数量(默认20,最大100) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetUsersPagedRequest) Reset() { *x = GetUsersPagedRequest{} mi := &file_social_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetUsersPagedRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetUsersPagedRequest) ProtoMessage() {} func (x *GetUsersPagedRequest) ProtoReflect() protoreflect.Message { mi := &file_social_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 GetUsersPagedRequest.ProtoReflect.Descriptor instead. func (*GetUsersPagedRequest) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{25} } func (x *GetUsersPagedRequest) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *GetUsersPagedRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } // 获取分页用户列表响应 type GetUsersPagedResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Users []*PagedUser `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"` // 用户列表 Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"` // 总数 Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"` // 当前页码 PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 每页数量 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetUsersPagedResponse) Reset() { *x = GetUsersPagedResponse{} mi := &file_social_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetUsersPagedResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetUsersPagedResponse) ProtoMessage() {} func (x *GetUsersPagedResponse) ProtoReflect() protoreflect.Message { mi := &file_social_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 GetUsersPagedResponse.ProtoReflect.Descriptor instead. func (*GetUsersPagedResponse) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{26} } func (x *GetUsersPagedResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetUsersPagedResponse) GetUsers() []*PagedUser { if x != nil { return x.Users } return nil } func (x *GetUsersPagedResponse) GetTotal() int64 { if x != nil { return x.Total } return 0 } func (x *GetUsersPagedResponse) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *GetUsersPagedResponse) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } // 点赞资产请求 type LikeAssetRequest struct { state protoimpl.MessageState `protogen:"open.v1"` AssetId int64 `protobuf:"varint,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` // 资产ID unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LikeAssetRequest) Reset() { *x = LikeAssetRequest{} mi := &file_social_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LikeAssetRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*LikeAssetRequest) ProtoMessage() {} func (x *LikeAssetRequest) ProtoReflect() protoreflect.Message { mi := &file_social_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 LikeAssetRequest.ProtoReflect.Descriptor instead. func (*LikeAssetRequest) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{27} } func (x *LikeAssetRequest) GetAssetId() int64 { if x != nil { return x.AssetId } return 0 } // 点赞资产响应 type LikeAssetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` AssetId int64 `protobuf:"varint,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` // 资产ID NewLikeCount int32 `protobuf:"varint,3,opt,name=new_like_count,json=newLikeCount,proto3" json:"new_like_count,omitempty"` // 更新后的点赞数 IsLiked bool `protobuf:"varint,4,opt,name=is_liked,json=isLiked,proto3" json:"is_liked,omitempty"` // 是否已点赞(true) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LikeAssetResponse) Reset() { *x = LikeAssetResponse{} mi := &file_social_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LikeAssetResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*LikeAssetResponse) ProtoMessage() {} func (x *LikeAssetResponse) ProtoReflect() protoreflect.Message { mi := &file_social_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 LikeAssetResponse.ProtoReflect.Descriptor instead. func (*LikeAssetResponse) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{28} } func (x *LikeAssetResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *LikeAssetResponse) GetAssetId() int64 { if x != nil { return x.AssetId } return 0 } func (x *LikeAssetResponse) GetNewLikeCount() int32 { if x != nil { return x.NewLikeCount } return 0 } func (x *LikeAssetResponse) GetIsLiked() bool { if x != nil { return x.IsLiked } return false } // 取消点赞请求 type UnlikeAssetRequest struct { state protoimpl.MessageState `protogen:"open.v1"` AssetId int64 `protobuf:"varint,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` // 资产ID unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UnlikeAssetRequest) Reset() { *x = UnlikeAssetRequest{} mi := &file_social_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UnlikeAssetRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UnlikeAssetRequest) ProtoMessage() {} func (x *UnlikeAssetRequest) ProtoReflect() protoreflect.Message { mi := &file_social_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 UnlikeAssetRequest.ProtoReflect.Descriptor instead. func (*UnlikeAssetRequest) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{29} } func (x *UnlikeAssetRequest) GetAssetId() int64 { if x != nil { return x.AssetId } return 0 } // 取消点赞响应 type UnlikeAssetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` AssetId int64 `protobuf:"varint,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` // 资产ID NewLikeCount int32 `protobuf:"varint,3,opt,name=new_like_count,json=newLikeCount,proto3" json:"new_like_count,omitempty"` // 更新后的点赞数 IsLiked bool `protobuf:"varint,4,opt,name=is_liked,json=isLiked,proto3" json:"is_liked,omitempty"` // 是否已点赞(false) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UnlikeAssetResponse) Reset() { *x = UnlikeAssetResponse{} mi := &file_social_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UnlikeAssetResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*UnlikeAssetResponse) ProtoMessage() {} func (x *UnlikeAssetResponse) ProtoReflect() protoreflect.Message { mi := &file_social_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 UnlikeAssetResponse.ProtoReflect.Descriptor instead. func (*UnlikeAssetResponse) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{30} } func (x *UnlikeAssetResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *UnlikeAssetResponse) GetAssetId() int64 { if x != nil { return x.AssetId } return 0 } func (x *UnlikeAssetResponse) GetNewLikeCount() int32 { if x != nil { return x.NewLikeCount } return 0 } func (x *UnlikeAssetResponse) GetIsLiked() bool { if x != nil { return x.IsLiked } return false } // 检查是否已点赞请求 type CheckAssetLikeRequest struct { state protoimpl.MessageState `protogen:"open.v1"` AssetId int64 `protobuf:"varint,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` // 资产ID unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CheckAssetLikeRequest) Reset() { *x = CheckAssetLikeRequest{} mi := &file_social_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CheckAssetLikeRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CheckAssetLikeRequest) ProtoMessage() {} func (x *CheckAssetLikeRequest) ProtoReflect() protoreflect.Message { mi := &file_social_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 CheckAssetLikeRequest.ProtoReflect.Descriptor instead. func (*CheckAssetLikeRequest) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{31} } func (x *CheckAssetLikeRequest) GetAssetId() int64 { if x != nil { return x.AssetId } return 0 } // 检查是否已点赞响应 type CheckAssetLikeResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` IsLiked bool `protobuf:"varint,2,opt,name=is_liked,json=isLiked,proto3" json:"is_liked,omitempty"` // 是否已点赞 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CheckAssetLikeResponse) Reset() { *x = CheckAssetLikeResponse{} mi := &file_social_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CheckAssetLikeResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CheckAssetLikeResponse) ProtoMessage() {} func (x *CheckAssetLikeResponse) ProtoReflect() protoreflect.Message { mi := &file_social_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 CheckAssetLikeResponse.ProtoReflect.Descriptor instead. func (*CheckAssetLikeResponse) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{32} } func (x *CheckAssetLikeResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *CheckAssetLikeResponse) GetIsLiked() bool { if x != nil { return x.IsLiked } return false } // 获取我点赞的作品列表请求 type GetMyLikedAssetsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 页码(默认1) PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 每页数量(默认20,最大100) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetMyLikedAssetsRequest) Reset() { *x = GetMyLikedAssetsRequest{} mi := &file_social_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetMyLikedAssetsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetMyLikedAssetsRequest) ProtoMessage() {} func (x *GetMyLikedAssetsRequest) ProtoReflect() protoreflect.Message { mi := &file_social_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 GetMyLikedAssetsRequest.ProtoReflect.Descriptor instead. func (*GetMyLikedAssetsRequest) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{33} } func (x *GetMyLikedAssetsRequest) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *GetMyLikedAssetsRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } // 获取我点赞的作品列表响应 type GetMyLikedAssetsResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Data *LikedAssetsData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetMyLikedAssetsResponse) Reset() { *x = GetMyLikedAssetsResponse{} mi := &file_social_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetMyLikedAssetsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetMyLikedAssetsResponse) ProtoMessage() {} func (x *GetMyLikedAssetsResponse) ProtoReflect() protoreflect.Message { mi := &file_social_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 GetMyLikedAssetsResponse.ProtoReflect.Descriptor instead. func (*GetMyLikedAssetsResponse) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{34} } func (x *GetMyLikedAssetsResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetMyLikedAssetsResponse) GetData() *LikedAssetsData { if x != nil { return x.Data } return nil } // 点赞作品数据 type LikedAssetsData struct { state protoimpl.MessageState `protogen:"open.v1"` Items []*LikedAssetItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // 作品列表 Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` // 当前页码 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 每页数量 Total int64 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"` // 总数量 HasMore bool `protobuf:"varint,5,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"` // 是否有更多 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LikedAssetsData) Reset() { *x = LikedAssetsData{} mi := &file_social_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LikedAssetsData) String() string { return protoimpl.X.MessageStringOf(x) } func (*LikedAssetsData) ProtoMessage() {} func (x *LikedAssetsData) ProtoReflect() protoreflect.Message { mi := &file_social_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 LikedAssetsData.ProtoReflect.Descriptor instead. func (*LikedAssetsData) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{35} } func (x *LikedAssetsData) GetItems() []*LikedAssetItem { if x != nil { return x.Items } return nil } func (x *LikedAssetsData) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *LikedAssetsData) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *LikedAssetsData) GetTotal() int64 { if x != nil { return x.Total } return 0 } func (x *LikedAssetsData) GetHasMore() bool { if x != nil { return x.HasMore } return false } // 点赞作品项 type LikedAssetItem struct { state protoimpl.MessageState `protogen:"open.v1"` AssetId int64 `protobuf:"varint,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` // 资产ID Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 藏品名称 CoverUrl string `protobuf:"bytes,3,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"` // 封面图URL LikeCount int32 `protobuf:"varint,4,opt,name=like_count,json=likeCount,proto3" json:"like_count,omitempty"` // 实时点赞数 LikedAt int64 `protobuf:"varint,5,opt,name=liked_at,json=likedAt,proto3" json:"liked_at,omitempty"` // 点赞时间(毫秒时间戳) Earnings int64 `protobuf:"varint,6,opt,name=earnings,proto3" json:"earnings,omitempty"` // 当前可领取收益 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LikedAssetItem) Reset() { *x = LikedAssetItem{} mi := &file_social_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LikedAssetItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*LikedAssetItem) ProtoMessage() {} func (x *LikedAssetItem) ProtoReflect() protoreflect.Message { mi := &file_social_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 LikedAssetItem.ProtoReflect.Descriptor instead. func (*LikedAssetItem) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{36} } func (x *LikedAssetItem) GetAssetId() int64 { if x != nil { return x.AssetId } return 0 } func (x *LikedAssetItem) GetName() string { if x != nil { return x.Name } return "" } func (x *LikedAssetItem) GetCoverUrl() string { if x != nil { return x.CoverUrl } return "" } func (x *LikedAssetItem) GetLikeCount() int32 { if x != nil { return x.LikeCount } return 0 } func (x *LikedAssetItem) GetLikedAt() int64 { if x != nil { return x.LikedAt } return 0 } func (x *LikedAssetItem) GetEarnings() int64 { if x != nil { return x.Earnings } return 0 } // 获取我今日点赞的作品列表请求(暂不实现) type GetMyTodayLikedAssetsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 页码(默认1) PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 每页数量(默认20,最大100) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetMyTodayLikedAssetsRequest) Reset() { *x = GetMyTodayLikedAssetsRequest{} mi := &file_social_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetMyTodayLikedAssetsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetMyTodayLikedAssetsRequest) ProtoMessage() {} func (x *GetMyTodayLikedAssetsRequest) ProtoReflect() protoreflect.Message { mi := &file_social_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 GetMyTodayLikedAssetsRequest.ProtoReflect.Descriptor instead. func (*GetMyTodayLikedAssetsRequest) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{37} } func (x *GetMyTodayLikedAssetsRequest) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *GetMyTodayLikedAssetsRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } // 获取我今日点赞的作品列表响应(暂不实现) type GetMyTodayLikedAssetsResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Data *LikedAssetsData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetMyTodayLikedAssetsResponse) Reset() { *x = GetMyTodayLikedAssetsResponse{} mi := &file_social_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetMyTodayLikedAssetsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetMyTodayLikedAssetsResponse) ProtoMessage() {} func (x *GetMyTodayLikedAssetsResponse) ProtoReflect() protoreflect.Message { mi := &file_social_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 GetMyTodayLikedAssetsResponse.ProtoReflect.Descriptor instead. func (*GetMyTodayLikedAssetsResponse) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{38} } func (x *GetMyTodayLikedAssetsResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetMyTodayLikedAssetsResponse) GetData() *LikedAssetsData { if x != nil { return x.Data } return nil } // 获取我本周点赞的作品列表请求(暂不实现) type GetMyWeekLikedAssetsRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 页码(默认1) PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 每页数量(默认20,最大100) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetMyWeekLikedAssetsRequest) Reset() { *x = GetMyWeekLikedAssetsRequest{} mi := &file_social_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetMyWeekLikedAssetsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetMyWeekLikedAssetsRequest) ProtoMessage() {} func (x *GetMyWeekLikedAssetsRequest) ProtoReflect() protoreflect.Message { mi := &file_social_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 GetMyWeekLikedAssetsRequest.ProtoReflect.Descriptor instead. func (*GetMyWeekLikedAssetsRequest) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{39} } func (x *GetMyWeekLikedAssetsRequest) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *GetMyWeekLikedAssetsRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } // 获取我本周点赞的作品列表响应(暂不实现) type GetMyWeekLikedAssetsResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Data *LikedAssetsData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetMyWeekLikedAssetsResponse) Reset() { *x = GetMyWeekLikedAssetsResponse{} mi := &file_social_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetMyWeekLikedAssetsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetMyWeekLikedAssetsResponse) ProtoMessage() {} func (x *GetMyWeekLikedAssetsResponse) ProtoReflect() protoreflect.Message { mi := &file_social_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 GetMyWeekLikedAssetsResponse.ProtoReflect.Descriptor instead. func (*GetMyWeekLikedAssetsResponse) Descriptor() ([]byte, []int) { return file_social_proto_rawDescGZIP(), []int{40} } func (x *GetMyWeekLikedAssetsResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetMyWeekLikedAssetsResponse) GetData() *LikedAssetsData { if x != nil { return x.Data } return nil } var File_social_proto protoreflect.FileDescriptor const file_social_proto_rawDesc = "" + "\n" + "\fsocial.proto\x12\x0etopfans.social\x1a\x12proto/common.proto\x1a\x1cgoogle/api/annotations.proto\"\x8d\x04\n" + "\rFriendRequest\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12 \n" + "\ffrom_user_id\x18\x02 \x01(\x03R\n" + "fromUserId\x12\x1c\n" + "\n" + "to_user_id\x18\x03 \x01(\x03R\btoUserId\x12\x17\n" + "\astar_id\x18\x04 \x01(\x03R\x06starId\x12\x18\n" + "\amessage\x18\x05 \x01(\tR\amessage\x12\x16\n" + "\x06status\x18\x06 \x01(\tR\x06status\x12\x1d\n" + "\n" + "created_at\x18\a \x01(\x03R\tcreatedAt\x12\x1d\n" + "\n" + "expires_at\x18\b \x01(\x03R\texpiresAt\x12!\n" + "\fprocessed_at\x18\t \x01(\x03R\vprocessedAt\x12,\n" + "\x12from_user_nickname\x18\n" + " \x01(\tR\x10fromUserNickname\x12(\n" + "\x10from_user_avatar\x18\v \x01(\tR\x0efromUserAvatar\x12(\n" + "\x10to_user_nickname\x18\f \x01(\tR\x0etoUserNickname\x12$\n" + "\x0eto_user_avatar\x18\r \x01(\tR\ftoUserAvatar\x12-\n" + "\x13from_user_fan_level\x18\x0e \x01(\x05R\x10fromUserFanLevel\x12)\n" + "\x11to_user_fan_level\x18\x0f \x01(\x05R\x0etoUserFanLevel\"\xf3\x02\n" + "\n" + "Friendship\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x17\n" + "\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x1b\n" + "\tfriend_id\x18\x03 \x01(\x03R\bfriendId\x12\x17\n" + "\astar_id\x18\x04 \x01(\x03R\x06starId\x12\x16\n" + "\x06status\x18\x05 \x01(\tR\x06status\x12\x16\n" + "\x06remark\x18\x06 \x01(\tR\x06remark\x12\x1a\n" + "\bintimacy\x18\a \x01(\x05R\bintimacy\x12\x1d\n" + "\n" + "created_at\x18\b \x01(\x03R\tcreatedAt\x12'\n" + "\x0ffriend_nickname\x18\t \x01(\tR\x0efriendNickname\x12#\n" + "\rfriend_avatar\x18\n" + " \x01(\tR\ffriendAvatar\x12(\n" + "\x10friend_fan_level\x18\v \x01(\x05R\x0efriendFanLevel\x12#\n" + "\rfriend_social\x18\f \x01(\x05R\ffriendSocial\"\x97\x01\n" + "\x18SendFriendRequestRequest\x12$\n" + "\x0efriend_user_id\x18\x01 \x01(\x03R\ffriendUserId\x12\x18\n" + "\amessage\x18\x02 \x01(\tR\amessage\x12\x1a\n" + "\bnickname\x18\x03 \x01(\tR\bnickname\x12\x1f\n" + "\vsearch_mode\x18\x04 \x01(\bR\n" + "searchMode\"\x8f\x02\n" + "\x19SendFriendRequestResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x1d\n" + "\n" + "request_id\x18\x02 \x01(\x03R\trequestId\x12\x16\n" + "\x06status\x18\x03 \x01(\tR\x06status\x12\x1d\n" + "\n" + "created_at\x18\x04 \x01(\x03R\tcreatedAt\x12\x1d\n" + "\n" + "expires_at\x18\x05 \x01(\x03R\texpiresAt\x12K\n" + "\rmatched_users\x18\x06 \x03(\v2&.topfans.social.FanProfileSearchResultR\fmatchedUsers\"w\n" + "\x18GetFriendRequestsRequest\x12\x12\n" + "\x04type\x18\x01 \x01(\tR\x04type\x12\x16\n" + "\x06status\x18\x02 \x01(\tR\x06status\x12\x12\n" + "\x04page\x18\x03 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x04 \x01(\x05R\bpageSize\"\xc9\x01\n" + "\x19GetFriendRequestsResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x123\n" + "\x05items\x18\x02 \x03(\v2\x1d.topfans.social.FriendRequestR\x05items\x12\x14\n" + "\x05total\x18\x03 \x01(\x03R\x05total\x12\x12\n" + "\x04page\x18\x04 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x05 \x01(\x05R\bpageSize\"S\n" + "\x1aHandleFriendRequestRequest\x12\x1d\n" + "\n" + "request_id\x18\x01 \x01(\x03R\trequestId\x12\x16\n" + "\x06action\x18\x02 \x01(\tR\x06action\"\xb9\x01\n" + "\x1bHandleFriendRequestResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x16\n" + "\x06action\x18\x02 \x01(\tR\x06action\x12-\n" + "\x12friendship_created\x18\x03 \x01(\bR\x11friendshipCreated\x12!\n" + "\fprocessed_at\x18\x04 \x01(\x03R\vprocessedAt\"a\n" + "\x14GetFriendListRequest\x12\x18\n" + "\akeyword\x18\x01 \x01(\tR\akeyword\x12\x12\n" + "\x04page\x18\x02 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x03 \x01(\x05R\bpageSize\"\xc2\x01\n" + "\x15GetFriendListResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x120\n" + "\x05items\x18\x02 \x03(\v2\x1a.topfans.social.FriendshipR\x05items\x12\x14\n" + "\x05total\x18\x03 \x01(\x03R\x05total\x12\x12\n" + "\x04page\x18\x04 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x05 \x01(\x05R\bpageSize\";\n" + "\x13DeleteFriendRequest\x12$\n" + "\x0efriend_user_id\x18\x01 \x01(\x03R\ffriendUserId\"b\n" + "\x14DeleteFriendResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x18\n" + "\asuccess\x18\x02 \x01(\bR\asuccess\"V\n" + "\x16SetFriendRemarkRequest\x12$\n" + "\x0efriend_user_id\x18\x01 \x01(\x03R\ffriendUserId\x12\x16\n" + "\x06remark\x18\x02 \x01(\tR\x06remark\"c\n" + "\x17SetFriendRemarkResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x16\n" + "\x06remark\x18\x02 \x01(\tR\x06remark\"W\n" + "\x16CheckFriendshipRequest\x12\x17\n" + "\auser_id\x18\x01 \x01(\x03R\x06userId\x12$\n" + "\x0efriend_user_id\x18\x02 \x01(\x03R\ffriendUserId\"h\n" + "\x17CheckFriendshipResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x1b\n" + "\tis_friend\x18\x02 \x01(\bR\bisFriend\"\x17\n" + "\x15GetFriendCountRequest\"`\n" + "\x16GetFriendCountResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x14\n" + "\x05count\x18\x02 \x01(\x03R\x05count\"O\n" + "\x1aSearchUserForFriendRequest\x121\n" + "\x15friend_fan_profile_id\x18\x01 \x01(\x03R\x12friendFanProfileId\"\x8b\x01\n" + "\x1bSearchUserForFriendResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12:\n" + "\x04user\x18\x02 \x01(\v2&.topfans.social.FanProfileSearchResultR\x04user\"\xad\x02\n" + "\x16FanProfileSearchResult\x12$\n" + "\x0efan_profile_id\x18\x01 \x01(\x03R\ffanProfileId\x12\x17\n" + "\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x1a\n" + "\bnickname\x18\x03 \x01(\tR\bnickname\x12\x16\n" + "\x06avatar\x18\x04 \x01(\tR\x06avatar\x12\x1b\n" + "\tfan_level\x18\x05 \x01(\x05R\bfanLevel\x12/\n" + "\x13relationship_status\x18\x06 \x01(\tR\x12relationshipStatus\x12(\n" + "\x10can_send_request\x18\a \x01(\bR\x0ecanSendRequest\x12(\n" + "\x10cooldown_ends_at\x18\b \x01(\x03R\x0ecooldownEndsAt\"A\n" + "\n" + "RandomUser\x12\x17\n" + "\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x1a\n" + "\bnickname\x18\x02 \x01(\tR\bnickname\"-\n" + "\x15GetRandomUsersRequest\x12\x14\n" + "\x05count\x18\x01 \x01(\x05R\x05count\"|\n" + "\x16GetRandomUsersResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x120\n" + "\x05users\x18\x02 \x03(\v2\x1a.topfans.social.RandomUserR\x05users\"\xc1\x01\n" + "\tPagedUser\x12\x17\n" + "\auser_id\x18\x01 \x01(\x03R\x06userId\x12(\n" + "\x10gallery_owner_id\x18\x02 \x01(\x03R\x0egalleryOwnerId\x12\x1a\n" + "\bnickname\x18\x03 \x01(\tR\bnickname\x12\x14\n" + "\x05level\x18\x04 \x01(\x05R\x05level\x12?\n" + "\x1cshared_booth_slots_remaining\x18\x05 \x01(\x05R\x19sharedBoothSlotsRemaining\"G\n" + "\x14GetUsersPagedRequest\x12\x12\n" + "\x04page\x18\x01 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x02 \x01(\x05R\bpageSize\"\xc1\x01\n" + "\x15GetUsersPagedResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12/\n" + "\x05users\x18\x02 \x03(\v2\x19.topfans.social.PagedUserR\x05users\x12\x14\n" + "\x05total\x18\x03 \x01(\x03R\x05total\x12\x12\n" + "\x04page\x18\x04 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x05 \x01(\x05R\bpageSize\"-\n" + "\x10LikeAssetRequest\x12\x19\n" + "\basset_id\x18\x01 \x01(\x03R\aassetId\"\xa1\x01\n" + "\x11LikeAssetResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x19\n" + "\basset_id\x18\x02 \x01(\x03R\aassetId\x12$\n" + "\x0enew_like_count\x18\x03 \x01(\x05R\fnewLikeCount\x12\x19\n" + "\bis_liked\x18\x04 \x01(\bR\aisLiked\"/\n" + "\x12UnlikeAssetRequest\x12\x19\n" + "\basset_id\x18\x01 \x01(\x03R\aassetId\"\xa3\x01\n" + "\x13UnlikeAssetResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x19\n" + "\basset_id\x18\x02 \x01(\x03R\aassetId\x12$\n" + "\x0enew_like_count\x18\x03 \x01(\x05R\fnewLikeCount\x12\x19\n" + "\bis_liked\x18\x04 \x01(\bR\aisLiked\"2\n" + "\x15CheckAssetLikeRequest\x12\x19\n" + "\basset_id\x18\x01 \x01(\x03R\aassetId\"e\n" + "\x16CheckAssetLikeResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x19\n" + "\bis_liked\x18\x02 \x01(\bR\aisLiked\"J\n" + "\x17GetMyLikedAssetsRequest\x12\x12\n" + "\x04page\x18\x01 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x02 \x01(\x05R\bpageSize\"\x81\x01\n" + "\x18GetMyLikedAssetsResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x123\n" + "\x04data\x18\x02 \x01(\v2\x1f.topfans.social.LikedAssetsDataR\x04data\"\xa9\x01\n" + "\x0fLikedAssetsData\x124\n" + "\x05items\x18\x01 \x03(\v2\x1e.topfans.social.LikedAssetItemR\x05items\x12\x12\n" + "\x04page\x18\x02 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x03 \x01(\x05R\bpageSize\x12\x14\n" + "\x05total\x18\x04 \x01(\x03R\x05total\x12\x19\n" + "\bhas_more\x18\x05 \x01(\bR\ahasMore\"\xb2\x01\n" + "\x0eLikedAssetItem\x12\x19\n" + "\basset_id\x18\x01 \x01(\x03R\aassetId\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\x12\x1b\n" + "\tcover_url\x18\x03 \x01(\tR\bcoverUrl\x12\x1d\n" + "\n" + "like_count\x18\x04 \x01(\x05R\tlikeCount\x12\x19\n" + "\bliked_at\x18\x05 \x01(\x03R\alikedAt\x12\x1a\n" + "\bearnings\x18\x06 \x01(\x03R\bearnings\"O\n" + "\x1cGetMyTodayLikedAssetsRequest\x12\x12\n" + "\x04page\x18\x01 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x02 \x01(\x05R\bpageSize\"\x86\x01\n" + "\x1dGetMyTodayLikedAssetsResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x123\n" + "\x04data\x18\x02 \x01(\v2\x1f.topfans.social.LikedAssetsDataR\x04data\"N\n" + "\x1bGetMyWeekLikedAssetsRequest\x12\x12\n" + "\x04page\x18\x01 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x02 \x01(\x05R\bpageSize\"\x85\x01\n" + "\x1cGetMyWeekLikedAssetsResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x123\n" + "\x04data\x18\x02 \x01(\v2\x1f.topfans.social.LikedAssetsDataR\x04data2\xf8\x12\n" + "\rSocialService\x12\x8d\x01\n" + "\x11SendFriendRequest\x12(.topfans.social.SendFriendRequestRequest\x1a).topfans.social.SendFriendRequestResponse\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/api/v1/friends/requests\x12\x8a\x01\n" + "\x11GetFriendRequests\x12(.topfans.social.GetFriendRequestsRequest\x1a).topfans.social.GetFriendRequestsResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/api/v1/friends/requests\x12\xa7\x01\n" + "\x13HandleFriendRequest\x12*.topfans.social.HandleFriendRequestRequest\x1a+.topfans.social.HandleFriendRequestResponse\"7\x82\xd3\xe4\x93\x021:\x01*\",/api/v1/friends/requests/{request_id}/handle\x12u\n" + "\rGetFriendList\x12$.topfans.social.GetFriendListRequest\x1a%.topfans.social.GetFriendListResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/api/v1/friends\x12\x83\x01\n" + "\fDeleteFriend\x12#.topfans.social.DeleteFriendRequest\x1a$.topfans.social.DeleteFriendResponse\"(\x82\xd3\xe4\x93\x02\"* /api/v1/friends/{friend_user_id}\x12\x96\x01\n" + "\x0fSetFriendRemark\x12&.topfans.social.SetFriendRemarkRequest\x1a'.topfans.social.SetFriendRemarkResponse\"2\x82\xd3\xe4\x93\x02,:\x01*\x1a'/api/v1/friends/{friend_user_id}/remark\x12\x9c\x01\n" + "\x0fCheckFriendship\x12&.topfans.social.CheckFriendshipRequest\x1a'.topfans.social.CheckFriendshipResponse\"8\x82\xd3\xe4\x93\x022\x120/api/v1/friends/check/{user_id}/{friend_user_id}\x12~\n" + "\x0eGetFriendCount\x12%.topfans.social.GetFriendCountRequest\x1a&.topfans.social.GetFriendCountResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/api/v1/friends/count\x12\x8c\x01\n" + "\x13SearchUserForFriend\x12*.topfans.social.SearchUserForFriendRequest\x1a+.topfans.social.SearchUserForFriendResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/api/v1/users/search\x12\x84\x01\n" + "\x0eGetRandomUsers\x12%.topfans.social.GetRandomUsersRequest\x1a&.topfans.social.GetRandomUsersResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/api/v1/social/random-users\x12z\n" + "\rGetUsersPaged\x12$.topfans.social.GetUsersPagedRequest\x1a%.topfans.social.GetUsersPagedResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/api/v1/social/users\x12\x7f\n" + "\tLikeAsset\x12 .topfans.social.LikeAssetRequest\x1a!.topfans.social.LikeAssetResponse\"-\x82\xd3\xe4\x93\x02'\"%/api/v1/social/assets/{asset_id}/like\x12\x85\x01\n" + "\vUnlikeAsset\x12\".topfans.social.UnlikeAssetRequest\x1a#.topfans.social.UnlikeAssetResponse\"-\x82\xd3\xe4\x93\x02'*%/api/v1/social/assets/{asset_id}/like\x12\x8e\x01\n" + "\x0eCheckAssetLike\x12%.topfans.social.CheckAssetLikeRequest\x1a&.topfans.social.CheckAssetLikeResponse\"-\x82\xd3\xe4\x93\x02'\x12%/api/v1/social/assets/{asset_id}/like\x12\x86\x01\n" + "\x10GetMyLikedAssets\x12'.topfans.social.GetMyLikedAssetsRequest\x1a(.topfans.social.GetMyLikedAssetsResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/api/v1/me/liked-assets\x12\x9b\x01\n" + "\x15GetMyTodayLikedAssets\x12,.topfans.social.GetMyTodayLikedAssetsRequest\x1a-.topfans.social.GetMyTodayLikedAssetsResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/api/v1/me/today-liked-assets\x12\x97\x01\n" + "\x14GetMyWeekLikedAssets\x12+.topfans.social.GetMyWeekLikedAssetsRequest\x1a,.topfans.social.GetMyWeekLikedAssetsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/api/v1/me/week-liked-assetsB4Z2github.com/topfans/backend/pkg/proto/social;socialb\x06proto3" var ( file_social_proto_rawDescOnce sync.Once file_social_proto_rawDescData []byte ) func file_social_proto_rawDescGZIP() []byte { file_social_proto_rawDescOnce.Do(func() { file_social_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_social_proto_rawDesc), len(file_social_proto_rawDesc))) }) return file_social_proto_rawDescData } var file_social_proto_msgTypes = make([]protoimpl.MessageInfo, 41) var file_social_proto_goTypes = []any{ (*FriendRequest)(nil), // 0: topfans.social.FriendRequest (*Friendship)(nil), // 1: topfans.social.Friendship (*SendFriendRequestRequest)(nil), // 2: topfans.social.SendFriendRequestRequest (*SendFriendRequestResponse)(nil), // 3: topfans.social.SendFriendRequestResponse (*GetFriendRequestsRequest)(nil), // 4: topfans.social.GetFriendRequestsRequest (*GetFriendRequestsResponse)(nil), // 5: topfans.social.GetFriendRequestsResponse (*HandleFriendRequestRequest)(nil), // 6: topfans.social.HandleFriendRequestRequest (*HandleFriendRequestResponse)(nil), // 7: topfans.social.HandleFriendRequestResponse (*GetFriendListRequest)(nil), // 8: topfans.social.GetFriendListRequest (*GetFriendListResponse)(nil), // 9: topfans.social.GetFriendListResponse (*DeleteFriendRequest)(nil), // 10: topfans.social.DeleteFriendRequest (*DeleteFriendResponse)(nil), // 11: topfans.social.DeleteFriendResponse (*SetFriendRemarkRequest)(nil), // 12: topfans.social.SetFriendRemarkRequest (*SetFriendRemarkResponse)(nil), // 13: topfans.social.SetFriendRemarkResponse (*CheckFriendshipRequest)(nil), // 14: topfans.social.CheckFriendshipRequest (*CheckFriendshipResponse)(nil), // 15: topfans.social.CheckFriendshipResponse (*GetFriendCountRequest)(nil), // 16: topfans.social.GetFriendCountRequest (*GetFriendCountResponse)(nil), // 17: topfans.social.GetFriendCountResponse (*SearchUserForFriendRequest)(nil), // 18: topfans.social.SearchUserForFriendRequest (*SearchUserForFriendResponse)(nil), // 19: topfans.social.SearchUserForFriendResponse (*FanProfileSearchResult)(nil), // 20: topfans.social.FanProfileSearchResult (*RandomUser)(nil), // 21: topfans.social.RandomUser (*GetRandomUsersRequest)(nil), // 22: topfans.social.GetRandomUsersRequest (*GetRandomUsersResponse)(nil), // 23: topfans.social.GetRandomUsersResponse (*PagedUser)(nil), // 24: topfans.social.PagedUser (*GetUsersPagedRequest)(nil), // 25: topfans.social.GetUsersPagedRequest (*GetUsersPagedResponse)(nil), // 26: topfans.social.GetUsersPagedResponse (*LikeAssetRequest)(nil), // 27: topfans.social.LikeAssetRequest (*LikeAssetResponse)(nil), // 28: topfans.social.LikeAssetResponse (*UnlikeAssetRequest)(nil), // 29: topfans.social.UnlikeAssetRequest (*UnlikeAssetResponse)(nil), // 30: topfans.social.UnlikeAssetResponse (*CheckAssetLikeRequest)(nil), // 31: topfans.social.CheckAssetLikeRequest (*CheckAssetLikeResponse)(nil), // 32: topfans.social.CheckAssetLikeResponse (*GetMyLikedAssetsRequest)(nil), // 33: topfans.social.GetMyLikedAssetsRequest (*GetMyLikedAssetsResponse)(nil), // 34: topfans.social.GetMyLikedAssetsResponse (*LikedAssetsData)(nil), // 35: topfans.social.LikedAssetsData (*LikedAssetItem)(nil), // 36: topfans.social.LikedAssetItem (*GetMyTodayLikedAssetsRequest)(nil), // 37: topfans.social.GetMyTodayLikedAssetsRequest (*GetMyTodayLikedAssetsResponse)(nil), // 38: topfans.social.GetMyTodayLikedAssetsResponse (*GetMyWeekLikedAssetsRequest)(nil), // 39: topfans.social.GetMyWeekLikedAssetsRequest (*GetMyWeekLikedAssetsResponse)(nil), // 40: topfans.social.GetMyWeekLikedAssetsResponse (*common.BaseResponse)(nil), // 41: topfans.common.BaseResponse } var file_social_proto_depIdxs = []int32{ 41, // 0: topfans.social.SendFriendRequestResponse.base:type_name -> topfans.common.BaseResponse 20, // 1: topfans.social.SendFriendRequestResponse.matched_users:type_name -> topfans.social.FanProfileSearchResult 41, // 2: topfans.social.GetFriendRequestsResponse.base:type_name -> topfans.common.BaseResponse 0, // 3: topfans.social.GetFriendRequestsResponse.items:type_name -> topfans.social.FriendRequest 41, // 4: topfans.social.HandleFriendRequestResponse.base:type_name -> topfans.common.BaseResponse 41, // 5: topfans.social.GetFriendListResponse.base:type_name -> topfans.common.BaseResponse 1, // 6: topfans.social.GetFriendListResponse.items:type_name -> topfans.social.Friendship 41, // 7: topfans.social.DeleteFriendResponse.base:type_name -> topfans.common.BaseResponse 41, // 8: topfans.social.SetFriendRemarkResponse.base:type_name -> topfans.common.BaseResponse 41, // 9: topfans.social.CheckFriendshipResponse.base:type_name -> topfans.common.BaseResponse 41, // 10: topfans.social.GetFriendCountResponse.base:type_name -> topfans.common.BaseResponse 41, // 11: topfans.social.SearchUserForFriendResponse.base:type_name -> topfans.common.BaseResponse 20, // 12: topfans.social.SearchUserForFriendResponse.user:type_name -> topfans.social.FanProfileSearchResult 41, // 13: topfans.social.GetRandomUsersResponse.base:type_name -> topfans.common.BaseResponse 21, // 14: topfans.social.GetRandomUsersResponse.users:type_name -> topfans.social.RandomUser 41, // 15: topfans.social.GetUsersPagedResponse.base:type_name -> topfans.common.BaseResponse 24, // 16: topfans.social.GetUsersPagedResponse.users:type_name -> topfans.social.PagedUser 41, // 17: topfans.social.LikeAssetResponse.base:type_name -> topfans.common.BaseResponse 41, // 18: topfans.social.UnlikeAssetResponse.base:type_name -> topfans.common.BaseResponse 41, // 19: topfans.social.CheckAssetLikeResponse.base:type_name -> topfans.common.BaseResponse 41, // 20: topfans.social.GetMyLikedAssetsResponse.base:type_name -> topfans.common.BaseResponse 35, // 21: topfans.social.GetMyLikedAssetsResponse.data:type_name -> topfans.social.LikedAssetsData 36, // 22: topfans.social.LikedAssetsData.items:type_name -> topfans.social.LikedAssetItem 41, // 23: topfans.social.GetMyTodayLikedAssetsResponse.base:type_name -> topfans.common.BaseResponse 35, // 24: topfans.social.GetMyTodayLikedAssetsResponse.data:type_name -> topfans.social.LikedAssetsData 41, // 25: topfans.social.GetMyWeekLikedAssetsResponse.base:type_name -> topfans.common.BaseResponse 35, // 26: topfans.social.GetMyWeekLikedAssetsResponse.data:type_name -> topfans.social.LikedAssetsData 2, // 27: topfans.social.SocialService.SendFriendRequest:input_type -> topfans.social.SendFriendRequestRequest 4, // 28: topfans.social.SocialService.GetFriendRequests:input_type -> topfans.social.GetFriendRequestsRequest 6, // 29: topfans.social.SocialService.HandleFriendRequest:input_type -> topfans.social.HandleFriendRequestRequest 8, // 30: topfans.social.SocialService.GetFriendList:input_type -> topfans.social.GetFriendListRequest 10, // 31: topfans.social.SocialService.DeleteFriend:input_type -> topfans.social.DeleteFriendRequest 12, // 32: topfans.social.SocialService.SetFriendRemark:input_type -> topfans.social.SetFriendRemarkRequest 14, // 33: topfans.social.SocialService.CheckFriendship:input_type -> topfans.social.CheckFriendshipRequest 16, // 34: topfans.social.SocialService.GetFriendCount:input_type -> topfans.social.GetFriendCountRequest 18, // 35: topfans.social.SocialService.SearchUserForFriend:input_type -> topfans.social.SearchUserForFriendRequest 22, // 36: topfans.social.SocialService.GetRandomUsers:input_type -> topfans.social.GetRandomUsersRequest 25, // 37: topfans.social.SocialService.GetUsersPaged:input_type -> topfans.social.GetUsersPagedRequest 27, // 38: topfans.social.SocialService.LikeAsset:input_type -> topfans.social.LikeAssetRequest 29, // 39: topfans.social.SocialService.UnlikeAsset:input_type -> topfans.social.UnlikeAssetRequest 31, // 40: topfans.social.SocialService.CheckAssetLike:input_type -> topfans.social.CheckAssetLikeRequest 33, // 41: topfans.social.SocialService.GetMyLikedAssets:input_type -> topfans.social.GetMyLikedAssetsRequest 37, // 42: topfans.social.SocialService.GetMyTodayLikedAssets:input_type -> topfans.social.GetMyTodayLikedAssetsRequest 39, // 43: topfans.social.SocialService.GetMyWeekLikedAssets:input_type -> topfans.social.GetMyWeekLikedAssetsRequest 3, // 44: topfans.social.SocialService.SendFriendRequest:output_type -> topfans.social.SendFriendRequestResponse 5, // 45: topfans.social.SocialService.GetFriendRequests:output_type -> topfans.social.GetFriendRequestsResponse 7, // 46: topfans.social.SocialService.HandleFriendRequest:output_type -> topfans.social.HandleFriendRequestResponse 9, // 47: topfans.social.SocialService.GetFriendList:output_type -> topfans.social.GetFriendListResponse 11, // 48: topfans.social.SocialService.DeleteFriend:output_type -> topfans.social.DeleteFriendResponse 13, // 49: topfans.social.SocialService.SetFriendRemark:output_type -> topfans.social.SetFriendRemarkResponse 15, // 50: topfans.social.SocialService.CheckFriendship:output_type -> topfans.social.CheckFriendshipResponse 17, // 51: topfans.social.SocialService.GetFriendCount:output_type -> topfans.social.GetFriendCountResponse 19, // 52: topfans.social.SocialService.SearchUserForFriend:output_type -> topfans.social.SearchUserForFriendResponse 23, // 53: topfans.social.SocialService.GetRandomUsers:output_type -> topfans.social.GetRandomUsersResponse 26, // 54: topfans.social.SocialService.GetUsersPaged:output_type -> topfans.social.GetUsersPagedResponse 28, // 55: topfans.social.SocialService.LikeAsset:output_type -> topfans.social.LikeAssetResponse 30, // 56: topfans.social.SocialService.UnlikeAsset:output_type -> topfans.social.UnlikeAssetResponse 32, // 57: topfans.social.SocialService.CheckAssetLike:output_type -> topfans.social.CheckAssetLikeResponse 34, // 58: topfans.social.SocialService.GetMyLikedAssets:output_type -> topfans.social.GetMyLikedAssetsResponse 38, // 59: topfans.social.SocialService.GetMyTodayLikedAssets:output_type -> topfans.social.GetMyTodayLikedAssetsResponse 40, // 60: topfans.social.SocialService.GetMyWeekLikedAssets:output_type -> topfans.social.GetMyWeekLikedAssetsResponse 44, // [44:61] is the sub-list for method output_type 27, // [27:44] is the sub-list for method input_type 27, // [27:27] is the sub-list for extension type_name 27, // [27:27] is the sub-list for extension extendee 0, // [0:27] is the sub-list for field type_name } func init() { file_social_proto_init() } func file_social_proto_init() { if File_social_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_social_proto_rawDesc), len(file_social_proto_rawDesc)), NumEnums: 0, NumMessages: 41, NumExtensions: 0, NumServices: 1, }, GoTypes: file_social_proto_goTypes, DependencyIndexes: file_social_proto_depIdxs, MessageInfos: file_social_proto_msgTypes, }.Build() File_social_proto = out.File file_social_proto_goTypes = nil file_social_proto_depIdxs = nil }