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 GobyMessage
7 {
8  option (dccl.msg).id = 4;
9  option (dccl.msg).max_bytes = 64;
10  option (dccl.msg).codec_version = 3;
11 
12  required string telegram = 1 [(dccl.field).max_length=10];
13  required Header header = 2 [(dccl.field).in_head = true];
14 
15  optional int32 const_int =3 [(dccl.field).static_value="3", (dccl.field).codec="_static"];
16 }
17