mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-24 11:11:02 -07:00
27 lines
519 B
Protocol Buffer
27 lines
519 B
Protocol Buffer
syntax = "proto2";
|
|
|
|
import "lib/config/common.proto";
|
|
|
|
message TestProto
|
|
{
|
|
message SubMessageProto
|
|
{
|
|
optional string s = 1;
|
|
repeated int32 r = 2;
|
|
}
|
|
|
|
optional int64 i64 = 1 [(help) = "i64"];
|
|
optional int32 i32 = 2;
|
|
optional uint64 u64 = 3;
|
|
optional uint32 u32 = 4;
|
|
optional double d = 5;
|
|
optional double f = 11;
|
|
optional SubMessageProto m = 6;
|
|
repeated SubMessageProto r = 7;
|
|
|
|
oneof alt {
|
|
SubMessageProto firstoption = 8;
|
|
SubMessageProto secondoption = 9;
|
|
}
|
|
}
|