3 import "dccl/option_extensions.proto";
15 repeated int32 a = 1 [
16 (dccl.field) = { min: -100 max: 100 max_repeat: 5 }
17 ]; // default min repeat (0)
18 repeated int32 b = 2 [
19 (dccl.field) = { min: -100 max: 100 min_repeat: 2 max_repeat: 3 }
20 ]; // min repeat and max repeat different
21 repeated int32 c = 3 [
22 (dccl.field) = { min: -100 max: 100 min_repeat: 3 max_repeat: 3 }
23 ]; // min repeat and max repeat the same
26 message InvalidTestMsgMissingMaxRepeat
34 repeated int32 a = 1 [(dccl.field) = { min: -100 max: 100 }];
37 message InvalidTestMsgMaxRepeatLessThanOne
45 repeated int32 a = 1 [(dccl.field) = { min: -100 max: 100 max_repeat: 0 }];
48 message InvalidTestMsgMaxRepeatLessThanMinRepeat
57 [(dccl.field) = { min: -100 max: 100 min_repeat: 5 max_repeat: 3 }];