linx-simulator2/node_modules/protobufjs/tests/imports-toplevel.proto

14 lines
202 B
Protocol Buffer
Raw Normal View History

2019-09-18 08:11:16 +00:00
import "toplevel.proto";
package My;
enum MyEnum1 {
ONE = 1;
TWO = 2;
}
message Test1 {
required MyEnum num = 1 [default=ONE];
required MyEnum1 num1 = 2 [default=ONE];
}