1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-03 01:39:28 +02:00
librespot/protocol/proto/popcount2_external.proto
Felix Prillwitz 2a574267ae
Update protobuf files (#1424)
* update protobuf definitions

* add additionally required proto files

* update version.rs

* adjust code to protobuf changes

* fix formatting

* apply suggestions, improve errors
2024-12-24 09:39:49 +01:00

35 lines
744 B
Protocol Buffer

// Extracted from: Spotify 1.2.52.442 (windows)
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;
repeated string userid = 6;
optional int64 raw_count = 7;
optional bool count_hidden_from_users = 8;
}
message PopcountUserUpdate {
optional string user = 1;
optional sint64 timestamp = 2;
optional bool added = 3;
optional string userid = 4;
}
message PopcountFollowerResult {
optional bool is_truncated = 1;
repeated bytes user_id = 2;
}
message PopcountSetFollowerCounterValueRequest {
optional int64 count = 1;
}