aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/test/java/com/google/protobuf/multiple_files_test.proto
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/test/java/com/google/protobuf/multiple_files_test.proto')
-rw-r--r--java/src/test/java/com/google/protobuf/multiple_files_test.proto14
1 files changed, 2 insertions, 12 deletions
diff --git a/java/src/test/java/com/google/protobuf/multiple_files_test.proto b/java/src/test/java/com/google/protobuf/multiple_files_test.proto
index 7ec89a0..060f159 100644
--- a/java/src/test/java/com/google/protobuf/multiple_files_test.proto
+++ b/java/src/test/java/com/google/protobuf/multiple_files_test.proto
@@ -1,6 +1,6 @@
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
-// https://developers.google.com/protocol-buffers/
+// http://code.google.com/p/protobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
@@ -33,19 +33,13 @@
// A proto file which tests the java_multiple_files option.
-// Some generic_services option(s) added automatically.
-// See: http://go/proto2-generic-services-default
-option java_generic_services = true; // auto-added
-
import "google/protobuf/unittest.proto";
-import "google/protobuf/descriptor.proto";
package protobuf_unittest;
option java_multiple_files = true;
option java_outer_classname = "MultipleFilesTestProto";
-
message MessageWithNoOuter {
message NestedMessage {
optional int32 i = 1;
@@ -59,12 +53,8 @@ message MessageWithNoOuter {
optional EnumWithNoOuter foreign_enum = 4;
}
-extend google.protobuf.EnumValueOptions {
- optional int32 enum_value_option = 7654321;
-}
-
enum EnumWithNoOuter {
- FOO = 1 [(enum_value_option) = 12345];
+ FOO = 1;
BAR = 2;
}