public sealed class Empty : object, IMessage<Empty>, IEquatable<Empty>, IDeepCloneable<Empty>, IBufferMessage, IMessage
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);
}
The JSON representation for Empty is empty JSON object {}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["The `Empty` class in the `Google.Protobuf.WellKnownTypes` namespace is a reusable generic empty message for APIs, commonly used for request or response types."],["The `Empty` class is a concrete implementation that inherits from `Object` and implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["`Empty` class instances can be constructed with default empty constructor, or with a copy constructor by providing another `Empty` instance, and its JSON representation is an empty JSON object `{}`."],["The `Empty` class provides static properties such as `Descriptor` and `Parser`, and offers methods for size calculation, cloning, equality checks, hash code generation, merging, string representation, and writing to streams."],["The latest version of the `Empty` message can be found under the `3.27.1` tag, the current page content is based on version `3.15.8` and it is provided along with another prior version `3.23.0`."]]],[]]