2024-12-15 19:51:02 +00:00
|
|
|
// Extracted from: Spotify 1.2.52.442 (windows)
|
2021-12-10 19:33:43 +00:00
|
|
|
|
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package spotify.collection_cosmos.proto;
|
|
|
|
|
|
|
|
import "policy/artist_decoration_policy.proto";
|
|
|
|
import "policy/album_decoration_policy.proto";
|
|
|
|
import "policy/track_decoration_policy.proto";
|
2024-12-15 19:51:02 +00:00
|
|
|
import "policy/show_decoration_policy.proto";
|
|
|
|
import "policy/episode_decoration_policy.proto";
|
2021-12-10 19:33:43 +00:00
|
|
|
|
2024-12-15 19:51:02 +00:00
|
|
|
option java_package = "spotify.collection.esperanto.proto";
|
|
|
|
option java_multiple_files = true;
|
|
|
|
option objc_class_prefix = "ESP";
|
2021-12-10 19:33:43 +00:00
|
|
|
option optimize_for = CODE_SIZE;
|
|
|
|
|
|
|
|
message CollectionArtistDecorationPolicy {
|
|
|
|
cosmos_util.proto.ArtistCollectionDecorationPolicy collection_policy = 1;
|
|
|
|
cosmos_util.proto.ArtistSyncDecorationPolicy sync_policy = 2;
|
|
|
|
cosmos_util.proto.ArtistDecorationPolicy artist_policy = 3;
|
|
|
|
bool decorated = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CollectionAlbumDecorationPolicy {
|
|
|
|
bool decorated = 1;
|
|
|
|
bool album_type = 2;
|
|
|
|
CollectionArtistDecorationPolicy artist_policy = 3;
|
|
|
|
CollectionArtistDecorationPolicy artists_policy = 4;
|
|
|
|
cosmos_util.proto.AlbumCollectionDecorationPolicy collection_policy = 5;
|
|
|
|
cosmos_util.proto.AlbumSyncDecorationPolicy sync_policy = 6;
|
|
|
|
cosmos_util.proto.AlbumDecorationPolicy album_policy = 7;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CollectionTrackDecorationPolicy {
|
|
|
|
cosmos_util.proto.TrackCollectionDecorationPolicy collection_policy = 1;
|
|
|
|
cosmos_util.proto.TrackSyncDecorationPolicy sync_policy = 2;
|
|
|
|
cosmos_util.proto.TrackDecorationPolicy track_policy = 3;
|
|
|
|
cosmos_util.proto.TrackPlayedStateDecorationPolicy played_state_policy = 4;
|
|
|
|
CollectionAlbumDecorationPolicy album_policy = 5;
|
|
|
|
cosmos_util.proto.ArtistDecorationPolicy artist_policy = 6;
|
|
|
|
bool decorated = 7;
|
2024-12-15 19:51:02 +00:00
|
|
|
cosmos_util.proto.ArtistCollectionDecorationPolicy artist_collection_policy = 8;
|
2021-12-10 19:33:43 +00:00
|
|
|
}
|
2024-12-15 19:51:02 +00:00
|
|
|
|
|
|
|
message CollectionShowDecorationPolicy {
|
|
|
|
cosmos_util.proto.ShowDecorationPolicy show_policy = 1;
|
|
|
|
cosmos_util.proto.ShowPlayedStateDecorationPolicy played_state_policy = 2;
|
|
|
|
cosmos_util.proto.ShowCollectionDecorationPolicy collection_policy = 3;
|
|
|
|
bool decorated = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CollectionEpisodeDecorationPolicy {
|
|
|
|
cosmos_util.proto.EpisodeDecorationPolicy episode_policy = 1;
|
|
|
|
cosmos_util.proto.EpisodeCollectionDecorationPolicy collection_policy = 2;
|
|
|
|
cosmos_util.proto.EpisodeSyncDecorationPolicy sync_policy = 3;
|
|
|
|
cosmos_util.proto.EpisodePlayedStateDecorationPolicy played_state_policy = 4;
|
|
|
|
CollectionShowDecorationPolicy show_policy = 5;
|
|
|
|
bool decorated = 6;
|
|
|
|
}
|
|
|
|
|