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.prefs.esperanto.proto;
|
|
|
|
|
|
|
|
option objc_class_prefix = "ESP";
|
|
|
|
option java_package = "com.spotify.prefs.esperanto.proto";
|
|
|
|
|
|
|
|
service Prefs {
|
|
|
|
rpc Get(GetParams) returns (PrefValues);
|
|
|
|
rpc Sub(SubParams) returns (stream PrefValues);
|
|
|
|
rpc GetAll(GetAllParams) returns (PrefValues);
|
|
|
|
rpc SubAll(SubAllParams) returns (stream PrefValues);
|
|
|
|
rpc Set(SetParams) returns (PrefValues);
|
|
|
|
rpc Create(CreateParams) returns (PrefValues);
|
|
|
|
}
|
|
|
|
|
|
|
|
message GetParams {
|
|
|
|
string key = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message SubParams {
|
|
|
|
string key = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message GetAllParams {
|
|
|
|
}
|
|
|
|
|
|
|
|
message SubAllParams {
|
|
|
|
}
|
|
|
|
|
|
|
|
message Value {
|
|
|
|
oneof value {
|
|
|
|
int64 number = 1;
|
|
|
|
bool bool = 2;
|
|
|
|
string string = 3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
message SetParams {
|
|
|
|
map<string, Value> entries = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message CreateParams {
|
|
|
|
map<string, Value> entries = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message PrefValues {
|
|
|
|
map<string, Value> entries = 1;
|
|
|
|
}
|