2 import "dccl/option_extensions.proto";
4 package goby.test.acomms.protobuf;
8 option (dccl.msg).id = 2;
9 option (dccl.msg).max_bytes = 32;
10 option (dccl.msg).codec_version = 3;
12 // test default enc/dec
13 optional double double_default_optional = 1 [
14 (dccl.field).min = -100,
15 (dccl.field).max = 126,
16 (dccl.field).precision = 2,
17 (dccl.field).in_head = true
19 optional float float_default_optional = 2 [
20 (dccl.field).min = -20,
21 (dccl.field).max = 150,
22 (dccl.field).precision = 3