2022-03-03 13:34:53 +00:00

20 lines
211 B
Protocol Buffer

syntax = "proto3";
package oneof_enum;
message Test {
oneof action {
Signal signal = 1;
Move move = 2;
}
}
enum Signal {
PASS = 0;
RESIGN = 1;
}
message Move {
int32 x = 1;
int32 y = 2;
}