public sealed class Empty : 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);
}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-05 UTC."],[[["The `Empty` class is a reusable, generic empty message provided by Google.Protobuf to avoid repetitive definitions in APIs."],["It can be utilized as either a request or response type in API methods, such as demonstrated in the provided `service Foo` example."],["The class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, enhancing its functionality and integration."],["`Empty` provides methods for size calculation, deep cloning, equality checks, hash code generation, merging from various sources, string conversion, and writing to streams."],["The `Descriptor` and `Parser` properties are available to describe the structure and parsing of an empty message, respectively."]]],[]]