Files
fluxengine/tests/testproto.proto
2021-05-16 18:11:40 +02:00

26 lines
456 B
Protocol Buffer

syntax = "proto2";
import "lib/common.proto";
message TestProto {
message SubMessageProto {
optional string s = 1;
}
optional int64 i64 = 1 [(help)="i64"];
optional int32 i32 = 2;
optional uint64 u64 = 3;
optional uint32 u32 = 4;
optional double d = 5;
optional SubMessageProto m = 6;
repeated SubMessageProto r = 7;
oneof alt {
SubMessageProto firstoption = 8;
SubMessageProto secondoption = 9;
}
optional RangeProto range = 10;
}