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