Goby3 3.7.0
2026.11.12
Loading...
Searching...
No Matches
test.proto
Go to the documentation of this file.
1syntax = "proto2";
2import "dccl/option_extensions.proto";
3
4package goby.test.middleware.publisher_subscriber_options.protobuf;
5
6message Sample
7{
8 option (dccl.msg).id = 125;
9 option (dccl.msg).max_bytes = 32;
10 option (dccl.msg).codec_version = 4;
11
12 optional int32 a = 1 [(dccl.field) = { min: 0 max: 100 }];
13 optional uint32 group = 2 [(dccl.field) = { min: 0 max: 100 }];
14}