aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/nanopb/tests/callbacks/callbacks.proto
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nanopb/tests/callbacks/callbacks.proto')
-rw-r--r--third_party/nanopb/tests/callbacks/callbacks.proto18
1 files changed, 18 insertions, 0 deletions
diff --git a/third_party/nanopb/tests/callbacks/callbacks.proto b/third_party/nanopb/tests/callbacks/callbacks.proto
new file mode 100644
index 0000000000..96ac744d53
--- /dev/null
+++ b/third_party/nanopb/tests/callbacks/callbacks.proto
@@ -0,0 +1,18 @@
+syntax = "proto2";
+
+message SubMessage {
+ optional string stringvalue = 1;
+ repeated int32 int32value = 2;
+ repeated fixed32 fixed32value = 3;
+ repeated fixed64 fixed64value = 4;
+}
+
+message TestMessage {
+ optional string stringvalue = 1;
+ repeated int32 int32value = 2;
+ repeated fixed32 fixed32value = 3;
+ repeated fixed64 fixed64value = 4;
+ optional SubMessage submsg = 5;
+ repeated string repeatedstring = 6;
+}
+