| Index: third_party/protobuf/java/compatibility_tests/v2.5.0/more_protos/src/proto/google/protobuf/unittest_import_lite.proto
|
| diff --git a/third_party/protobuf/src/google/protobuf/util/internal/testdata/anys.proto b/third_party/protobuf/java/compatibility_tests/v2.5.0/more_protos/src/proto/google/protobuf/unittest_import_lite.proto
|
| similarity index 76%
|
| copy from third_party/protobuf/src/google/protobuf/util/internal/testdata/anys.proto
|
| copy to third_party/protobuf/java/compatibility_tests/v2.5.0/more_protos/src/proto/google/protobuf/unittest_import_lite.proto
|
| index 18c59cbb96308c72f0a1d432a2ef79d81fccbdb6..81b117fe8489ecc4cba5410dbf876b4ca473657b 100644
|
| --- a/third_party/protobuf/src/google/protobuf/util/internal/testdata/anys.proto
|
| +++ b/third_party/protobuf/java/compatibility_tests/v2.5.0/more_protos/src/proto/google/protobuf/unittest_import_lite.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
|
| @@ -28,26 +28,24 @@
|
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| -// Proto to test Proto3 Any serialization.
|
| -syntax = "proto3";
|
| +// Author: kenton@google.com (Kenton Varda)
|
| +//
|
| +// This is like unittest_import.proto but with optimize_for = LITE_RUNTIME.
|
|
|
| -package google.protobuf.testing.anys;
|
| -option java_package = "com.google.protobuf.testing.anys";
|
| +package protobuf_unittest_import;
|
|
|
| -import "google/protobuf/any.proto";
|
| +option optimize_for = LITE_RUNTIME;
|
|
|
| -message AnyIn {
|
| - string something = 1;
|
| -}
|
| +option java_package = "com.google.protobuf";
|
|
|
| -message AnyOut {
|
| - google.protobuf.Any any = 1;
|
| -}
|
| +import public "google/protobuf/unittest_import_public_lite.proto";
|
|
|
| -message AnyM {
|
| - string foo = 1;
|
| +message ImportMessageLite {
|
| + optional int32 d = 1;
|
| }
|
|
|
| -service TestService {
|
| - rpc Call(AnyIn) returns (AnyOut);
|
| +enum ImportEnumLite {
|
| + IMPORT_LITE_FOO = 7;
|
| + IMPORT_LITE_BAR = 8;
|
| + IMPORT_LITE_BAZ = 9;
|
| }
|
|
|