aboutsummaryrefslogtreecommitdiffhomepage
path: root/javanano/src/test/java/com/google/protobuf/nano/unittest_nano.proto
diff options
context:
space:
mode:
Diffstat (limited to 'javanano/src/test/java/com/google/protobuf/nano/unittest_nano.proto')
-rw-r--r--javanano/src/test/java/com/google/protobuf/nano/unittest_nano.proto11
1 files changed, 10 insertions, 1 deletions
diff --git a/javanano/src/test/java/com/google/protobuf/nano/unittest_nano.proto b/javanano/src/test/java/com/google/protobuf/nano/unittest_nano.proto
index 4519533c..3fff24c0 100644
--- a/javanano/src/test/java/com/google/protobuf/nano/unittest_nano.proto
+++ b/javanano/src/test/java/com/google/protobuf/nano/unittest_nano.proto
@@ -34,7 +34,7 @@ package protobuf_unittest;
import "google/protobuf/nano/unittest_import_nano.proto";
-option java_package = "com.google.protobuf.nano";
+option java_package = "com.google.protobuf";
option java_outer_classname = "NanoOuterClass";
// Same as TestAllTypes but with the nano runtime.
@@ -167,6 +167,15 @@ message TestAllTypesNano {
// Try to fail with java reserved keywords
optional int32 synchronized = 96;
+
+ oneof oneof_field {
+ uint32 oneof_uint32 = 111;
+ NestedMessage oneof_nested_message = 112;
+ string oneof_string = 123;
+ bytes oneof_bytes = 124;
+ fixed64 oneof_fixed64 = 115;
+ NestedEnum oneof_enum = 116;
+ }
}
message ForeignMessageNano {