summaryrefslogtreecommitdiff
path: root/examples/example.proto
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example.proto')
-rw-r--r--examples/example.proto15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/example.proto b/examples/example.proto
new file mode 100644
index 0000000..231c455
--- /dev/null
+++ b/examples/example.proto
@@ -0,0 +1,15 @@
+//
+// upb - a minimalist implementation of protocol buffers.
+//
+// Copyright (c) 2011 Google Inc. See LICENSE for details.
+// Author: Josh Haberman <jhaberman@gmail.com>
+//
+// A .proto file for the examples in this directory.
+
+package example;
+
+message SampleMessage {
+ optional string name = 1;
+ optional int32 id = 2;
+ optional string email = 3;
+}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback