567 lines
21 KiB
Go
567 lines
21 KiB
Go
// Extracted from: Spotify 1.1.33.569 (Windows)
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.1
|
|
// protoc v3.21.12
|
|
// source: playlist_annotate3.proto
|
|
|
|
package proto
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
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)
|
|
)
|
|
|
|
type RenderFeatures int32
|
|
|
|
const (
|
|
RenderFeatures_NORMAL_FEATURES RenderFeatures = 1
|
|
RenderFeatures_EXTENDED_FEATURES RenderFeatures = 2
|
|
)
|
|
|
|
// Enum value maps for RenderFeatures.
|
|
var (
|
|
RenderFeatures_name = map[int32]string{
|
|
1: "NORMAL_FEATURES",
|
|
2: "EXTENDED_FEATURES",
|
|
}
|
|
RenderFeatures_value = map[string]int32{
|
|
"NORMAL_FEATURES": 1,
|
|
"EXTENDED_FEATURES": 2,
|
|
}
|
|
)
|
|
|
|
func (x RenderFeatures) Enum() *RenderFeatures {
|
|
p := new(RenderFeatures)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x RenderFeatures) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (RenderFeatures) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_playlist_annotate3_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (RenderFeatures) Type() protoreflect.EnumType {
|
|
return &file_playlist_annotate3_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x RenderFeatures) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Do not use.
|
|
func (x *RenderFeatures) UnmarshalJSON(b []byte) error {
|
|
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
|
if err != nil {
|
|
return err
|
|
}
|
|
*x = RenderFeatures(num)
|
|
return nil
|
|
}
|
|
|
|
// Deprecated: Use RenderFeatures.Descriptor instead.
|
|
func (RenderFeatures) EnumDescriptor() ([]byte, []int) {
|
|
return file_playlist_annotate3_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type AbuseReportState int32
|
|
|
|
const (
|
|
AbuseReportState_OK AbuseReportState = 0
|
|
AbuseReportState_TAKEN_DOWN AbuseReportState = 1
|
|
)
|
|
|
|
// Enum value maps for AbuseReportState.
|
|
var (
|
|
AbuseReportState_name = map[int32]string{
|
|
0: "OK",
|
|
1: "TAKEN_DOWN",
|
|
}
|
|
AbuseReportState_value = map[string]int32{
|
|
"OK": 0,
|
|
"TAKEN_DOWN": 1,
|
|
}
|
|
)
|
|
|
|
func (x AbuseReportState) Enum() *AbuseReportState {
|
|
p := new(AbuseReportState)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x AbuseReportState) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (AbuseReportState) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_playlist_annotate3_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (AbuseReportState) Type() protoreflect.EnumType {
|
|
return &file_playlist_annotate3_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x AbuseReportState) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Do not use.
|
|
func (x *AbuseReportState) UnmarshalJSON(b []byte) error {
|
|
num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
|
|
if err != nil {
|
|
return err
|
|
}
|
|
*x = AbuseReportState(num)
|
|
return nil
|
|
}
|
|
|
|
// Deprecated: Use AbuseReportState.Descriptor instead.
|
|
func (AbuseReportState) EnumDescriptor() ([]byte, []int) {
|
|
return file_playlist_annotate3_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type TakedownRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
AbuseReportState *AbuseReportState `protobuf:"varint,1,opt,name=abuse_report_state,json=abuseReportState,enum=spotify_playlist_annotate3.proto.AbuseReportState" json:"abuse_report_state,omitempty"`
|
|
}
|
|
|
|
func (x *TakedownRequest) Reset() {
|
|
*x = TakedownRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_playlist_annotate3_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TakedownRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TakedownRequest) ProtoMessage() {}
|
|
|
|
func (x *TakedownRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_playlist_annotate3_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 TakedownRequest.ProtoReflect.Descriptor instead.
|
|
func (*TakedownRequest) Descriptor() ([]byte, []int) {
|
|
return file_playlist_annotate3_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *TakedownRequest) GetAbuseReportState() AbuseReportState {
|
|
if x != nil && x.AbuseReportState != nil {
|
|
return *x.AbuseReportState
|
|
}
|
|
return AbuseReportState_OK
|
|
}
|
|
|
|
type AnnotateRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Description *string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"`
|
|
ImageUri *string `protobuf:"bytes,2,opt,name=image_uri,json=imageUri" json:"image_uri,omitempty"`
|
|
}
|
|
|
|
func (x *AnnotateRequest) Reset() {
|
|
*x = AnnotateRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_playlist_annotate3_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AnnotateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AnnotateRequest) ProtoMessage() {}
|
|
|
|
func (x *AnnotateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_playlist_annotate3_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)
|
|
}
|
|
|
|
// Deprecated: Use AnnotateRequest.ProtoReflect.Descriptor instead.
|
|
func (*AnnotateRequest) Descriptor() ([]byte, []int) {
|
|
return file_playlist_annotate3_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *AnnotateRequest) GetDescription() string {
|
|
if x != nil && x.Description != nil {
|
|
return *x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AnnotateRequest) GetImageUri() string {
|
|
if x != nil && x.ImageUri != nil {
|
|
return *x.ImageUri
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TranscodedPicture struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TargetName *string `protobuf:"bytes,1,opt,name=target_name,json=targetName" json:"target_name,omitempty"`
|
|
Uri *string `protobuf:"bytes,2,opt,name=uri" json:"uri,omitempty"`
|
|
}
|
|
|
|
func (x *TranscodedPicture) Reset() {
|
|
*x = TranscodedPicture{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_playlist_annotate3_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TranscodedPicture) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TranscodedPicture) ProtoMessage() {}
|
|
|
|
func (x *TranscodedPicture) ProtoReflect() protoreflect.Message {
|
|
mi := &file_playlist_annotate3_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)
|
|
}
|
|
|
|
// Deprecated: Use TranscodedPicture.ProtoReflect.Descriptor instead.
|
|
func (*TranscodedPicture) Descriptor() ([]byte, []int) {
|
|
return file_playlist_annotate3_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *TranscodedPicture) GetTargetName() string {
|
|
if x != nil && x.TargetName != nil {
|
|
return *x.TargetName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *TranscodedPicture) GetUri() string {
|
|
if x != nil && x.Uri != nil {
|
|
return *x.Uri
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PlaylistAnnotation struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Description *string `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"`
|
|
Picture *string `protobuf:"bytes,2,opt,name=picture" json:"picture,omitempty"`
|
|
// Deprecated: Do not use.
|
|
DeprecatedRenderFeatures *RenderFeatures `protobuf:"varint,3,opt,name=deprecated_render_features,json=deprecatedRenderFeatures,enum=spotify_playlist_annotate3.proto.RenderFeatures,def=1" json:"deprecated_render_features,omitempty"`
|
|
TranscodedPicture []*TranscodedPicture `protobuf:"bytes,4,rep,name=transcoded_picture,json=transcodedPicture" json:"transcoded_picture,omitempty"`
|
|
IsAbuseReportingEnabled *bool `protobuf:"varint,6,opt,name=is_abuse_reporting_enabled,json=isAbuseReportingEnabled,def=1" json:"is_abuse_reporting_enabled,omitempty"`
|
|
AbuseReportState *AbuseReportState `protobuf:"varint,7,opt,name=abuse_report_state,json=abuseReportState,enum=spotify_playlist_annotate3.proto.AbuseReportState,def=0" json:"abuse_report_state,omitempty"`
|
|
}
|
|
|
|
// Default values for PlaylistAnnotation fields.
|
|
const (
|
|
Default_PlaylistAnnotation_DeprecatedRenderFeatures = RenderFeatures_NORMAL_FEATURES
|
|
Default_PlaylistAnnotation_IsAbuseReportingEnabled = bool(true)
|
|
Default_PlaylistAnnotation_AbuseReportState = AbuseReportState_OK
|
|
)
|
|
|
|
func (x *PlaylistAnnotation) Reset() {
|
|
*x = PlaylistAnnotation{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_playlist_annotate3_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PlaylistAnnotation) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PlaylistAnnotation) ProtoMessage() {}
|
|
|
|
func (x *PlaylistAnnotation) ProtoReflect() protoreflect.Message {
|
|
mi := &file_playlist_annotate3_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)
|
|
}
|
|
|
|
// Deprecated: Use PlaylistAnnotation.ProtoReflect.Descriptor instead.
|
|
func (*PlaylistAnnotation) Descriptor() ([]byte, []int) {
|
|
return file_playlist_annotate3_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *PlaylistAnnotation) GetDescription() string {
|
|
if x != nil && x.Description != nil {
|
|
return *x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PlaylistAnnotation) GetPicture() string {
|
|
if x != nil && x.Picture != nil {
|
|
return *x.Picture
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Deprecated: Do not use.
|
|
func (x *PlaylistAnnotation) GetDeprecatedRenderFeatures() RenderFeatures {
|
|
if x != nil && x.DeprecatedRenderFeatures != nil {
|
|
return *x.DeprecatedRenderFeatures
|
|
}
|
|
return Default_PlaylistAnnotation_DeprecatedRenderFeatures
|
|
}
|
|
|
|
func (x *PlaylistAnnotation) GetTranscodedPicture() []*TranscodedPicture {
|
|
if x != nil {
|
|
return x.TranscodedPicture
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PlaylistAnnotation) GetIsAbuseReportingEnabled() bool {
|
|
if x != nil && x.IsAbuseReportingEnabled != nil {
|
|
return *x.IsAbuseReportingEnabled
|
|
}
|
|
return Default_PlaylistAnnotation_IsAbuseReportingEnabled
|
|
}
|
|
|
|
func (x *PlaylistAnnotation) GetAbuseReportState() AbuseReportState {
|
|
if x != nil && x.AbuseReportState != nil {
|
|
return *x.AbuseReportState
|
|
}
|
|
return Default_PlaylistAnnotation_AbuseReportState
|
|
}
|
|
|
|
var File_playlist_annotate3_proto protoreflect.FileDescriptor
|
|
|
|
var file_playlist_annotate3_proto_rawDesc = []byte{
|
|
0x0a, 0x18, 0x70, 0x6c, 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
|
|
0x61, 0x74, 0x65, 0x33, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x73, 0x70, 0x6f, 0x74,
|
|
0x69, 0x66, 0x79, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x61, 0x6e, 0x6e,
|
|
0x6f, 0x74, 0x61, 0x74, 0x65, 0x33, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x73, 0x0a, 0x0f,
|
|
0x54, 0x61, 0x6b, 0x65, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
0x60, 0x0a, 0x12, 0x61, 0x62, 0x75, 0x73, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f,
|
|
0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x70,
|
|
0x6f, 0x74, 0x69, 0x66, 0x79, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x61,
|
|
0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x33, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41,
|
|
0x62, 0x75, 0x73, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52,
|
|
0x10, 0x61, 0x62, 0x75, 0x73, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74,
|
|
0x65, 0x22, 0x50, 0x0a, 0x0f, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
|
|
0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f,
|
|
0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6d, 0x61, 0x67, 0x65,
|
|
0x55, 0x72, 0x69, 0x22, 0x46, 0x0a, 0x11, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x63, 0x6f, 0x64, 0x65,
|
|
0x64, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67,
|
|
0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74,
|
|
0x61, 0x72, 0x67, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x22, 0xe3, 0x03, 0x0a, 0x12,
|
|
0x50, 0x6c, 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x83,
|
|
0x01, 0x0a, 0x1a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65,
|
|
0x6e, 0x64, 0x65, 0x72, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x73, 0x70, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x5f, 0x70, 0x6c,
|
|
0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x33,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x46, 0x65, 0x61,
|
|
0x74, 0x75, 0x72, 0x65, 0x73, 0x3a, 0x0f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x5f, 0x46, 0x45,
|
|
0x41, 0x54, 0x55, 0x52, 0x45, 0x53, 0x42, 0x02, 0x18, 0x01, 0x52, 0x18, 0x64, 0x65, 0x70, 0x72,
|
|
0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x46, 0x65, 0x61, 0x74,
|
|
0x75, 0x72, 0x65, 0x73, 0x12, 0x62, 0x0a, 0x12, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x63, 0x6f, 0x64,
|
|
0x65, 0x64, 0x5f, 0x70, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
|
|
0x32, 0x33, 0x2e, 0x73, 0x70, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x6c,
|
|
0x69, 0x73, 0x74, 0x5f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x33, 0x2e, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x50, 0x69,
|
|
0x63, 0x74, 0x75, 0x72, 0x65, 0x52, 0x11, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x63, 0x6f, 0x64, 0x65,
|
|
0x64, 0x50, 0x69, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x41, 0x0a, 0x1a, 0x69, 0x73, 0x5f, 0x61,
|
|
0x62, 0x75, 0x73, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x65,
|
|
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x04, 0x74, 0x72,
|
|
0x75, 0x65, 0x52, 0x17, 0x69, 0x73, 0x41, 0x62, 0x75, 0x73, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72,
|
|
0x74, 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x64, 0x0a, 0x12, 0x61,
|
|
0x62, 0x75, 0x73, 0x65, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74,
|
|
0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x70, 0x6f, 0x74, 0x69, 0x66,
|
|
0x79, 0x5f, 0x70, 0x6c, 0x61, 0x79, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
|
|
0x61, 0x74, 0x65, 0x33, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x62, 0x75, 0x73, 0x65,
|
|
0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x3a, 0x02, 0x4f, 0x4b, 0x52,
|
|
0x10, 0x61, 0x62, 0x75, 0x73, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74,
|
|
0x65, 0x2a, 0x3c, 0x0a, 0x0e, 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x46, 0x65, 0x61, 0x74, 0x75,
|
|
0x72, 0x65, 0x73, 0x12, 0x13, 0x0a, 0x0f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x5f, 0x46, 0x45,
|
|
0x41, 0x54, 0x55, 0x52, 0x45, 0x53, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x45, 0x58, 0x54, 0x45,
|
|
0x4e, 0x44, 0x45, 0x44, 0x5f, 0x46, 0x45, 0x41, 0x54, 0x55, 0x52, 0x45, 0x53, 0x10, 0x02, 0x2a,
|
|
0x2a, 0x0a, 0x10, 0x41, 0x62, 0x75, 0x73, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x53, 0x74,
|
|
0x61, 0x74, 0x65, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x54,
|
|
0x41, 0x4b, 0x45, 0x4e, 0x5f, 0x44, 0x4f, 0x57, 0x4e, 0x10, 0x01, 0x42, 0x4b, 0x0a, 0x24, 0x63,
|
|
0x6f, 0x6d, 0x2e, 0x73, 0x70, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x70, 0x6c, 0x61, 0x79, 0x6c,
|
|
0x69, 0x73, 0x74, 0x5f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x33, 0x2e, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x48, 0x02, 0x5a, 0x21, 0x74, 0x75, 0x78, 0x70, 0x61, 0x2e, 0x69, 0x6e, 0x2f,
|
|
0x61, 0x2f, 0x67, 0x6f, 0x70, 0x6c, 0x61, 0x79, 0x64, 0x2f, 0x6c, 0x69, 0x62, 0x2f, 0x73, 0x70,
|
|
0x6f, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
}
|
|
|
|
var (
|
|
file_playlist_annotate3_proto_rawDescOnce sync.Once
|
|
file_playlist_annotate3_proto_rawDescData = file_playlist_annotate3_proto_rawDesc
|
|
)
|
|
|
|
func file_playlist_annotate3_proto_rawDescGZIP() []byte {
|
|
file_playlist_annotate3_proto_rawDescOnce.Do(func() {
|
|
file_playlist_annotate3_proto_rawDescData = protoimpl.X.CompressGZIP(file_playlist_annotate3_proto_rawDescData)
|
|
})
|
|
return file_playlist_annotate3_proto_rawDescData
|
|
}
|
|
|
|
var file_playlist_annotate3_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
|
var file_playlist_annotate3_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
var file_playlist_annotate3_proto_goTypes = []interface{}{
|
|
(RenderFeatures)(0), // 0: spotify_playlist_annotate3.proto.RenderFeatures
|
|
(AbuseReportState)(0), // 1: spotify_playlist_annotate3.proto.AbuseReportState
|
|
(*TakedownRequest)(nil), // 2: spotify_playlist_annotate3.proto.TakedownRequest
|
|
(*AnnotateRequest)(nil), // 3: spotify_playlist_annotate3.proto.AnnotateRequest
|
|
(*TranscodedPicture)(nil), // 4: spotify_playlist_annotate3.proto.TranscodedPicture
|
|
(*PlaylistAnnotation)(nil), // 5: spotify_playlist_annotate3.proto.PlaylistAnnotation
|
|
}
|
|
var file_playlist_annotate3_proto_depIdxs = []int32{
|
|
1, // 0: spotify_playlist_annotate3.proto.TakedownRequest.abuse_report_state:type_name -> spotify_playlist_annotate3.proto.AbuseReportState
|
|
0, // 1: spotify_playlist_annotate3.proto.PlaylistAnnotation.deprecated_render_features:type_name -> spotify_playlist_annotate3.proto.RenderFeatures
|
|
4, // 2: spotify_playlist_annotate3.proto.PlaylistAnnotation.transcoded_picture:type_name -> spotify_playlist_annotate3.proto.TranscodedPicture
|
|
1, // 3: spotify_playlist_annotate3.proto.PlaylistAnnotation.abuse_report_state:type_name -> spotify_playlist_annotate3.proto.AbuseReportState
|
|
4, // [4:4] is the sub-list for method output_type
|
|
4, // [4:4] is the sub-list for method input_type
|
|
4, // [4:4] is the sub-list for extension type_name
|
|
4, // [4:4] is the sub-list for extension extendee
|
|
0, // [0:4] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_playlist_annotate3_proto_init() }
|
|
func file_playlist_annotate3_proto_init() {
|
|
if File_playlist_annotate3_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_playlist_annotate3_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TakedownRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_playlist_annotate3_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AnnotateRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_playlist_annotate3_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TranscodedPicture); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_playlist_annotate3_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PlaylistAnnotation); 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_playlist_annotate3_proto_rawDesc,
|
|
NumEnums: 2,
|
|
NumMessages: 4,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_playlist_annotate3_proto_goTypes,
|
|
DependencyIndexes: file_playlist_annotate3_proto_depIdxs,
|
|
EnumInfos: file_playlist_annotate3_proto_enumTypes,
|
|
MessageInfos: file_playlist_annotate3_proto_msgTypes,
|
|
}.Build()
|
|
File_playlist_annotate3_proto = out.File
|
|
file_playlist_annotate3_proto_rawDesc = nil
|
|
file_playlist_annotate3_proto_goTypes = nil
|
|
file_playlist_annotate3_proto_depIdxs = nil
|
|
}
|