mirror of
https://github.com/google/pebble.git
synced 2025-03-25 21:09:05 +00:00
19 lines
335 B
Protocol Buffer
19 lines
335 B
Protocol Buffer
|
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];
|
||
|
}
|
||
|
|