DCCL v3
test.proto
1 
2 import "dccl/option_extensions.proto";
3 import "dccl/test/dccl_v2_header/header.proto";
4 package dccl.test;
5 
6 message GobyMessage
7 {
8  option (dccl.msg).id = 4;
9  option (dccl.msg).max_bytes = 64;
10  option (dccl.msg).codec_version = 2;
11 
12 
13  required string telegram = 1 [(dccl.field).max_length=10];
14  required Header header = 2;
15 
16  optional int32 const_int =3 [(dccl.field).static_value="3", (dccl.field).codec="_static"];
17 }
18