// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v7.34.0 // source: asset.proto package asset 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 Asset struct { state protoimpl.MessageState `protogen:"open.v1"` AssetId int64 `protobuf:"varint,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` // 资产ID OwnerUid int64 `protobuf:"varint,2,opt,name=owner_uid,json=ownerUid,proto3" json:"owner_uid,omitempty"` // 当前持有者 StarId int64 `protobuf:"varint,3,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"` // 所属星球 Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // 藏品名称 CoverUrl string `protobuf:"bytes,5,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"` // 封面图URL MaterialUrl string `protobuf:"bytes,6,opt,name=material_url,json=materialUrl,proto3" json:"material_url,omitempty"` // 用户上传的素材URL Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` // 藏品描述(可选) Grade int32 `protobuf:"varint,8,opt,name=grade,proto3" json:"grade,omitempty"` // 星册等级(可选) Tags []string `protobuf:"bytes,9,rep,name=tags,proto3" json:"tags,omitempty"` // 标签数组(可选) Visibility string `protobuf:"bytes,10,opt,name=visibility,proto3" json:"visibility,omitempty"` // 可见性:private, friends, public(预留) Status int32 `protobuf:"varint,11,opt,name=status,proto3" json:"status,omitempty"` // 状态:0=Pending, 1=Active TxHash string `protobuf:"bytes,12,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // 交易哈希(可选) BlockNumber int64 `protobuf:"varint,13,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // 区块号(可选) LikeCount int32 `protobuf:"varint,14,opt,name=like_count,json=likeCount,proto3" json:"like_count,omitempty"` // 点赞数 CreatedAt int64 `protobuf:"varint,15,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间(毫秒时间戳) UpdatedAt int64 `protobuf:"varint,16,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // 更新时间(毫秒时间戳) MintedAt int64 `protobuf:"varint,17,opt,name=minted_at,json=mintedAt,proto3" json:"minted_at,omitempty"` // 上链成功时间(毫秒时间戳,可选) // 扩展字段:持有者信息(用于详情展示) Owner *OwnerInfo `protobuf:"bytes,18,opt,name=owner,proto3" json:"owner,omitempty"` // 持有者信息(保留用于兼容性) OwnerNickname string `protobuf:"bytes,19,opt,name=owner_nickname,json=ownerNickname,proto3" json:"owner_nickname,omitempty"` // 持有者昵称(在该star下的昵称) IsLiked bool `protobuf:"varint,20,opt,name=is_liked,json=isLiked,proto3" json:"is_liked,omitempty"` // 当前用户是否已点赞 Info string `protobuf:"bytes,21,opt,name=info,proto3" json:"info,omitempty"` // 藏品信息 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Asset) Reset() { *x = Asset{} mi := &file_asset_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Asset) String() string { return protoimpl.X.MessageStringOf(x) } func (*Asset) ProtoMessage() {} func (x *Asset) ProtoReflect() protoreflect.Message { mi := &file_asset_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 Asset.ProtoReflect.Descriptor instead. func (*Asset) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{0} } func (x *Asset) GetAssetId() int64 { if x != nil { return x.AssetId } return 0 } func (x *Asset) GetOwnerUid() int64 { if x != nil { return x.OwnerUid } return 0 } func (x *Asset) GetStarId() int64 { if x != nil { return x.StarId } return 0 } func (x *Asset) GetName() string { if x != nil { return x.Name } return "" } func (x *Asset) GetCoverUrl() string { if x != nil { return x.CoverUrl } return "" } func (x *Asset) GetMaterialUrl() string { if x != nil { return x.MaterialUrl } return "" } func (x *Asset) GetDescription() string { if x != nil { return x.Description } return "" } func (x *Asset) GetGrade() int32 { if x != nil { return x.Grade } return 0 } func (x *Asset) GetTags() []string { if x != nil { return x.Tags } return nil } func (x *Asset) GetVisibility() string { if x != nil { return x.Visibility } return "" } func (x *Asset) GetStatus() int32 { if x != nil { return x.Status } return 0 } func (x *Asset) GetTxHash() string { if x != nil { return x.TxHash } return "" } func (x *Asset) GetBlockNumber() int64 { if x != nil { return x.BlockNumber } return 0 } func (x *Asset) GetLikeCount() int32 { if x != nil { return x.LikeCount } return 0 } func (x *Asset) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } func (x *Asset) GetUpdatedAt() int64 { if x != nil { return x.UpdatedAt } return 0 } func (x *Asset) GetMintedAt() int64 { if x != nil { return x.MintedAt } return 0 } func (x *Asset) GetOwner() *OwnerInfo { if x != nil { return x.Owner } return nil } func (x *Asset) GetOwnerNickname() string { if x != nil { return x.OwnerNickname } return "" } func (x *Asset) GetIsLiked() bool { if x != nil { return x.IsLiked } return false } func (x *Asset) GetInfo() string { if x != nil { return x.Info } return "" } // 持有者信息 type OwnerInfo 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"` // 昵称 Avatar string `protobuf:"bytes,3,opt,name=avatar,proto3" json:"avatar,omitempty"` // 头像URL unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *OwnerInfo) Reset() { *x = OwnerInfo{} mi := &file_asset_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *OwnerInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*OwnerInfo) ProtoMessage() {} func (x *OwnerInfo) ProtoReflect() protoreflect.Message { mi := &file_asset_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 OwnerInfo.ProtoReflect.Descriptor instead. func (*OwnerInfo) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{1} } func (x *OwnerInfo) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *OwnerInfo) GetNickname() string { if x != nil { return x.Nickname } return "" } func (x *OwnerInfo) GetAvatar() string { if x != nil { return x.Avatar } return "" } // 铸造订单信息 type MintOrder struct { state protoimpl.MessageState `protogen:"open.v1"` OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // 订单ID(UUID) UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户ID AssetId int64 `protobuf:"varint,3,opt,name=asset_id,json=assetId,proto3" json:"asset_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"` // 状态:PENDING, PROCESSING, SUCCESS, FAILED CostCrystal int64 `protobuf:"varint,6,opt,name=cost_crystal,json=costCrystal,proto3" json:"cost_crystal,omitempty"` // 消耗的水晶数量 ErrorMessage string `protobuf:"bytes,7,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // 错误信息(可选) RetryCount int32 `protobuf:"varint,8,opt,name=retry_count,json=retryCount,proto3" json:"retry_count,omitempty"` // 重试次数 MaterialUrl string `protobuf:"bytes,9,opt,name=material_url,json=materialUrl,proto3" json:"material_url,omitempty"` // 阶段一保存的素材URL(可选) Name string `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"` // 阶段一保存的藏品名称(可选) Description string `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"` // 阶段一保存的藏品描述(可选) MaterialType string `protobuf:"bytes,12,opt,name=material_type,json=materialType,proto3" json:"material_type,omitempty"` // 素材类型(可选) Event string `protobuf:"bytes,13,opt,name=event,proto3" json:"event,omitempty"` // 藏品事件(可选) CreatedAt int64 `protobuf:"varint,14,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间(毫秒时间戳) UpdatedAt int64 `protobuf:"varint,15,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // 更新时间(毫秒时间戳) MintedAt int64 `protobuf:"varint,16,opt,name=minted_at,json=mintedAt,proto3" json:"minted_at,omitempty"` // 上链成功时间(毫秒时间戳,可选) Info string `protobuf:"bytes,17,opt,name=info,proto3" json:"info,omitempty"` // 藏品信息(必填) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *MintOrder) Reset() { *x = MintOrder{} mi := &file_asset_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *MintOrder) String() string { return protoimpl.X.MessageStringOf(x) } func (*MintOrder) ProtoMessage() {} func (x *MintOrder) ProtoReflect() protoreflect.Message { mi := &file_asset_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 MintOrder.ProtoReflect.Descriptor instead. func (*MintOrder) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{2} } func (x *MintOrder) GetOrderId() string { if x != nil { return x.OrderId } return "" } func (x *MintOrder) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *MintOrder) GetAssetId() int64 { if x != nil { return x.AssetId } return 0 } func (x *MintOrder) GetStarId() int64 { if x != nil { return x.StarId } return 0 } func (x *MintOrder) GetStatus() string { if x != nil { return x.Status } return "" } func (x *MintOrder) GetCostCrystal() int64 { if x != nil { return x.CostCrystal } return 0 } func (x *MintOrder) GetErrorMessage() string { if x != nil { return x.ErrorMessage } return "" } func (x *MintOrder) GetRetryCount() int32 { if x != nil { return x.RetryCount } return 0 } func (x *MintOrder) GetMaterialUrl() string { if x != nil { return x.MaterialUrl } return "" } func (x *MintOrder) GetName() string { if x != nil { return x.Name } return "" } func (x *MintOrder) GetDescription() string { if x != nil { return x.Description } return "" } func (x *MintOrder) GetMaterialType() string { if x != nil { return x.MaterialType } return "" } func (x *MintOrder) GetEvent() string { if x != nil { return x.Event } return "" } func (x *MintOrder) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } func (x *MintOrder) GetUpdatedAt() int64 { if x != nil { return x.UpdatedAt } return 0 } func (x *MintOrder) GetMintedAt() int64 { if x != nil { return x.MintedAt } return 0 } func (x *MintOrder) GetInfo() string { if x != nil { return x.Info } return "" } // 阶段一:初始化铸造订单(仅生成并落库 order_id,status=PENDING) type InitMintOrderRequest struct { state protoimpl.MessageState `protogen:"open.v1"` OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // 订单ID(必填,gateway生成或前端传入) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *InitMintOrderRequest) Reset() { *x = InitMintOrderRequest{} mi := &file_asset_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *InitMintOrderRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*InitMintOrderRequest) ProtoMessage() {} func (x *InitMintOrderRequest) ProtoReflect() protoreflect.Message { mi := &file_asset_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 InitMintOrderRequest.ProtoReflect.Descriptor instead. func (*InitMintOrderRequest) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{3} } func (x *InitMintOrderRequest) GetOrderId() string { if x != nil { return x.OrderId } return "" } type InitMintOrderResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Order *MintOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order,omitempty"` // 订单信息(status=PENDING) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *InitMintOrderResponse) Reset() { *x = InitMintOrderResponse{} mi := &file_asset_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *InitMintOrderResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*InitMintOrderResponse) ProtoMessage() {} func (x *InitMintOrderResponse) ProtoReflect() protoreflect.Message { mi := &file_asset_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 InitMintOrderResponse.ProtoReflect.Descriptor instead. func (*InitMintOrderResponse) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{4} } func (x *InitMintOrderResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *InitMintOrderResponse) GetOrder() *MintOrder { if x != nil { return x.Order } return nil } // 创建铸造订单请求 type CreateMintOrderRequest struct { state protoimpl.MessageState `protogen:"open.v1"` OrderId string `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // 阶段一生成的订单ID(必填) Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 藏品名称(可选) MaterialUrl string `protobuf:"bytes,3,opt,name=material_url,json=materialUrl,proto3" json:"material_url,omitempty"` // 用户上传的素材URL(必填,前端已上传到OSS) Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // 藏品描述(可选) Grade int32 `protobuf:"varint,5,opt,name=grade,proto3" json:"grade,omitempty"` // 星册等级(可选) Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"` // 标签列表(可选) MaterialType string `protobuf:"bytes,7,opt,name=material_type,json=materialType,proto3" json:"material_type,omitempty"` // 素材类型(可选) Info string `protobuf:"bytes,8,opt,name=info,proto3" json:"info,omitempty"` // 藏品信息(必填) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CreateMintOrderRequest) Reset() { *x = CreateMintOrderRequest{} mi := &file_asset_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CreateMintOrderRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateMintOrderRequest) ProtoMessage() {} func (x *CreateMintOrderRequest) ProtoReflect() protoreflect.Message { mi := &file_asset_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 CreateMintOrderRequest.ProtoReflect.Descriptor instead. func (*CreateMintOrderRequest) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{5} } func (x *CreateMintOrderRequest) GetOrderId() string { if x != nil { return x.OrderId } return "" } func (x *CreateMintOrderRequest) GetName() string { if x != nil { return x.Name } return "" } func (x *CreateMintOrderRequest) GetMaterialUrl() string { if x != nil { return x.MaterialUrl } return "" } func (x *CreateMintOrderRequest) GetDescription() string { if x != nil { return x.Description } return "" } func (x *CreateMintOrderRequest) GetGrade() int32 { if x != nil { return x.Grade } return 0 } func (x *CreateMintOrderRequest) GetTags() []string { if x != nil { return x.Tags } return nil } func (x *CreateMintOrderRequest) GetMaterialType() string { if x != nil { return x.MaterialType } return "" } func (x *CreateMintOrderRequest) GetInfo() string { if x != nil { return x.Info } return "" } type PreCreateMintOrderRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 藏品名称(可选) MaterialUrl string `protobuf:"bytes,2,opt,name=material_url,json=materialUrl,proto3" json:"material_url,omitempty"` // 素材URL(必填) Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // 描述(可选) MaterialType string `protobuf:"bytes,4,opt,name=material_type,json=materialType,proto3" json:"material_type,omitempty"` // 素材类型(可选) Event string `protobuf:"bytes,5,opt,name=event,proto3" json:"event,omitempty"` // 藏品事件(可选) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PreCreateMintOrderRequest) Reset() { *x = PreCreateMintOrderRequest{} mi := &file_asset_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PreCreateMintOrderRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*PreCreateMintOrderRequest) ProtoMessage() {} func (x *PreCreateMintOrderRequest) ProtoReflect() protoreflect.Message { mi := &file_asset_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 PreCreateMintOrderRequest.ProtoReflect.Descriptor instead. func (*PreCreateMintOrderRequest) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{6} } func (x *PreCreateMintOrderRequest) GetName() string { if x != nil { return x.Name } return "" } func (x *PreCreateMintOrderRequest) GetMaterialUrl() string { if x != nil { return x.MaterialUrl } return "" } func (x *PreCreateMintOrderRequest) GetDescription() string { if x != nil { return x.Description } return "" } func (x *PreCreateMintOrderRequest) GetMaterialType() string { if x != nil { return x.MaterialType } return "" } func (x *PreCreateMintOrderRequest) GetEvent() string { if x != nil { return x.Event } return "" } type PreCreateMintOrderResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Order *MintOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order,omitempty"` // 预创建的订单信息(status=PENDING) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *PreCreateMintOrderResponse) Reset() { *x = PreCreateMintOrderResponse{} mi := &file_asset_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *PreCreateMintOrderResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*PreCreateMintOrderResponse) ProtoMessage() {} func (x *PreCreateMintOrderResponse) ProtoReflect() protoreflect.Message { mi := &file_asset_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 PreCreateMintOrderResponse.ProtoReflect.Descriptor instead. func (*PreCreateMintOrderResponse) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{7} } func (x *PreCreateMintOrderResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *PreCreateMintOrderResponse) GetOrder() *MintOrder { if x != nil { return x.Order } return nil } // 创建铸造订单响应 type CreateMintOrderResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Order *MintOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order,omitempty"` // 创建的订单信息 Asset *Asset `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"` // 创建的资产信息 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CreateMintOrderResponse) Reset() { *x = CreateMintOrderResponse{} mi := &file_asset_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CreateMintOrderResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateMintOrderResponse) ProtoMessage() {} func (x *CreateMintOrderResponse) ProtoReflect() protoreflect.Message { mi := &file_asset_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 CreateMintOrderResponse.ProtoReflect.Descriptor instead. func (*CreateMintOrderResponse) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{8} } func (x *CreateMintOrderResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *CreateMintOrderResponse) GetOrder() *MintOrder { if x != nil { return x.Order } return nil } func (x *CreateMintOrderResponse) GetAsset() *Asset { if x != nil { return x.Asset } return nil } // 获取我的藏品列表请求 type GetMyAssetsRequest 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) Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // 状态筛选:all, pending, minted, failed(可选) Keyword string `protobuf:"bytes,4,opt,name=keyword,proto3" json:"keyword,omitempty"` // 关键词搜索(资产名称,可选) Sort string `protobuf:"bytes,5,opt,name=sort,proto3" json:"sort,omitempty"` // 排序方式:created_at_desc, created_at_asc, name_asc(可选,默认created_at_desc) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetMyAssetsRequest) Reset() { *x = GetMyAssetsRequest{} mi := &file_asset_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetMyAssetsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetMyAssetsRequest) ProtoMessage() {} func (x *GetMyAssetsRequest) ProtoReflect() protoreflect.Message { mi := &file_asset_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 GetMyAssetsRequest.ProtoReflect.Descriptor instead. func (*GetMyAssetsRequest) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{9} } func (x *GetMyAssetsRequest) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *GetMyAssetsRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *GetMyAssetsRequest) GetStatus() string { if x != nil { return x.Status } return "" } func (x *GetMyAssetsRequest) GetKeyword() string { if x != nil { return x.Keyword } return "" } func (x *GetMyAssetsRequest) GetSort() string { if x != nil { return x.Sort } return "" } // 获取我的藏品列表响应 type GetMyAssetsResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Data *AssetListData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // 分组后的藏品数据 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetMyAssetsResponse) Reset() { *x = GetMyAssetsResponse{} mi := &file_asset_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetMyAssetsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetMyAssetsResponse) ProtoMessage() {} func (x *GetMyAssetsResponse) ProtoReflect() protoreflect.Message { mi := &file_asset_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 GetMyAssetsResponse.ProtoReflect.Descriptor instead. func (*GetMyAssetsResponse) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{10} } func (x *GetMyAssetsResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetMyAssetsResponse) GetData() *AssetListData { if x != nil { return x.Data } return nil } // 藏品列表数据(与星册home一致的结构) type AssetListData struct { state protoimpl.MessageState `protogen:"open.v1"` Groups []*AssetGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` // 分组列表 Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // 总数 Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` // 当前页码 PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,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 *AssetListData) Reset() { *x = AssetListData{} mi := &file_asset_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AssetListData) String() string { return protoimpl.X.MessageStringOf(x) } func (*AssetListData) ProtoMessage() {} func (x *AssetListData) ProtoReflect() protoreflect.Message { mi := &file_asset_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 AssetListData.ProtoReflect.Descriptor instead. func (*AssetListData) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{11} } func (x *AssetListData) GetGroups() []*AssetGroup { if x != nil { return x.Groups } return nil } func (x *AssetListData) GetTotal() int64 { if x != nil { return x.Total } return 0 } func (x *AssetListData) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *AssetListData) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *AssetListData) GetHasMore() bool { if x != nil { return x.HasMore } return false } // 资产分组(与星册home一致) type AssetGroup struct { state protoimpl.MessageState `protogen:"open.v1"` Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // 'regular' / 'collection' / 'activity' Category string `protobuf:"bytes,2,opt,name=category,proto3" json:"category,omitempty"` // 'castlove'(regular) / collection_category / activity_type CategoryName string `protobuf:"bytes,3,opt,name=category_name,json=categoryName,proto3" json:"category_name,omitempty"` Grades []*GradeSection `protobuf:"bytes,4,rep,name=grades,proto3" json:"grades,omitempty"` // 仅 regular 时有效 Items []*AssetItem `protobuf:"bytes,5,rep,name=items,proto3" json:"items,omitempty"` // collection / activity 时有效 TotalCount int32 `protobuf:"varint,6,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` HasMore bool `protobuf:"varint,7,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AssetGroup) Reset() { *x = AssetGroup{} mi := &file_asset_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AssetGroup) String() string { return protoimpl.X.MessageStringOf(x) } func (*AssetGroup) ProtoMessage() {} func (x *AssetGroup) ProtoReflect() protoreflect.Message { mi := &file_asset_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 AssetGroup.ProtoReflect.Descriptor instead. func (*AssetGroup) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{12} } func (x *AssetGroup) GetType() string { if x != nil { return x.Type } return "" } func (x *AssetGroup) GetCategory() string { if x != nil { return x.Category } return "" } func (x *AssetGroup) GetCategoryName() string { if x != nil { return x.CategoryName } return "" } func (x *AssetGroup) GetGrades() []*GradeSection { if x != nil { return x.Grades } return nil } func (x *AssetGroup) GetItems() []*AssetItem { if x != nil { return x.Items } return nil } func (x *AssetGroup) GetTotalCount() int32 { if x != nil { return x.TotalCount } return 0 } func (x *AssetGroup) GetHasMore() bool { if x != nil { return x.HasMore } return false } // 等级分组(仅 regular 类型使用) type GradeSection struct { state protoimpl.MessageState `protogen:"open.v1"` Grade int32 `protobuf:"varint,1,opt,name=grade,proto3" json:"grade,omitempty"` // 等级:1/2/3/4/5... Items []*AssetItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` TotalCount int32 `protobuf:"varint,3,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` HasMore bool `protobuf:"varint,4,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GradeSection) Reset() { *x = GradeSection{} mi := &file_asset_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GradeSection) String() string { return protoimpl.X.MessageStringOf(x) } func (*GradeSection) ProtoMessage() {} func (x *GradeSection) ProtoReflect() protoreflect.Message { mi := &file_asset_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 GradeSection.ProtoReflect.Descriptor instead. func (*GradeSection) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{13} } func (x *GradeSection) GetGrade() int32 { if x != nil { return x.Grade } return 0 } func (x *GradeSection) GetItems() []*AssetItem { if x != nil { return x.Items } return nil } func (x *GradeSection) GetTotalCount() int32 { if x != nil { return x.TotalCount } return 0 } func (x *GradeSection) GetHasMore() bool { if x != nil { return x.HasMore } return false } // 资产项(与星册home一致) type AssetItem struct { state protoimpl.MessageState `protogen:"open.v1"` AssetId int64 `protobuf:"varint,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` CoverUrlSigned string `protobuf:"bytes,3,opt,name=cover_url_signed,json=coverUrlSigned,proto3" json:"cover_url_signed,omitempty"` // 预签名封面URL LikeCount int32 `protobuf:"varint,4,opt,name=like_count,json=likeCount,proto3" json:"like_count,omitempty"` CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Category string `protobuf:"bytes,6,opt,name=category,proto3" json:"category,omitempty"` // regular: 'castlove' / collection: category / activity: activity_type Grade int32 `protobuf:"varint,7,opt,name=grade,proto3" json:"grade,omitempty"` // 仅 regular 时有效(1/2/3...),其他类型为 0 DisplayStatus int32 `protobuf:"varint,8,opt,name=display_status,json=displayStatus,proto3" json:"display_status,omitempty"` // 展示状态:0=待展示, 1=已展示 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AssetItem) Reset() { *x = AssetItem{} mi := &file_asset_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AssetItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*AssetItem) ProtoMessage() {} func (x *AssetItem) ProtoReflect() protoreflect.Message { mi := &file_asset_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 AssetItem.ProtoReflect.Descriptor instead. func (*AssetItem) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{14} } func (x *AssetItem) GetAssetId() int64 { if x != nil { return x.AssetId } return 0 } func (x *AssetItem) GetName() string { if x != nil { return x.Name } return "" } func (x *AssetItem) GetCoverUrlSigned() string { if x != nil { return x.CoverUrlSigned } return "" } func (x *AssetItem) GetLikeCount() int32 { if x != nil { return x.LikeCount } return 0 } func (x *AssetItem) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } func (x *AssetItem) GetCategory() string { if x != nil { return x.Category } return "" } func (x *AssetItem) GetGrade() int32 { if x != nil { return x.Grade } return 0 } func (x *AssetItem) GetDisplayStatus() int32 { if x != nil { return x.DisplayStatus } return 0 } // 资产列表项(简化版,用于列表展示 - 保留兼容) type AssetListItem 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 Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` // 状态:pending, minting, minted, failed TxHash string `protobuf:"bytes,5,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // 交易哈希(可选) CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 创建时间(毫秒时间戳) MintedAt int64 `protobuf:"varint,7,opt,name=minted_at,json=mintedAt,proto3" json:"minted_at,omitempty"` // 上链成功时间(毫秒时间戳,可选) LikeCount int32 `protobuf:"varint,8,opt,name=like_count,json=likeCount,proto3" json:"like_count,omitempty"` // 点赞数 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AssetListItem) Reset() { *x = AssetListItem{} mi := &file_asset_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AssetListItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*AssetListItem) ProtoMessage() {} func (x *AssetListItem) ProtoReflect() protoreflect.Message { mi := &file_asset_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 AssetListItem.ProtoReflect.Descriptor instead. func (*AssetListItem) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{15} } func (x *AssetListItem) GetAssetId() int64 { if x != nil { return x.AssetId } return 0 } func (x *AssetListItem) GetName() string { if x != nil { return x.Name } return "" } func (x *AssetListItem) GetCoverUrl() string { if x != nil { return x.CoverUrl } return "" } func (x *AssetListItem) GetStatus() string { if x != nil { return x.Status } return "" } func (x *AssetListItem) GetTxHash() string { if x != nil { return x.TxHash } return "" } func (x *AssetListItem) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } func (x *AssetListItem) GetMintedAt() int64 { if x != nil { return x.MintedAt } return 0 } func (x *AssetListItem) GetLikeCount() int32 { if x != nil { return x.LikeCount } return 0 } // 获取资产详情请求 type GetAssetRequest 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 *GetAssetRequest) Reset() { *x = GetAssetRequest{} mi := &file_asset_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetAssetRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetAssetRequest) ProtoMessage() {} func (x *GetAssetRequest) ProtoReflect() protoreflect.Message { mi := &file_asset_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 GetAssetRequest.ProtoReflect.Descriptor instead. func (*GetAssetRequest) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{16} } func (x *GetAssetRequest) GetAssetId() int64 { if x != nil { return x.AssetId } return 0 } // 获取资产详情响应 type GetAssetResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Asset *Asset `protobuf:"bytes,2,opt,name=asset,proto3" json:"asset,omitempty"` // 资产详细信息(包含is_liked字段) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetAssetResponse) Reset() { *x = GetAssetResponse{} mi := &file_asset_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetAssetResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetAssetResponse) ProtoMessage() {} func (x *GetAssetResponse) ProtoReflect() protoreflect.Message { mi := &file_asset_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 GetAssetResponse.ProtoReflect.Descriptor instead. func (*GetAssetResponse) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{17} } func (x *GetAssetResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetAssetResponse) GetAsset() *Asset { if x != nil { return x.Asset } return nil } // 查询上链状态请求 type GetAssetStatusRequest 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 *GetAssetStatusRequest) Reset() { *x = GetAssetStatusRequest{} mi := &file_asset_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetAssetStatusRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetAssetStatusRequest) ProtoMessage() {} func (x *GetAssetStatusRequest) ProtoReflect() protoreflect.Message { mi := &file_asset_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 GetAssetStatusRequest.ProtoReflect.Descriptor instead. func (*GetAssetStatusRequest) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{18} } func (x *GetAssetStatusRequest) GetAssetId() int64 { if x != nil { return x.AssetId } return 0 } // 查询上链状态响应 type GetAssetStatusResponse 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 Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // 状态:pending, minting, minted, failed TxHash string `protobuf:"bytes,4,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // 交易哈希(可选) BlockNumber int64 `protobuf:"varint,5,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"` // 区块号(可选) MintedAt int64 `protobuf:"varint,6,opt,name=minted_at,json=mintedAt,proto3" json:"minted_at,omitempty"` // 上链成功时间(毫秒时间戳,可选) ErrorMessage string `protobuf:"bytes,7,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // 错误信息(如果失败,可选) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetAssetStatusResponse) Reset() { *x = GetAssetStatusResponse{} mi := &file_asset_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetAssetStatusResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetAssetStatusResponse) ProtoMessage() {} func (x *GetAssetStatusResponse) ProtoReflect() protoreflect.Message { mi := &file_asset_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 GetAssetStatusResponse.ProtoReflect.Descriptor instead. func (*GetAssetStatusResponse) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{19} } func (x *GetAssetStatusResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetAssetStatusResponse) GetAssetId() int64 { if x != nil { return x.AssetId } return 0 } func (x *GetAssetStatusResponse) GetStatus() string { if x != nil { return x.Status } return "" } func (x *GetAssetStatusResponse) GetTxHash() string { if x != nil { return x.TxHash } return "" } func (x *GetAssetStatusResponse) GetBlockNumber() int64 { if x != nil { return x.BlockNumber } return 0 } func (x *GetAssetStatusResponse) GetMintedAt() int64 { if x != nil { return x.MintedAt } return 0 } func (x *GetAssetStatusResponse) GetErrorMessage() string { if x != nil { return x.ErrorMessage } return "" } // 查询铸造订单状态请求 type GetMintOrderRequest struct { state protoimpl.MessageState `protogen:"open.v1"` OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // 订单ID(必填) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetMintOrderRequest) Reset() { *x = GetMintOrderRequest{} mi := &file_asset_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetMintOrderRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetMintOrderRequest) ProtoMessage() {} func (x *GetMintOrderRequest) ProtoReflect() protoreflect.Message { mi := &file_asset_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 GetMintOrderRequest.ProtoReflect.Descriptor instead. func (*GetMintOrderRequest) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{20} } func (x *GetMintOrderRequest) GetOrderId() string { if x != nil { return x.OrderId } return "" } // 查询铸造订单状态响应 type GetMintOrderResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Order *MintOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order,omitempty"` // 订单信息 Asset *Asset `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"` // 关联的资产信息(如果存在) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetMintOrderResponse) Reset() { *x = GetMintOrderResponse{} mi := &file_asset_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetMintOrderResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetMintOrderResponse) ProtoMessage() {} func (x *GetMintOrderResponse) ProtoReflect() protoreflect.Message { mi := &file_asset_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 GetMintOrderResponse.ProtoReflect.Descriptor instead. func (*GetMintOrderResponse) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{21} } func (x *GetMintOrderResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetMintOrderResponse) GetOrder() *MintOrder { if x != nil { return x.Order } return nil } func (x *GetMintOrderResponse) GetAsset() *Asset { if x != nil { return x.Asset } return nil } // 取消铸造订单请求 type CancelMintOrderRequest struct { state protoimpl.MessageState `protogen:"open.v1"` OrderId string `protobuf:"bytes,1,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // 订单ID(必填) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CancelMintOrderRequest) Reset() { *x = CancelMintOrderRequest{} mi := &file_asset_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CancelMintOrderRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*CancelMintOrderRequest) ProtoMessage() {} func (x *CancelMintOrderRequest) ProtoReflect() protoreflect.Message { mi := &file_asset_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 CancelMintOrderRequest.ProtoReflect.Descriptor instead. func (*CancelMintOrderRequest) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{22} } func (x *CancelMintOrderRequest) GetOrderId() string { if x != nil { return x.OrderId } return "" } // 取消铸造订单响应 type CancelMintOrderResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` OrderId string `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // 订单ID Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // 订单状态(CANCELLED) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *CancelMintOrderResponse) Reset() { *x = CancelMintOrderResponse{} mi := &file_asset_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *CancelMintOrderResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*CancelMintOrderResponse) ProtoMessage() {} func (x *CancelMintOrderResponse) ProtoReflect() protoreflect.Message { mi := &file_asset_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 CancelMintOrderResponse.ProtoReflect.Descriptor instead. func (*CancelMintOrderResponse) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{23} } func (x *CancelMintOrderResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *CancelMintOrderResponse) GetOrderId() string { if x != nil { return x.OrderId } return "" } func (x *CancelMintOrderResponse) GetStatus() string { if x != nil { return x.Status } return "" } // 点赞资产请求(内部RPC,供Social Service调用) 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_asset_proto_msgTypes[24] 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_asset_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 LikeAssetRequest.ProtoReflect.Descriptor instead. func (*LikeAssetRequest) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{24} } 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"` LikeCount int32 `protobuf:"varint,2,opt,name=like_count,json=likeCount,proto3" json:"like_count,omitempty"` // 点赞后的总数 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LikeAssetResponse) Reset() { *x = LikeAssetResponse{} mi := &file_asset_proto_msgTypes[25] 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_asset_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 LikeAssetResponse.ProtoReflect.Descriptor instead. func (*LikeAssetResponse) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{25} } func (x *LikeAssetResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *LikeAssetResponse) GetLikeCount() int32 { if x != nil { return x.LikeCount } return 0 } // 取消点赞资产请求(内部RPC,供Social Service调用) 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_asset_proto_msgTypes[26] 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_asset_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 UnlikeAssetRequest.ProtoReflect.Descriptor instead. func (*UnlikeAssetRequest) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{26} } 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"` LikeCount int32 `protobuf:"varint,2,opt,name=like_count,json=likeCount,proto3" json:"like_count,omitempty"` // 取消点赞后的总数 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UnlikeAssetResponse) Reset() { *x = UnlikeAssetResponse{} mi := &file_asset_proto_msgTypes[27] 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_asset_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 UnlikeAssetResponse.ProtoReflect.Descriptor instead. func (*UnlikeAssetResponse) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{27} } func (x *UnlikeAssetResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *UnlikeAssetResponse) GetLikeCount() int32 { if x != nil { return x.LikeCount } return 0 } // 检查是否已点赞请求(内部RPC,供Social Service调用) 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_asset_proto_msgTypes[28] 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_asset_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 CheckAssetLikeRequest.ProtoReflect.Descriptor instead. func (*CheckAssetLikeRequest) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{28} } 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_asset_proto_msgTypes[29] 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_asset_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 CheckAssetLikeResponse.ProtoReflect.Descriptor instead. func (*CheckAssetLikeResponse) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{29} } 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 AssetLike struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 点赞记录ID AssetId int64 `protobuf:"varint,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` // 资产ID UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // 用户ID StarId int64 `protobuf:"varint,4,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"` // 明星ID CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 点赞时间(毫秒时间戳) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *AssetLike) Reset() { *x = AssetLike{} mi := &file_asset_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *AssetLike) String() string { return protoimpl.X.MessageStringOf(x) } func (*AssetLike) ProtoMessage() {} func (x *AssetLike) ProtoReflect() protoreflect.Message { mi := &file_asset_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 AssetLike.ProtoReflect.Descriptor instead. func (*AssetLike) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{30} } func (x *AssetLike) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *AssetLike) GetAssetId() int64 { if x != nil { return x.AssetId } return 0 } func (x *AssetLike) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *AssetLike) GetStarId() int64 { if x != nil { return x.StarId } return 0 } func (x *AssetLike) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } // 获取资产点赞列表请求(内部RPC,供Social Service调用) type GetAssetLikesRequest struct { state protoimpl.MessageState `protogen:"open.v1"` AssetId int64 `protobuf:"varint,1,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"` // 资产ID 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"` // 每页数量(默认20,最大100) unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetAssetLikesRequest) Reset() { *x = GetAssetLikesRequest{} mi := &file_asset_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetAssetLikesRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetAssetLikesRequest) ProtoMessage() {} func (x *GetAssetLikesRequest) ProtoReflect() protoreflect.Message { mi := &file_asset_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 GetAssetLikesRequest.ProtoReflect.Descriptor instead. func (*GetAssetLikesRequest) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{31} } func (x *GetAssetLikesRequest) GetAssetId() int64 { if x != nil { return x.AssetId } return 0 } func (x *GetAssetLikesRequest) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *GetAssetLikesRequest) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } // 获取资产点赞列表响应 type GetAssetLikesResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` Likes []*AssetLike `protobuf:"bytes,2,rep,name=likes,proto3" json:"likes,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"` // 每页数量 HasMore bool `protobuf:"varint,6,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"` // 是否有更多 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetAssetLikesResponse) Reset() { *x = GetAssetLikesResponse{} mi := &file_asset_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetAssetLikesResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetAssetLikesResponse) ProtoMessage() {} func (x *GetAssetLikesResponse) ProtoReflect() protoreflect.Message { mi := &file_asset_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 GetAssetLikesResponse.ProtoReflect.Descriptor instead. func (*GetAssetLikesResponse) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{32} } func (x *GetAssetLikesResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetAssetLikesResponse) GetLikes() []*AssetLike { if x != nil { return x.Likes } return nil } func (x *GetAssetLikesResponse) GetTotal() int64 { if x != nil { return x.Total } return 0 } func (x *GetAssetLikesResponse) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *GetAssetLikesResponse) GetPageSize() int32 { if x != nil { return x.PageSize } return 0 } func (x *GetAssetLikesResponse) GetHasMore() bool { if x != nil { return x.HasMore } return false } // 获取资产信息请求(内部RPC,供Social Service调用) type GetAssetForRPCRequest 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 *GetAssetForRPCRequest) Reset() { *x = GetAssetForRPCRequest{} mi := &file_asset_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetAssetForRPCRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetAssetForRPCRequest) ProtoMessage() {} func (x *GetAssetForRPCRequest) ProtoReflect() protoreflect.Message { mi := &file_asset_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 GetAssetForRPCRequest.ProtoReflect.Descriptor instead. func (*GetAssetForRPCRequest) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{33} } func (x *GetAssetForRPCRequest) GetAssetId() int64 { if x != nil { return x.AssetId } return 0 } // 获取资产信息响应(内部RPC) type GetAssetForRPCResponse 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 OwnerUid int64 `protobuf:"varint,3,opt,name=owner_uid,json=ownerUid,proto3" json:"owner_uid,omitempty"` // 持有者ID StarId int64 `protobuf:"varint,4,opt,name=star_id,json=starId,proto3" json:"star_id,omitempty"` // 明星ID Status int32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` // 状态:0=Pending, 1=Active IsActive bool `protobuf:"varint,6,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"` // 是否激活 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetAssetForRPCResponse) Reset() { *x = GetAssetForRPCResponse{} mi := &file_asset_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetAssetForRPCResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetAssetForRPCResponse) ProtoMessage() {} func (x *GetAssetForRPCResponse) ProtoReflect() protoreflect.Message { mi := &file_asset_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 GetAssetForRPCResponse.ProtoReflect.Descriptor instead. func (*GetAssetForRPCResponse) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{34} } func (x *GetAssetForRPCResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } func (x *GetAssetForRPCResponse) GetAssetId() int64 { if x != nil { return x.AssetId } return 0 } func (x *GetAssetForRPCResponse) GetOwnerUid() int64 { if x != nil { return x.OwnerUid } return 0 } func (x *GetAssetForRPCResponse) GetStarId() int64 { if x != nil { return x.StarId } return 0 } func (x *GetAssetForRPCResponse) GetStatus() int32 { if x != nil { return x.Status } return 0 } func (x *GetAssetForRPCResponse) GetIsActive() bool { if x != nil { return x.IsActive } return false } // 清除资产点赞记录请求(内部RPC,供Gallery Service调用) type ClearAssetLikeRecordsRequest 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 *ClearAssetLikeRecordsRequest) Reset() { *x = ClearAssetLikeRecordsRequest{} mi := &file_asset_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ClearAssetLikeRecordsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ClearAssetLikeRecordsRequest) ProtoMessage() {} func (x *ClearAssetLikeRecordsRequest) ProtoReflect() protoreflect.Message { mi := &file_asset_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 ClearAssetLikeRecordsRequest.ProtoReflect.Descriptor instead. func (*ClearAssetLikeRecordsRequest) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{35} } func (x *ClearAssetLikeRecordsRequest) GetAssetId() int64 { if x != nil { return x.AssetId } return 0 } // 清除资产点赞记录响应 type ClearAssetLikeRecordsResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Base *common.BaseResponse `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ClearAssetLikeRecordsResponse) Reset() { *x = ClearAssetLikeRecordsResponse{} mi := &file_asset_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ClearAssetLikeRecordsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ClearAssetLikeRecordsResponse) ProtoMessage() {} func (x *ClearAssetLikeRecordsResponse) ProtoReflect() protoreflect.Message { mi := &file_asset_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 ClearAssetLikeRecordsResponse.ProtoReflect.Descriptor instead. func (*ClearAssetLikeRecordsResponse) Descriptor() ([]byte, []int) { return file_asset_proto_rawDescGZIP(), []int{36} } func (x *ClearAssetLikeRecordsResponse) GetBase() *common.BaseResponse { if x != nil { return x.Base } return nil } var File_asset_proto protoreflect.FileDescriptor const file_asset_proto_rawDesc = "" + "\n" + "\vasset.proto\x12\rtopfans.asset\x1a\x12proto/common.proto\x1a\x1cgoogle/api/annotations.proto\"\xec\x04\n" + "\x05Asset\x12\x19\n" + "\basset_id\x18\x01 \x01(\x03R\aassetId\x12\x1b\n" + "\towner_uid\x18\x02 \x01(\x03R\bownerUid\x12\x17\n" + "\astar_id\x18\x03 \x01(\x03R\x06starId\x12\x12\n" + "\x04name\x18\x04 \x01(\tR\x04name\x12\x1b\n" + "\tcover_url\x18\x05 \x01(\tR\bcoverUrl\x12!\n" + "\fmaterial_url\x18\x06 \x01(\tR\vmaterialUrl\x12 \n" + "\vdescription\x18\a \x01(\tR\vdescription\x12\x14\n" + "\x05grade\x18\b \x01(\x05R\x05grade\x12\x12\n" + "\x04tags\x18\t \x03(\tR\x04tags\x12\x1e\n" + "\n" + "visibility\x18\n" + " \x01(\tR\n" + "visibility\x12\x16\n" + "\x06status\x18\v \x01(\x05R\x06status\x12\x17\n" + "\atx_hash\x18\f \x01(\tR\x06txHash\x12!\n" + "\fblock_number\x18\r \x01(\x03R\vblockNumber\x12\x1d\n" + "\n" + "like_count\x18\x0e \x01(\x05R\tlikeCount\x12\x1d\n" + "\n" + "created_at\x18\x0f \x01(\x03R\tcreatedAt\x12\x1d\n" + "\n" + "updated_at\x18\x10 \x01(\x03R\tupdatedAt\x12\x1b\n" + "\tminted_at\x18\x11 \x01(\x03R\bmintedAt\x12.\n" + "\x05owner\x18\x12 \x01(\v2\x18.topfans.asset.OwnerInfoR\x05owner\x12%\n" + "\x0eowner_nickname\x18\x13 \x01(\tR\rownerNickname\x12\x19\n" + "\bis_liked\x18\x14 \x01(\bR\aisLiked\x12\x12\n" + "\x04info\x18\x15 \x01(\tR\x04info\"X\n" + "\tOwnerInfo\x12\x17\n" + "\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x1a\n" + "\bnickname\x18\x02 \x01(\tR\bnickname\x12\x16\n" + "\x06avatar\x18\x03 \x01(\tR\x06avatar\"\xf7\x03\n" + "\tMintOrder\x12\x19\n" + "\border_id\x18\x01 \x01(\tR\aorderId\x12\x17\n" + "\auser_id\x18\x02 \x01(\x03R\x06userId\x12\x19\n" + "\basset_id\x18\x03 \x01(\x03R\aassetId\x12\x17\n" + "\astar_id\x18\x04 \x01(\x03R\x06starId\x12\x16\n" + "\x06status\x18\x05 \x01(\tR\x06status\x12!\n" + "\fcost_crystal\x18\x06 \x01(\x03R\vcostCrystal\x12#\n" + "\rerror_message\x18\a \x01(\tR\ferrorMessage\x12\x1f\n" + "\vretry_count\x18\b \x01(\x05R\n" + "retryCount\x12!\n" + "\fmaterial_url\x18\t \x01(\tR\vmaterialUrl\x12\x12\n" + "\x04name\x18\n" + " \x01(\tR\x04name\x12 \n" + "\vdescription\x18\v \x01(\tR\vdescription\x12#\n" + "\rmaterial_type\x18\f \x01(\tR\fmaterialType\x12\x14\n" + "\x05event\x18\r \x01(\tR\x05event\x12\x1d\n" + "\n" + "created_at\x18\x0e \x01(\x03R\tcreatedAt\x12\x1d\n" + "\n" + "updated_at\x18\x0f \x01(\x03R\tupdatedAt\x12\x1b\n" + "\tminted_at\x18\x10 \x01(\x03R\bmintedAt\x12\x12\n" + "\x04info\x18\x11 \x01(\tR\x04info\"1\n" + "\x14InitMintOrderRequest\x12\x19\n" + "\border_id\x18\x01 \x01(\tR\aorderId\"y\n" + "\x15InitMintOrderResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12.\n" + "\x05order\x18\x02 \x01(\v2\x18.topfans.asset.MintOrderR\x05order\"\xef\x01\n" + "\x16CreateMintOrderRequest\x12\x19\n" + "\border_id\x18\x02 \x01(\tR\aorderId\x12\x12\n" + "\x04name\x18\x01 \x01(\tR\x04name\x12!\n" + "\fmaterial_url\x18\x03 \x01(\tR\vmaterialUrl\x12 \n" + "\vdescription\x18\x04 \x01(\tR\vdescription\x12\x14\n" + "\x05grade\x18\x05 \x01(\x05R\x05grade\x12\x12\n" + "\x04tags\x18\x06 \x03(\tR\x04tags\x12#\n" + "\rmaterial_type\x18\a \x01(\tR\fmaterialType\x12\x12\n" + "\x04info\x18\b \x01(\tR\x04info\"\xaf\x01\n" + "\x19PreCreateMintOrderRequest\x12\x12\n" + "\x04name\x18\x01 \x01(\tR\x04name\x12!\n" + "\fmaterial_url\x18\x02 \x01(\tR\vmaterialUrl\x12 \n" + "\vdescription\x18\x03 \x01(\tR\vdescription\x12#\n" + "\rmaterial_type\x18\x04 \x01(\tR\fmaterialType\x12\x14\n" + "\x05event\x18\x05 \x01(\tR\x05event\"~\n" + "\x1aPreCreateMintOrderResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12.\n" + "\x05order\x18\x02 \x01(\v2\x18.topfans.asset.MintOrderR\x05order\"\xa7\x01\n" + "\x17CreateMintOrderResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12.\n" + "\x05order\x18\x02 \x01(\v2\x18.topfans.asset.MintOrderR\x05order\x12*\n" + "\x05asset\x18\x03 \x01(\v2\x14.topfans.asset.AssetR\x05asset\"\x8b\x01\n" + "\x12GetMyAssetsRequest\x12\x12\n" + "\x04page\x18\x01 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12\x16\n" + "\x06status\x18\x03 \x01(\tR\x06status\x12\x18\n" + "\akeyword\x18\x04 \x01(\tR\akeyword\x12\x12\n" + "\x04sort\x18\x05 \x01(\tR\x04sort\"y\n" + "\x13GetMyAssetsResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x120\n" + "\x04data\x18\x02 \x01(\v2\x1c.topfans.asset.AssetListDataR\x04data\"\xa4\x01\n" + "\rAssetListData\x121\n" + "\x06groups\x18\x01 \x03(\v2\x19.topfans.asset.AssetGroupR\x06groups\x12\x14\n" + "\x05total\x18\x02 \x01(\x03R\x05total\x12\x12\n" + "\x04page\x18\x03 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x04 \x01(\x05R\bpageSize\x12\x19\n" + "\bhas_more\x18\x05 \x01(\bR\ahasMore\"\x82\x02\n" + "\n" + "AssetGroup\x12\x12\n" + "\x04type\x18\x01 \x01(\tR\x04type\x12\x1a\n" + "\bcategory\x18\x02 \x01(\tR\bcategory\x12#\n" + "\rcategory_name\x18\x03 \x01(\tR\fcategoryName\x123\n" + "\x06grades\x18\x04 \x03(\v2\x1b.topfans.asset.GradeSectionR\x06grades\x12.\n" + "\x05items\x18\x05 \x03(\v2\x18.topfans.asset.AssetItemR\x05items\x12\x1f\n" + "\vtotal_count\x18\x06 \x01(\x05R\n" + "totalCount\x12\x19\n" + "\bhas_more\x18\a \x01(\bR\ahasMore\"\x90\x01\n" + "\fGradeSection\x12\x14\n" + "\x05grade\x18\x01 \x01(\x05R\x05grade\x12.\n" + "\x05items\x18\x02 \x03(\v2\x18.topfans.asset.AssetItemR\x05items\x12\x1f\n" + "\vtotal_count\x18\x03 \x01(\x05R\n" + "totalCount\x12\x19\n" + "\bhas_more\x18\x04 \x01(\bR\ahasMore\"\xfb\x01\n" + "\tAssetItem\x12\x19\n" + "\basset_id\x18\x01 \x01(\x03R\aassetId\x12\x12\n" + "\x04name\x18\x02 \x01(\tR\x04name\x12(\n" + "\x10cover_url_signed\x18\x03 \x01(\tR\x0ecoverUrlSigned\x12\x1d\n" + "\n" + "like_count\x18\x04 \x01(\x05R\tlikeCount\x12\x1d\n" + "\n" + "created_at\x18\x05 \x01(\x03R\tcreatedAt\x12\x1a\n" + "\bcategory\x18\x06 \x01(\tR\bcategory\x12\x14\n" + "\x05grade\x18\a \x01(\x05R\x05grade\x12%\n" + "\x0edisplay_status\x18\b \x01(\x05R\rdisplayStatus\"\xe7\x01\n" + "\rAssetListItem\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\x16\n" + "\x06status\x18\x04 \x01(\tR\x06status\x12\x17\n" + "\atx_hash\x18\x05 \x01(\tR\x06txHash\x12\x1d\n" + "\n" + "created_at\x18\x06 \x01(\x03R\tcreatedAt\x12\x1b\n" + "\tminted_at\x18\a \x01(\x03R\bmintedAt\x12\x1d\n" + "\n" + "like_count\x18\b \x01(\x05R\tlikeCount\",\n" + "\x0fGetAssetRequest\x12\x19\n" + "\basset_id\x18\x01 \x01(\x03R\aassetId\"p\n" + "\x10GetAssetResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12*\n" + "\x05asset\x18\x02 \x01(\v2\x14.topfans.asset.AssetR\x05asset\"2\n" + "\x15GetAssetStatusRequest\x12\x19\n" + "\basset_id\x18\x01 \x01(\x03R\aassetId\"\xfb\x01\n" + "\x16GetAssetStatusResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x19\n" + "\basset_id\x18\x02 \x01(\x03R\aassetId\x12\x16\n" + "\x06status\x18\x03 \x01(\tR\x06status\x12\x17\n" + "\atx_hash\x18\x04 \x01(\tR\x06txHash\x12!\n" + "\fblock_number\x18\x05 \x01(\x03R\vblockNumber\x12\x1b\n" + "\tminted_at\x18\x06 \x01(\x03R\bmintedAt\x12#\n" + "\rerror_message\x18\a \x01(\tR\ferrorMessage\"0\n" + "\x13GetMintOrderRequest\x12\x19\n" + "\border_id\x18\x01 \x01(\tR\aorderId\"\xa4\x01\n" + "\x14GetMintOrderResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12.\n" + "\x05order\x18\x02 \x01(\v2\x18.topfans.asset.MintOrderR\x05order\x12*\n" + "\x05asset\x18\x03 \x01(\v2\x14.topfans.asset.AssetR\x05asset\"3\n" + "\x16CancelMintOrderRequest\x12\x19\n" + "\border_id\x18\x01 \x01(\tR\aorderId\"~\n" + "\x17CancelMintOrderResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x19\n" + "\border_id\x18\x02 \x01(\tR\aorderId\x12\x16\n" + "\x06status\x18\x03 \x01(\tR\x06status\"-\n" + "\x10LikeAssetRequest\x12\x19\n" + "\basset_id\x18\x01 \x01(\x03R\aassetId\"d\n" + "\x11LikeAssetResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x1d\n" + "\n" + "like_count\x18\x02 \x01(\x05R\tlikeCount\"/\n" + "\x12UnlikeAssetRequest\x12\x19\n" + "\basset_id\x18\x01 \x01(\x03R\aassetId\"f\n" + "\x13UnlikeAssetResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x1d\n" + "\n" + "like_count\x18\x02 \x01(\x05R\tlikeCount\"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\"\x87\x01\n" + "\tAssetLike\x12\x0e\n" + "\x02id\x18\x01 \x01(\x03R\x02id\x12\x19\n" + "\basset_id\x18\x02 \x01(\x03R\aassetId\x12\x17\n" + "\auser_id\x18\x03 \x01(\x03R\x06userId\x12\x17\n" + "\astar_id\x18\x04 \x01(\x03R\x06starId\x12\x1d\n" + "\n" + "created_at\x18\x05 \x01(\x03R\tcreatedAt\"b\n" + "\x14GetAssetLikesRequest\x12\x19\n" + "\basset_id\x18\x01 \x01(\x03R\aassetId\x12\x12\n" + "\x04page\x18\x02 \x01(\x05R\x04page\x12\x1b\n" + "\tpage_size\x18\x03 \x01(\x05R\bpageSize\"\xdb\x01\n" + "\x15GetAssetLikesResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12.\n" + "\x05likes\x18\x02 \x03(\v2\x18.topfans.asset.AssetLikeR\x05likes\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\x12\x19\n" + "\bhas_more\x18\x06 \x01(\bR\ahasMore\"2\n" + "\x15GetAssetForRPCRequest\x12\x19\n" + "\basset_id\x18\x01 \x01(\x03R\aassetId\"\xd0\x01\n" + "\x16GetAssetForRPCResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base\x12\x19\n" + "\basset_id\x18\x02 \x01(\x03R\aassetId\x12\x1b\n" + "\towner_uid\x18\x03 \x01(\x03R\bownerUid\x12\x17\n" + "\astar_id\x18\x04 \x01(\x03R\x06starId\x12\x16\n" + "\x06status\x18\x05 \x01(\x05R\x06status\x12\x1b\n" + "\tis_active\x18\x06 \x01(\bR\bisActive\"9\n" + "\x1cClearAssetLikeRecordsRequest\x12\x19\n" + "\basset_id\x18\x01 \x01(\x03R\aassetId\"Q\n" + "\x1dClearAssetLikeRecordsResponse\x120\n" + "\x04base\x18\x01 \x01(\v2\x1c.topfans.common.BaseResponseR\x04base2\xb3\f\n" + "\fAssetService\x12Z\n" + "\rInitMintOrder\x12#.topfans.asset.InitMintOrderRequest\x1a$.topfans.asset.InitMintOrderResponse\x12\x94\x01\n" + "\x12PreCreateMintOrder\x12(.topfans.asset.PreCreateMintOrderRequest\x1a).topfans.asset.PreCreateMintOrderResponse\")\x82\xd3\xe4\x93\x02#:\x01*\"\x1e/api/v1/assets/mints/precreate\x12\x81\x01\n" + "\x0fCreateMintOrder\x12%.topfans.asset.CreateMintOrderRequest\x1a&.topfans.asset.CreateMintOrderResponse\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\"\x14/api/v1/assets/mints\x12o\n" + "\vGetMyAssets\x12!.topfans.asset.GetMyAssetsRequest\x1a\".topfans.asset.GetMyAssetsResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/api/v1/assets/me\x12n\n" + "\bGetAsset\x12\x1e.topfans.asset.GetAssetRequest\x1a\x1f.topfans.asset.GetAssetResponse\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/api/v1/assets/{asset_id}\x12\x87\x01\n" + "\x0eGetAssetStatus\x12$.topfans.asset.GetAssetStatusRequest\x1a%.topfans.asset.GetAssetStatusResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /api/v1/assets/{asset_id}/status\x12\x80\x01\n" + "\fGetMintOrder\x12\".topfans.asset.GetMintOrderRequest\x1a#.topfans.asset.GetMintOrderResponse\"'\x82\xd3\xe4\x93\x02!\x12\x1f/api/v1/assets/mints/{order_id}\x12\x89\x01\n" + "\x0fCancelMintOrder\x12%.topfans.asset.CancelMintOrderRequest\x1a&.topfans.asset.CancelMintOrderResponse\"'\x82\xd3\xe4\x93\x02!*\x1f/api/v1/assets/mints/{order_id}\x12]\n" + "\x0eGetAssetForRPC\x12$.topfans.asset.GetAssetForRPCRequest\x1a%.topfans.asset.GetAssetForRPCResponse\x12N\n" + "\tLikeAsset\x12\x1f.topfans.asset.LikeAssetRequest\x1a .topfans.asset.LikeAssetResponse\x12T\n" + "\vUnlikeAsset\x12!.topfans.asset.UnlikeAssetRequest\x1a\".topfans.asset.UnlikeAssetResponse\x12]\n" + "\x0eCheckAssetLike\x12$.topfans.asset.CheckAssetLikeRequest\x1a%.topfans.asset.CheckAssetLikeResponse\x12Z\n" + "\rGetAssetLikes\x12#.topfans.asset.GetAssetLikesRequest\x1a$.topfans.asset.GetAssetLikesResponse\x12r\n" + "\x15ClearAssetLikeRecords\x12+.topfans.asset.ClearAssetLikeRecordsRequest\x1a,.topfans.asset.ClearAssetLikeRecordsResponseB2Z0github.com/topfans/backend/pkg/proto/asset;assetb\x06proto3" var ( file_asset_proto_rawDescOnce sync.Once file_asset_proto_rawDescData []byte ) func file_asset_proto_rawDescGZIP() []byte { file_asset_proto_rawDescOnce.Do(func() { file_asset_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_asset_proto_rawDesc), len(file_asset_proto_rawDesc))) }) return file_asset_proto_rawDescData } var file_asset_proto_msgTypes = make([]protoimpl.MessageInfo, 37) var file_asset_proto_goTypes = []any{ (*Asset)(nil), // 0: topfans.asset.Asset (*OwnerInfo)(nil), // 1: topfans.asset.OwnerInfo (*MintOrder)(nil), // 2: topfans.asset.MintOrder (*InitMintOrderRequest)(nil), // 3: topfans.asset.InitMintOrderRequest (*InitMintOrderResponse)(nil), // 4: topfans.asset.InitMintOrderResponse (*CreateMintOrderRequest)(nil), // 5: topfans.asset.CreateMintOrderRequest (*PreCreateMintOrderRequest)(nil), // 6: topfans.asset.PreCreateMintOrderRequest (*PreCreateMintOrderResponse)(nil), // 7: topfans.asset.PreCreateMintOrderResponse (*CreateMintOrderResponse)(nil), // 8: topfans.asset.CreateMintOrderResponse (*GetMyAssetsRequest)(nil), // 9: topfans.asset.GetMyAssetsRequest (*GetMyAssetsResponse)(nil), // 10: topfans.asset.GetMyAssetsResponse (*AssetListData)(nil), // 11: topfans.asset.AssetListData (*AssetGroup)(nil), // 12: topfans.asset.AssetGroup (*GradeSection)(nil), // 13: topfans.asset.GradeSection (*AssetItem)(nil), // 14: topfans.asset.AssetItem (*AssetListItem)(nil), // 15: topfans.asset.AssetListItem (*GetAssetRequest)(nil), // 16: topfans.asset.GetAssetRequest (*GetAssetResponse)(nil), // 17: topfans.asset.GetAssetResponse (*GetAssetStatusRequest)(nil), // 18: topfans.asset.GetAssetStatusRequest (*GetAssetStatusResponse)(nil), // 19: topfans.asset.GetAssetStatusResponse (*GetMintOrderRequest)(nil), // 20: topfans.asset.GetMintOrderRequest (*GetMintOrderResponse)(nil), // 21: topfans.asset.GetMintOrderResponse (*CancelMintOrderRequest)(nil), // 22: topfans.asset.CancelMintOrderRequest (*CancelMintOrderResponse)(nil), // 23: topfans.asset.CancelMintOrderResponse (*LikeAssetRequest)(nil), // 24: topfans.asset.LikeAssetRequest (*LikeAssetResponse)(nil), // 25: topfans.asset.LikeAssetResponse (*UnlikeAssetRequest)(nil), // 26: topfans.asset.UnlikeAssetRequest (*UnlikeAssetResponse)(nil), // 27: topfans.asset.UnlikeAssetResponse (*CheckAssetLikeRequest)(nil), // 28: topfans.asset.CheckAssetLikeRequest (*CheckAssetLikeResponse)(nil), // 29: topfans.asset.CheckAssetLikeResponse (*AssetLike)(nil), // 30: topfans.asset.AssetLike (*GetAssetLikesRequest)(nil), // 31: topfans.asset.GetAssetLikesRequest (*GetAssetLikesResponse)(nil), // 32: topfans.asset.GetAssetLikesResponse (*GetAssetForRPCRequest)(nil), // 33: topfans.asset.GetAssetForRPCRequest (*GetAssetForRPCResponse)(nil), // 34: topfans.asset.GetAssetForRPCResponse (*ClearAssetLikeRecordsRequest)(nil), // 35: topfans.asset.ClearAssetLikeRecordsRequest (*ClearAssetLikeRecordsResponse)(nil), // 36: topfans.asset.ClearAssetLikeRecordsResponse (*common.BaseResponse)(nil), // 37: topfans.common.BaseResponse } var file_asset_proto_depIdxs = []int32{ 1, // 0: topfans.asset.Asset.owner:type_name -> topfans.asset.OwnerInfo 37, // 1: topfans.asset.InitMintOrderResponse.base:type_name -> topfans.common.BaseResponse 2, // 2: topfans.asset.InitMintOrderResponse.order:type_name -> topfans.asset.MintOrder 37, // 3: topfans.asset.PreCreateMintOrderResponse.base:type_name -> topfans.common.BaseResponse 2, // 4: topfans.asset.PreCreateMintOrderResponse.order:type_name -> topfans.asset.MintOrder 37, // 5: topfans.asset.CreateMintOrderResponse.base:type_name -> topfans.common.BaseResponse 2, // 6: topfans.asset.CreateMintOrderResponse.order:type_name -> topfans.asset.MintOrder 0, // 7: topfans.asset.CreateMintOrderResponse.asset:type_name -> topfans.asset.Asset 37, // 8: topfans.asset.GetMyAssetsResponse.base:type_name -> topfans.common.BaseResponse 11, // 9: topfans.asset.GetMyAssetsResponse.data:type_name -> topfans.asset.AssetListData 12, // 10: topfans.asset.AssetListData.groups:type_name -> topfans.asset.AssetGroup 13, // 11: topfans.asset.AssetGroup.grades:type_name -> topfans.asset.GradeSection 14, // 12: topfans.asset.AssetGroup.items:type_name -> topfans.asset.AssetItem 14, // 13: topfans.asset.GradeSection.items:type_name -> topfans.asset.AssetItem 37, // 14: topfans.asset.GetAssetResponse.base:type_name -> topfans.common.BaseResponse 0, // 15: topfans.asset.GetAssetResponse.asset:type_name -> topfans.asset.Asset 37, // 16: topfans.asset.GetAssetStatusResponse.base:type_name -> topfans.common.BaseResponse 37, // 17: topfans.asset.GetMintOrderResponse.base:type_name -> topfans.common.BaseResponse 2, // 18: topfans.asset.GetMintOrderResponse.order:type_name -> topfans.asset.MintOrder 0, // 19: topfans.asset.GetMintOrderResponse.asset:type_name -> topfans.asset.Asset 37, // 20: topfans.asset.CancelMintOrderResponse.base:type_name -> topfans.common.BaseResponse 37, // 21: topfans.asset.LikeAssetResponse.base:type_name -> topfans.common.BaseResponse 37, // 22: topfans.asset.UnlikeAssetResponse.base:type_name -> topfans.common.BaseResponse 37, // 23: topfans.asset.CheckAssetLikeResponse.base:type_name -> topfans.common.BaseResponse 37, // 24: topfans.asset.GetAssetLikesResponse.base:type_name -> topfans.common.BaseResponse 30, // 25: topfans.asset.GetAssetLikesResponse.likes:type_name -> topfans.asset.AssetLike 37, // 26: topfans.asset.GetAssetForRPCResponse.base:type_name -> topfans.common.BaseResponse 37, // 27: topfans.asset.ClearAssetLikeRecordsResponse.base:type_name -> topfans.common.BaseResponse 3, // 28: topfans.asset.AssetService.InitMintOrder:input_type -> topfans.asset.InitMintOrderRequest 6, // 29: topfans.asset.AssetService.PreCreateMintOrder:input_type -> topfans.asset.PreCreateMintOrderRequest 5, // 30: topfans.asset.AssetService.CreateMintOrder:input_type -> topfans.asset.CreateMintOrderRequest 9, // 31: topfans.asset.AssetService.GetMyAssets:input_type -> topfans.asset.GetMyAssetsRequest 16, // 32: topfans.asset.AssetService.GetAsset:input_type -> topfans.asset.GetAssetRequest 18, // 33: topfans.asset.AssetService.GetAssetStatus:input_type -> topfans.asset.GetAssetStatusRequest 20, // 34: topfans.asset.AssetService.GetMintOrder:input_type -> topfans.asset.GetMintOrderRequest 22, // 35: topfans.asset.AssetService.CancelMintOrder:input_type -> topfans.asset.CancelMintOrderRequest 33, // 36: topfans.asset.AssetService.GetAssetForRPC:input_type -> topfans.asset.GetAssetForRPCRequest 24, // 37: topfans.asset.AssetService.LikeAsset:input_type -> topfans.asset.LikeAssetRequest 26, // 38: topfans.asset.AssetService.UnlikeAsset:input_type -> topfans.asset.UnlikeAssetRequest 28, // 39: topfans.asset.AssetService.CheckAssetLike:input_type -> topfans.asset.CheckAssetLikeRequest 31, // 40: topfans.asset.AssetService.GetAssetLikes:input_type -> topfans.asset.GetAssetLikesRequest 35, // 41: topfans.asset.AssetService.ClearAssetLikeRecords:input_type -> topfans.asset.ClearAssetLikeRecordsRequest 4, // 42: topfans.asset.AssetService.InitMintOrder:output_type -> topfans.asset.InitMintOrderResponse 7, // 43: topfans.asset.AssetService.PreCreateMintOrder:output_type -> topfans.asset.PreCreateMintOrderResponse 8, // 44: topfans.asset.AssetService.CreateMintOrder:output_type -> topfans.asset.CreateMintOrderResponse 10, // 45: topfans.asset.AssetService.GetMyAssets:output_type -> topfans.asset.GetMyAssetsResponse 17, // 46: topfans.asset.AssetService.GetAsset:output_type -> topfans.asset.GetAssetResponse 19, // 47: topfans.asset.AssetService.GetAssetStatus:output_type -> topfans.asset.GetAssetStatusResponse 21, // 48: topfans.asset.AssetService.GetMintOrder:output_type -> topfans.asset.GetMintOrderResponse 23, // 49: topfans.asset.AssetService.CancelMintOrder:output_type -> topfans.asset.CancelMintOrderResponse 34, // 50: topfans.asset.AssetService.GetAssetForRPC:output_type -> topfans.asset.GetAssetForRPCResponse 25, // 51: topfans.asset.AssetService.LikeAsset:output_type -> topfans.asset.LikeAssetResponse 27, // 52: topfans.asset.AssetService.UnlikeAsset:output_type -> topfans.asset.UnlikeAssetResponse 29, // 53: topfans.asset.AssetService.CheckAssetLike:output_type -> topfans.asset.CheckAssetLikeResponse 32, // 54: topfans.asset.AssetService.GetAssetLikes:output_type -> topfans.asset.GetAssetLikesResponse 36, // 55: topfans.asset.AssetService.ClearAssetLikeRecords:output_type -> topfans.asset.ClearAssetLikeRecordsResponse 42, // [42:56] is the sub-list for method output_type 28, // [28:42] is the sub-list for method input_type 28, // [28:28] is the sub-list for extension type_name 28, // [28:28] is the sub-list for extension extendee 0, // [0:28] is the sub-list for field type_name } func init() { file_asset_proto_init() } func file_asset_proto_init() { if File_asset_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_asset_proto_rawDesc), len(file_asset_proto_rawDesc)), NumEnums: 0, NumMessages: 37, NumExtensions: 0, NumServices: 1, }, GoTypes: file_asset_proto_goTypes, DependencyIndexes: file_asset_proto_depIdxs, MessageInfos: file_asset_proto_msgTypes, }.Build() File_asset_proto = out.File file_asset_proto_goTypes = nil file_asset_proto_depIdxs = nil }