mirror of
https://github.com/google/pebble.git
synced 2025-11-23 16:01:02 -05:00
Import of the watch repository from Pebble
This commit is contained in:
25
third_party/nanopb/tests/msgid/msgid_example.proto
vendored
Normal file
25
third_party/nanopb/tests/msgid/msgid_example.proto
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
syntax = "proto3";
|
||||
|
||||
import "nanopb.proto";
|
||||
|
||||
message MyMessage1
|
||||
{
|
||||
option (nanopb_msgopt).msgid = 1;
|
||||
|
||||
int32 intvalue = 1;
|
||||
}
|
||||
|
||||
message MyMessage2
|
||||
{
|
||||
option (nanopb_msgopt).msgid = 2;
|
||||
|
||||
int32 intvalue = 1;
|
||||
string strvalue = 2 [(nanopb).max_size = 16];
|
||||
}
|
||||
|
||||
message MyMessage3
|
||||
{
|
||||
option (nanopb_msgopt).msgid = 3;
|
||||
|
||||
bool boolvalue = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user