11 lines
126 B
Protocol Buffer
Raw Normal View History

2019-09-18 11:11:16 +03:00
package My;
enum MyEnum {
ONE = 1;
TWO = 2;
}
message Test {
required MyEnum num = 1 [default=ONE];
}