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:
23
third_party/nanopb/tests/regression/issue_545/submsg_callback.proto
vendored
Normal file
23
third_party/nanopb/tests/regression/issue_545/submsg_callback.proto
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
syntax = "proto2";
|
||||
|
||||
import "nanopb.proto";
|
||||
|
||||
message SubMessage3 {
|
||||
required uint32 foo = 1;
|
||||
}
|
||||
|
||||
message SubMessage2 {
|
||||
oneof oneof {
|
||||
SubMessage3 submsg = 1 [(nanopb).submsg_callback = true];
|
||||
}
|
||||
}
|
||||
|
||||
message SubMessage1 {
|
||||
repeated SubMessage2 msgs = 1 [(nanopb).max_count = 16];
|
||||
}
|
||||
|
||||
message MainMessage {
|
||||
required SubMessage1 msg = 1;
|
||||
required uint32 foo = 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user