Goby3  3.1.5a
2024.05.23
test.proto
Go to the documentation of this file.
1 syntax = "proto2";
2 import "dccl/option_extensions.proto";
3 
4 package goby.test.zeromq.protobuf;
5 
6 message Sample
7 {
8  // option (dccl.msg).id = 127;
9  // option (dccl.msg).max_bytes = 32;
10  // option (dccl.msg).codec_version = 3;
11 
12  optional int32 a = 1; // [(dccl.field) = { min: -10000 max: 10000}];
13 }
14 
15 message Widget
16 {
17  optional int32 b = 1;
18 }