Index: third_party/protobuf/javanano/src/test/java/com/google/protobuf/nano/unittest_enum_class_nano.proto |
diff --git a/third_party/protobuf/src/google/protobuf/unittest_import_public_lite.proto b/third_party/protobuf/javanano/src/test/java/com/google/protobuf/nano/unittest_enum_class_nano.proto |
similarity index 81% |
copy from third_party/protobuf/src/google/protobuf/unittest_import_public_lite.proto |
copy to third_party/protobuf/javanano/src/test/java/com/google/protobuf/nano/unittest_enum_class_nano.proto |
index d077563cbd84d7be6daddec3f553cb564f23da0a..3a1e07f6d9d325993ffe5585c0d95ad844dc3b9e 100644 |
--- a/third_party/protobuf/src/google/protobuf/unittest_import_public_lite.proto |
+++ b/third_party/protobuf/javanano/src/test/java/com/google/protobuf/nano/unittest_enum_class_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,15 +28,21 @@ |
// (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: liujisi@google.com (Pherl Liu) |
+// Author: maxtroy@google.com (Max Cai) |
- |
-package protobuf_unittest_import; |
- |
-option optimize_for = LITE_RUNTIME; |
+package protobuf_unittest; |
option java_package = "com.google.protobuf"; |
+option java_outer_classname = "EnumClassNanos"; |
+ |
+enum FileScopeEnum { |
+ ONE = 1; |
+} |
-message PublicImportMessageLite { |
- optional int32 e = 1; |
+message EnumClassNano { |
+ enum MessageScopeEnum { |
+ TWO = 2; |
+ } |
+ optional FileScopeEnum one = 1 [ default = ONE ]; |
+ optional MessageScopeEnum two = 2 [ default = TWO ]; |
} |