1
0
Fork 0
python-aristaproto/tests/inputs/oneof_enum/oneof_enum.proto

20 lines
211 B
Protocol Buffer
Raw Normal View History

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;
}