2 import "dccl/option_extensions.proto";
3 import "dccl/arithmetic/protobuf/arithmetic_extensions.proto";
21 message ArithmeticDoubleTestMsg
23 option (dccl.msg).id = 1;
24 option (dccl.msg).max_bytes = 512;
26 repeated double value = 101 [
27 (dccl.field).codec = "_arithmetic",
28 (dccl.field).(arithmetic).model = "model",
29 (dccl.field).(arithmetic).debug_assert = true,
30 (dccl.field).max_repeat = 4
33 message ArithmeticEnumTestMsg
35 option (dccl.msg).id = 2;
36 option (dccl.msg).max_bytes = 512;
38 repeated Enum1 value = 114 [
39 (dccl.field).codec = "_arithmetic",
40 (dccl.field).(arithmetic).model = "model",
41 (dccl.field).(arithmetic).debug_assert = true,
42 (dccl.field).max_repeat = 4
46 message ArithmeticSingleEnumTestMsg
48 option (dccl.msg).id = 3;
49 option (dccl.msg).max_bytes = 512;
51 required Enum1 value = 114 [
52 (dccl.field).codec = "_arithmetic",
53 (dccl.field).(arithmetic).model = "model",
54 (dccl.field).(arithmetic).debug_assert = true
58 message ArithmeticEnum2TestMsg
60 option (dccl.msg).id = 4;
61 option (dccl.msg).max_bytes = 512;
63 repeated Enum2 value = 114 [
64 (dccl.field).codec = "_arithmetic",
65 (dccl.field).(arithmetic).model = "model",
66 (dccl.field).(arithmetic).debug_assert = true,
67 (dccl.field).max_repeat = 8
71 message ArithmeticDouble2TestMsg
73 option (dccl.msg).id = 5;
74 option (dccl.msg).max_bytes = 10000;
76 repeated int32 value = 101 [
77 (dccl.field).codec = "_arithmetic",
78 (dccl.field).(arithmetic).model = "model",
79 (dccl.field).(arithmetic).debug_assert = true,
80 (dccl.field).max_repeat = 100
84 message ArithmeticDouble3TestMsg
86 option (dccl.msg).id = 6;
87 option (dccl.msg).max_bytes = 10000;
89 repeated int32 value = 101 [
90 (dccl.field).codec = "_arithmetic",
91 (dccl.field).(arithmetic).model = "model",
92 (dccl.field).max_repeat = 4,
93 (dccl.field).(arithmetic).debug_assert = true
97 // repeated float float_arithmetic_repeat = 102 [(dccl.field).(arithmetic).model
99 // (dccl.field).max_repeat=4];
101 // repeated int32 int32_arithmetic_repeat = 103 [(dccl.field).(arithmetic).model
103 // (dccl.field).max_repeat=4];
105 // repeated bool bool_arithmetic_repeat = 113 [(dccl.field).(arithmetic).model =
107 // (dccl.field).max_repeat=4];