proto

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 (
	ErrInvalidLengthForwardIndex = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowForwardIndex   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type ForwardIndex

type ForwardIndex struct {
	SVID                 uint64                `protobuf:"varint,1,opt,name=svid,proto3" json:"svid,omitempty"`
	BasicInfo            *VideoInfo            `protobuf:"bytes,2,opt,name=basic_info,json=basicInfo" json:"basic_info,omitempty"`
	VideoQuality         *quality.VideoQuality `protobuf:"bytes,3,opt,name=video_quality,json=videoQuality" json:"video_quality,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ForwardIndex) Descriptor

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

func (*ForwardIndex) Marshal

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

func (*ForwardIndex) MarshalTo

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

func (*ForwardIndex) ProtoMessage

func (*ForwardIndex) ProtoMessage()

func (*ForwardIndex) Reset

func (m *ForwardIndex) Reset()

func (*ForwardIndex) Size

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

func (*ForwardIndex) String

func (this *ForwardIndex) String() string

func (*ForwardIndex) Unmarshal

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

func (*ForwardIndex) XXX_DiscardUnknown

func (m *ForwardIndex) XXX_DiscardUnknown()

func (*ForwardIndex) XXX_Marshal

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

func (*ForwardIndex) XXX_Merge

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

func (*ForwardIndex) XXX_Size

func (m *ForwardIndex) XXX_Size() int

func (*ForwardIndex) XXX_Unmarshal

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

type Tag

type Tag struct {
	TagName              string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	TagType              int32    `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
	TagID                int32    `protobuf:"varint,3,opt,name=ID,proto3" json:"ID,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Tag) Descriptor

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

func (*Tag) Marshal

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

func (*Tag) MarshalTo

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

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) Reset

func (m *Tag) Reset()

func (*Tag) Size

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

func (*Tag) String

func (this *Tag) String() string

func (*Tag) Unmarshal

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

func (*Tag) XXX_DiscardUnknown

func (m *Tag) XXX_DiscardUnknown()

func (*Tag) XXX_Marshal

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

func (*Tag) XXX_Merge

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

func (*Tag) XXX_Size

func (m *Tag) XXX_Size() int

func (*Tag) XXX_Unmarshal

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

type VideoInfo

type VideoInfo struct {
	SVID                 uint64   `protobuf:"varint,1,opt,name=svid,proto3" json:"svid,omitempty"`
	Title                string   `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Content              string   `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	MID                  uint64   `protobuf:"varint,4,opt,name=mid,proto3" json:"mid,omitempty"`
	AVID                 uint64   `protobuf:"varint,5,opt,name=avid,proto3" json:"avid,omitempty"`
	CID                  uint64   `protobuf:"varint,6,opt,name=cid,proto3" json:"cid,omitempty"`
	PubTime              int64    `protobuf:"varint,7,opt,name=pubtime,proto3" json:"pubtime,omitempty"`
	CTime                int64    `protobuf:"varint,8,opt,name=ctime,proto3" json:"ctime,omitempty"`
	MTime                int64    `protobuf:"varint,9,opt,name=mtime,proto3" json:"mtime,omitempty"`
	Duration             uint32   `protobuf:"varint,10,opt,name=duration,proto3" json:"duration,omitempty"`
	State                int32    `protobuf:"varint,11,opt,name=state,proto3" json:"state,omitempty"`
	Tags                 []*Tag   `protobuf:"bytes,12,rep,name=tags" json:"tags,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VideoInfo) Descriptor

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

func (*VideoInfo) Marshal

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

func (*VideoInfo) MarshalTo

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

func (*VideoInfo) ProtoMessage

func (*VideoInfo) ProtoMessage()

func (*VideoInfo) Reset

func (m *VideoInfo) Reset()

func (*VideoInfo) Size

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

func (*VideoInfo) String

func (this *VideoInfo) String() string

func (*VideoInfo) Unmarshal

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

func (*VideoInfo) XXX_DiscardUnknown

func (m *VideoInfo) XXX_DiscardUnknown()

func (*VideoInfo) XXX_Marshal

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

func (*VideoInfo) XXX_Merge

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

func (*VideoInfo) XXX_Size

func (m *VideoInfo) XXX_Size() int

func (*VideoInfo) XXX_Unmarshal

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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