mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-24 11:11:02 -07:00
22 lines
354 B
Protocol Buffer
22 lines
354 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
message TestProto {
|
|
message SubMessage {
|
|
optional string s = 1;
|
|
}
|
|
|
|
optional int64 i64 = 1;
|
|
optional int32 i32 = 2;
|
|
optional uint64 u64 = 3;
|
|
optional uint32 u32 = 4;
|
|
optional double d = 5;
|
|
optional SubMessage m = 6;
|
|
repeated SubMessage r = 7;
|
|
|
|
oneof alt {
|
|
SubMessage firstoption = 8;
|
|
SubMessage secondoption = 9;
|
|
}
|
|
}
|
|
|