goplayd/lib/spot/proto/entity_extension_data.pb.go

481 lines
17 KiB
Go

// Extracted from: Spotify 1.1.61.583 (Windows)
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc v3.21.12
// source: entity_extension_data.proto
package proto
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
anypb "google.golang.org/protobuf/types/known/anypb"
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 EntityExtensionDataHeader struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
Locale string `protobuf:"bytes,3,opt,name=locale,proto3" json:"locale,omitempty"`
CacheTtlInSeconds int64 `protobuf:"varint,4,opt,name=cache_ttl_in_seconds,json=cacheTtlInSeconds,proto3" json:"cache_ttl_in_seconds,omitempty"`
OfflineTtlInSeconds int64 `protobuf:"varint,5,opt,name=offline_ttl_in_seconds,json=offlineTtlInSeconds,proto3" json:"offline_ttl_in_seconds,omitempty"`
}
func (x *EntityExtensionDataHeader) Reset() {
*x = EntityExtensionDataHeader{}
if protoimpl.UnsafeEnabled {
mi := &file_entity_extension_data_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EntityExtensionDataHeader) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EntityExtensionDataHeader) ProtoMessage() {}
func (x *EntityExtensionDataHeader) ProtoReflect() protoreflect.Message {
mi := &file_entity_extension_data_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 EntityExtensionDataHeader.ProtoReflect.Descriptor instead.
func (*EntityExtensionDataHeader) Descriptor() ([]byte, []int) {
return file_entity_extension_data_proto_rawDescGZIP(), []int{0}
}
func (x *EntityExtensionDataHeader) GetStatusCode() int32 {
if x != nil {
return x.StatusCode
}
return 0
}
func (x *EntityExtensionDataHeader) GetEtag() string {
if x != nil {
return x.Etag
}
return ""
}
func (x *EntityExtensionDataHeader) GetLocale() string {
if x != nil {
return x.Locale
}
return ""
}
func (x *EntityExtensionDataHeader) GetCacheTtlInSeconds() int64 {
if x != nil {
return x.CacheTtlInSeconds
}
return 0
}
func (x *EntityExtensionDataHeader) GetOfflineTtlInSeconds() int64 {
if x != nil {
return x.OfflineTtlInSeconds
}
return 0
}
type EntityExtensionData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Header *EntityExtensionDataHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
EntityUri string `protobuf:"bytes,2,opt,name=entity_uri,json=entityUri,proto3" json:"entity_uri,omitempty"`
ExtensionData *anypb.Any `protobuf:"bytes,3,opt,name=extension_data,json=extensionData,proto3" json:"extension_data,omitempty"`
}
func (x *EntityExtensionData) Reset() {
*x = EntityExtensionData{}
if protoimpl.UnsafeEnabled {
mi := &file_entity_extension_data_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EntityExtensionData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EntityExtensionData) ProtoMessage() {}
func (x *EntityExtensionData) ProtoReflect() protoreflect.Message {
mi := &file_entity_extension_data_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 EntityExtensionData.ProtoReflect.Descriptor instead.
func (*EntityExtensionData) Descriptor() ([]byte, []int) {
return file_entity_extension_data_proto_rawDescGZIP(), []int{1}
}
func (x *EntityExtensionData) GetHeader() *EntityExtensionDataHeader {
if x != nil {
return x.Header
}
return nil
}
func (x *EntityExtensionData) GetEntityUri() string {
if x != nil {
return x.EntityUri
}
return ""
}
func (x *EntityExtensionData) GetExtensionData() *anypb.Any {
if x != nil {
return x.ExtensionData
}
return nil
}
type PlainListAssoc struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
EntityUri []string `protobuf:"bytes,1,rep,name=entity_uri,json=entityUri,proto3" json:"entity_uri,omitempty"`
}
func (x *PlainListAssoc) Reset() {
*x = PlainListAssoc{}
if protoimpl.UnsafeEnabled {
mi := &file_entity_extension_data_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PlainListAssoc) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PlainListAssoc) ProtoMessage() {}
func (x *PlainListAssoc) ProtoReflect() protoreflect.Message {
mi := &file_entity_extension_data_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 PlainListAssoc.ProtoReflect.Descriptor instead.
func (*PlainListAssoc) Descriptor() ([]byte, []int) {
return file_entity_extension_data_proto_rawDescGZIP(), []int{2}
}
func (x *PlainListAssoc) GetEntityUri() []string {
if x != nil {
return x.EntityUri
}
return nil
}
type AssocHeader struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *AssocHeader) Reset() {
*x = AssocHeader{}
if protoimpl.UnsafeEnabled {
mi := &file_entity_extension_data_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AssocHeader) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AssocHeader) ProtoMessage() {}
func (x *AssocHeader) ProtoReflect() protoreflect.Message {
mi := &file_entity_extension_data_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 AssocHeader.ProtoReflect.Descriptor instead.
func (*AssocHeader) Descriptor() ([]byte, []int) {
return file_entity_extension_data_proto_rawDescGZIP(), []int{3}
}
type Assoc struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Header *AssocHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
PlainList *PlainListAssoc `protobuf:"bytes,2,opt,name=plain_list,json=plainList,proto3" json:"plain_list,omitempty"`
}
func (x *Assoc) Reset() {
*x = Assoc{}
if protoimpl.UnsafeEnabled {
mi := &file_entity_extension_data_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Assoc) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Assoc) ProtoMessage() {}
func (x *Assoc) ProtoReflect() protoreflect.Message {
mi := &file_entity_extension_data_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)
}
// Deprecated: Use Assoc.ProtoReflect.Descriptor instead.
func (*Assoc) Descriptor() ([]byte, []int) {
return file_entity_extension_data_proto_rawDescGZIP(), []int{4}
}
func (x *Assoc) GetHeader() *AssocHeader {
if x != nil {
return x.Header
}
return nil
}
func (x *Assoc) GetPlainList() *PlainListAssoc {
if x != nil {
return x.PlainList
}
return nil
}
var File_entity_extension_data_proto protoreflect.FileDescriptor
var file_entity_extension_data_proto_rawDesc = []byte{
0x0a, 0x1b, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69,
0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x73,
0x70, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x6d,
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x22, 0xce, 0x01, 0x0a, 0x19, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x45, 0x78, 0x74,
0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18,
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64,
0x65, 0x12, 0x12, 0x0a, 0x04, 0x65, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
0x04, 0x65, 0x74, 0x61, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x65, 0x18,
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x65, 0x12, 0x2f, 0x0a,
0x14, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x74, 0x74, 0x6c, 0x5f, 0x69, 0x6e, 0x5f, 0x73, 0x65,
0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x63, 0x61, 0x63,
0x68, 0x65, 0x54, 0x74, 0x6c, 0x49, 0x6e, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x33,
0x0a, 0x16, 0x6f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x74, 0x74, 0x6c, 0x5f, 0x69, 0x6e,
0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13,
0x6f, 0x66, 0x66, 0x6c, 0x69, 0x6e, 0x65, 0x54, 0x74, 0x6c, 0x49, 0x6e, 0x53, 0x65, 0x63, 0x6f,
0x6e, 0x64, 0x73, 0x22, 0xbe, 0x01, 0x0a, 0x13, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x45, 0x78,
0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x4b, 0x0a, 0x06, 0x68,
0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x73, 0x70,
0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x6d, 0x65,
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x45, 0x78, 0x74,
0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x69,
0x74, 0x79, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x6e,
0x74, 0x69, 0x74, 0x79, 0x55, 0x72, 0x69, 0x12, 0x3b, 0x0a, 0x0e, 0x65, 0x78, 0x74, 0x65, 0x6e,
0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x0d, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
0x44, 0x61, 0x74, 0x61, 0x22, 0x2f, 0x0a, 0x0e, 0x50, 0x6c, 0x61, 0x69, 0x6e, 0x4c, 0x69, 0x73,
0x74, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x65, 0x6e, 0x74, 0x69,
0x74, 0x79, 0x55, 0x72, 0x69, 0x22, 0x0d, 0x0a, 0x0b, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x48, 0x65,
0x61, 0x64, 0x65, 0x72, 0x22, 0x8f, 0x01, 0x0a, 0x05, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x12, 0x3d,
0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25,
0x2e, 0x73, 0x70, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65,
0x64, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x48,
0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x47, 0x0a,
0x0a, 0x70, 0x6c, 0x61, 0x69, 0x6e, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x28, 0x2e, 0x73, 0x70, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65,
0x6e, 0x64, 0x65, 0x64, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x50, 0x6c, 0x61,
0x69, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x52, 0x09, 0x70, 0x6c, 0x61,
0x69, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x4e, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x70,
0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x6d, 0x65,
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x48, 0x02, 0x50, 0x01,
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, 0xf8, 0x01, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_entity_extension_data_proto_rawDescOnce sync.Once
file_entity_extension_data_proto_rawDescData = file_entity_extension_data_proto_rawDesc
)
func file_entity_extension_data_proto_rawDescGZIP() []byte {
file_entity_extension_data_proto_rawDescOnce.Do(func() {
file_entity_extension_data_proto_rawDescData = protoimpl.X.CompressGZIP(file_entity_extension_data_proto_rawDescData)
})
return file_entity_extension_data_proto_rawDescData
}
var file_entity_extension_data_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_entity_extension_data_proto_goTypes = []interface{}{
(*EntityExtensionDataHeader)(nil), // 0: spotify.extendedmetadata.EntityExtensionDataHeader
(*EntityExtensionData)(nil), // 1: spotify.extendedmetadata.EntityExtensionData
(*PlainListAssoc)(nil), // 2: spotify.extendedmetadata.PlainListAssoc
(*AssocHeader)(nil), // 3: spotify.extendedmetadata.AssocHeader
(*Assoc)(nil), // 4: spotify.extendedmetadata.Assoc
(*anypb.Any)(nil), // 5: google.protobuf.Any
}
var file_entity_extension_data_proto_depIdxs = []int32{
0, // 0: spotify.extendedmetadata.EntityExtensionData.header:type_name -> spotify.extendedmetadata.EntityExtensionDataHeader
5, // 1: spotify.extendedmetadata.EntityExtensionData.extension_data:type_name -> google.protobuf.Any
3, // 2: spotify.extendedmetadata.Assoc.header:type_name -> spotify.extendedmetadata.AssocHeader
2, // 3: spotify.extendedmetadata.Assoc.plain_list:type_name -> spotify.extendedmetadata.PlainListAssoc
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_entity_extension_data_proto_init() }
func file_entity_extension_data_proto_init() {
if File_entity_extension_data_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_entity_extension_data_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EntityExtensionDataHeader); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_entity_extension_data_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EntityExtensionData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_entity_extension_data_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PlainListAssoc); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_entity_extension_data_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AssocHeader); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_entity_extension_data_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Assoc); 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_entity_extension_data_proto_rawDesc,
NumEnums: 0,
NumMessages: 5,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_entity_extension_data_proto_goTypes,
DependencyIndexes: file_entity_extension_data_proto_depIdxs,
MessageInfos: file_entity_extension_data_proto_msgTypes,
}.Build()
File_entity_extension_data_proto = out.File
file_entity_extension_data_proto_rawDesc = nil
file_entity_extension_data_proto_goTypes = nil
file_entity_extension_data_proto_depIdxs = nil
}