api

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package api is a generated protocol buffer package.

use {app_id}.{version} as package name

It is generated from these files:

app/service/main/archive/api/api.proto

It has these top-level messages:

NoArgRequest
NoReply
DescriptionRequest
DescriptionReply
MaxAidReply
ArcRequest
ArcReply
ArcsRequest
ArcsReply
ViewRequest
StatRequest
StatReply
StatsRequest
StatsReply
ViewReply
ViewsRequest
ViewsReply
TypesReply
ClickRequest
ClickReply
PageRequest
PageReply
RecommendRequest
RecommendReply
VideoRequest
VideoReply
Tp
AidVideos
Arc
StaffInfo
Dimension
Rights
Author
Stat
Click
Page
VideoFileInfo
VideoFormatFileInfo
DashItem
ResponseDash
BvcVideoItem
BvcResponseMsg
ArcCacheRequest
ArcFieldCacheRequest
UpVideoCacheRequest
DelVideoCacheRequest
SetStatRequest

Index

Constants

View Source
const (
	// open state
	StateOpen    = 0
	StateOrange  = 1
	AccessMember = int32(10000)
	// forbid state
	StateForbidWait       = -1
	StateForbidRecicle    = -2
	StateForbidPolice     = -3
	StateForbidLock       = -4
	StateForbidFixed      = -6
	StateForbidLater      = -7
	StateForbidAdminDelay = -10
	StateForbidXcodeFail  = -16
	StateForbidSubmit     = -30
	StateForbidUserDelay  = -40
	StateForbidUpDelete   = -100
	// copyright
	CopyrightUnknow   = int8(0)
	CopyrightOriginal = int8(1)
	CopyrightCopy     = int8(2)

	// attribute yes and no
	AttrYes = int32(1)
	AttrNo  = int32(0)
	// attribute bit
	AttrBitNoRank    = uint(0)
	AttrBitNoDynamic = uint(1)
	AttrBitNoWeb     = uint(2)
	AttrBitNoMobile  = uint(3)
	// AttrBitNoSearch    = uint(4)
	AttrBitOverseaLock = uint(5)
	AttrBitNoRecommend = uint(6)
	AttrBitNoReprint   = uint(7)
	AttrBitHasHD5      = uint(8)
	AttrBitIsPGC       = uint(9)
	AttrBitAllowBp     = uint(10)
	AttrBitIsBangumi   = uint(11)
	AttrBitIsPorder    = uint(12)
	AttrBitLimitArea   = uint(13)
	AttrBitAllowTag    = uint(14)
	// AttrBitIsFromArcApi  = uint(15)
	AttrBitJumpUrl       = uint(16)
	AttrBitIsMovie       = uint(17)
	AttrBitBadgepay      = uint(18)
	AttrBitUGCPay        = uint(22)
	AttrBitHasBGM        = uint(23)
	AttrBitIsCooperation = uint(24)
	AttrBitHasViewpoint  = uint(25)
	AttrBitHasArgument   = uint(26)
)

各属性地址见 http://syncsvn.bilibili.co/platform/doc/blob/master/archive/field/state.md all const

View Source
const AppID = "archive.service"

AppID .

Variables

View Source
var (
	ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApi   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterArchiveServer

func RegisterArchiveServer(s *grpc.Server, srv ArchiveServer)

Types

type AidVideos

type AidVideos struct {
	Aid int64 `protobuf:"varint,1,opt,name=Aid,proto3" json:"aid"`
	// 分P信息
	Pages []*Page `protobuf:"bytes,2,rep,name=Pages" json:"pages"`
}

func (*AidVideos) Descriptor

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

func (*AidVideos) GetAid

func (m *AidVideos) GetAid() int64

func (*AidVideos) GetPages

func (m *AidVideos) GetPages() []*Page

func (*AidVideos) Marshal

func (m *AidVideos) Marshal() (dAtA []byte, err error)

func (*AidVideos) MarshalTo

func (m *AidVideos) MarshalTo(dAtA []byte) (int, error)

func (*AidVideos) ProtoMessage

func (*AidVideos) ProtoMessage()

func (*AidVideos) Reset

func (m *AidVideos) Reset()

func (*AidVideos) Size

func (m *AidVideos) Size() (n int)

func (*AidVideos) String

func (m *AidVideos) String() string

func (*AidVideos) Unmarshal

func (m *AidVideos) Unmarshal(dAtA []byte) error

type Arc

type Arc struct {
	Aid int64 `protobuf:"varint,1,opt,name=Aid,proto3" json:"aid"`
	// 稿件一共有多少分P
	Videos int64 `protobuf:"varint,2,opt,name=Videos,proto3" json:"videos"`
	// 分区ID
	TypeID int32 `protobuf:"varint,3,opt,name=TypeID,proto3" json:"tid"`
	// 分区名
	TypeName string `protobuf:"bytes,4,opt,name=TypeName,proto3" json:"tname"`
	// 是否转载  1=原创  2=转载 0=历史上可能遗留的脏数据
	Copyright int32 `protobuf:"varint,5,opt,name=Copyright,proto3" json:"copyright"`
	// 稿件封面图地址,绝对地址 如 http://i0.hdslb.com/bfs/xxx.jpg
	Pic string `protobuf:"bytes,6,opt,name=Pic,proto3" json:"pic"`
	// 稿件标题
	Title string `protobuf:"bytes,7,opt,name=Title,proto3" json:"title"`
	// 稿件发布时间 对外展示的标准时间  时间戳格式
	PubDate go_common_library_time.Time `protobuf:"varint,8,opt,name=PubDate,proto3,casttype=go-common/library/time.Time" json:"pubdate"`
	// 用户提交稿件的时间 一般不对外展示 时间戳格式
	Ctime go_common_library_time.Time `protobuf:"varint,9,opt,name=Ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
	// 稿件简介
	Desc string `protobuf:"bytes,10,opt,name=Desc,proto3" json:"desc"`
	// 稿件状态,>=0为前台用户可见状态,其他值详见 http://info.bilibili.co/pages/viewpage.action?pageId=3686597#id-%E7%A8%BF%E4%BB%B6%E5%AD%97%E6%AE%B5%E6%9E%9A%E4%B8%BE%E5%80%BC%E5%B1%9E%E6%80%A7%E8%AF%B4%E6%98%8E-%E7%A8%BF%E4%BB%B6%E7%8A%B6%E6%80%81state&access
	State int32 `protobuf:"varint,11,opt,name=State,proto3" json:"state"`
	// 稿件访问属性 0=全员可见 10000=登录用户可见(极少)
	Access int32 `protobuf:"varint,12,opt,name=Access,proto3" json:"access,omitempty"`
	// 稿件属性 详见State字段的文档
	Attribute int32 `protobuf:"varint,13,opt,name=Attribute,proto3" json:"attribute,omitempty"`
	// 废弃字段
	Tag string `protobuf:"bytes,14,opt,name=Tag,proto3" json:"-"`
	// 废弃字段
	Tags []string `protobuf:"bytes,15,rep,name=Tags" json:"tags,omitempty"`
	// 稿件总时长(所有分P加起来的) 单位=秒
	Duration int64 `protobuf:"varint,16,opt,name=Duration,proto3" json:"duration"`
	// 稿件绑定的活动id
	MissionID int64 `protobuf:"varint,17,opt,name=MissionID,proto3" json:"mission_id,omitempty"`
	// 稿件绑定的商单id
	OrderID int64 `protobuf:"varint,18,opt,name=OrderID,proto3" json:"order_id,omitempty"`
	// 稿件后台设置的强制跳转地址,如果该值不为空,则必须调转到它对应的页面上
	RedirectURL string `protobuf:"bytes,19,opt,name=RedirectURL,proto3" json:"redirect_url,omitempty"`
	Forward     int64  `protobuf:"varint,20,opt,name=Forward,proto3" json:"forward,omitempty"`
	// 见Rights字段说明
	Rights Rights `protobuf:"bytes,21,opt,name=Rights" json:"rights"`
	// 稿件作者信息,详见Author字段说明
	Author Author `protobuf:"bytes,22,opt,name=Author" json:"owner"`
	// 稿件计数信息,详见Stat字段说明
	Stat         Stat   `protobuf:"bytes,23,opt,name=Stat" json:"stat"`
	ReportResult string `protobuf:"bytes,24,opt,name=ReportResult,proto3" json:"report_result,omitempty"`
	// 发布稿件时Up主设置的动态描述(仅在动态展示)
	Dynamic string `protobuf:"bytes,25,opt,name=Dynamic,proto3" json:"dynamic"`
	// 稿件第一P的cid,供秒开使用
	FirstCid int64 `protobuf:"varint,26,opt,name=FirstCid,proto3" json:"cid,omitempty"`
	// 稿件第一P的分辨率,详见Dimession字段说明
	Dimension Dimension `protobuf:"bytes,27,opt,name=Dimension" json:"dimension,omitempty"`
	// 联合投稿信息,内部使用,详见StaffInfo说明
	StaffInfo []*StaffInfo `protobuf:"bytes,28,rep,name=StaffInfo" json:"-"`
}

func (*Arc) AttrVal

func (a *Arc) AttrVal(bit uint) int32

AttrVal get attr val by bit.

func (*Arc) Descriptor

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

func (*Arc) Fill

func (a *Arc) Fill()

Fill file archive some field.

func (*Arc) FillDimension

func (a *Arc) FillDimension(d string)

FillDimension is

func (*Arc) FillStat

func (a *Arc) FillStat()

FillStat file stat, check access.

func (*Arc) GetAccess

func (m *Arc) GetAccess() int32

func (*Arc) GetAid

func (m *Arc) GetAid() int64

func (*Arc) GetAttribute

func (m *Arc) GetAttribute() int32

func (*Arc) GetAuthor

func (m *Arc) GetAuthor() Author

func (*Arc) GetCopyright

func (m *Arc) GetCopyright() int32

func (*Arc) GetCtime

func (m *Arc) GetCtime() go_common_library_time.Time

func (*Arc) GetDesc

func (m *Arc) GetDesc() string

func (*Arc) GetDimension

func (m *Arc) GetDimension() Dimension

func (*Arc) GetDuration

func (m *Arc) GetDuration() int64

func (*Arc) GetDynamic

func (m *Arc) GetDynamic() string

func (*Arc) GetFirstCid

func (m *Arc) GetFirstCid() int64

func (*Arc) GetForward

func (m *Arc) GetForward() int64

func (*Arc) GetMissionID

func (m *Arc) GetMissionID() int64

func (*Arc) GetOrderID

func (m *Arc) GetOrderID() int64

func (*Arc) GetPic

func (m *Arc) GetPic() string

func (*Arc) GetPubDate

func (m *Arc) GetPubDate() go_common_library_time.Time

func (*Arc) GetRedirectURL

func (m *Arc) GetRedirectURL() string

func (*Arc) GetReportResult

func (m *Arc) GetReportResult() string

func (*Arc) GetRights

func (m *Arc) GetRights() Rights

func (*Arc) GetStaffInfo

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

func (*Arc) GetStat

func (m *Arc) GetStat() Stat

func (*Arc) GetState

func (m *Arc) GetState() int32

func (*Arc) GetTag

func (m *Arc) GetTag() string

func (*Arc) GetTags

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

func (*Arc) GetTitle

func (m *Arc) GetTitle() string

func (*Arc) GetTypeID

func (m *Arc) GetTypeID() int32

func (*Arc) GetTypeName

func (m *Arc) GetTypeName() string

func (*Arc) GetVideos

func (m *Arc) GetVideos() int64

func (*Arc) IsNormal

func (a *Arc) IsNormal() bool

IsNormal is

func (*Arc) Marshal

func (m *Arc) Marshal() (dAtA []byte, err error)

func (*Arc) MarshalTo

func (m *Arc) MarshalTo(dAtA []byte) (int, error)

func (*Arc) ProtoMessage

func (*Arc) ProtoMessage()

func (*Arc) Reset

func (m *Arc) Reset()

func (*Arc) Size

func (m *Arc) Size() (n int)

func (*Arc) String

func (m *Arc) String() string

func (*Arc) Unmarshal

func (m *Arc) Unmarshal(dAtA []byte) error

type ArcCacheRequest

type ArcCacheRequest struct {
	Aid    int64  `protobuf:"varint,1,opt,name=aid,proto3" json:"aid,omitempty"`
	Tp     string `protobuf:"bytes,2,opt,name=tp,proto3" json:"tp,omitempty"`
	OldMid int64  `protobuf:"varint,3,opt,name=OldMid,proto3" json:"OldMid,omitempty"`
}

内部方法 请勿使用--------------------------------------------------------------------------------------------

func (*ArcCacheRequest) Descriptor

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

func (*ArcCacheRequest) GetAid

func (m *ArcCacheRequest) GetAid() int64

func (*ArcCacheRequest) GetOldMid

func (m *ArcCacheRequest) GetOldMid() int64

func (*ArcCacheRequest) GetTp

func (m *ArcCacheRequest) GetTp() string

func (*ArcCacheRequest) Marshal

func (m *ArcCacheRequest) Marshal() (dAtA []byte, err error)

func (*ArcCacheRequest) MarshalTo

func (m *ArcCacheRequest) MarshalTo(dAtA []byte) (int, error)

func (*ArcCacheRequest) ProtoMessage

func (*ArcCacheRequest) ProtoMessage()

func (*ArcCacheRequest) Reset

func (m *ArcCacheRequest) Reset()

func (*ArcCacheRequest) Size

func (m *ArcCacheRequest) Size() (n int)

func (*ArcCacheRequest) String

func (m *ArcCacheRequest) String() string

func (*ArcCacheRequest) Unmarshal

func (m *ArcCacheRequest) Unmarshal(dAtA []byte) error

type ArcFieldCacheRequest

type ArcFieldCacheRequest struct {
	Aid       int64 `protobuf:"varint,1,opt,name=aid,proto3" json:"aid,omitempty"`
	TypeID    int32 `protobuf:"varint,2,opt,name=typeID,proto3" json:"typeID,omitempty"`
	OldTypeID int32 `protobuf:"varint,3,opt,name=oldTypeID,proto3" json:"oldTypeID,omitempty"`
}

func (*ArcFieldCacheRequest) Descriptor

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

func (*ArcFieldCacheRequest) GetAid

func (m *ArcFieldCacheRequest) GetAid() int64

func (*ArcFieldCacheRequest) GetOldTypeID

func (m *ArcFieldCacheRequest) GetOldTypeID() int32

func (*ArcFieldCacheRequest) GetTypeID

func (m *ArcFieldCacheRequest) GetTypeID() int32

func (*ArcFieldCacheRequest) Marshal

func (m *ArcFieldCacheRequest) Marshal() (dAtA []byte, err error)

func (*ArcFieldCacheRequest) MarshalTo

func (m *ArcFieldCacheRequest) MarshalTo(dAtA []byte) (int, error)

func (*ArcFieldCacheRequest) ProtoMessage

func (*ArcFieldCacheRequest) ProtoMessage()

func (*ArcFieldCacheRequest) Reset

func (m *ArcFieldCacheRequest) Reset()

func (*ArcFieldCacheRequest) Size

func (m *ArcFieldCacheRequest) Size() (n int)

func (*ArcFieldCacheRequest) String

func (m *ArcFieldCacheRequest) String() string

func (*ArcFieldCacheRequest) Unmarshal

func (m *ArcFieldCacheRequest) Unmarshal(dAtA []byte) error

type ArcReply

type ArcReply struct {
	Arc *Arc `protobuf:"bytes,1,opt,name=arc" json:"arc,omitempty"`
}

func (*ArcReply) Descriptor

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

func (*ArcReply) GetArc

func (m *ArcReply) GetArc() *Arc

func (*ArcReply) Marshal

func (m *ArcReply) Marshal() (dAtA []byte, err error)

func (*ArcReply) MarshalTo

func (m *ArcReply) MarshalTo(dAtA []byte) (int, error)

func (*ArcReply) ProtoMessage

func (*ArcReply) ProtoMessage()

func (*ArcReply) Reset

func (m *ArcReply) Reset()

func (*ArcReply) Size

func (m *ArcReply) Size() (n int)

func (*ArcReply) String

func (m *ArcReply) String() string

func (*ArcReply) Unmarshal

func (m *ArcReply) Unmarshal(dAtA []byte) error

type ArcRequest

type ArcRequest struct {
	Aid int64 `protobuf:"varint,1,opt,name=aid,proto3" json:"aid,omitempty"`
}

func (*ArcRequest) Descriptor

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

func (*ArcRequest) GetAid

func (m *ArcRequest) GetAid() int64

func (*ArcRequest) Marshal

func (m *ArcRequest) Marshal() (dAtA []byte, err error)

func (*ArcRequest) MarshalTo

func (m *ArcRequest) MarshalTo(dAtA []byte) (int, error)

func (*ArcRequest) ProtoMessage

func (*ArcRequest) ProtoMessage()

func (*ArcRequest) Reset

func (m *ArcRequest) Reset()

func (*ArcRequest) Size

func (m *ArcRequest) Size() (n int)

func (*ArcRequest) String

func (m *ArcRequest) String() string

func (*ArcRequest) Unmarshal

func (m *ArcRequest) Unmarshal(dAtA []byte) error

type ArchiveClient

type ArchiveClient interface {
	// Types 获取所有分区列表
	Types(ctx context.Context, in *NoArgRequest, opts ...grpc.CallOption) (*TypesReply, error)
	// 获取单个稿件信息
	Arc(ctx context.Context, in *ArcRequest, opts ...grpc.CallOption) (*ArcReply, error)
	// 批量获取稿件信息
	Arcs(ctx context.Context, in *ArcsRequest, opts ...grpc.CallOption) (*ArcsReply, error)
	// 获取单个稿件计数信息
	Stat(ctx context.Context, in *StatRequest, opts ...grpc.CallOption) (*StatReply, error)
	// 批量获取稿件计数信息
	Stats(ctx context.Context, in *StatsRequest, opts ...grpc.CallOption) (*StatsReply, error)
	// 获取单个稿件+分P信息
	View(ctx context.Context, in *ViewRequest, opts ...grpc.CallOption) (*ViewReply, error)
	// 批量获取稿件+分P信息
	Views(ctx context.Context, in *ViewsRequest, opts ...grpc.CallOption) (*ViewsReply, error)
	// 获取稿件在各平台的点击数
	Click(ctx context.Context, in *ClickRequest, opts ...grpc.CallOption) (*ClickReply, error)
	// 获取稿件的所有分P信息
	Page(ctx context.Context, in *PageRequest, opts ...grpc.CallOption) (*PageReply, error)
	// 获取Up主绑定的相关推荐 *几乎废弃
	Recommend(ctx context.Context, in *RecommendRequest, opts ...grpc.CallOption) (*RecommendReply, error)
	// 获取aid&cid对应的视频信息
	Video(ctx context.Context, in *VideoRequest, opts ...grpc.CallOption) (*VideoReply, error)
	// 获取当前最大的aid,各子业务防刷、防脏数据时使用
	MaxAid(ctx context.Context, in *NoArgRequest, opts ...grpc.CallOption) (*MaxAidReply, error)
	// 获取稿件的长简介信息
	Description(ctx context.Context, in *DescriptionRequest, opts ...grpc.CallOption) (*DescriptionReply, error)
	// 内部方法,管理稿件服务缓存,请勿使用-----------------------------------------------------------------------
	ArcFieldCache(ctx context.Context, in *ArcFieldCacheRequest, opts ...grpc.CallOption) (*NoReply, error)
	ArcCache(ctx context.Context, in *ArcCacheRequest, opts ...grpc.CallOption) (*NoReply, error)
	UpVideoCache(ctx context.Context, in *UpVideoCacheRequest, opts ...grpc.CallOption) (*NoReply, error)
	DelVideoCache(ctx context.Context, in *DelVideoCacheRequest, opts ...grpc.CallOption) (*NoReply, error)
	SetStat(ctx context.Context, in *SetStatRequest, opts ...grpc.CallOption) (*NoReply, error)
}

func NewArchiveClient

func NewArchiveClient(cc *grpc.ClientConn) ArchiveClient

func NewClient

func NewClient(cfg *warden.ClientConfig, opts ...grpc.DialOption) (ArchiveClient, error)

NewClient new grpc client

type ArchiveServer

type ArchiveServer interface {
	// Types 获取所有分区列表
	Types(context.Context, *NoArgRequest) (*TypesReply, error)
	// 获取单个稿件信息
	Arc(context.Context, *ArcRequest) (*ArcReply, error)
	// 批量获取稿件信息
	Arcs(context.Context, *ArcsRequest) (*ArcsReply, error)
	// 获取单个稿件计数信息
	Stat(context.Context, *StatRequest) (*StatReply, error)
	// 批量获取稿件计数信息
	Stats(context.Context, *StatsRequest) (*StatsReply, error)
	// 获取单个稿件+分P信息
	View(context.Context, *ViewRequest) (*ViewReply, error)
	// 批量获取稿件+分P信息
	Views(context.Context, *ViewsRequest) (*ViewsReply, error)
	// 获取稿件在各平台的点击数
	Click(context.Context, *ClickRequest) (*ClickReply, error)
	// 获取稿件的所有分P信息
	Page(context.Context, *PageRequest) (*PageReply, error)
	// 获取Up主绑定的相关推荐 *几乎废弃
	Recommend(context.Context, *RecommendRequest) (*RecommendReply, error)
	// 获取aid&cid对应的视频信息
	Video(context.Context, *VideoRequest) (*VideoReply, error)
	// 获取当前最大的aid,各子业务防刷、防脏数据时使用
	MaxAid(context.Context, *NoArgRequest) (*MaxAidReply, error)
	// 获取稿件的长简介信息
	Description(context.Context, *DescriptionRequest) (*DescriptionReply, error)
	// 内部方法,管理稿件服务缓存,请勿使用-----------------------------------------------------------------------
	ArcFieldCache(context.Context, *ArcFieldCacheRequest) (*NoReply, error)
	ArcCache(context.Context, *ArcCacheRequest) (*NoReply, error)
	UpVideoCache(context.Context, *UpVideoCacheRequest) (*NoReply, error)
	DelVideoCache(context.Context, *DelVideoCacheRequest) (*NoReply, error)
	SetStat(context.Context, *SetStatRequest) (*NoReply, error)
}

type ArcsReply

type ArcsReply struct {
	Arcs map[int64]*Arc `` /* 136-byte string literal not displayed */
}

func (*ArcsReply) Descriptor

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

func (*ArcsReply) GetArcs

func (m *ArcsReply) GetArcs() map[int64]*Arc

func (*ArcsReply) Marshal

func (m *ArcsReply) Marshal() (dAtA []byte, err error)

func (*ArcsReply) MarshalTo

func (m *ArcsReply) MarshalTo(dAtA []byte) (int, error)

func (*ArcsReply) ProtoMessage

func (*ArcsReply) ProtoMessage()

func (*ArcsReply) Reset

func (m *ArcsReply) Reset()

func (*ArcsReply) Size

func (m *ArcsReply) Size() (n int)

func (*ArcsReply) String

func (m *ArcsReply) String() string

func (*ArcsReply) Unmarshal

func (m *ArcsReply) Unmarshal(dAtA []byte) error

type ArcsRequest

type ArcsRequest struct {
	Aids []int64 `protobuf:"varint,1,rep,packed,name=aids" json:"aids,omitempty"`
}

func (*ArcsRequest) Descriptor

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

func (*ArcsRequest) GetAids

func (m *ArcsRequest) GetAids() []int64

func (*ArcsRequest) Marshal

func (m *ArcsRequest) Marshal() (dAtA []byte, err error)

func (*ArcsRequest) MarshalTo

func (m *ArcsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ArcsRequest) ProtoMessage

func (*ArcsRequest) ProtoMessage()

func (*ArcsRequest) Reset

func (m *ArcsRequest) Reset()

func (*ArcsRequest) Size

func (m *ArcsRequest) Size() (n int)

func (*ArcsRequest) String

func (m *ArcsRequest) String() string

func (*ArcsRequest) Unmarshal

func (m *ArcsRequest) Unmarshal(dAtA []byte) error

type Author

type Author struct {
	// Up主mid
	Mid int64 `protobuf:"varint,1,opt,name=Mid,proto3" json:"mid"`
	// Up主名称
	Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"name"`
	// Up主头像地址 绝对地址
	Face string `protobuf:"bytes,3,opt,name=Face,proto3" json:"face"`
}

Author 稿件作者信息

func (*Author) Descriptor

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

func (*Author) GetFace

func (m *Author) GetFace() string

func (*Author) GetMid

func (m *Author) GetMid() int64

func (*Author) GetName

func (m *Author) GetName() string

func (*Author) Marshal

func (m *Author) Marshal() (dAtA []byte, err error)

func (*Author) MarshalTo

func (m *Author) MarshalTo(dAtA []byte) (int, error)

func (*Author) ProtoMessage

func (*Author) ProtoMessage()

func (*Author) Reset

func (m *Author) Reset()

func (*Author) Size

func (m *Author) Size() (n int)

func (*Author) String

func (m *Author) String() string

func (*Author) Unmarshal

func (m *Author) Unmarshal(dAtA []byte) error

type BvcResponseMsg

type BvcResponseMsg struct {
	Code int64                    `protobuf:"varint,1,opt,name=code,proto3,casttype=int64" json:"code"`
	Data map[uint32]*BvcVideoItem `` /* 126-byte string literal not displayed */
}

func (*BvcResponseMsg) Descriptor

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

func (*BvcResponseMsg) GetCode

func (m *BvcResponseMsg) GetCode() int64

func (*BvcResponseMsg) GetData

func (m *BvcResponseMsg) GetData() map[uint32]*BvcVideoItem

func (*BvcResponseMsg) Marshal

func (m *BvcResponseMsg) Marshal() (dAtA []byte, err error)

func (*BvcResponseMsg) MarshalTo

func (m *BvcResponseMsg) MarshalTo(dAtA []byte) (int, error)

func (*BvcResponseMsg) ProtoMessage

func (*BvcResponseMsg) ProtoMessage()

func (*BvcResponseMsg) Reset

func (m *BvcResponseMsg) Reset()

func (*BvcResponseMsg) Size

func (m *BvcResponseMsg) Size() (n int)

func (*BvcResponseMsg) String

func (m *BvcResponseMsg) String() string

func (*BvcResponseMsg) Unmarshal

func (m *BvcResponseMsg) Unmarshal(dAtA []byte) error

type BvcVideoItem

type BvcVideoItem struct {
	ExpireTime         int64                           `protobuf:"varint,1,opt,name=expire_time,json=expireTime,proto3,casttype=int64" json:"expire_time"`
	Cid                int64                           `protobuf:"varint,2,opt,name=cid,proto3,casttype=int64" json:"cid"`
	SupportQuality     []int                           `protobuf:"varint,3,rep,packed,name=support_quality,json=supportQuality,casttype=int" json:"support_quality"`
	SupportFormats     []string                        `protobuf:"bytes,4,rep,name=support_formats,json=supportFormats" json:"support_formats"`
	SupportDescription []string                        `protobuf:"bytes,5,rep,name=support_description,json=supportDescription" json:"support_description"`
	Quality            int                             `protobuf:"varint,6,opt,name=quality,proto3,casttype=int" json:"quality"`
	Url                string                          `protobuf:"bytes,7,opt,name=url,proto3" json:"url"`
	FileInfo           map[uint32]*VideoFormatFileInfo `` /* 150-byte string literal not displayed */
	VideoCodecid       uint32                          `protobuf:"varint,9,opt,name=video_codecid,json=videoCodecid,proto3" json:"video_codecid"`
	VideoProject       bool                            `protobuf:"varint,10,opt,name=video_project,json=videoProject,proto3" json:"video_project"`
	Fnver              int                             `protobuf:"varint,11,opt,name=fnver,proto3,casttype=int" json:"fnver"`
	Fnval              int                             `protobuf:"varint,12,opt,name=fnval,proto3,casttype=int" json:"fnval"`
	Dash               *ResponseDash                   `protobuf:"bytes,13,opt,name=dash" json:"dash"`
}

func (*BvcVideoItem) Descriptor

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

func (*BvcVideoItem) GetCid

func (m *BvcVideoItem) GetCid() int64

func (*BvcVideoItem) GetDash

func (m *BvcVideoItem) GetDash() *ResponseDash

func (*BvcVideoItem) GetExpireTime

func (m *BvcVideoItem) GetExpireTime() int64

func (*BvcVideoItem) GetFileInfo

func (m *BvcVideoItem) GetFileInfo() map[uint32]*VideoFormatFileInfo

func (*BvcVideoItem) GetFnval

func (m *BvcVideoItem) GetFnval() int

func (*BvcVideoItem) GetFnver

func (m *BvcVideoItem) GetFnver() int

func (*BvcVideoItem) GetQuality

func (m *BvcVideoItem) GetQuality() int

func (*BvcVideoItem) GetSupportDescription

func (m *BvcVideoItem) GetSupportDescription() []string

func (*BvcVideoItem) GetSupportFormats

func (m *BvcVideoItem) GetSupportFormats() []string

func (*BvcVideoItem) GetSupportQuality

func (m *BvcVideoItem) GetSupportQuality() []int

func (*BvcVideoItem) GetUrl

func (m *BvcVideoItem) GetUrl() string

func (*BvcVideoItem) GetVideoCodecid

func (m *BvcVideoItem) GetVideoCodecid() uint32

func (*BvcVideoItem) GetVideoProject

func (m *BvcVideoItem) GetVideoProject() bool

func (*BvcVideoItem) Marshal

func (m *BvcVideoItem) Marshal() (dAtA []byte, err error)

func (*BvcVideoItem) MarshalTo

func (m *BvcVideoItem) MarshalTo(dAtA []byte) (int, error)

func (*BvcVideoItem) ProtoMessage

func (*BvcVideoItem) ProtoMessage()

func (*BvcVideoItem) Reset

func (m *BvcVideoItem) Reset()

func (*BvcVideoItem) Size

func (m *BvcVideoItem) Size() (n int)

func (*BvcVideoItem) String

func (m *BvcVideoItem) String() string

func (*BvcVideoItem) Unmarshal

func (m *BvcVideoItem) Unmarshal(dAtA []byte) error

type Click

type Click struct {
	Aid int64 `protobuf:"varint,1,opt,name=Aid,proto3" json:"aid"`
	// web端播放数
	Web int32 `protobuf:"varint,2,opt,name=Web,proto3" json:"web"`
	// iOS端播放数
	Ios int32 `protobuf:"varint,3,opt,name=Ios,proto3" json:"ios"`
	// android端播放数
	Android int32 `protobuf:"varint,4,opt,name=Android,proto3" json:"android"`
	// h5端播放数
	H5 int32 `protobuf:"varint,5,opt,name=H5,proto3" json:"h5"`
	// 站外播放数
	Outter int32 `protobuf:"varint,6,opt,name=Outter,proto3" json:"outter"`
}

Click 点击数详情,老版本播放器使用

func (*Click) Descriptor

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

func (*Click) GetAid

func (m *Click) GetAid() int64

func (*Click) GetAndroid

func (m *Click) GetAndroid() int32

func (*Click) GetH5

func (m *Click) GetH5() int32

func (*Click) GetIos

func (m *Click) GetIos() int32

func (*Click) GetOutter

func (m *Click) GetOutter() int32

func (*Click) GetWeb

func (m *Click) GetWeb() int32

func (*Click) Marshal

func (m *Click) Marshal() (dAtA []byte, err error)

func (*Click) MarshalTo

func (m *Click) MarshalTo(dAtA []byte) (int, error)

func (*Click) ProtoMessage

func (*Click) ProtoMessage()

func (*Click) Reset

func (m *Click) Reset()

func (*Click) Size

func (m *Click) Size() (n int)

func (*Click) String

func (m *Click) String() string

func (*Click) Unmarshal

func (m *Click) Unmarshal(dAtA []byte) error

type ClickReply

type ClickReply struct {
	Click *Click `protobuf:"bytes,1,opt,name=click" json:"click,omitempty"`
}

func (*ClickReply) Descriptor

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

func (*ClickReply) GetClick

func (m *ClickReply) GetClick() *Click

func (*ClickReply) Marshal

func (m *ClickReply) Marshal() (dAtA []byte, err error)

func (*ClickReply) MarshalTo

func (m *ClickReply) MarshalTo(dAtA []byte) (int, error)

func (*ClickReply) ProtoMessage

func (*ClickReply) ProtoMessage()

func (*ClickReply) Reset

func (m *ClickReply) Reset()

func (*ClickReply) Size

func (m *ClickReply) Size() (n int)

func (*ClickReply) String

func (m *ClickReply) String() string

func (*ClickReply) Unmarshal

func (m *ClickReply) Unmarshal(dAtA []byte) error

type ClickRequest

type ClickRequest struct {
	Aid int64 `protobuf:"varint,1,opt,name=aid,proto3" json:"aid,omitempty"`
}

func (*ClickRequest) Descriptor

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

func (*ClickRequest) GetAid

func (m *ClickRequest) GetAid() int64

func (*ClickRequest) Marshal

func (m *ClickRequest) Marshal() (dAtA []byte, err error)

func (*ClickRequest) MarshalTo

func (m *ClickRequest) MarshalTo(dAtA []byte) (int, error)

func (*ClickRequest) ProtoMessage

func (*ClickRequest) ProtoMessage()

func (*ClickRequest) Reset

func (m *ClickRequest) Reset()

func (*ClickRequest) Size

func (m *ClickRequest) Size() (n int)

func (*ClickRequest) String

func (m *ClickRequest) String() string

func (*ClickRequest) Unmarshal

func (m *ClickRequest) Unmarshal(dAtA []byte) error

type DashItem

type DashItem struct {
	Id        int64  `protobuf:"varint,1,opt,name=id,proto3,casttype=int64" json:"id"`
	BaseUrl   string `protobuf:"bytes,2,opt,name=baseUrl,proto3" json:"base_url"`
	Bandwidth int64  `protobuf:"varint,3,opt,name=bandwidth,proto3,casttype=int64" json:"bandwidth"`
	Codecid   int64  `protobuf:"varint,4,opt,name=codecid,proto3,casttype=int64" json:"codecid"`
}

func (*DashItem) Descriptor

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

func (*DashItem) GetBandwidth

func (m *DashItem) GetBandwidth() int64

func (*DashItem) GetBaseUrl

func (m *DashItem) GetBaseUrl() string

func (*DashItem) GetCodecid

func (m *DashItem) GetCodecid() int64

func (*DashItem) GetId

func (m *DashItem) GetId() int64

func (*DashItem) Marshal

func (m *DashItem) Marshal() (dAtA []byte, err error)

func (*DashItem) MarshalTo

func (m *DashItem) MarshalTo(dAtA []byte) (int, error)

func (*DashItem) ProtoMessage

func (*DashItem) ProtoMessage()

func (*DashItem) Reset

func (m *DashItem) Reset()

func (*DashItem) Size

func (m *DashItem) Size() (n int)

func (*DashItem) String

func (m *DashItem) String() string

func (*DashItem) Unmarshal

func (m *DashItem) Unmarshal(dAtA []byte) error

type DelVideoCacheRequest

type DelVideoCacheRequest struct {
	Aid int64 `protobuf:"varint,1,opt,name=aid,proto3" json:"aid,omitempty"`
	Cid int64 `protobuf:"varint,2,opt,name=cid,proto3" json:"cid,omitempty"`
}

func (*DelVideoCacheRequest) Descriptor

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

func (*DelVideoCacheRequest) GetAid

func (m *DelVideoCacheRequest) GetAid() int64

func (*DelVideoCacheRequest) GetCid

func (m *DelVideoCacheRequest) GetCid() int64

func (*DelVideoCacheRequest) Marshal

func (m *DelVideoCacheRequest) Marshal() (dAtA []byte, err error)

func (*DelVideoCacheRequest) MarshalTo

func (m *DelVideoCacheRequest) MarshalTo(dAtA []byte) (int, error)

func (*DelVideoCacheRequest) ProtoMessage

func (*DelVideoCacheRequest) ProtoMessage()

func (*DelVideoCacheRequest) Reset

func (m *DelVideoCacheRequest) Reset()

func (*DelVideoCacheRequest) Size

func (m *DelVideoCacheRequest) Size() (n int)

func (*DelVideoCacheRequest) String

func (m *DelVideoCacheRequest) String() string

func (*DelVideoCacheRequest) Unmarshal

func (m *DelVideoCacheRequest) Unmarshal(dAtA []byte) error

type DescriptionReply

type DescriptionReply struct {
	Desc string `protobuf:"bytes,1,opt,name=desc,proto3" json:"desc,omitempty"`
}

func (*DescriptionReply) Descriptor

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

func (*DescriptionReply) GetDesc

func (m *DescriptionReply) GetDesc() string

func (*DescriptionReply) Marshal

func (m *DescriptionReply) Marshal() (dAtA []byte, err error)

func (*DescriptionReply) MarshalTo

func (m *DescriptionReply) MarshalTo(dAtA []byte) (int, error)

func (*DescriptionReply) ProtoMessage

func (*DescriptionReply) ProtoMessage()

func (*DescriptionReply) Reset

func (m *DescriptionReply) Reset()

func (*DescriptionReply) Size

func (m *DescriptionReply) Size() (n int)

func (*DescriptionReply) String

func (m *DescriptionReply) String() string

func (*DescriptionReply) Unmarshal

func (m *DescriptionReply) Unmarshal(dAtA []byte) error

type DescriptionRequest

type DescriptionRequest struct {
	Aid int64 `protobuf:"varint,1,opt,name=aid,proto3" json:"aid,omitempty"`
}

func (*DescriptionRequest) Descriptor

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

func (*DescriptionRequest) GetAid

func (m *DescriptionRequest) GetAid() int64

func (*DescriptionRequest) Marshal

func (m *DescriptionRequest) Marshal() (dAtA []byte, err error)

func (*DescriptionRequest) MarshalTo

func (m *DescriptionRequest) MarshalTo(dAtA []byte) (int, error)

func (*DescriptionRequest) ProtoMessage

func (*DescriptionRequest) ProtoMessage()

func (*DescriptionRequest) Reset

func (m *DescriptionRequest) Reset()

func (*DescriptionRequest) Size

func (m *DescriptionRequest) Size() (n int)

func (*DescriptionRequest) String

func (m *DescriptionRequest) String() string

func (*DescriptionRequest) Unmarshal

func (m *DescriptionRequest) Unmarshal(dAtA []byte) error

type Dimension

type Dimension struct {
	// 宽 如 1920
	Width int64 `protobuf:"varint,1,opt,name=Width,proto3" json:"width"`
	// 高 如 1080
	Height int64 `protobuf:"varint,2,opt,name=Height,proto3" json:"height"`
	// 是否竖屏 0=否 1=是
	Rotate int64 `protobuf:"varint,3,opt,name=Rotate,proto3" json:"rotate"`
}

Dimension 视频分辨率

func (*Dimension) Descriptor

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

func (*Dimension) GetHeight

func (m *Dimension) GetHeight() int64

func (*Dimension) GetRotate

func (m *Dimension) GetRotate() int64

func (*Dimension) GetWidth

func (m *Dimension) GetWidth() int64

func (*Dimension) Marshal

func (m *Dimension) Marshal() (dAtA []byte, err error)

func (*Dimension) MarshalTo

func (m *Dimension) MarshalTo(dAtA []byte) (int, error)

func (*Dimension) ProtoMessage

func (*Dimension) ProtoMessage()

func (*Dimension) Reset

func (m *Dimension) Reset()

func (*Dimension) Size

func (m *Dimension) Size() (n int)

func (*Dimension) String

func (m *Dimension) String() string

func (*Dimension) Unmarshal

func (m *Dimension) Unmarshal(dAtA []byte) error

type MaxAidReply

type MaxAidReply struct {
	Aid int64 `protobuf:"varint,1,opt,name=aid,proto3" json:"aid,omitempty"`
}

func (*MaxAidReply) Descriptor

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

func (*MaxAidReply) GetAid

func (m *MaxAidReply) GetAid() int64

func (*MaxAidReply) Marshal

func (m *MaxAidReply) Marshal() (dAtA []byte, err error)

func (*MaxAidReply) MarshalTo

func (m *MaxAidReply) MarshalTo(dAtA []byte) (int, error)

func (*MaxAidReply) ProtoMessage

func (*MaxAidReply) ProtoMessage()

func (*MaxAidReply) Reset

func (m *MaxAidReply) Reset()

func (*MaxAidReply) Size

func (m *MaxAidReply) Size() (n int)

func (*MaxAidReply) String

func (m *MaxAidReply) String() string

func (*MaxAidReply) Unmarshal

func (m *MaxAidReply) Unmarshal(dAtA []byte) error

type NoArgRequest

type NoArgRequest struct {
}

NoArgReq

func (*NoArgRequest) Descriptor

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

func (*NoArgRequest) Marshal

func (m *NoArgRequest) Marshal() (dAtA []byte, err error)

func (*NoArgRequest) MarshalTo

func (m *NoArgRequest) MarshalTo(dAtA []byte) (int, error)

func (*NoArgRequest) ProtoMessage

func (*NoArgRequest) ProtoMessage()

func (*NoArgRequest) Reset

func (m *NoArgRequest) Reset()

func (*NoArgRequest) Size

func (m *NoArgRequest) Size() (n int)

func (*NoArgRequest) String

func (m *NoArgRequest) String() string

func (*NoArgRequest) Unmarshal

func (m *NoArgRequest) Unmarshal(dAtA []byte) error

type NoReply

type NoReply struct {
}

NoReply

func (*NoReply) Descriptor

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

func (*NoReply) Marshal

func (m *NoReply) Marshal() (dAtA []byte, err error)

func (*NoReply) MarshalTo

func (m *NoReply) MarshalTo(dAtA []byte) (int, error)

func (*NoReply) ProtoMessage

func (*NoReply) ProtoMessage()

func (*NoReply) Reset

func (m *NoReply) Reset()

func (*NoReply) Size

func (m *NoReply) Size() (n int)

func (*NoReply) String

func (m *NoReply) String() string

func (*NoReply) Unmarshal

func (m *NoReply) Unmarshal(dAtA []byte) error

type Page

type Page struct {
	// 视频的cid
	Cid int64 `protobuf:"varint,1,opt,name=Cid,proto3" json:"cid"`
	// 视频的序号顺序,从小到大
	Page int32 `protobuf:"varint,2,opt,name=Page,proto3" json:"page"`
	// 视频的来源,99%为vupload=B站自己的,少部分为腾讯(qq)、湖南tv(hunan)
	From string `protobuf:"bytes,3,opt,name=From,proto3" json:"from"`
	// 视频的标题
	Part string `protobuf:"bytes,4,opt,name=Part,proto3" json:"part"`
	// 视频的时长 单位=秒
	Duration int64 `protobuf:"varint,5,opt,name=Duration,proto3" json:"duration"`
	// 站外视频才有vid属性
	Vid string `protobuf:"bytes,6,opt,name=Vid,proto3" json:"vid"`
	// 视频的简介,多P视频才可填写简介
	Desc string `protobuf:"bytes,7,opt,name=Desc,proto3" json:"description,omitempty"`
	// 站外视频跳转地址
	WebLink string `protobuf:"bytes,8,opt,name=WebLink,proto3" json:"weblink"`
	// 视频分辨率信息
	Dimension Dimension `protobuf:"bytes,9,opt,name=Dimension" json:"dimension"`
}

Page 分P信息

func (*Page) Descriptor

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

func (*Page) FillDimension

func (v *Page) FillDimension(d string)

FillDimension is

func (*Page) GetCid

func (m *Page) GetCid() int64

func (*Page) GetDesc

func (m *Page) GetDesc() string

func (*Page) GetDimension

func (m *Page) GetDimension() Dimension

func (*Page) GetDuration

func (m *Page) GetDuration() int64

func (*Page) GetFrom

func (m *Page) GetFrom() string

func (*Page) GetPage

func (m *Page) GetPage() int32

func (*Page) GetPart

func (m *Page) GetPart() string

func (*Page) GetVid

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

func (*Page) Marshal

func (m *Page) Marshal() (dAtA []byte, err error)

func (*Page) MarshalTo

func (m *Page) MarshalTo(dAtA []byte) (int, error)

func (*Page) ProtoMessage

func (*Page) ProtoMessage()

func (*Page) Reset

func (m *Page) Reset()

func (*Page) Size

func (m *Page) Size() (n int)

func (*Page) String

func (m *Page) String() string

func (*Page) Unmarshal

func (m *Page) Unmarshal(dAtA []byte) error

type PageReply

type PageReply struct {
	Pages []*Page `protobuf:"bytes,1,rep,name=pages" json:"pages,omitempty"`
}

func (*PageReply) Descriptor

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

func (*PageReply) GetPages

func (m *PageReply) GetPages() []*Page

func (*PageReply) Marshal

func (m *PageReply) Marshal() (dAtA []byte, err error)

func (*PageReply) MarshalTo

func (m *PageReply) MarshalTo(dAtA []byte) (int, error)

func (*PageReply) ProtoMessage

func (*PageReply) ProtoMessage()

func (*PageReply) Reset

func (m *PageReply) Reset()

func (*PageReply) Size

func (m *PageReply) Size() (n int)

func (*PageReply) String

func (m *PageReply) String() string

func (*PageReply) Unmarshal

func (m *PageReply) Unmarshal(dAtA []byte) error

type PageRequest

type PageRequest struct {
	Aid int64 `protobuf:"varint,1,opt,name=aid,proto3" json:"aid,omitempty"`
}

func (*PageRequest) Descriptor

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

func (*PageRequest) GetAid

func (m *PageRequest) GetAid() int64

func (*PageRequest) Marshal

func (m *PageRequest) Marshal() (dAtA []byte, err error)

func (*PageRequest) MarshalTo

func (m *PageRequest) MarshalTo(dAtA []byte) (int, error)

func (*PageRequest) ProtoMessage

func (*PageRequest) ProtoMessage()

func (*PageRequest) Reset

func (m *PageRequest) Reset()

func (*PageRequest) Size

func (m *PageRequest) Size() (n int)

func (*PageRequest) String

func (m *PageRequest) String() string

func (*PageRequest) Unmarshal

func (m *PageRequest) Unmarshal(dAtA []byte) error

type PlayerFileInfo

type PlayerFileInfo struct {
	TimeLength int64  `json:"timelength"`
	FileSize   int64  `json:"filesize"`
	Ahead      string `json:"ahead,omitempty"`
	Vhead      string `json:"vhead,omitempty"`
	URL        string `json:"url,omitempty"`
	Order      int64  `json:"order,omitempty"`
}

PlayerFileInfo is

type PlayerInfo

type PlayerInfo struct {
	Cid                int64                     `json:"cid"`
	ExpireTime         int64                     `json:"expire_time,omitempty"`
	FileInfo           map[int][]*PlayerFileInfo `json:"file_info"`
	SupportQuality     []int                     `json:"support_quality"`
	SupportFormats     []string                  `json:"support_formats"`
	SupportDescription []string                  `json:"support_description"`
	Quality            int                       `json:"quality"`
	URL                string                    `json:"url,omitempty"`
	VideoCodecid       uint32                    `json:"video_codecid"`
	VideoProject       bool                      `json:"video_project"`
	Fnver              int                       `json:"fnver"`
	Fnval              int                       `json:"fnval"`
	Dash               *ResponseDash             `json:"dash,omitempty"`
}

PlayerInfo player info

type RecommendReply

type RecommendReply struct {
	Arcs []*Arc `protobuf:"bytes,1,rep,name=arcs" json:"arcs,omitempty"`
}

func (*RecommendReply) Descriptor

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

func (*RecommendReply) GetArcs

func (m *RecommendReply) GetArcs() []*Arc

func (*RecommendReply) Marshal

func (m *RecommendReply) Marshal() (dAtA []byte, err error)

func (*RecommendReply) MarshalTo

func (m *RecommendReply) MarshalTo(dAtA []byte) (int, error)

func (*RecommendReply) ProtoMessage

func (*RecommendReply) ProtoMessage()

func (*RecommendReply) Reset

func (m *RecommendReply) Reset()

func (*RecommendReply) Size

func (m *RecommendReply) Size() (n int)

func (*RecommendReply) String

func (m *RecommendReply) String() string

func (*RecommendReply) Unmarshal

func (m *RecommendReply) Unmarshal(dAtA []byte) error

type RecommendRequest

type RecommendRequest struct {
	Aid int64 `protobuf:"varint,1,opt,name=aid,proto3" json:"aid,omitempty"`
}

func (*RecommendRequest) Descriptor

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

func (*RecommendRequest) GetAid

func (m *RecommendRequest) GetAid() int64

func (*RecommendRequest) Marshal

func (m *RecommendRequest) Marshal() (dAtA []byte, err error)

func (*RecommendRequest) MarshalTo

func (m *RecommendRequest) MarshalTo(dAtA []byte) (int, error)

func (*RecommendRequest) ProtoMessage

func (*RecommendRequest) ProtoMessage()

func (*RecommendRequest) Reset

func (m *RecommendRequest) Reset()

func (*RecommendRequest) Size

func (m *RecommendRequest) Size() (n int)

func (*RecommendRequest) String

func (m *RecommendRequest) String() string

func (*RecommendRequest) Unmarshal

func (m *RecommendRequest) Unmarshal(dAtA []byte) error

type RegionArc

type RegionArc struct {
	Aid       int64
	Attribute int32
	Copyright int8
	PubDate   time.Time
}

RegionArc RegionArc

func (*RegionArc) AllowShow

func (ra *RegionArc) AllowShow() bool

AllowShow AllowShow

type ResponseDash

type ResponseDash struct {
	Video []*DashItem `protobuf:"bytes,1,rep,name=video" json:"video"`
	Audio []*DashItem `protobuf:"bytes,2,rep,name=audio" json:"audio"`
}

func (*ResponseDash) Descriptor

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

func (*ResponseDash) GetAudio

func (m *ResponseDash) GetAudio() []*DashItem

func (*ResponseDash) GetVideo

func (m *ResponseDash) GetVideo() []*DashItem

func (*ResponseDash) Marshal

func (m *ResponseDash) Marshal() (dAtA []byte, err error)

func (*ResponseDash) MarshalTo

func (m *ResponseDash) MarshalTo(dAtA []byte) (int, error)

func (*ResponseDash) ProtoMessage

func (*ResponseDash) ProtoMessage()

func (*ResponseDash) Reset

func (m *ResponseDash) Reset()

func (*ResponseDash) Size

func (m *ResponseDash) Size() (n int)

func (*ResponseDash) String

func (m *ResponseDash) String() string

func (*ResponseDash) Unmarshal

func (m *ResponseDash) Unmarshal(dAtA []byte) error

type Rights

type Rights struct {
	// 老版是否付费
	Bp int32 `protobuf:"varint,1,opt,name=Bp,proto3" json:"bp"`
	// 是否支持充电 (不可直接使用,网关层请求业务方后才有值)
	Elec int32 `protobuf:"varint,2,opt,name=Elec,proto3" json:"elec"`
	// 是否下载(不可直接使用,网关层请求业务方后才有值)
	Download int32 `protobuf:"varint,3,opt,name=Download,proto3" json:"download"`
	// 是否电影
	Movie int32 `protobuf:"varint,4,opt,name=Movie,proto3" json:"movie"`
	// 是否PGC付费
	Pay int32 `protobuf:"varint,5,opt,name=Pay,proto3" json:"pay"`
	// 无用
	HD5 int32 `protobuf:"varint,6,opt,name=HD5,proto3" json:"hd5"`
	// 是否允许转发
	NoReprint int32 `protobuf:"varint,7,opt,name=NoReprint,proto3" json:"no_reprint"`
	// 是否可以自动播放
	Autoplay int32 `protobuf:"varint,8,opt,name=Autoplay,proto3" json:"autoplay"`
	// 是否UGC付费
	UGCPay int32 `protobuf:"varint,9,opt,name=UGCPay,proto3" json:"ugc_pay"`
	// 是否联合投稿
	IsCooperation int32 `protobuf:"varint,10,opt,name=IsCooperation,proto3" json:"is_cooperation"`
}

Rights 稿件各常用属性 0=否 1=是

func (*Rights) Descriptor

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

func (*Rights) GetAutoplay

func (m *Rights) GetAutoplay() int32

func (*Rights) GetBp

func (m *Rights) GetBp() int32

func (*Rights) GetDownload

func (m *Rights) GetDownload() int32

func (*Rights) GetElec

func (m *Rights) GetElec() int32

func (*Rights) GetHD5

func (m *Rights) GetHD5() int32

func (*Rights) GetIsCooperation

func (m *Rights) GetIsCooperation() int32

func (*Rights) GetMovie

func (m *Rights) GetMovie() int32

func (*Rights) GetNoReprint

func (m *Rights) GetNoReprint() int32

func (*Rights) GetPay

func (m *Rights) GetPay() int32

func (*Rights) GetUGCPay

func (m *Rights) GetUGCPay() int32

func (*Rights) Marshal

func (m *Rights) Marshal() (dAtA []byte, err error)

func (*Rights) MarshalTo

func (m *Rights) MarshalTo(dAtA []byte) (int, error)

func (*Rights) ProtoMessage

func (*Rights) ProtoMessage()

func (*Rights) Reset

func (m *Rights) Reset()

func (*Rights) Size

func (m *Rights) Size() (n int)

func (*Rights) String

func (m *Rights) String() string

func (*Rights) Unmarshal

func (m *Rights) Unmarshal(dAtA []byte) error

type SetStatRequest

type SetStatRequest struct {
	Stat *Stat `protobuf:"bytes,1,opt,name=stat" json:"stat,omitempty"`
}

func (*SetStatRequest) Descriptor

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

func (*SetStatRequest) GetStat

func (m *SetStatRequest) GetStat() *Stat

func (*SetStatRequest) Marshal

func (m *SetStatRequest) Marshal() (dAtA []byte, err error)

func (*SetStatRequest) MarshalTo

func (m *SetStatRequest) MarshalTo(dAtA []byte) (int, error)

func (*SetStatRequest) ProtoMessage

func (*SetStatRequest) ProtoMessage()

func (*SetStatRequest) Reset

func (m *SetStatRequest) Reset()

func (*SetStatRequest) Size

func (m *SetStatRequest) Size() (n int)

func (*SetStatRequest) String

func (m *SetStatRequest) String() string

func (*SetStatRequest) Unmarshal

func (m *SetStatRequest) Unmarshal(dAtA []byte) error

type StaffInfo

type StaffInfo struct {
	// 联合投稿的成员Up主id
	Mid int64 `protobuf:"varint,1,opt,name=Mid,proto3" json:"mid"`
	// 联合投稿的成员角色(如 声优、字幕)
	Title string `protobuf:"bytes,2,opt,name=Title,proto3" json:"title"`
}

func (*StaffInfo) Descriptor

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

func (*StaffInfo) GetMid

func (m *StaffInfo) GetMid() int64

func (*StaffInfo) GetTitle

func (m *StaffInfo) GetTitle() string

func (*StaffInfo) Marshal

func (m *StaffInfo) Marshal() (dAtA []byte, err error)

func (*StaffInfo) MarshalTo

func (m *StaffInfo) MarshalTo(dAtA []byte) (int, error)

func (*StaffInfo) ProtoMessage

func (*StaffInfo) ProtoMessage()

func (*StaffInfo) Reset

func (m *StaffInfo) Reset()

func (*StaffInfo) Size

func (m *StaffInfo) Size() (n int)

func (*StaffInfo) String

func (m *StaffInfo) String() string

func (*StaffInfo) Unmarshal

func (m *StaffInfo) Unmarshal(dAtA []byte) error

type Stat

type Stat struct {
	Aid int64 `protobuf:"varint,1,opt,name=Aid,proto3" json:"aid"`
	// 播放数
	View int32 `protobuf:"varint,2,opt,name=View,proto3" json:"view"`
	// 弹幕数
	Danmaku int32 `protobuf:"varint,3,opt,name=Danmaku,proto3" json:"danmaku"`
	// 评论数
	Reply int32 `protobuf:"varint,4,opt,name=Reply,proto3" json:"reply"`
	// 收藏数
	Fav int32 `protobuf:"varint,5,opt,name=Fav,proto3" json:"favorite"`
	// 投币数
	Coin int32 `protobuf:"varint,6,opt,name=Coin,proto3" json:"coin"`
	// 分享数
	Share int32 `protobuf:"varint,7,opt,name=Share,proto3" json:"share"`
	// 当前排名
	NowRank int32 `protobuf:"varint,8,opt,name=NowRank,proto3" json:"now_rank"`
	// 历史最高排名
	HisRank int32 `protobuf:"varint,9,opt,name=HisRank,proto3" json:"his_rank"`
	// 点赞数
	Like int32 `protobuf:"varint,10,opt,name=Like,proto3" json:"like"`
	// 点踩数 已取消前台展示,现在均返回0
	DisLike int32 `protobuf:"varint,11,opt,name=DisLike,proto3" json:"dislike"`
}

Stat 稿件的所有计数信息

func (*Stat) Descriptor

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

func (*Stat) GetAid

func (m *Stat) GetAid() int64

func (*Stat) GetCoin

func (m *Stat) GetCoin() int32

func (*Stat) GetDanmaku

func (m *Stat) GetDanmaku() int32

func (*Stat) GetDisLike

func (m *Stat) GetDisLike() int32

func (*Stat) GetFav

func (m *Stat) GetFav() int32

func (*Stat) GetHisRank

func (m *Stat) GetHisRank() int32

func (*Stat) GetLike

func (m *Stat) GetLike() int32

func (*Stat) GetNowRank

func (m *Stat) GetNowRank() int32

func (*Stat) GetReply

func (m *Stat) GetReply() int32

func (*Stat) GetShare

func (m *Stat) GetShare() int32

func (*Stat) GetView

func (m *Stat) GetView() int32

func (*Stat) Marshal

func (m *Stat) Marshal() (dAtA []byte, err error)

func (*Stat) MarshalTo

func (m *Stat) MarshalTo(dAtA []byte) (int, error)

func (*Stat) ProtoMessage

func (*Stat) ProtoMessage()

func (*Stat) Reset

func (m *Stat) Reset()

func (*Stat) Size

func (m *Stat) Size() (n int)

func (*Stat) String

func (m *Stat) String() string

func (*Stat) Unmarshal

func (m *Stat) Unmarshal(dAtA []byte) error

type StatReply

type StatReply struct {
	Stat *Stat `protobuf:"bytes,1,opt,name=Stat" json:"Stat,omitempty"`
}

func (*StatReply) Descriptor

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

func (*StatReply) GetStat

func (m *StatReply) GetStat() *Stat

func (*StatReply) Marshal

func (m *StatReply) Marshal() (dAtA []byte, err error)

func (*StatReply) MarshalTo

func (m *StatReply) MarshalTo(dAtA []byte) (int, error)

func (*StatReply) ProtoMessage

func (*StatReply) ProtoMessage()

func (*StatReply) Reset

func (m *StatReply) Reset()

func (*StatReply) Size

func (m *StatReply) Size() (n int)

func (*StatReply) String

func (m *StatReply) String() string

func (*StatReply) Unmarshal

func (m *StatReply) Unmarshal(dAtA []byte) error

type StatRequest

type StatRequest struct {
	Aid int64 `protobuf:"varint,1,opt,name=aid,proto3" json:"aid,omitempty"`
}

func (*StatRequest) Descriptor

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

func (*StatRequest) GetAid

func (m *StatRequest) GetAid() int64

func (*StatRequest) Marshal

func (m *StatRequest) Marshal() (dAtA []byte, err error)

func (*StatRequest) MarshalTo

func (m *StatRequest) MarshalTo(dAtA []byte) (int, error)

func (*StatRequest) ProtoMessage

func (*StatRequest) ProtoMessage()

func (*StatRequest) Reset

func (m *StatRequest) Reset()

func (*StatRequest) Size

func (m *StatRequest) Size() (n int)

func (*StatRequest) String

func (m *StatRequest) String() string

func (*StatRequest) Unmarshal

func (m *StatRequest) Unmarshal(dAtA []byte) error

type StatsReply

type StatsReply struct {
	Stats map[int64]*Stat `` /* 138-byte string literal not displayed */
}

func (*StatsReply) Descriptor

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

func (*StatsReply) GetStats

func (m *StatsReply) GetStats() map[int64]*Stat

func (*StatsReply) Marshal

func (m *StatsReply) Marshal() (dAtA []byte, err error)

func (*StatsReply) MarshalTo

func (m *StatsReply) MarshalTo(dAtA []byte) (int, error)

func (*StatsReply) ProtoMessage

func (*StatsReply) ProtoMessage()

func (*StatsReply) Reset

func (m *StatsReply) Reset()

func (*StatsReply) Size

func (m *StatsReply) Size() (n int)

func (*StatsReply) String

func (m *StatsReply) String() string

func (*StatsReply) Unmarshal

func (m *StatsReply) Unmarshal(dAtA []byte) error

type StatsRequest

type StatsRequest struct {
	Aids []int64 `protobuf:"varint,1,rep,packed,name=aids" json:"aids,omitempty"`
}

func (*StatsRequest) Descriptor

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

func (*StatsRequest) GetAids

func (m *StatsRequest) GetAids() []int64

func (*StatsRequest) Marshal

func (m *StatsRequest) Marshal() (dAtA []byte, err error)

func (*StatsRequest) MarshalTo

func (m *StatsRequest) MarshalTo(dAtA []byte) (int, error)

func (*StatsRequest) ProtoMessage

func (*StatsRequest) ProtoMessage()

func (*StatsRequest) Reset

func (m *StatsRequest) Reset()

func (*StatsRequest) Size

func (m *StatsRequest) Size() (n int)

func (*StatsRequest) String

func (m *StatsRequest) String() string

func (*StatsRequest) Unmarshal

func (m *StatsRequest) Unmarshal(dAtA []byte) error

type Tp

type Tp struct {
	// 分区id
	ID int32 `protobuf:"varint,1,opt,name=ID,proto3" json:"id"`
	// 该分区的父级id
	Pid int32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid"`
	// 该分区对应的名称
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"`
}

func (*Tp) Descriptor

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

func (*Tp) GetID

func (m *Tp) GetID() int32

func (*Tp) GetName

func (m *Tp) GetName() string

func (*Tp) GetPid

func (m *Tp) GetPid() int32

func (*Tp) Marshal

func (m *Tp) Marshal() (dAtA []byte, err error)

func (*Tp) MarshalTo

func (m *Tp) MarshalTo(dAtA []byte) (int, error)

func (*Tp) ProtoMessage

func (*Tp) ProtoMessage()

func (*Tp) Reset

func (m *Tp) Reset()

func (*Tp) Size

func (m *Tp) Size() (n int)

func (*Tp) String

func (m *Tp) String() string

func (*Tp) Unmarshal

func (m *Tp) Unmarshal(dAtA []byte) error

type TypesReply

type TypesReply struct {
	Types map[int32]*Tp `` /* 138-byte string literal not displayed */
}

func (*TypesReply) Descriptor

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

func (*TypesReply) GetTypes

func (m *TypesReply) GetTypes() map[int32]*Tp

func (*TypesReply) Marshal

func (m *TypesReply) Marshal() (dAtA []byte, err error)

func (*TypesReply) MarshalTo

func (m *TypesReply) MarshalTo(dAtA []byte) (int, error)

func (*TypesReply) ProtoMessage

func (*TypesReply) ProtoMessage()

func (*TypesReply) Reset

func (m *TypesReply) Reset()

func (*TypesReply) Size

func (m *TypesReply) Size() (n int)

func (*TypesReply) String

func (m *TypesReply) String() string

func (*TypesReply) Unmarshal

func (m *TypesReply) Unmarshal(dAtA []byte) error

type UpVideoCacheRequest

type UpVideoCacheRequest struct {
	Aid int64 `protobuf:"varint,1,opt,name=aid,proto3" json:"aid,omitempty"`
	Cid int64 `protobuf:"varint,2,opt,name=cid,proto3" json:"cid,omitempty"`
}

func (*UpVideoCacheRequest) Descriptor

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

func (*UpVideoCacheRequest) GetAid

func (m *UpVideoCacheRequest) GetAid() int64

func (*UpVideoCacheRequest) GetCid

func (m *UpVideoCacheRequest) GetCid() int64

func (*UpVideoCacheRequest) Marshal

func (m *UpVideoCacheRequest) Marshal() (dAtA []byte, err error)

func (*UpVideoCacheRequest) MarshalTo

func (m *UpVideoCacheRequest) MarshalTo(dAtA []byte) (int, error)

func (*UpVideoCacheRequest) ProtoMessage

func (*UpVideoCacheRequest) ProtoMessage()

func (*UpVideoCacheRequest) Reset

func (m *UpVideoCacheRequest) Reset()

func (*UpVideoCacheRequest) Size

func (m *UpVideoCacheRequest) Size() (n int)

func (*UpVideoCacheRequest) String

func (m *UpVideoCacheRequest) String() string

func (*UpVideoCacheRequest) Unmarshal

func (m *UpVideoCacheRequest) Unmarshal(dAtA []byte) error

type VideoFileInfo

type VideoFileInfo struct {
	Filesize   int64  `protobuf:"varint,1,opt,name=filesize,proto3,casttype=int64" json:"filesize"`
	Timelength int64  `protobuf:"varint,2,opt,name=timelength,proto3,casttype=int64" json:"timelength"`
	Ahead      string `protobuf:"bytes,3,opt,name=ahead,proto3" json:"ahead"`
	Vhead      string `protobuf:"bytes,4,opt,name=vhead,proto3" json:"vhead"`
}

!!!Note: only response message defined, since we put pb into http response body

func (*VideoFileInfo) Descriptor

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

func (*VideoFileInfo) GetAhead

func (m *VideoFileInfo) GetAhead() string

func (*VideoFileInfo) GetFilesize

func (m *VideoFileInfo) GetFilesize() int64

func (*VideoFileInfo) GetTimelength

func (m *VideoFileInfo) GetTimelength() int64

func (*VideoFileInfo) GetVhead

func (m *VideoFileInfo) GetVhead() string

func (*VideoFileInfo) Marshal

func (m *VideoFileInfo) Marshal() (dAtA []byte, err error)

func (*VideoFileInfo) MarshalTo

func (m *VideoFileInfo) MarshalTo(dAtA []byte) (int, error)

func (*VideoFileInfo) ProtoMessage

func (*VideoFileInfo) ProtoMessage()

func (*VideoFileInfo) Reset

func (m *VideoFileInfo) Reset()

func (*VideoFileInfo) Size

func (m *VideoFileInfo) Size() (n int)

func (*VideoFileInfo) String

func (m *VideoFileInfo) String() string

func (*VideoFileInfo) Unmarshal

func (m *VideoFileInfo) Unmarshal(dAtA []byte) error

type VideoFormatFileInfo

type VideoFormatFileInfo struct {
	Infos []*VideoFileInfo `protobuf:"bytes,1,rep,name=infos" json:"infos"`
}

func (*VideoFormatFileInfo) Descriptor

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

func (*VideoFormatFileInfo) GetInfos

func (m *VideoFormatFileInfo) GetInfos() []*VideoFileInfo

func (*VideoFormatFileInfo) Marshal

func (m *VideoFormatFileInfo) Marshal() (dAtA []byte, err error)

func (*VideoFormatFileInfo) MarshalTo

func (m *VideoFormatFileInfo) MarshalTo(dAtA []byte) (int, error)

func (*VideoFormatFileInfo) ProtoMessage

func (*VideoFormatFileInfo) ProtoMessage()

func (*VideoFormatFileInfo) Reset

func (m *VideoFormatFileInfo) Reset()

func (*VideoFormatFileInfo) Size

func (m *VideoFormatFileInfo) Size() (n int)

func (*VideoFormatFileInfo) String

func (m *VideoFormatFileInfo) String() string

func (*VideoFormatFileInfo) Unmarshal

func (m *VideoFormatFileInfo) Unmarshal(dAtA []byte) error

type VideoReply

type VideoReply struct {
	Page *Page `protobuf:"bytes,1,opt,name=page" json:"page,omitempty"`
}

func (*VideoReply) Descriptor

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

func (*VideoReply) GetPage

func (m *VideoReply) GetPage() *Page

func (*VideoReply) Marshal

func (m *VideoReply) Marshal() (dAtA []byte, err error)

func (*VideoReply) MarshalTo

func (m *VideoReply) MarshalTo(dAtA []byte) (int, error)

func (*VideoReply) ProtoMessage

func (*VideoReply) ProtoMessage()

func (*VideoReply) Reset

func (m *VideoReply) Reset()

func (*VideoReply) Size

func (m *VideoReply) Size() (n int)

func (*VideoReply) String

func (m *VideoReply) String() string

func (*VideoReply) Unmarshal

func (m *VideoReply) Unmarshal(dAtA []byte) error

type VideoRequest

type VideoRequest struct {
	Aid int64 `protobuf:"varint,1,opt,name=aid,proto3" json:"aid,omitempty"`
	Cid int64 `protobuf:"varint,2,opt,name=cid,proto3" json:"cid,omitempty"`
}

func (*VideoRequest) Descriptor

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

func (*VideoRequest) GetAid

func (m *VideoRequest) GetAid() int64

func (*VideoRequest) GetCid

func (m *VideoRequest) GetCid() int64

func (*VideoRequest) Marshal

func (m *VideoRequest) Marshal() (dAtA []byte, err error)

func (*VideoRequest) MarshalTo

func (m *VideoRequest) MarshalTo(dAtA []byte) (int, error)

func (*VideoRequest) ProtoMessage

func (*VideoRequest) ProtoMessage()

func (*VideoRequest) Reset

func (m *VideoRequest) Reset()

func (*VideoRequest) Size

func (m *VideoRequest) Size() (n int)

func (*VideoRequest) String

func (m *VideoRequest) String() string

func (*VideoRequest) Unmarshal

func (m *VideoRequest) Unmarshal(dAtA []byte) error

type ViewReply

type ViewReply struct {
	*Arc  `protobuf:"bytes,1,opt,name=arc,embedded=arc" json:""`
	Pages []*Page `protobuf:"bytes,2,rep,name=pages" json:"pages,omitempty"`
}

func (*ViewReply) Descriptor

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

func (*ViewReply) GetPages

func (m *ViewReply) GetPages() []*Page

func (*ViewReply) Marshal

func (m *ViewReply) Marshal() (dAtA []byte, err error)

func (*ViewReply) MarshalTo

func (m *ViewReply) MarshalTo(dAtA []byte) (int, error)

func (*ViewReply) ProtoMessage

func (*ViewReply) ProtoMessage()

func (*ViewReply) Reset

func (m *ViewReply) Reset()

func (*ViewReply) Size

func (m *ViewReply) Size() (n int)

func (*ViewReply) String

func (m *ViewReply) String() string

func (*ViewReply) Unmarshal

func (m *ViewReply) Unmarshal(dAtA []byte) error

type ViewRequest

type ViewRequest struct {
	Aid int64 `protobuf:"varint,1,opt,name=aid,proto3" json:"aid,omitempty"`
}

func (*ViewRequest) Descriptor

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

func (*ViewRequest) GetAid

func (m *ViewRequest) GetAid() int64

func (*ViewRequest) Marshal

func (m *ViewRequest) Marshal() (dAtA []byte, err error)

func (*ViewRequest) MarshalTo

func (m *ViewRequest) MarshalTo(dAtA []byte) (int, error)

func (*ViewRequest) ProtoMessage

func (*ViewRequest) ProtoMessage()

func (*ViewRequest) Reset

func (m *ViewRequest) Reset()

func (*ViewRequest) Size

func (m *ViewRequest) Size() (n int)

func (*ViewRequest) String

func (m *ViewRequest) String() string

func (*ViewRequest) Unmarshal

func (m *ViewRequest) Unmarshal(dAtA []byte) error

type ViewsReply

type ViewsReply struct {
	Views map[int64]*ViewReply `` /* 138-byte string literal not displayed */
}

func (*ViewsReply) Descriptor

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

func (*ViewsReply) GetViews

func (m *ViewsReply) GetViews() map[int64]*ViewReply

func (*ViewsReply) Marshal

func (m *ViewsReply) Marshal() (dAtA []byte, err error)

func (*ViewsReply) MarshalTo

func (m *ViewsReply) MarshalTo(dAtA []byte) (int, error)

func (*ViewsReply) ProtoMessage

func (*ViewsReply) ProtoMessage()

func (*ViewsReply) Reset

func (m *ViewsReply) Reset()

func (*ViewsReply) Size

func (m *ViewsReply) Size() (n int)

func (*ViewsReply) String

func (m *ViewsReply) String() string

func (*ViewsReply) Unmarshal

func (m *ViewsReply) Unmarshal(dAtA []byte) error

type ViewsRequest

type ViewsRequest struct {
	Aids []int64 `protobuf:"varint,1,rep,packed,name=aids" json:"aids,omitempty"`
}

func (*ViewsRequest) Descriptor

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

func (*ViewsRequest) GetAids

func (m *ViewsRequest) GetAids() []int64

func (*ViewsRequest) Marshal

func (m *ViewsRequest) Marshal() (dAtA []byte, err error)

func (*ViewsRequest) MarshalTo

func (m *ViewsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ViewsRequest) ProtoMessage

func (*ViewsRequest) ProtoMessage()

func (*ViewsRequest) Reset

func (m *ViewsRequest) Reset()

func (*ViewsRequest) Size

func (m *ViewsRequest) Size() (n int)

func (*ViewsRequest) String

func (m *ViewsRequest) String() string

func (*ViewsRequest) Unmarshal

func (m *ViewsRequest) Unmarshal(dAtA []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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