diff options
Diffstat (limited to 'examples/example.proto')
-rw-r--r-- | examples/example.proto | 15 |
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; +} |