| Index: third_party/protobuf/src/google/protobuf/empty.proto
|
| diff --git a/third_party/protobuf/src/google/protobuf/unittest_import_lite.proto b/third_party/protobuf/src/google/protobuf/empty.proto
|
| similarity index 73%
|
| copy from third_party/protobuf/src/google/protobuf/unittest_import_lite.proto
|
| copy to third_party/protobuf/src/google/protobuf/empty.proto
|
| index 81b117fe8489ecc4cba5410dbf876b4ca473657b..363ec175feeba1d343bc7dc87c11285e6964c25d 100644
|
| --- a/third_party/protobuf/src/google/protobuf/unittest_import_lite.proto
|
| +++ b/third_party/protobuf/src/google/protobuf/empty.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
|
| @@ -27,25 +27,25 @@
|
| // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| +syntax = "proto3";
|
|
|
| -// Author: kenton@google.com (Kenton Varda)
|
| -//
|
| -// This is like unittest_import.proto but with optimize_for = LITE_RUNTIME.
|
| -
|
| -package protobuf_unittest_import;
|
| -
|
| -option optimize_for = LITE_RUNTIME;
|
| +package google.protobuf;
|
|
|
| +option java_multiple_files = true;
|
| +option java_outer_classname = "EmptyProto";
|
| option java_package = "com.google.protobuf";
|
| +option csharp_namespace = "Google.Protobuf.WellKnownTypes";
|
| +option objc_class_prefix = "GPB";
|
|
|
| -import public "google/protobuf/unittest_import_public_lite.proto";
|
|
|
| -message ImportMessageLite {
|
| - optional int32 d = 1;
|
| -}
|
| +// A generic empty message that you can re-use to avoid defining duplicated
|
| +// empty messages in your APIs. A typical example is to use it as the request
|
| +// or the response type of an API method. For instance:
|
| +//
|
| +// service Foo {
|
| +// rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
| +// }
|
| +//
|
| +message Empty {
|
|
|
| -enum ImportEnumLite {
|
| - IMPORT_LITE_FOO = 7;
|
| - IMPORT_LITE_BAR = 8;
|
| - IMPORT_LITE_BAZ = 9;
|
| }
|
|
|