diff options
Diffstat (limited to 'src/google/protobuf/empty.proto')
-rw-r--r-- | src/google/protobuf/empty.proto | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/google/protobuf/empty.proto b/src/google/protobuf/empty.proto index 363ec175..9dddc6c5 100644 --- a/src/google/protobuf/empty.proto +++ b/src/google/protobuf/empty.proto @@ -34,10 +34,10 @@ package google.protobuf; option java_multiple_files = true; option java_outer_classname = "EmptyProto"; option java_package = "com.google.protobuf"; +option java_generate_equals_and_hash = true; option csharp_namespace = "Google.Protobuf.WellKnownTypes"; option objc_class_prefix = "GPB"; - // 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: @@ -46,6 +46,5 @@ option objc_class_prefix = "GPB"; // rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); // } // -message Empty { - -} +// The JSON representation for `Empty` is empty JSON object `{}`. +message Empty {} |