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.event_sender.proto;
|
|
|
|
|
|
|
|
option optimize_for = CODE_SIZE;
|
|
|
|
|
|
|
|
message EventEnvelope {
|
|
|
|
string event_name = 2;
|
2024-12-15 19:51:02 +00:00
|
|
|
|
2021-06-19 20:29:48 +00:00
|
|
|
repeated EventFragment event_fragment = 3;
|
|
|
|
message EventFragment {
|
|
|
|
string name = 1;
|
|
|
|
bytes data = 2;
|
|
|
|
}
|
2024-12-15 19:51:02 +00:00
|
|
|
|
2021-06-19 20:29:48 +00:00
|
|
|
bytes sequence_id = 4;
|
|
|
|
int64 sequence_number = 5;
|
2024-12-15 19:51:02 +00:00
|
|
|
|
2021-06-19 20:29:48 +00:00
|
|
|
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;
|
|
|
|
}
|
2024-12-15 19:51:02 +00:00
|
|
|
|
|
|
|
repeated EventError error = 1;
|
2021-06-19 20:29:48 +00:00
|
|
|
}
|