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.popcount2.proto;
|
|
|
|
|
|
|
|
option optimize_for = CODE_SIZE;
|
|
|
|
|
|
|
|
message PopcountRequest {
|
|
|
|
}
|
|
|
|
|
|
|
|
message PopcountResult {
|
|
|
|
optional sint64 count = 1;
|
|
|
|
optional bool truncated = 2;
|
|
|
|
repeated string user = 3;
|
2024-12-15 19:51:02 +00:00
|
|
|
repeated string userid = 6;
|
|
|
|
optional int64 raw_count = 7;
|
|
|
|
optional bool count_hidden_from_users = 8;
|
2021-06-19 20:29:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message PopcountUserUpdate {
|
|
|
|
optional string user = 1;
|
|
|
|
optional sint64 timestamp = 2;
|
|
|
|
optional bool added = 3;
|
2024-12-15 19:51:02 +00:00
|
|
|
optional string userid = 4;
|
2021-06-19 20:29:48 +00:00
|
|
|
}
|
|
|
|
|
2024-12-15 19:51:02 +00:00
|
|
|
message PopcountFollowerResult {
|
|
|
|
optional bool is_truncated = 1;
|
|
|
|
repeated bytes user_id = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message PopcountSetFollowerCounterValueRequest {
|
|
|
|
optional int64 count = 1;
|
2021-06-19 20:29:48 +00:00
|
|
|
}
|