quality

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type Quality

type Quality struct {
	PubTime              uint64   `protobuf:"varint,1,opt,name=pub_time,json=pubTime,proto3" json:"pub_time,omitempty"`
	PlayCnt              uint32   `protobuf:"varint,2,opt,name=play_cnt,json=playCnt,proto3" json:"play_cnt,omitempty"`
	AbsolutePlayCnt      uint32   `protobuf:"varint,3,opt,name=absolute_play_cnt,json=absolutePlayCnt,proto3" json:"absolute_play_cnt,omitempty"`
	FavCnt               uint32   `protobuf:"varint,4,opt,name=fav_cnt,json=favCnt,proto3" json:"fav_cnt,omitempty"`
	LikeCnt              uint32   `protobuf:"varint,5,opt,name=like_cnt,json=likeCnt,proto3" json:"like_cnt,omitempty"`
	CoinCnt              uint32   `protobuf:"varint,6,opt,name=coin_cnt,json=coinCnt,proto3" json:"coin_cnt,omitempty"`
	ShareCnt             uint32   `protobuf:"varint,7,opt,name=share_cnt,json=shareCnt,proto3" json:"share_cnt,omitempty"`
	DanmuCnt             uint32   `protobuf:"varint,8,opt,name=danmu_cnt,json=danmuCnt,proto3" json:"danmu_cnt,omitempty"`
	NegEvalCnt           uint32   `protobuf:"varint,9,opt,name=neg_eval_cnt,json=negEvalCnt,proto3" json:"neg_eval_cnt,omitempty"`
	CommentAddCnt        uint32   `protobuf:"varint,10,opt,name=comment_add_cnt,json=commentAddCnt,proto3" json:"comment_add_cnt,omitempty"`
	CommentLikeCnt       uint32   `protobuf:"varint,11,opt,name=comment_like_cnt,json=commentLikeCnt,proto3" json:"comment_like_cnt,omitempty"`
	CommentReportCnt     uint32   `protobuf:"varint,12,opt,name=comment_report_cnt,json=commentReportCnt,proto3" json:"comment_report_cnt,omitempty"`
	AbsolutePlayRate     float64  `protobuf:"fixed64,13,opt,name=absolute_play_rate,json=absolutePlayRate,proto3" json:"absolute_play_rate,omitempty"`
	LikeRate             float64  `protobuf:"fixed64,14,opt,name=like_rate,json=likeRate,proto3" json:"like_rate,omitempty"`
	ShareRate            float64  `protobuf:"fixed64,15,opt,name=share_rate,json=shareRate,proto3" json:"share_rate,omitempty"`
	ReplyRate            float64  `protobuf:"fixed64,16,opt,name=reply_rate,json=replyRate,proto3" json:"reply_rate,omitempty"`
	ImpCnt               uint32   `protobuf:"varint,17,opt,name=imp_cnt,json=impCnt,proto3" json:"imp_cnt,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

质量

func (*Quality) Descriptor

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

func (*Quality) Marshal

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

func (*Quality) MarshalTo

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

func (*Quality) ProtoMessage

func (*Quality) ProtoMessage()

func (*Quality) Reset

func (m *Quality) Reset()

func (*Quality) Size

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

func (*Quality) String

func (this *Quality) String() string

func (*Quality) Unmarshal

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

func (*Quality) XXX_DiscardUnknown

func (m *Quality) XXX_DiscardUnknown()

func (*Quality) XXX_Marshal

func (m *Quality) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Quality) XXX_Merge

func (dst *Quality) XXX_Merge(src proto.Message)

func (*Quality) XXX_Size

func (m *Quality) XXX_Size() int

func (*Quality) XXX_Unmarshal

func (m *Quality) XXX_Unmarshal(b []byte) error

type VideoQuality

type VideoQuality struct {
	Svid                 string   `protobuf:"bytes,1,opt,name=svid,proto3" json:"svid,omitempty"`
	QualityInfoM         *Quality `protobuf:"bytes,2,opt,name=quality_info_m,json=qualityInfoM" json:"quality_info_m,omitempty"`
	QualityInfoW         *Quality `protobuf:"bytes,3,opt,name=quality_info_w,json=qualityInfoW" json:"quality_info_w,omitempty"`
	QualityInfoH         *Quality `protobuf:"bytes,4,opt,name=quality_info_h,json=qualityInfoH" json:"quality_info_h,omitempty"`
	QualityInfoMsM       *Quality `protobuf:"bytes,5,opt,name=quality_info_ms_m,json=qualityInfoMsM" json:"quality_info_ms_m,omitempty"`
	QualityInfoMsW       *Quality `protobuf:"bytes,6,opt,name=quality_info_ms_w,json=qualityInfoMsW" json:"quality_info_ms_w,omitempty"`
	QualityInfoMsH       *Quality `protobuf:"bytes,7,opt,name=quality_info_ms_h,json=qualityInfoMsH" json:"quality_info_ms_h,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VideoQuality) Descriptor

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

func (*VideoQuality) Marshal

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

func (*VideoQuality) MarshalTo

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

func (*VideoQuality) ProtoMessage

func (*VideoQuality) ProtoMessage()

func (*VideoQuality) Reset

func (m *VideoQuality) Reset()

func (*VideoQuality) Size

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

func (*VideoQuality) String

func (this *VideoQuality) String() string

func (*VideoQuality) Unmarshal

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

func (*VideoQuality) XXX_DiscardUnknown

func (m *VideoQuality) XXX_DiscardUnknown()

func (*VideoQuality) XXX_Marshal

func (m *VideoQuality) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VideoQuality) XXX_Merge

func (dst *VideoQuality) XXX_Merge(src proto.Message)

func (*VideoQuality) XXX_Size

func (m *VideoQuality) XXX_Size() int

func (*VideoQuality) XXX_Unmarshal

func (m *VideoQuality) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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