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.protobuf;
5
6// uses the "dccl.native_protobuf" field codec provided by the external
7// libdccl_native_protobuf shared library
8message NativeProtobufSample
9{
10 option (dccl.msg).id = 126;
11 option (dccl.msg).max_bytes = 32;
12 option (dccl.msg).codec_version = 3;
13
14 optional int32 a = 1 [(dccl.field).codec = "dccl.native_protobuf"];
15 optional double b = 2 [(dccl.field).codec = "dccl.native_protobuf"];
16}