mirror of
https://github.com/google/pebble.git
synced 2025-11-30 19:22:22 -05:00
Import of the watch repository from Pebble
This commit is contained in:
18
third_party/nanopb/tests/options/proto3_options.proto
vendored
Normal file
18
third_party/nanopb/tests/options/proto3_options.proto
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
syntax = "proto3";
|
||||
|
||||
import "nanopb.proto";
|
||||
|
||||
message SubMsg
|
||||
{
|
||||
int32 field = 1;
|
||||
}
|
||||
|
||||
message Message1
|
||||
{
|
||||
int32 proto3_default = 1;
|
||||
int32 proto3_off = 2 [(nanopb).proto3 = false];
|
||||
int32 proto3_on = 3 [(nanopb).proto3 = true];
|
||||
SubMsg normal_submsg = 4;
|
||||
SubMsg sng_submsg = 5 [(nanopb).proto3_singular_msgs = true];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user