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.remote_config.ucs.proto;
|
|
|
|
|
|
|
|
option optimize_for = CODE_SIZE;
|
|
|
|
|
|
|
|
message PropertyDefinition {
|
2024-12-15 19:51:02 +00:00
|
|
|
reserved "hash";
|
|
|
|
reserved 2;
|
|
|
|
|
|
|
|
message BoolSpec {
|
|
|
|
bool default = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message IntSpec {
|
|
|
|
int32 default = 1;
|
|
|
|
int32 lower = 2;
|
|
|
|
int32 upper = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message EnumSpec {
|
|
|
|
string default = 1;
|
|
|
|
repeated string values = 2;
|
|
|
|
}
|
|
|
|
|
2021-06-19 20:29:48 +00:00
|
|
|
Identifier id = 1;
|
|
|
|
message Identifier {
|
|
|
|
string scope = 1;
|
|
|
|
string name = 2;
|
|
|
|
}
|
2024-12-15 19:51:02 +00:00
|
|
|
|
2021-06-19 20:29:48 +00:00
|
|
|
Metadata metadata = 4;
|
|
|
|
message Metadata {
|
|
|
|
string component_id = 1;
|
|
|
|
string description = 2;
|
|
|
|
}
|
2024-12-15 19:51:02 +00:00
|
|
|
|
2021-06-19 20:29:48 +00:00
|
|
|
oneof specification {
|
|
|
|
BoolSpec bool_spec = 5;
|
|
|
|
IntSpec int_spec = 6;
|
|
|
|
EnumSpec enum_spec = 7;
|
|
|
|
}
|
|
|
|
}
|