2021-12-05 10:53:33 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
|
|
|
// protoc-gen-go v1.27.1
|
|
|
|
// protoc v3.17.3
|
|
|
|
// source: media_set.proto
|
|
|
|
|
|
|
|
package media_set
|
|
|
|
|
|
|
|
import (
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
durationpb "google.golang.org/protobuf/types/known/durationpb"
|
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
|
|
|
)
|
|
|
|
|
|
|
|
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)
|
|
|
|
)
|
|
|
|
|
2021-12-29 15:38:25 +00:00
|
|
|
type AudioFormat int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
AudioFormat_WAV AudioFormat = 0
|
|
|
|
AudioFormat_MP3 AudioFormat = 1
|
|
|
|
)
|
|
|
|
|
|
|
|
// Enum value maps for AudioFormat.
|
|
|
|
var (
|
|
|
|
AudioFormat_name = map[int32]string{
|
|
|
|
0: "WAV",
|
|
|
|
1: "MP3",
|
|
|
|
}
|
|
|
|
AudioFormat_value = map[string]int32{
|
|
|
|
"WAV": 0,
|
|
|
|
"MP3": 1,
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
func (x AudioFormat) Enum() *AudioFormat {
|
|
|
|
p := new(AudioFormat)
|
|
|
|
*p = x
|
|
|
|
return p
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x AudioFormat) String() string {
|
|
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (AudioFormat) Descriptor() protoreflect.EnumDescriptor {
|
|
|
|
return file_media_set_proto_enumTypes[0].Descriptor()
|
|
|
|
}
|
|
|
|
|
|
|
|
func (AudioFormat) Type() protoreflect.EnumType {
|
|
|
|
return &file_media_set_proto_enumTypes[0]
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x AudioFormat) Number() protoreflect.EnumNumber {
|
|
|
|
return protoreflect.EnumNumber(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use AudioFormat.Descriptor instead.
|
|
|
|
func (AudioFormat) EnumDescriptor() ([]byte, []int) {
|
|
|
|
return file_media_set_proto_rawDescGZIP(), []int{0}
|
|
|
|
}
|
|
|
|
|
2021-12-05 10:53:33 +00:00
|
|
|
type MediaSet struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
YoutubeId string `protobuf:"bytes,2,opt,name=youtube_id,json=youtubeId,proto3" json:"youtube_id,omitempty"`
|
|
|
|
AudioChannels int32 `protobuf:"varint,3,opt,name=audio_channels,json=audioChannels,proto3" json:"audio_channels,omitempty"`
|
|
|
|
AudioApproxFrames int64 `protobuf:"varint,4,opt,name=audio_approx_frames,json=audioApproxFrames,proto3" json:"audio_approx_frames,omitempty"`
|
|
|
|
AudioFrames int64 `protobuf:"varint,5,opt,name=audio_frames,json=audioFrames,proto3" json:"audio_frames,omitempty"`
|
|
|
|
AudioSampleRate int32 `protobuf:"varint,6,opt,name=audio_sample_rate,json=audioSampleRate,proto3" json:"audio_sample_rate,omitempty"`
|
|
|
|
AudioYoutubeItag int32 `protobuf:"varint,7,opt,name=audio_youtube_itag,json=audioYoutubeItag,proto3" json:"audio_youtube_itag,omitempty"`
|
|
|
|
AudioMimeType string `protobuf:"bytes,8,opt,name=audio_mime_type,json=audioMimeType,proto3" json:"audio_mime_type,omitempty"`
|
|
|
|
VideoDuration *durationpb.Duration `protobuf:"bytes,9,opt,name=video_duration,json=videoDuration,proto3" json:"video_duration,omitempty"`
|
|
|
|
VideoYoutubeItag int32 `protobuf:"varint,10,opt,name=video_youtube_itag,json=videoYoutubeItag,proto3" json:"video_youtube_itag,omitempty"`
|
|
|
|
VideoMimeType string `protobuf:"bytes,11,opt,name=video_mime_type,json=videoMimeType,proto3" json:"video_mime_type,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MediaSet) Reset() {
|
|
|
|
*x = MediaSet{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_media_set_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MediaSet) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*MediaSet) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *MediaSet) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_media_set_proto_msgTypes[0]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use MediaSet.ProtoReflect.Descriptor instead.
|
|
|
|
func (*MediaSet) Descriptor() ([]byte, []int) {
|
|
|
|
return file_media_set_proto_rawDescGZIP(), []int{0}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MediaSet) GetId() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Id
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MediaSet) GetYoutubeId() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.YoutubeId
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MediaSet) GetAudioChannels() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.AudioChannels
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MediaSet) GetAudioApproxFrames() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.AudioApproxFrames
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MediaSet) GetAudioFrames() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.AudioFrames
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MediaSet) GetAudioSampleRate() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.AudioSampleRate
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MediaSet) GetAudioYoutubeItag() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.AudioYoutubeItag
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MediaSet) GetAudioMimeType() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.AudioMimeType
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MediaSet) GetVideoDuration() *durationpb.Duration {
|
|
|
|
if x != nil {
|
|
|
|
return x.VideoDuration
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MediaSet) GetVideoYoutubeItag() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.VideoYoutubeItag
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MediaSet) GetVideoMimeType() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.VideoMimeType
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
type GetRequest struct {
|
2021-12-05 10:53:33 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
YoutubeId string `protobuf:"bytes,1,opt,name=youtube_id,json=youtubeId,proto3" json:"youtube_id,omitempty"`
|
2021-12-05 10:53:33 +00:00
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetRequest) Reset() {
|
|
|
|
*x = GetRequest{}
|
2021-12-05 10:53:33 +00:00
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_media_set_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetRequest) String() string {
|
2021-12-05 10:53:33 +00:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (*GetRequest) ProtoMessage() {}
|
2021-12-05 10:53:33 +00:00
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetRequest) ProtoReflect() protoreflect.Message {
|
2021-12-05 10:53:33 +00:00
|
|
|
mi := &file_media_set_proto_msgTypes[1]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
// Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*GetRequest) Descriptor() ([]byte, []int) {
|
2021-12-05 10:53:33 +00:00
|
|
|
return file_media_set_proto_rawDescGZIP(), []int{1}
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetRequest) GetYoutubeId() string {
|
2021-12-05 10:53:33 +00:00
|
|
|
if x != nil {
|
2021-12-17 16:30:53 +00:00
|
|
|
return x.YoutubeId
|
2021-12-05 10:53:33 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
type GetPeaksRequest struct {
|
2021-12-05 10:53:33 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
NumBins int32 `protobuf:"varint,2,opt,name=num_bins,json=numBins,proto3" json:"num_bins,omitempty"`
|
2021-12-05 10:53:33 +00:00
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetPeaksRequest) Reset() {
|
|
|
|
*x = GetPeaksRequest{}
|
2021-12-05 10:53:33 +00:00
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_media_set_proto_msgTypes[2]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetPeaksRequest) String() string {
|
2021-12-05 10:53:33 +00:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (*GetPeaksRequest) ProtoMessage() {}
|
2021-12-05 10:53:33 +00:00
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetPeaksRequest) ProtoReflect() protoreflect.Message {
|
2021-12-05 10:53:33 +00:00
|
|
|
mi := &file_media_set_proto_msgTypes[2]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
// Deprecated: Use GetPeaksRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*GetPeaksRequest) Descriptor() ([]byte, []int) {
|
2021-12-05 10:53:33 +00:00
|
|
|
return file_media_set_proto_rawDescGZIP(), []int{2}
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetPeaksRequest) GetId() string {
|
2021-12-05 10:53:33 +00:00
|
|
|
if x != nil {
|
2021-12-17 16:30:53 +00:00
|
|
|
return x.Id
|
2021-12-05 10:53:33 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetPeaksRequest) GetNumBins() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.NumBins
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetPeaksProgress struct {
|
2021-12-05 10:53:33 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
Peaks []int32 `protobuf:"varint,1,rep,packed,name=peaks,proto3" json:"peaks,omitempty"`
|
|
|
|
PercentComplete float32 `protobuf:"fixed32,2,opt,name=percent_complete,json=percentComplete,proto3" json:"percent_complete,omitempty"`
|
|
|
|
Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
|
2021-12-05 10:53:33 +00:00
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetPeaksProgress) Reset() {
|
|
|
|
*x = GetPeaksProgress{}
|
2021-12-05 10:53:33 +00:00
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_media_set_proto_msgTypes[3]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetPeaksProgress) String() string {
|
2021-12-05 10:53:33 +00:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (*GetPeaksProgress) ProtoMessage() {}
|
2021-12-05 10:53:33 +00:00
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetPeaksProgress) ProtoReflect() protoreflect.Message {
|
2021-12-05 10:53:33 +00:00
|
|
|
mi := &file_media_set_proto_msgTypes[3]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
// Deprecated: Use GetPeaksProgress.ProtoReflect.Descriptor instead.
|
|
|
|
func (*GetPeaksProgress) Descriptor() ([]byte, []int) {
|
2021-12-05 10:53:33 +00:00
|
|
|
return file_media_set_proto_rawDescGZIP(), []int{3}
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetPeaksProgress) GetPeaks() []int32 {
|
2021-12-05 10:53:33 +00:00
|
|
|
if x != nil {
|
2021-12-17 16:30:53 +00:00
|
|
|
return x.Peaks
|
2021-12-05 10:53:33 +00:00
|
|
|
}
|
2021-12-17 16:30:53 +00:00
|
|
|
return nil
|
2021-12-05 10:53:33 +00:00
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetPeaksProgress) GetPercentComplete() float32 {
|
2021-12-05 10:53:33 +00:00
|
|
|
if x != nil {
|
2021-12-17 16:30:53 +00:00
|
|
|
return x.PercentComplete
|
2021-12-05 10:53:33 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetPeaksProgress) GetUrl() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Url
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetPeaksForSegmentRequest struct {
|
2021-12-05 10:53:33 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
NumBins int32 `protobuf:"varint,2,opt,name=num_bins,json=numBins,proto3" json:"num_bins,omitempty"`
|
|
|
|
StartFrame int64 `protobuf:"varint,3,opt,name=start_frame,json=startFrame,proto3" json:"start_frame,omitempty"`
|
|
|
|
EndFrame int64 `protobuf:"varint,4,opt,name=end_frame,json=endFrame,proto3" json:"end_frame,omitempty"`
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetPeaksForSegmentRequest) Reset() {
|
|
|
|
*x = GetPeaksForSegmentRequest{}
|
2021-12-05 10:53:33 +00:00
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_media_set_proto_msgTypes[4]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetPeaksForSegmentRequest) String() string {
|
2021-12-05 10:53:33 +00:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (*GetPeaksForSegmentRequest) ProtoMessage() {}
|
2021-12-05 10:53:33 +00:00
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetPeaksForSegmentRequest) ProtoReflect() protoreflect.Message {
|
2021-12-05 10:53:33 +00:00
|
|
|
mi := &file_media_set_proto_msgTypes[4]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
// Deprecated: Use GetPeaksForSegmentRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*GetPeaksForSegmentRequest) Descriptor() ([]byte, []int) {
|
2021-12-05 10:53:33 +00:00
|
|
|
return file_media_set_proto_rawDescGZIP(), []int{4}
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetPeaksForSegmentRequest) GetId() string {
|
2021-12-05 10:53:33 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.Id
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetPeaksForSegmentRequest) GetNumBins() int32 {
|
2021-12-05 10:53:33 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.NumBins
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetPeaksForSegmentRequest) GetStartFrame() int64 {
|
2021-12-05 10:53:33 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.StartFrame
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetPeaksForSegmentRequest) GetEndFrame() int64 {
|
2021-12-05 10:53:33 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.EndFrame
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
type GetPeaksForSegmentResponse struct {
|
2021-12-05 10:53:33 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Peaks []int32 `protobuf:"varint,1,rep,packed,name=peaks,proto3" json:"peaks,omitempty"`
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetPeaksForSegmentResponse) Reset() {
|
|
|
|
*x = GetPeaksForSegmentResponse{}
|
2021-12-05 10:53:33 +00:00
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_media_set_proto_msgTypes[5]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetPeaksForSegmentResponse) String() string {
|
2021-12-05 10:53:33 +00:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (*GetPeaksForSegmentResponse) ProtoMessage() {}
|
2021-12-05 10:53:33 +00:00
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetPeaksForSegmentResponse) ProtoReflect() protoreflect.Message {
|
2021-12-05 10:53:33 +00:00
|
|
|
mi := &file_media_set_proto_msgTypes[5]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
// Deprecated: Use GetPeaksForSegmentResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*GetPeaksForSegmentResponse) Descriptor() ([]byte, []int) {
|
2021-12-05 10:53:33 +00:00
|
|
|
return file_media_set_proto_rawDescGZIP(), []int{5}
|
|
|
|
}
|
|
|
|
|
2021-12-17 16:30:53 +00:00
|
|
|
func (x *GetPeaksForSegmentResponse) GetPeaks() []int32 {
|
2021-12-05 10:53:33 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.Peaks
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-12-29 15:38:25 +00:00
|
|
|
type GetAudioSegmentRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
StartFrame int64 `protobuf:"varint,2,opt,name=start_frame,json=startFrame,proto3" json:"start_frame,omitempty"`
|
|
|
|
EndFrame int64 `protobuf:"varint,3,opt,name=end_frame,json=endFrame,proto3" json:"end_frame,omitempty"`
|
|
|
|
Format AudioFormat `protobuf:"varint,4,opt,name=format,proto3,enum=media_set.AudioFormat" json:"format,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetAudioSegmentRequest) Reset() {
|
|
|
|
*x = GetAudioSegmentRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_media_set_proto_msgTypes[6]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetAudioSegmentRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*GetAudioSegmentRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *GetAudioSegmentRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_media_set_proto_msgTypes[6]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use GetAudioSegmentRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*GetAudioSegmentRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return file_media_set_proto_rawDescGZIP(), []int{6}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetAudioSegmentRequest) GetId() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Id
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetAudioSegmentRequest) GetStartFrame() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.StartFrame
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetAudioSegmentRequest) GetEndFrame() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.EndFrame
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetAudioSegmentRequest) GetFormat() AudioFormat {
|
|
|
|
if x != nil {
|
|
|
|
return x.Format
|
|
|
|
}
|
|
|
|
return AudioFormat_WAV
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetAudioSegmentProgress struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
|
|
|
|
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
|
|
|
PercentComplete float32 `protobuf:"fixed32,3,opt,name=percent_complete,json=percentComplete,proto3" json:"percent_complete,omitempty"`
|
|
|
|
AudioData []byte `protobuf:"bytes,4,opt,name=audio_data,json=audioData,proto3" json:"audio_data,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetAudioSegmentProgress) Reset() {
|
|
|
|
*x = GetAudioSegmentProgress{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_media_set_proto_msgTypes[7]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetAudioSegmentProgress) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*GetAudioSegmentProgress) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *GetAudioSegmentProgress) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_media_set_proto_msgTypes[7]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use GetAudioSegmentProgress.ProtoReflect.Descriptor instead.
|
|
|
|
func (*GetAudioSegmentProgress) Descriptor() ([]byte, []int) {
|
|
|
|
return file_media_set_proto_rawDescGZIP(), []int{7}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetAudioSegmentProgress) GetMimeType() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.MimeType
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetAudioSegmentProgress) GetMessage() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Message
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetAudioSegmentProgress) GetPercentComplete() float32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.PercentComplete
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetAudioSegmentProgress) GetAudioData() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.AudioData
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-12-05 10:53:33 +00:00
|
|
|
type GetVideoRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetVideoRequest) Reset() {
|
|
|
|
*x = GetVideoRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-12-29 15:38:25 +00:00
|
|
|
mi := &file_media_set_proto_msgTypes[8]
|
2021-12-05 10:53:33 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetVideoRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*GetVideoRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *GetVideoRequest) ProtoReflect() protoreflect.Message {
|
2021-12-29 15:38:25 +00:00
|
|
|
mi := &file_media_set_proto_msgTypes[8]
|
2021-12-05 10:53:33 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use GetVideoRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*GetVideoRequest) Descriptor() ([]byte, []int) {
|
2021-12-29 15:38:25 +00:00
|
|
|
return file_media_set_proto_rawDescGZIP(), []int{8}
|
2021-12-05 10:53:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetVideoRequest) GetId() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Id
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetVideoProgress struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
PercentComplete float32 `protobuf:"fixed32,1,opt,name=percent_complete,json=percentComplete,proto3" json:"percent_complete,omitempty"`
|
|
|
|
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetVideoProgress) Reset() {
|
|
|
|
*x = GetVideoProgress{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-12-29 15:38:25 +00:00
|
|
|
mi := &file_media_set_proto_msgTypes[9]
|
2021-12-05 10:53:33 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetVideoProgress) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*GetVideoProgress) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *GetVideoProgress) ProtoReflect() protoreflect.Message {
|
2021-12-29 15:38:25 +00:00
|
|
|
mi := &file_media_set_proto_msgTypes[9]
|
2021-12-05 10:53:33 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use GetVideoProgress.ProtoReflect.Descriptor instead.
|
|
|
|
func (*GetVideoProgress) Descriptor() ([]byte, []int) {
|
2021-12-29 15:38:25 +00:00
|
|
|
return file_media_set_proto_rawDescGZIP(), []int{9}
|
2021-12-05 10:53:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetVideoProgress) GetPercentComplete() float32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.PercentComplete
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetVideoProgress) GetUrl() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Url
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetVideoThumbnailRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetVideoThumbnailRequest) Reset() {
|
|
|
|
*x = GetVideoThumbnailRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-12-29 15:38:25 +00:00
|
|
|
mi := &file_media_set_proto_msgTypes[10]
|
2021-12-05 10:53:33 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetVideoThumbnailRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*GetVideoThumbnailRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *GetVideoThumbnailRequest) ProtoReflect() protoreflect.Message {
|
2021-12-29 15:38:25 +00:00
|
|
|
mi := &file_media_set_proto_msgTypes[10]
|
2021-12-05 10:53:33 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use GetVideoThumbnailRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*GetVideoThumbnailRequest) Descriptor() ([]byte, []int) {
|
2021-12-29 15:38:25 +00:00
|
|
|
return file_media_set_proto_rawDescGZIP(), []int{10}
|
2021-12-05 10:53:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetVideoThumbnailRequest) GetId() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Id
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type GetVideoThumbnailResponse struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Image []byte `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
|
|
|
|
Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"`
|
|
|
|
Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetVideoThumbnailResponse) Reset() {
|
|
|
|
*x = GetVideoThumbnailResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2021-12-29 15:38:25 +00:00
|
|
|
mi := &file_media_set_proto_msgTypes[11]
|
2021-12-05 10:53:33 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetVideoThumbnailResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*GetVideoThumbnailResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *GetVideoThumbnailResponse) ProtoReflect() protoreflect.Message {
|
2021-12-29 15:38:25 +00:00
|
|
|
mi := &file_media_set_proto_msgTypes[11]
|
2021-12-05 10:53:33 +00:00
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use GetVideoThumbnailResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*GetVideoThumbnailResponse) Descriptor() ([]byte, []int) {
|
2021-12-29 15:38:25 +00:00
|
|
|
return file_media_set_proto_rawDescGZIP(), []int{11}
|
2021-12-05 10:53:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetVideoThumbnailResponse) GetImage() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.Image
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetVideoThumbnailResponse) GetWidth() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Width
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *GetVideoThumbnailResponse) GetHeight() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Height
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
var File_media_set_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
var file_media_set_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x0f, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x73, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
|
|
0x6f, 0x12, 0x09, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x73, 0x65, 0x74, 0x1a, 0x1e, 0x67, 0x6f,
|
|
|
|
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75,
|
|
|
|
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcd, 0x03, 0x0a,
|
|
|
|
0x08, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x53, 0x65, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x79, 0x6f, 0x75,
|
|
|
|
0x74, 0x75, 0x62, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x79,
|
|
|
|
0x6f, 0x75, 0x74, 0x75, 0x62, 0x65, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x75, 0x64, 0x69,
|
|
|
|
0x6f, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
|
|
|
|
0x52, 0x0d, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x12,
|
|
|
|
0x2e, 0x0a, 0x13, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x61, 0x70, 0x70, 0x72, 0x6f, 0x78, 0x5f,
|
|
|
|
0x66, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x61, 0x75,
|
|
|
|
0x64, 0x69, 0x6f, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x78, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x12,
|
|
|
|
0x21, 0x0a, 0x0c, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x73, 0x18,
|
|
|
|
0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x46, 0x72, 0x61, 0x6d,
|
|
|
|
0x65, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x73, 0x61, 0x6d, 0x70,
|
|
|
|
0x6c, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x61,
|
|
|
|
0x75, 0x64, 0x69, 0x6f, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x2c,
|
|
|
|
0x0a, 0x12, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x79, 0x6f, 0x75, 0x74, 0x75, 0x62, 0x65, 0x5f,
|
|
|
|
0x69, 0x74, 0x61, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x61, 0x75, 0x64, 0x69,
|
|
|
|
0x6f, 0x59, 0x6f, 0x75, 0x74, 0x75, 0x62, 0x65, 0x49, 0x74, 0x61, 0x67, 0x12, 0x26, 0x0a, 0x0f,
|
|
|
|
0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
|
|
|
|
0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x4d, 0x69, 0x6d, 0x65,
|
|
|
|
0x54, 0x79, 0x70, 0x65, 0x12, 0x40, 0x0a, 0x0e, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x64, 0x75,
|
|
|
|
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67,
|
|
|
|
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44,
|
|
|
|
0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x44, 0x75,
|
|
|
|
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f,
|
|
|
|
0x79, 0x6f, 0x75, 0x74, 0x75, 0x62, 0x65, 0x5f, 0x69, 0x74, 0x61, 0x67, 0x18, 0x0a, 0x20, 0x01,
|
|
|
|
0x28, 0x05, 0x52, 0x10, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x59, 0x6f, 0x75, 0x74, 0x75, 0x62, 0x65,
|
|
|
|
0x49, 0x74, 0x61, 0x67, 0x12, 0x26, 0x0a, 0x0f, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x5f, 0x6d, 0x69,
|
|
|
|
0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x76,
|
2021-12-17 16:30:53 +00:00
|
|
|
0x69, 0x64, 0x65, 0x6f, 0x4d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x2b, 0x0a, 0x0a,
|
|
|
|
0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x79, 0x6f,
|
|
|
|
0x75, 0x74, 0x75, 0x62, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
|
|
|
|
0x79, 0x6f, 0x75, 0x74, 0x75, 0x62, 0x65, 0x49, 0x64, 0x22, 0x3c, 0x0a, 0x0f, 0x47, 0x65, 0x74,
|
|
|
|
0x50, 0x65, 0x61, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02,
|
|
|
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08,
|
|
|
|
0x6e, 0x75, 0x6d, 0x5f, 0x62, 0x69, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07,
|
|
|
|
0x6e, 0x75, 0x6d, 0x42, 0x69, 0x6e, 0x73, 0x22, 0x65, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x50, 0x65,
|
|
|
|
0x61, 0x6b, 0x73, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x70,
|
|
|
|
0x65, 0x61, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x70, 0x65, 0x61, 0x6b,
|
|
|
|
0x73, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x6f, 0x6d,
|
|
|
|
0x70, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0f, 0x70, 0x65, 0x72,
|
|
|
|
0x63, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03,
|
|
|
|
0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x84,
|
|
|
|
0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x50, 0x65, 0x61, 0x6b, 0x73, 0x46, 0x6f, 0x72, 0x53, 0x65,
|
|
|
|
0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02,
|
|
|
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08,
|
|
|
|
0x6e, 0x75, 0x6d, 0x5f, 0x62, 0x69, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07,
|
|
|
|
0x6e, 0x75, 0x6d, 0x42, 0x69, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74,
|
|
|
|
0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x73, 0x74,
|
|
|
|
0x61, 0x72, 0x74, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x5f,
|
|
|
|
0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x65, 0x6e, 0x64,
|
|
|
|
0x46, 0x72, 0x61, 0x6d, 0x65, 0x22, 0x32, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50, 0x65, 0x61, 0x6b,
|
|
|
|
0x73, 0x46, 0x6f, 0x72, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
|
|
0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x65, 0x61, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03,
|
2021-12-29 15:38:25 +00:00
|
|
|
0x28, 0x05, 0x52, 0x05, 0x70, 0x65, 0x61, 0x6b, 0x73, 0x22, 0x96, 0x01, 0x0a, 0x16, 0x47, 0x65,
|
|
|
|
0x74, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71,
|
|
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
0x52, 0x02, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x66, 0x72,
|
|
|
|
0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74,
|
|
|
|
0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x5f, 0x66, 0x72, 0x61,
|
|
|
|
0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x46, 0x72, 0x61,
|
|
|
|
0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01,
|
|
|
|
0x28, 0x0e, 0x32, 0x16, 0x2e, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x73, 0x65, 0x74, 0x2e, 0x41,
|
|
|
|
0x75, 0x64, 0x69, 0x6f, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d,
|
|
|
|
0x61, 0x74, 0x22, 0x9a, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x53,
|
|
|
|
0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b,
|
|
|
|
0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
0x09, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d,
|
|
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65,
|
|
|
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74,
|
|
|
|
0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52,
|
|
|
|
0x0f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65,
|
|
|
|
0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04,
|
|
|
|
0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x61, 0x75, 0x64, 0x69, 0x6f, 0x44, 0x61, 0x74, 0x61, 0x22,
|
|
|
|
0x21, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
|
|
|
|
0x69, 0x64, 0x22, 0x4f, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x50, 0x72,
|
|
|
|
0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e,
|
|
|
|
0x74, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02,
|
|
|
|
0x52, 0x0f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74,
|
|
|
|
0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
|
|
|
|
0x75, 0x72, 0x6c, 0x22, 0x2a, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x54,
|
|
|
|
0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
|
0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22,
|
|
|
|
0x5f, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x54, 0x68, 0x75, 0x6d, 0x62,
|
|
|
|
0x6e, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05,
|
|
|
|
0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x69, 0x6d, 0x61,
|
|
|
|
0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
|
0x05, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67,
|
|
|
|
0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74,
|
|
|
|
0x2a, 0x1f, 0x0a, 0x0b, 0x41, 0x75, 0x64, 0x69, 0x6f, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12,
|
|
|
|
0x07, 0x0a, 0x03, 0x57, 0x41, 0x56, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4d, 0x50, 0x33, 0x10,
|
|
|
|
0x01, 0x32, 0xfd, 0x03, 0x0a, 0x0f, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x53, 0x65, 0x74, 0x53, 0x65,
|
|
|
|
0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x15, 0x2e, 0x6d,
|
|
|
|
0x65, 0x64, 0x69, 0x61, 0x5f, 0x73, 0x65, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75,
|
|
|
|
0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x73, 0x65, 0x74, 0x2e,
|
|
|
|
0x4d, 0x65, 0x64, 0x69, 0x61, 0x53, 0x65, 0x74, 0x22, 0x00, 0x12, 0x47, 0x0a, 0x08, 0x47, 0x65,
|
|
|
|
0x74, 0x50, 0x65, 0x61, 0x6b, 0x73, 0x12, 0x1a, 0x2e, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x73,
|
|
|
|
0x65, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x61, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x73, 0x65, 0x74, 0x2e, 0x47,
|
|
|
|
0x65, 0x74, 0x50, 0x65, 0x61, 0x6b, 0x73, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22,
|
|
|
|
0x00, 0x30, 0x01, 0x12, 0x63, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x50, 0x65, 0x61, 0x6b, 0x73, 0x46,
|
|
|
|
0x6f, 0x72, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x24, 0x2e, 0x6d, 0x65, 0x64, 0x69,
|
|
|
|
0x61, 0x5f, 0x73, 0x65, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x61, 0x6b, 0x73, 0x46, 0x6f,
|
|
|
|
0x72, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
|
|
0x25, 0x2e, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x73, 0x65, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x50,
|
|
|
|
0x65, 0x61, 0x6b, 0x73, 0x46, 0x6f, 0x72, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65,
|
|
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5c, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x41,
|
|
|
|
0x75, 0x64, 0x69, 0x6f, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x2e, 0x6d, 0x65,
|
|
|
|
0x64, 0x69, 0x61, 0x5f, 0x73, 0x65, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x75, 0x64, 0x69, 0x6f,
|
|
|
|
0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22,
|
|
|
|
0x2e, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x73, 0x65, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x75,
|
|
|
|
0x64, 0x69, 0x6f, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65,
|
|
|
|
0x73, 0x73, 0x22, 0x00, 0x30, 0x01, 0x12, 0x47, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x56, 0x69, 0x64,
|
|
|
|
0x65, 0x6f, 0x12, 0x1a, 0x2e, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x73, 0x65, 0x74, 0x2e, 0x47,
|
|
|
|
0x65, 0x74, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b,
|
|
|
|
0x2e, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x73, 0x65, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x69,
|
|
|
|
0x64, 0x65, 0x6f, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x00, 0x30, 0x01, 0x12,
|
|
|
|
0x60, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x54, 0x68, 0x75, 0x6d, 0x62,
|
|
|
|
0x6e, 0x61, 0x69, 0x6c, 0x12, 0x23, 0x2e, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x73, 0x65, 0x74,
|
2021-12-17 16:30:53 +00:00
|
|
|
0x2e, 0x47, 0x65, 0x74, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61,
|
2021-12-29 15:38:25 +00:00
|
|
|
0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6d, 0x65, 0x64, 0x69,
|
|
|
|
0x61, 0x5f, 0x73, 0x65, 0x74, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x54, 0x68,
|
|
|
|
0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
|
|
|
|
0x00, 0x42, 0x0e, 0x5a, 0x0c, 0x70, 0x62, 0x2f, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x73, 0x65,
|
|
|
|
0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
2021-12-05 10:53:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
|
|
file_media_set_proto_rawDescOnce sync.Once
|
|
|
|
file_media_set_proto_rawDescData = file_media_set_proto_rawDesc
|
|
|
|
)
|
|
|
|
|
|
|
|
func file_media_set_proto_rawDescGZIP() []byte {
|
|
|
|
file_media_set_proto_rawDescOnce.Do(func() {
|
|
|
|
file_media_set_proto_rawDescData = protoimpl.X.CompressGZIP(file_media_set_proto_rawDescData)
|
|
|
|
})
|
|
|
|
return file_media_set_proto_rawDescData
|
|
|
|
}
|
|
|
|
|
2021-12-29 15:38:25 +00:00
|
|
|
var file_media_set_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
|
|
var file_media_set_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
2021-12-05 10:53:33 +00:00
|
|
|
var file_media_set_proto_goTypes = []interface{}{
|
2021-12-29 15:38:25 +00:00
|
|
|
(AudioFormat)(0), // 0: media_set.AudioFormat
|
|
|
|
(*MediaSet)(nil), // 1: media_set.MediaSet
|
|
|
|
(*GetRequest)(nil), // 2: media_set.GetRequest
|
|
|
|
(*GetPeaksRequest)(nil), // 3: media_set.GetPeaksRequest
|
|
|
|
(*GetPeaksProgress)(nil), // 4: media_set.GetPeaksProgress
|
|
|
|
(*GetPeaksForSegmentRequest)(nil), // 5: media_set.GetPeaksForSegmentRequest
|
|
|
|
(*GetPeaksForSegmentResponse)(nil), // 6: media_set.GetPeaksForSegmentResponse
|
|
|
|
(*GetAudioSegmentRequest)(nil), // 7: media_set.GetAudioSegmentRequest
|
|
|
|
(*GetAudioSegmentProgress)(nil), // 8: media_set.GetAudioSegmentProgress
|
|
|
|
(*GetVideoRequest)(nil), // 9: media_set.GetVideoRequest
|
|
|
|
(*GetVideoProgress)(nil), // 10: media_set.GetVideoProgress
|
|
|
|
(*GetVideoThumbnailRequest)(nil), // 11: media_set.GetVideoThumbnailRequest
|
|
|
|
(*GetVideoThumbnailResponse)(nil), // 12: media_set.GetVideoThumbnailResponse
|
|
|
|
(*durationpb.Duration)(nil), // 13: google.protobuf.Duration
|
2021-12-05 10:53:33 +00:00
|
|
|
}
|
|
|
|
var file_media_set_proto_depIdxs = []int32{
|
2021-12-29 15:38:25 +00:00
|
|
|
13, // 0: media_set.MediaSet.video_duration:type_name -> google.protobuf.Duration
|
|
|
|
0, // 1: media_set.GetAudioSegmentRequest.format:type_name -> media_set.AudioFormat
|
|
|
|
2, // 2: media_set.MediaSetService.Get:input_type -> media_set.GetRequest
|
|
|
|
3, // 3: media_set.MediaSetService.GetPeaks:input_type -> media_set.GetPeaksRequest
|
|
|
|
5, // 4: media_set.MediaSetService.GetPeaksForSegment:input_type -> media_set.GetPeaksForSegmentRequest
|
|
|
|
7, // 5: media_set.MediaSetService.GetAudioSegment:input_type -> media_set.GetAudioSegmentRequest
|
|
|
|
9, // 6: media_set.MediaSetService.GetVideo:input_type -> media_set.GetVideoRequest
|
|
|
|
11, // 7: media_set.MediaSetService.GetVideoThumbnail:input_type -> media_set.GetVideoThumbnailRequest
|
|
|
|
1, // 8: media_set.MediaSetService.Get:output_type -> media_set.MediaSet
|
|
|
|
4, // 9: media_set.MediaSetService.GetPeaks:output_type -> media_set.GetPeaksProgress
|
|
|
|
6, // 10: media_set.MediaSetService.GetPeaksForSegment:output_type -> media_set.GetPeaksForSegmentResponse
|
|
|
|
8, // 11: media_set.MediaSetService.GetAudioSegment:output_type -> media_set.GetAudioSegmentProgress
|
|
|
|
10, // 12: media_set.MediaSetService.GetVideo:output_type -> media_set.GetVideoProgress
|
|
|
|
12, // 13: media_set.MediaSetService.GetVideoThumbnail:output_type -> media_set.GetVideoThumbnailResponse
|
|
|
|
8, // [8:14] is the sub-list for method output_type
|
|
|
|
2, // [2:8] is the sub-list for method input_type
|
|
|
|
2, // [2:2] is the sub-list for extension type_name
|
|
|
|
2, // [2:2] is the sub-list for extension extendee
|
|
|
|
0, // [0:2] is the sub-list for field type_name
|
2021-12-05 10:53:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { file_media_set_proto_init() }
|
|
|
|
func file_media_set_proto_init() {
|
|
|
|
if File_media_set_proto != nil {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
file_media_set_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*MediaSet); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_media_set_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
2021-12-17 16:30:53 +00:00
|
|
|
switch v := v.(*GetRequest); i {
|
2021-12-05 10:53:33 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_media_set_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
2021-12-17 16:30:53 +00:00
|
|
|
switch v := v.(*GetPeaksRequest); i {
|
2021-12-05 10:53:33 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_media_set_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
2021-12-17 16:30:53 +00:00
|
|
|
switch v := v.(*GetPeaksProgress); i {
|
2021-12-05 10:53:33 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_media_set_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
2021-12-17 16:30:53 +00:00
|
|
|
switch v := v.(*GetPeaksForSegmentRequest); i {
|
2021-12-05 10:53:33 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_media_set_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
2021-12-17 16:30:53 +00:00
|
|
|
switch v := v.(*GetPeaksForSegmentResponse); i {
|
2021-12-05 10:53:33 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_media_set_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
2021-12-29 15:38:25 +00:00
|
|
|
switch v := v.(*GetAudioSegmentRequest); i {
|
2021-12-05 10:53:33 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_media_set_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
2021-12-29 15:38:25 +00:00
|
|
|
switch v := v.(*GetAudioSegmentProgress); i {
|
2021-12-05 10:53:33 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_media_set_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
2021-12-29 15:38:25 +00:00
|
|
|
switch v := v.(*GetVideoRequest); i {
|
2021-12-05 10:53:33 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_media_set_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
2021-12-29 15:38:25 +00:00
|
|
|
switch v := v.(*GetVideoProgress); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_media_set_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*GetVideoThumbnailRequest); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_media_set_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
2021-12-05 10:53:33 +00:00
|
|
|
switch v := v.(*GetVideoThumbnailResponse); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
RawDescriptor: file_media_set_proto_rawDesc,
|
2021-12-29 15:38:25 +00:00
|
|
|
NumEnums: 1,
|
|
|
|
NumMessages: 12,
|
2021-12-05 10:53:33 +00:00
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 1,
|
|
|
|
},
|
|
|
|
GoTypes: file_media_set_proto_goTypes,
|
|
|
|
DependencyIndexes: file_media_set_proto_depIdxs,
|
2021-12-29 15:38:25 +00:00
|
|
|
EnumInfos: file_media_set_proto_enumTypes,
|
2021-12-05 10:53:33 +00:00
|
|
|
MessageInfos: file_media_set_proto_msgTypes,
|
|
|
|
}.Build()
|
|
|
|
File_media_set_proto = out.File
|
|
|
|
file_media_set_proto_rawDesc = nil
|
|
|
|
file_media_set_proto_goTypes = nil
|
|
|
|
file_media_set_proto_depIdxs = nil
|
|
|
|
}
|