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

802 lines
30 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: extended_metadata.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 ExtensionType int32
const (
ExtensionType_UNKNOWN ExtensionType = 0
ExtensionType_GENERIC ExtensionType = 1
ExtensionType_ASSOC ExtensionType = 2
)
// Enum value maps for ExtensionType.
var (
ExtensionType_name = map[int32]string{
0: "UNKNOWN",
1: "GENERIC",
2: "ASSOC",
}
ExtensionType_value = map[string]int32{
"UNKNOWN": 0,
"GENERIC": 1,
"ASSOC": 2,
}
)
func (x ExtensionType) Enum() *ExtensionType {
p := new(ExtensionType)
*p = x
return p
}
func (x ExtensionType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ExtensionType) Descriptor() protoreflect.EnumDescriptor {
return file_extended_metadata_proto_enumTypes[0].Descriptor()
}
func (ExtensionType) Type() protoreflect.EnumType {
return &file_extended_metadata_proto_enumTypes[0]
}
func (x ExtensionType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ExtensionType.Descriptor instead.
func (ExtensionType) EnumDescriptor() ([]byte, []int) {
return file_extended_metadata_proto_rawDescGZIP(), []int{0}
}
type ExtensionQuery struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ExtensionKind ExtensionKind `protobuf:"varint,1,opt,name=extension_kind,json=extensionKind,proto3,enum=spotify.extendedmetadata.ExtensionKind" json:"extension_kind,omitempty"`
Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
}
func (x *ExtensionQuery) Reset() {
*x = ExtensionQuery{}
if protoimpl.UnsafeEnabled {
mi := &file_extended_metadata_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ExtensionQuery) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ExtensionQuery) ProtoMessage() {}
func (x *ExtensionQuery) ProtoReflect() protoreflect.Message {
mi := &file_extended_metadata_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 ExtensionQuery.ProtoReflect.Descriptor instead.
func (*ExtensionQuery) Descriptor() ([]byte, []int) {
return file_extended_metadata_proto_rawDescGZIP(), []int{0}
}
func (x *ExtensionQuery) GetExtensionKind() ExtensionKind {
if x != nil {
return x.ExtensionKind
}
return ExtensionKind_UNKNOWN_EXTENSION
}
func (x *ExtensionQuery) GetEtag() string {
if x != nil {
return x.Etag
}
return ""
}
type EntityRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
EntityUri string `protobuf:"bytes,1,opt,name=entity_uri,json=entityUri,proto3" json:"entity_uri,omitempty"`
Query []*ExtensionQuery `protobuf:"bytes,2,rep,name=query,proto3" json:"query,omitempty"`
}
func (x *EntityRequest) Reset() {
*x = EntityRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_extended_metadata_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EntityRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EntityRequest) ProtoMessage() {}
func (x *EntityRequest) ProtoReflect() protoreflect.Message {
mi := &file_extended_metadata_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 EntityRequest.ProtoReflect.Descriptor instead.
func (*EntityRequest) Descriptor() ([]byte, []int) {
return file_extended_metadata_proto_rawDescGZIP(), []int{1}
}
func (x *EntityRequest) GetEntityUri() string {
if x != nil {
return x.EntityUri
}
return ""
}
func (x *EntityRequest) GetQuery() []*ExtensionQuery {
if x != nil {
return x.Query
}
return nil
}
type BatchedEntityRequestHeader struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"`
Catalogue string `protobuf:"bytes,2,opt,name=catalogue,proto3" json:"catalogue,omitempty"`
TaskId []byte `protobuf:"bytes,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
}
func (x *BatchedEntityRequestHeader) Reset() {
*x = BatchedEntityRequestHeader{}
if protoimpl.UnsafeEnabled {
mi := &file_extended_metadata_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BatchedEntityRequestHeader) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BatchedEntityRequestHeader) ProtoMessage() {}
func (x *BatchedEntityRequestHeader) ProtoReflect() protoreflect.Message {
mi := &file_extended_metadata_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 BatchedEntityRequestHeader.ProtoReflect.Descriptor instead.
func (*BatchedEntityRequestHeader) Descriptor() ([]byte, []int) {
return file_extended_metadata_proto_rawDescGZIP(), []int{2}
}
func (x *BatchedEntityRequestHeader) GetCountry() string {
if x != nil {
return x.Country
}
return ""
}
func (x *BatchedEntityRequestHeader) GetCatalogue() string {
if x != nil {
return x.Catalogue
}
return ""
}
func (x *BatchedEntityRequestHeader) GetTaskId() []byte {
if x != nil {
return x.TaskId
}
return nil
}
type BatchedEntityRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Header *BatchedEntityRequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
EntityRequest []*EntityRequest `protobuf:"bytes,2,rep,name=entity_request,json=entityRequest,proto3" json:"entity_request,omitempty"`
}
func (x *BatchedEntityRequest) Reset() {
*x = BatchedEntityRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_extended_metadata_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BatchedEntityRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BatchedEntityRequest) ProtoMessage() {}
func (x *BatchedEntityRequest) ProtoReflect() protoreflect.Message {
mi := &file_extended_metadata_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 BatchedEntityRequest.ProtoReflect.Descriptor instead.
func (*BatchedEntityRequest) Descriptor() ([]byte, []int) {
return file_extended_metadata_proto_rawDescGZIP(), []int{3}
}
func (x *BatchedEntityRequest) GetHeader() *BatchedEntityRequestHeader {
if x != nil {
return x.Header
}
return nil
}
func (x *BatchedEntityRequest) GetEntityRequest() []*EntityRequest {
if x != nil {
return x.EntityRequest
}
return nil
}
type EntityExtensionDataArrayHeader struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ProviderErrorStatus int32 `protobuf:"varint,1,opt,name=provider_error_status,json=providerErrorStatus,proto3" json:"provider_error_status,omitempty"`
CacheTtlInSeconds int64 `protobuf:"varint,2,opt,name=cache_ttl_in_seconds,json=cacheTtlInSeconds,proto3" json:"cache_ttl_in_seconds,omitempty"`
OfflineTtlInSeconds int64 `protobuf:"varint,3,opt,name=offline_ttl_in_seconds,json=offlineTtlInSeconds,proto3" json:"offline_ttl_in_seconds,omitempty"`
ExtensionType ExtensionType `protobuf:"varint,4,opt,name=extension_type,json=extensionType,proto3,enum=spotify.extendedmetadata.ExtensionType" json:"extension_type,omitempty"`
}
func (x *EntityExtensionDataArrayHeader) Reset() {
*x = EntityExtensionDataArrayHeader{}
if protoimpl.UnsafeEnabled {
mi := &file_extended_metadata_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EntityExtensionDataArrayHeader) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EntityExtensionDataArrayHeader) ProtoMessage() {}
func (x *EntityExtensionDataArrayHeader) ProtoReflect() protoreflect.Message {
mi := &file_extended_metadata_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 EntityExtensionDataArrayHeader.ProtoReflect.Descriptor instead.
func (*EntityExtensionDataArrayHeader) Descriptor() ([]byte, []int) {
return file_extended_metadata_proto_rawDescGZIP(), []int{4}
}
func (x *EntityExtensionDataArrayHeader) GetProviderErrorStatus() int32 {
if x != nil {
return x.ProviderErrorStatus
}
return 0
}
func (x *EntityExtensionDataArrayHeader) GetCacheTtlInSeconds() int64 {
if x != nil {
return x.CacheTtlInSeconds
}
return 0
}
func (x *EntityExtensionDataArrayHeader) GetOfflineTtlInSeconds() int64 {
if x != nil {
return x.OfflineTtlInSeconds
}
return 0
}
func (x *EntityExtensionDataArrayHeader) GetExtensionType() ExtensionType {
if x != nil {
return x.ExtensionType
}
return ExtensionType_UNKNOWN
}
type EntityExtensionDataArray struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Header *EntityExtensionDataArrayHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
ExtensionKind ExtensionKind `protobuf:"varint,2,opt,name=extension_kind,json=extensionKind,proto3,enum=spotify.extendedmetadata.ExtensionKind" json:"extension_kind,omitempty"`
ExtensionData []*EntityExtensionData `protobuf:"bytes,3,rep,name=extension_data,json=extensionData,proto3" json:"extension_data,omitempty"`
}
func (x *EntityExtensionDataArray) Reset() {
*x = EntityExtensionDataArray{}
if protoimpl.UnsafeEnabled {
mi := &file_extended_metadata_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *EntityExtensionDataArray) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*EntityExtensionDataArray) ProtoMessage() {}
func (x *EntityExtensionDataArray) ProtoReflect() protoreflect.Message {
mi := &file_extended_metadata_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)
}
// Deprecated: Use EntityExtensionDataArray.ProtoReflect.Descriptor instead.
func (*EntityExtensionDataArray) Descriptor() ([]byte, []int) {
return file_extended_metadata_proto_rawDescGZIP(), []int{5}
}
func (x *EntityExtensionDataArray) GetHeader() *EntityExtensionDataArrayHeader {
if x != nil {
return x.Header
}
return nil
}
func (x *EntityExtensionDataArray) GetExtensionKind() ExtensionKind {
if x != nil {
return x.ExtensionKind
}
return ExtensionKind_UNKNOWN_EXTENSION
}
func (x *EntityExtensionDataArray) GetExtensionData() []*EntityExtensionData {
if x != nil {
return x.ExtensionData
}
return nil
}
type BatchedExtensionResponseHeader struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *BatchedExtensionResponseHeader) Reset() {
*x = BatchedExtensionResponseHeader{}
if protoimpl.UnsafeEnabled {
mi := &file_extended_metadata_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BatchedExtensionResponseHeader) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BatchedExtensionResponseHeader) ProtoMessage() {}
func (x *BatchedExtensionResponseHeader) ProtoReflect() protoreflect.Message {
mi := &file_extended_metadata_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 BatchedExtensionResponseHeader.ProtoReflect.Descriptor instead.
func (*BatchedExtensionResponseHeader) Descriptor() ([]byte, []int) {
return file_extended_metadata_proto_rawDescGZIP(), []int{6}
}
type BatchedExtensionResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Header *BatchedExtensionResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
ExtendedMetadata []*EntityExtensionDataArray `protobuf:"bytes,2,rep,name=extended_metadata,json=extendedMetadata,proto3" json:"extended_metadata,omitempty"`
}
func (x *BatchedExtensionResponse) Reset() {
*x = BatchedExtensionResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_extended_metadata_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BatchedExtensionResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BatchedExtensionResponse) ProtoMessage() {}
func (x *BatchedExtensionResponse) ProtoReflect() protoreflect.Message {
mi := &file_extended_metadata_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 BatchedExtensionResponse.ProtoReflect.Descriptor instead.
func (*BatchedExtensionResponse) Descriptor() ([]byte, []int) {
return file_extended_metadata_proto_rawDescGZIP(), []int{7}
}
func (x *BatchedExtensionResponse) GetHeader() *BatchedExtensionResponseHeader {
if x != nil {
return x.Header
}
return nil
}
func (x *BatchedExtensionResponse) GetExtendedMetadata() []*EntityExtensionDataArray {
if x != nil {
return x.ExtendedMetadata
}
return nil
}
var File_extended_metadata_proto protoreflect.FileDescriptor
var file_extended_metadata_proto_rawDesc = []byte{
0x0a, 0x17, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x61, 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, 0x14, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6b,
0x69, 0x6e, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 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, 0x22, 0x74, 0x0a, 0x0e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
0x69, 0x6f, 0x6e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x4e, 0x0a, 0x0e, 0x65, 0x78, 0x74, 0x65,
0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
0x32, 0x27, 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, 0x78, 0x74, 0x65,
0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4b, 0x69, 0x6e, 0x64, 0x52, 0x0d, 0x65, 0x78, 0x74, 0x65, 0x6e,
0x73, 0x69, 0x6f, 0x6e, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x65, 0x74, 0x61, 0x67,
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 0x22, 0x6e, 0x0a, 0x0d,
0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a,
0x0a, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x09, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x55, 0x72, 0x69, 0x12, 0x3e, 0x0a, 0x05,
0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x03, 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, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0x6d, 0x0a, 0x1a,
0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f,
0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x75,
0x6e, 0x74, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x75,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67,
0x75, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
0x01, 0x28, 0x0c, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0xb4, 0x01, 0x0a, 0x14,
0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x34, 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,
0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64,
0x65, 0x72, 0x12, 0x4e, 0x0a, 0x0e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x72, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 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, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x52, 0x0d, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x22, 0x8a, 0x02, 0x0a, 0x1e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x45, 0x78, 0x74,
0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x41, 0x72, 0x72, 0x61, 0x79, 0x48,
0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x32, 0x0a, 0x15, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65,
0x72, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01,
0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x45, 0x72,
0x72, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 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, 0x02, 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, 0x03, 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, 0x12,
0x4e, 0x0a, 0x0e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70,
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 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, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65,
0x52, 0x0d, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22,
0x92, 0x02, 0x0a, 0x18, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x41, 0x72, 0x72, 0x61, 0x79, 0x12, 0x50, 0x0a, 0x06,
0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 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, 0x41, 0x72, 0x72, 0x61, 0x79,
0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x4e,
0x0a, 0x0e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6b, 0x69, 0x6e, 0x64,
0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 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, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4b, 0x69, 0x6e, 0x64, 0x52,
0x0d, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x54,
0x0a, 0x0e, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61,
0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 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, 0x52, 0x0d, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
0x44, 0x61, 0x74, 0x61, 0x22, 0x20, 0x0a, 0x1e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x45,
0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0xcd, 0x01, 0x0a, 0x18, 0x42, 0x61, 0x74, 0x63, 0x68,
0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x38, 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, 0x42,
0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68,
0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x5f, 0x0a, 0x11, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65,
0x64, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x32, 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, 0x41,
0x72, 0x72, 0x61, 0x79, 0x52, 0x10, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x4d, 0x65,
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2a, 0x34, 0x0a, 0x0d, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73,
0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f,
0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x49, 0x43, 0x10,
0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x53, 0x53, 0x4f, 0x43, 0x10, 0x02, 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_extended_metadata_proto_rawDescOnce sync.Once
file_extended_metadata_proto_rawDescData = file_extended_metadata_proto_rawDesc
)
func file_extended_metadata_proto_rawDescGZIP() []byte {
file_extended_metadata_proto_rawDescOnce.Do(func() {
file_extended_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(file_extended_metadata_proto_rawDescData)
})
return file_extended_metadata_proto_rawDescData
}
var file_extended_metadata_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_extended_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_extended_metadata_proto_goTypes = []interface{}{
(ExtensionType)(0), // 0: spotify.extendedmetadata.ExtensionType
(*ExtensionQuery)(nil), // 1: spotify.extendedmetadata.ExtensionQuery
(*EntityRequest)(nil), // 2: spotify.extendedmetadata.EntityRequest
(*BatchedEntityRequestHeader)(nil), // 3: spotify.extendedmetadata.BatchedEntityRequestHeader
(*BatchedEntityRequest)(nil), // 4: spotify.extendedmetadata.BatchedEntityRequest
(*EntityExtensionDataArrayHeader)(nil), // 5: spotify.extendedmetadata.EntityExtensionDataArrayHeader
(*EntityExtensionDataArray)(nil), // 6: spotify.extendedmetadata.EntityExtensionDataArray
(*BatchedExtensionResponseHeader)(nil), // 7: spotify.extendedmetadata.BatchedExtensionResponseHeader
(*BatchedExtensionResponse)(nil), // 8: spotify.extendedmetadata.BatchedExtensionResponse
(ExtensionKind)(0), // 9: spotify.extendedmetadata.ExtensionKind
(*EntityExtensionData)(nil), // 10: spotify.extendedmetadata.EntityExtensionData
}
var file_extended_metadata_proto_depIdxs = []int32{
9, // 0: spotify.extendedmetadata.ExtensionQuery.extension_kind:type_name -> spotify.extendedmetadata.ExtensionKind
1, // 1: spotify.extendedmetadata.EntityRequest.query:type_name -> spotify.extendedmetadata.ExtensionQuery
3, // 2: spotify.extendedmetadata.BatchedEntityRequest.header:type_name -> spotify.extendedmetadata.BatchedEntityRequestHeader
2, // 3: spotify.extendedmetadata.BatchedEntityRequest.entity_request:type_name -> spotify.extendedmetadata.EntityRequest
0, // 4: spotify.extendedmetadata.EntityExtensionDataArrayHeader.extension_type:type_name -> spotify.extendedmetadata.ExtensionType
5, // 5: spotify.extendedmetadata.EntityExtensionDataArray.header:type_name -> spotify.extendedmetadata.EntityExtensionDataArrayHeader
9, // 6: spotify.extendedmetadata.EntityExtensionDataArray.extension_kind:type_name -> spotify.extendedmetadata.ExtensionKind
10, // 7: spotify.extendedmetadata.EntityExtensionDataArray.extension_data:type_name -> spotify.extendedmetadata.EntityExtensionData
7, // 8: spotify.extendedmetadata.BatchedExtensionResponse.header:type_name -> spotify.extendedmetadata.BatchedExtensionResponseHeader
6, // 9: spotify.extendedmetadata.BatchedExtensionResponse.extended_metadata:type_name -> spotify.extendedmetadata.EntityExtensionDataArray
10, // [10:10] is the sub-list for method output_type
10, // [10:10] is the sub-list for method input_type
10, // [10:10] is the sub-list for extension type_name
10, // [10:10] is the sub-list for extension extendee
0, // [0:10] is the sub-list for field type_name
}
func init() { file_extended_metadata_proto_init() }
func file_extended_metadata_proto_init() {
if File_extended_metadata_proto != nil {
return
}
file_extension_kind_proto_init()
file_entity_extension_data_proto_init()
if !protoimpl.UnsafeEnabled {
file_extended_metadata_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ExtensionQuery); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_extended_metadata_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EntityRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_extended_metadata_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BatchedEntityRequestHeader); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_extended_metadata_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BatchedEntityRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_extended_metadata_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EntityExtensionDataArrayHeader); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_extended_metadata_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*EntityExtensionDataArray); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_extended_metadata_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BatchedExtensionResponseHeader); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_extended_metadata_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BatchedExtensionResponse); 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_extended_metadata_proto_rawDesc,
NumEnums: 1,
NumMessages: 8,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_extended_metadata_proto_goTypes,
DependencyIndexes: file_extended_metadata_proto_depIdxs,
EnumInfos: file_extended_metadata_proto_enumTypes,
MessageInfos: file_extended_metadata_proto_msgTypes,
}.Build()
File_extended_metadata_proto = out.File
file_extended_metadata_proto_rawDesc = nil
file_extended_metadata_proto_goTypes = nil
file_extended_metadata_proto_depIdxs = nil
}