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 
7 message Sample
8 {
9  // option (dccl.msg).id = 127;
10  // option (dccl.msg).max_bytes = 32;
11  // option (dccl.msg).codec_version = 3;
12 
13  optional int32 a = 1; // [(dccl.field) = { min: -10000 max: 10000}];
14 }
15 
16 message Widget
17 {
18  optional int32 b = 1;
19 }