Index: third_party/protobuf/javanano/src/test/java/com/google/protobuf/nano/unittest_simple_nano.proto |
diff --git a/third_party/protobuf/src/google/protobuf/unittest_import_lite.proto b/third_party/protobuf/javanano/src/test/java/com/google/protobuf/nano/unittest_simple_nano.proto |
similarity index 77% |
copy from third_party/protobuf/src/google/protobuf/unittest_import_lite.proto |
copy to third_party/protobuf/javanano/src/test/java/com/google/protobuf/nano/unittest_simple_nano.proto |
index 81b117fe8489ecc4cba5410dbf876b4ca473657b..25786cc227cbba270f2b77161528b05f1bc82504 100644 |
--- a/third_party/protobuf/src/google/protobuf/unittest_import_lite.proto |
+++ b/third_party/protobuf/javanano/src/test/java/com/google/protobuf/nano/unittest_simple_nano.proto |
@@ -1,6 +1,6 @@ |
// Protocol Buffers - Google's data interchange format |
// Copyright 2008 Google Inc. All rights reserved. |
-// http://code.google.com/p/protobuf/ |
+// https://developers.google.com/protocol-buffers/ |
// |
// Redistribution and use in source and binary forms, with or without |
// modification, are permitted provided that the following conditions are |
@@ -28,24 +28,27 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// Author: kenton@google.com (Kenton Varda) |
+// Author: wink@google.com (Wink Saville) |
// |
-// This is like unittest_import.proto but with optimize_for = LITE_RUNTIME. |
package protobuf_unittest_import; |
-option optimize_for = LITE_RUNTIME; |
- |
option java_package = "com.google.protobuf"; |
+// Explicit outer classname to suppress legacy info. |
+option java_outer_classname = "UnittestSimpleNano"; |
-import public "google/protobuf/unittest_import_public_lite.proto"; |
+message SimpleMessageNano { |
+ message NestedMessage { |
+ optional int32 bb = 1; |
+ } |
-message ImportMessageLite { |
- optional int32 d = 1; |
-} |
+ enum NestedEnum { |
+ FOO = 1; |
+ BAR = 2; |
+ BAZ = 3; |
+ } |
-enum ImportEnumLite { |
- IMPORT_LITE_FOO = 7; |
- IMPORT_LITE_BAR = 8; |
- IMPORT_LITE_BAZ = 9; |
+ optional int32 d = 1 [default = 123]; |
+ optional NestedMessage nested_msg = 2; |
+ optional NestedEnum default_nested_enum = 3 [default = BAZ]; |
} |