mirror of
https://github.com/google/pebble.git
synced 2025-03-19 10:31:21 +00:00
26 lines
354 B
Protocol Buffer
26 lines
354 B
Protocol Buffer
|
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;
|
||
|
}
|