Goby v2
test.proto
1 
2 import "dccl/option_extensions.proto";
3 import "goby/test/acomms/dccl3/header.proto";
4 
5 message GobyMessage1
6 {
7  option (dccl.msg).id = 4;
8  option (dccl.msg).max_bytes = 32;
9 
10  optional int32 int32_val = 1 [(dccl.field).min = 0, (dccl.field).max = 20];
11 }
12 
13 message GobyMessage2
14 {
15  option (dccl.msg).id = 5;
16  option (dccl.msg).max_bytes = 32;
17 
18  optional bool bool_val = 1;
19 }
20 
21 message GobyMessage3
22 {
23  option (dccl.msg).id = 6;
24  option (dccl.msg).max_bytes = 32;
25 
26  optional string string_val = 1 [(dccl.field).max_length = 10];
27 }