summaryrefslogtreecommitdiffstats
path: root/tests/options/proto3_options.proto
blob: 1017f046f2435e4842b7d78bbf7585fce57a04ac (plain)
1
2
3
4
5
6
7
8
9
10
11
syntax = "proto3";

import "nanopb.proto";

message Message1
{
    int32 proto3_default = 1;
    int32 proto3_off = 2 [(nanopb).proto3 = false];
    int32 proto3_on = 3 [(nanopb).proto3 = true];
}