mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
37 lines
684 B
Protocol Buffer
37 lines
684 B
Protocol Buffer
// Extracted from: Spotify 1.2.52.442 (windows)
|
|
|
|
syntax = "proto3";
|
|
|
|
package spotify.event_sender.proto;
|
|
|
|
option optimize_for = CODE_SIZE;
|
|
|
|
message EventEnvelope {
|
|
string event_name = 2;
|
|
|
|
repeated EventFragment event_fragment = 3;
|
|
message EventFragment {
|
|
string name = 1;
|
|
bytes data = 2;
|
|
}
|
|
|
|
bytes sequence_id = 4;
|
|
int64 sequence_number = 5;
|
|
|
|
reserved 1;
|
|
}
|
|
|
|
message PublishEventsRequest {
|
|
repeated EventEnvelope event = 1;
|
|
bool suppress_persist = 2;
|
|
}
|
|
|
|
message PublishEventsResponse {
|
|
message EventError {
|
|
int32 index = 1;
|
|
bool transient = 2;
|
|
int32 reason = 3;
|
|
}
|
|
|
|
repeated EventError error = 1;
|
|
}
|