archive

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_archive_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Arc

type Arc struct {

	// 稿件avid
	Aid int64 `protobuf:"varint,1,opt,name=aid,proto3" json:"aid,omitempty"`
	// 稿件分P数
	Videos int64 `protobuf:"varint,2,opt,name=videos,proto3" json:"videos,omitempty"`
	// 分区id
	TypeId int32 `protobuf:"varint,3,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"`
	// 二级分区名
	TypeName string `protobuf:"bytes,4,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
	// 稿件类型
	// 1:原创 2:转载
	Copyright int32 `protobuf:"varint,5,opt,name=copyright,proto3" json:"copyright,omitempty"`
	// 稿件封面url
	Pic string `protobuf:"bytes,6,opt,name=pic,proto3" json:"pic,omitempty"`
	// 稿件标题
	Title string `protobuf:"bytes,7,opt,name=title,proto3" json:"title,omitempty"`
	// 稿件发布时间
	Pubdate int64 `protobuf:"varint,8,opt,name=pubdate,proto3" json:"pubdate,omitempty"`
	// 用户投稿时间
	Ctime int64 `protobuf:"varint,9,opt,name=ctime,proto3" json:"ctime,omitempty"`
	// 稿件简介
	Desc string `protobuf:"bytes,10,opt,name=desc,proto3" json:"desc,omitempty"`
	// 稿件状态
	State int32 `protobuf:"varint,11,opt,name=state,proto3" json:"state,omitempty"`
	// 访问属性
	// 0:全部可见 10000:登录可见
	Access int32 `protobuf:"varint,12,opt,name=access,proto3" json:"access,omitempty"`
	// 属性位配置(现在无了)
	Attribute int32 `protobuf:"varint,13,opt,name=attribute,proto3" json:"attribute,omitempty"`
	// 空
	Tag string `protobuf:"bytes,14,opt,name=tag,proto3" json:"tag,omitempty"`
	// 空
	Tags []string `protobuf:"bytes,15,rep,name=tags,proto3" json:"tags,omitempty"`
	// 稿件总时长(单位为秒)
	Duration int64 `protobuf:"varint,16,opt,name=duration,proto3" json:"duration,omitempty"`
	// 参与的活动id
	MissionId int64 `protobuf:"varint,17,opt,name=mission_id,json=missionId,proto3" json:"mission_id,omitempty"`
	// 绑定的商单id
	OrderId int64 `protobuf:"varint,18,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	// PGC稿件强制重定向url(如番剧、影视)
	RedirectUrl string `protobuf:"bytes,19,opt,name=redirect_url,json=redirectUrl,proto3" json:"redirect_url,omitempty"`
	// 空
	Forward int64 `protobuf:"varint,20,opt,name=forward,proto3" json:"forward,omitempty"`
	// 控制标志
	Rights *Rights `protobuf:"bytes,21,opt,name=rights,proto3" json:"rights,omitempty"`
	// UP主信息
	Author *Author `protobuf:"bytes,22,opt,name=author,proto3" json:"author,omitempty"`
	// 状态数
	Stat *Stat `protobuf:"bytes,23,opt,name=stat,proto3" json:"stat,omitempty"`
	// 空
	ReportResult string `protobuf:"bytes,24,opt,name=report_result,json=reportResult,proto3" json:"report_result,omitempty"`
	// 投稿时发送的动态内容
	Dynamic string `protobuf:"bytes,25,opt,name=dynamic,proto3" json:"dynamic,omitempty"`
	// 稿件1P cid
	FirstCid int64 `protobuf:"varint,26,opt,name=first_cid,json=firstCid,proto3" json:"first_cid,omitempty"`
	// 稿件1P 分辨率
	Dimension *Dimension `protobuf:"bytes,27,opt,name=dimension,proto3" json:"dimension,omitempty"`
	// 合作组成员列表
	StaffInfo []*StaffInfo `protobuf:"bytes,28,rep,name=staff_info,json=staffInfo,proto3" json:"staff_info,omitempty"`
	// UGC合集id
	SeasonId int64 `protobuf:"varint,29,opt,name=season_id,json=seasonId,proto3" json:"season_id,omitempty"`
	// 新版属性位配置(也没用)
	AttributeV2 int64 `protobuf:"varint,30,opt,name=attribute_v2,json=attributeV2,proto3" json:"attribute_v2,omitempty"`
	// contains filtered or unexported fields
}

稿件基本信息

func (*Arc) Descriptor deprecated

func (*Arc) Descriptor() ([]byte, []int)

Deprecated: Use Arc.ProtoReflect.Descriptor instead.

func (*Arc) GetAccess

func (x *Arc) GetAccess() int32

func (*Arc) GetAid

func (x *Arc) GetAid() int64

func (*Arc) GetAttribute

func (x *Arc) GetAttribute() int32

func (*Arc) GetAttributeV2

func (x *Arc) GetAttributeV2() int64

func (*Arc) GetAuthor

func (x *Arc) GetAuthor() *Author

func (*Arc) GetCopyright

func (x *Arc) GetCopyright() int32

func (*Arc) GetCtime

func (x *Arc) GetCtime() int64

func (*Arc) GetDesc

func (x *Arc) GetDesc() string

func (*Arc) GetDimension

func (x *Arc) GetDimension() *Dimension

func (*Arc) GetDuration

func (x *Arc) GetDuration() int64

func (*Arc) GetDynamic

func (x *Arc) GetDynamic() string

func (*Arc) GetFirstCid

func (x *Arc) GetFirstCid() int64

func (*Arc) GetForward

func (x *Arc) GetForward() int64

func (*Arc) GetMissionId

func (x *Arc) GetMissionId() int64

func (*Arc) GetOrderId

func (x *Arc) GetOrderId() int64

func (*Arc) GetPic

func (x *Arc) GetPic() string

func (*Arc) GetPubdate

func (x *Arc) GetPubdate() int64

func (*Arc) GetRedirectUrl

func (x *Arc) GetRedirectUrl() string

func (*Arc) GetReportResult

func (x *Arc) GetReportResult() string

func (*Arc) GetRights

func (x *Arc) GetRights() *Rights

func (*Arc) GetSeasonId

func (x *Arc) GetSeasonId() int64

func (*Arc) GetStaffInfo

func (x *Arc) GetStaffInfo() []*StaffInfo

func (*Arc) GetStat

func (x *Arc) GetStat() *Stat

func (*Arc) GetState

func (x *Arc) GetState() int32

func (*Arc) GetTag

func (x *Arc) GetTag() string

func (*Arc) GetTags

func (x *Arc) GetTags() []string

func (*Arc) GetTitle

func (x *Arc) GetTitle() string

func (*Arc) GetTypeId

func (x *Arc) GetTypeId() int32

func (*Arc) GetTypeName

func (x *Arc) GetTypeName() string

func (*Arc) GetVideos

func (x *Arc) GetVideos() int64

func (*Arc) ProtoMessage

func (*Arc) ProtoMessage()

func (*Arc) ProtoReflect

func (x *Arc) ProtoReflect() protoreflect.Message

func (*Arc) Reset

func (x *Arc) Reset()

func (*Arc) String

func (x *Arc) String() string

type Author

type Author struct {

	// UP主mid
	Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
	// UP主昵称
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// UP主头像url
	Face string `protobuf:"bytes,3,opt,name=face,proto3" json:"face,omitempty"`
	// contains filtered or unexported fields
}

UP主信息

func (*Author) Descriptor deprecated

func (*Author) Descriptor() ([]byte, []int)

Deprecated: Use Author.ProtoReflect.Descriptor instead.

func (*Author) GetFace

func (x *Author) GetFace() string

func (*Author) GetMid

func (x *Author) GetMid() int64

func (*Author) GetName

func (x *Author) GetName() string

func (*Author) ProtoMessage

func (*Author) ProtoMessage()

func (*Author) ProtoReflect

func (x *Author) ProtoReflect() protoreflect.Message

func (*Author) Reset

func (x *Author) Reset()

func (*Author) String

func (x *Author) String() string

type Dimension

type Dimension struct {

	// 宽度
	Width int64 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"`
	// 高度
	Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	// 方向
	// 0:横屏 1:竖屏
	Rotate int64 `protobuf:"varint,3,opt,name=rotate,proto3" json:"rotate,omitempty"`
	// contains filtered or unexported fields
}

分辨率

func (*Dimension) Descriptor deprecated

func (*Dimension) Descriptor() ([]byte, []int)

Deprecated: Use Dimension.ProtoReflect.Descriptor instead.

func (*Dimension) GetHeight

func (x *Dimension) GetHeight() int64

func (*Dimension) GetRotate

func (x *Dimension) GetRotate() int64

func (*Dimension) GetWidth

func (x *Dimension) GetWidth() int64

func (*Dimension) ProtoMessage

func (*Dimension) ProtoMessage()

func (*Dimension) ProtoReflect

func (x *Dimension) ProtoReflect() protoreflect.Message

func (*Dimension) Reset

func (x *Dimension) Reset()

func (*Dimension) String

func (x *Dimension) String() string

type Page

type Page struct {

	// 视频cid
	Cid int64 `protobuf:"varint,1,opt,name=cid,proto3" json:"cid,omitempty"`
	// 分P序号
	Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	// 源类型
	// vupload:B站 qq:腾讯 hunan:芒果
	From string `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	// 分P标题
	Part string `protobuf:"bytes,4,opt,name=part,proto3" json:"part,omitempty"`
	// 分P时长(单位为秒)
	Duration int64 `protobuf:"varint,5,opt,name=duration,proto3" json:"duration,omitempty"`
	// 外链vid
	Vid string `protobuf:"bytes,6,opt,name=vid,proto3" json:"vid,omitempty"`
	// 分P简介
	Desc string `protobuf:"bytes,7,opt,name=desc,proto3" json:"desc,omitempty"`
	// 外链url
	WebLink string `protobuf:"bytes,8,opt,name=webLink,proto3" json:"webLink,omitempty"`
	// 分P分辨率
	Dimension *Dimension `protobuf:"bytes,9,opt,name=dimension,proto3" json:"dimension,omitempty"`
	// contains filtered or unexported fields
}

分P信息

func (*Page) Descriptor deprecated

func (*Page) Descriptor() ([]byte, []int)

Deprecated: Use Page.ProtoReflect.Descriptor instead.

func (*Page) GetCid

func (x *Page) GetCid() int64

func (*Page) GetDesc

func (x *Page) GetDesc() string

func (*Page) GetDimension

func (x *Page) GetDimension() *Dimension

func (*Page) GetDuration

func (x *Page) GetDuration() int64

func (*Page) GetFrom

func (x *Page) GetFrom() string

func (*Page) GetPage

func (x *Page) GetPage() int32

func (*Page) GetPart

func (x *Page) GetPart() string

func (*Page) GetVid

func (x *Page) GetVid() string
func (x *Page) GetWebLink() string

func (*Page) ProtoMessage

func (*Page) ProtoMessage()

func (*Page) ProtoReflect

func (x *Page) ProtoReflect() protoreflect.Message

func (*Page) Reset

func (x *Page) Reset()

func (*Page) String

func (x *Page) String() string

type Rights

type Rights struct {

	// 老版是否付费
	Bp int32 `protobuf:"varint,1,opt,name=bp,proto3" json:"bp,omitempty"`
	// 允许充电
	Elec int32 `protobuf:"varint,2,opt,name=elec,proto3" json:"elec,omitempty"`
	// 允许下载
	Download int32 `protobuf:"varint,3,opt,name=download,proto3" json:"download,omitempty"`
	// 是否电影
	Movie int32 `protobuf:"varint,4,opt,name=movie,proto3" json:"movie,omitempty"`
	// PGC稿件需要付费
	Pay int32 `protobuf:"varint,5,opt,name=pay,proto3" json:"pay,omitempty"`
	// 是否高码率
	Hd5 int32 `protobuf:"varint,6,opt,name=hd5,proto3" json:"hd5,omitempty"`
	// 是否禁止转载标志
	NoReprint int32 `protobuf:"varint,7,opt,name=no_reprint,json=noReprint,proto3" json:"no_reprint,omitempty"`
	// 是否允许自动播放
	Autoplay int32 `protobuf:"varint,8,opt,name=autoplay,proto3" json:"autoplay,omitempty"`
	// UGC稿件需要付费
	UgcPay int32 `protobuf:"varint,9,opt,name=ugc_pay,json=ugcPay,proto3" json:"ugc_pay,omitempty"`
	// 是否联合投稿
	IsCooperation int32 `protobuf:"varint,10,opt,name=is_cooperation,json=isCooperation,proto3" json:"is_cooperation,omitempty"`
	// 是否UGC付费预览
	UgcPayPreview int32 `protobuf:"varint,11,opt,name=ugc_pay_preview,json=ugcPayPreview,proto3" json:"ugc_pay_preview,omitempty"`
	// 是否禁止后台播放
	NoBackground int32 `protobuf:"varint,12,opt,name=no_background,json=noBackground,proto3" json:"no_background,omitempty"`
	// contains filtered or unexported fields
}

稿件控制标志

func (*Rights) Descriptor deprecated

func (*Rights) Descriptor() ([]byte, []int)

Deprecated: Use Rights.ProtoReflect.Descriptor instead.

func (*Rights) GetAutoplay

func (x *Rights) GetAutoplay() int32

func (*Rights) GetBp

func (x *Rights) GetBp() int32

func (*Rights) GetDownload

func (x *Rights) GetDownload() int32

func (*Rights) GetElec

func (x *Rights) GetElec() int32

func (*Rights) GetHd5

func (x *Rights) GetHd5() int32

func (*Rights) GetIsCooperation

func (x *Rights) GetIsCooperation() int32

func (*Rights) GetMovie

func (x *Rights) GetMovie() int32

func (*Rights) GetNoBackground

func (x *Rights) GetNoBackground() int32

func (*Rights) GetNoReprint

func (x *Rights) GetNoReprint() int32

func (*Rights) GetPay

func (x *Rights) GetPay() int32

func (*Rights) GetUgcPay

func (x *Rights) GetUgcPay() int32

func (*Rights) GetUgcPayPreview

func (x *Rights) GetUgcPayPreview() int32

func (*Rights) ProtoMessage

func (*Rights) ProtoMessage()

func (*Rights) ProtoReflect

func (x *Rights) ProtoReflect() protoreflect.Message

func (*Rights) Reset

func (x *Rights) Reset()

func (*Rights) String

func (x *Rights) String() string

type StaffInfo

type StaffInfo struct {

	// 成员mid
	Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
	// 成员角色
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// 属性位
	// 0:普通 1:赞助商金色标志
	Attribute int64 `protobuf:"varint,3,opt,name=attribute,proto3" json:"attribute,omitempty"`
	// contains filtered or unexported fields
}

合作成员信息

func (*StaffInfo) Descriptor deprecated

func (*StaffInfo) Descriptor() ([]byte, []int)

Deprecated: Use StaffInfo.ProtoReflect.Descriptor instead.

func (*StaffInfo) GetAttribute

func (x *StaffInfo) GetAttribute() int64

func (*StaffInfo) GetMid

func (x *StaffInfo) GetMid() int64

func (*StaffInfo) GetTitle

func (x *StaffInfo) GetTitle() string

func (*StaffInfo) ProtoMessage

func (*StaffInfo) ProtoMessage()

func (*StaffInfo) ProtoReflect

func (x *StaffInfo) ProtoReflect() protoreflect.Message

func (*StaffInfo) Reset

func (x *StaffInfo) Reset()

func (*StaffInfo) String

func (x *StaffInfo) String() string

type Stat

type Stat struct {

	// 稿件avid
	Aid int64 `protobuf:"varint,1,opt,name=aid,proto3" json:"aid,omitempty"`
	// 播放数
	View int32 `protobuf:"varint,2,opt,name=view,proto3" json:"view,omitempty"`
	// 弹幕数
	Danmaku int32 `protobuf:"varint,3,opt,name=danmaku,proto3" json:"danmaku,omitempty"`
	// 评论数
	Reply int32 `protobuf:"varint,4,opt,name=reply,proto3" json:"reply,omitempty"`
	// 收藏数
	Fav int32 `protobuf:"varint,5,opt,name=fav,proto3" json:"fav,omitempty"`
	// 投币数
	Coin int32 `protobuf:"varint,6,opt,name=coin,proto3" json:"coin,omitempty"`
	// 分享数
	Share int32 `protobuf:"varint,7,opt,name=share,proto3" json:"share,omitempty"`
	// 当前排名
	NowRank int32 `protobuf:"varint,8,opt,name=now_rank,json=nowRank,proto3" json:"now_rank,omitempty"`
	// 历史最高排名
	HisRank int32 `protobuf:"varint,9,opt,name=his_rank,json=hisRank,proto3" json:"his_rank,omitempty"`
	// 点赞数
	Like int32 `protobuf:"varint,10,opt,name=like,proto3" json:"like,omitempty"`
	// 点踩数(前端不可见故恒为0)
	Dislike int32 `protobuf:"varint,11,opt,name=dislike,proto3" json:"dislike,omitempty"`
	// contains filtered or unexported fields
}

状态数

func (*Stat) Descriptor deprecated

func (*Stat) Descriptor() ([]byte, []int)

Deprecated: Use Stat.ProtoReflect.Descriptor instead.

func (*Stat) GetAid

func (x *Stat) GetAid() int64

func (*Stat) GetCoin

func (x *Stat) GetCoin() int32

func (*Stat) GetDanmaku

func (x *Stat) GetDanmaku() int32

func (*Stat) GetDislike

func (x *Stat) GetDislike() int32

func (*Stat) GetFav

func (x *Stat) GetFav() int32

func (*Stat) GetHisRank

func (x *Stat) GetHisRank() int32

func (*Stat) GetLike

func (x *Stat) GetLike() int32

func (*Stat) GetNowRank

func (x *Stat) GetNowRank() int32

func (*Stat) GetReply

func (x *Stat) GetReply() int32

func (*Stat) GetShare

func (x *Stat) GetShare() int32

func (*Stat) GetView

func (x *Stat) GetView() int32

func (*Stat) ProtoMessage

func (*Stat) ProtoMessage()

func (*Stat) ProtoReflect

func (x *Stat) ProtoReflect() protoreflect.Message

func (*Stat) Reset

func (x *Stat) Reset()

func (*Stat) String

func (x *Stat) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL