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 = "proto3";
|
|
|
|
|
|
|
|
package spotify.playlist_esperanto.proto;
|
|
|
|
|
2024-12-15 19:51:02 +00:00
|
|
|
import "google/protobuf/duration.proto";
|
2021-06-19 20:29:48 +00:00
|
|
|
import "policy/playlist_request_decoration_policy.proto";
|
|
|
|
import "playlist_query.proto";
|
|
|
|
import "playlist_request.proto";
|
|
|
|
import "response_status.proto";
|
|
|
|
|
|
|
|
option objc_class_prefix = "ESP";
|
|
|
|
option java_multiple_files = true;
|
|
|
|
option optimize_for = CODE_SIZE;
|
|
|
|
option java_package = "spotify.playlist.esperanto.proto";
|
|
|
|
|
|
|
|
message PlaylistGetRequest {
|
|
|
|
string uri = 1;
|
|
|
|
PlaylistQuery query = 2;
|
|
|
|
playlist.cosmos.proto.PlaylistRequestDecorationPolicy policy = 3;
|
|
|
|
}
|
|
|
|
|
2024-12-15 19:51:02 +00:00
|
|
|
message PlaylistMultiGetSingleRequest {
|
|
|
|
string id = 1;
|
|
|
|
PlaylistGetRequest request = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message PlaylistMultiGetRequest {
|
|
|
|
repeated PlaylistMultiGetSingleRequest requests = 1;
|
|
|
|
google.protobuf.Duration timeout = 2;
|
|
|
|
}
|
|
|
|
|
2021-06-19 20:29:48 +00:00
|
|
|
message PlaylistGetResponse {
|
|
|
|
ResponseStatus status = 1;
|
|
|
|
playlist.cosmos.playlist_request.proto.Response data = 2;
|
2024-12-15 19:51:02 +00:00
|
|
|
PlaylistQuery query = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message PlaylistMultiGetSingleResponse {
|
|
|
|
string id = 1;
|
|
|
|
string uri = 2;
|
|
|
|
PlaylistGetResponse response = 3;
|
2021-06-19 20:29:48 +00:00
|
|
|
}
|
2024-12-15 19:51:02 +00:00
|
|
|
|
|
|
|
message PlaylistMultiGetResponse {
|
|
|
|
ResponseStatus status = 1;
|
|
|
|
repeated PlaylistMultiGetSingleResponse responses = 2;
|
|
|
|
}
|
|
|
|
|