That marker is only recognized by pb3-compatible compilers, meaning that tools which are otherwise compatible with our files break on them. Notably, this includes hprotoc (for haskell).
16 lines
298 B
Protocol Buffer
16 lines
298 B
Protocol Buffer
import "session_event.proto";
|
|
|
|
message Event_NotifyUser {
|
|
|
|
enum NotificationType {
|
|
PROMOTED = 1;
|
|
WARNING = 2;
|
|
}
|
|
|
|
extend SessionEvent {
|
|
optional Event_NotifyUser ext = 1010;
|
|
}
|
|
optional NotificationType type = 1;
|
|
optional string warning_reason = 2;
|
|
|
|
}
|