2024-12-15 19:51:02 +00:00
|
|
|
// Extracted from: Spotify 1.2.52.442 (windows)
|
2021-06-19 20:29:48 +00:00
|
|
|
|
|
|
|
syntax = "proto2";
|
|
|
|
|
|
|
|
package spotify.playlist.cosmos.rootlist_request.proto;
|
|
|
|
|
|
|
|
import "playlist_folder_state.proto";
|
2021-12-10 19:33:43 +00:00
|
|
|
import "playlist_permission.proto";
|
2021-06-19 20:29:48 +00:00
|
|
|
import "playlist_playlist_state.proto";
|
|
|
|
import "protobuf_delta.proto";
|
|
|
|
|
2021-12-10 19:33:43 +00:00
|
|
|
option objc_class_prefix = "SPTPlaylistCosmosRootlist";
|
2021-06-19 20:29:48 +00:00
|
|
|
option optimize_for = CODE_SIZE;
|
|
|
|
option java_package = "com.spotify.playlist.proto";
|
|
|
|
|
|
|
|
message Playlist {
|
|
|
|
optional string row_id = 1;
|
|
|
|
optional cosmos.proto.PlaylistMetadata playlist_metadata = 2;
|
|
|
|
optional cosmos.proto.PlaylistOfflineState playlist_offline_state = 3;
|
|
|
|
optional uint32 add_time = 4;
|
|
|
|
optional bool is_on_demand_in_free = 5;
|
|
|
|
optional string group_label = 6;
|
2021-12-10 19:33:43 +00:00
|
|
|
optional playlist_permission.proto.Capabilities capabilities = 7;
|
2021-06-19 20:29:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message Item {
|
|
|
|
optional string header_field = 1;
|
|
|
|
optional Folder folder = 2;
|
|
|
|
optional Playlist playlist = 3;
|
|
|
|
optional protobuf_deltas.proto.Delta delta = 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Folder {
|
|
|
|
repeated Item item = 1;
|
|
|
|
optional cosmos.proto.FolderMetadata folder_metadata = 2;
|
|
|
|
optional string row_id = 3;
|
|
|
|
optional uint32 add_time = 4;
|
|
|
|
optional string group_label = 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Response {
|
|
|
|
optional Folder root = 1;
|
|
|
|
optional int32 unfiltered_length = 2;
|
|
|
|
optional int32 unranged_length = 3;
|
|
|
|
optional bool is_loading_contents = 4;
|
|
|
|
}
|