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."],[[["\u003cp\u003eThe \u003ccode\u003eEmpty\u003c/code\u003e class in the \u003ccode\u003eGoogle.Protobuf.WellKnownTypes\u003c/code\u003e namespace is a reusable generic empty message for APIs, commonly used for request or response types.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEmpty\u003c/code\u003e class is a concrete implementation that inherits from \u003ccode\u003eObject\u003c/code\u003e and implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eEmpty\u003c/code\u003e class instances can be constructed with default empty constructor, or with a copy constructor by providing another \u003ccode\u003eEmpty\u003c/code\u003e instance, and its JSON representation is an empty JSON object \u003ccode\u003e{}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEmpty\u003c/code\u003e class provides static properties such as \u003ccode\u003eDescriptor\u003c/code\u003e and \u003ccode\u003eParser\u003c/code\u003e, and offers methods for size calculation, cloning, equality checks, hash code generation, merging, string representation, and writing to streams.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eEmpty\u003c/code\u003e message can be found under the \u003ccode\u003e3.27.1\u003c/code\u003e tag, the current page content is based on version \u003ccode\u003e3.15.8\u003c/code\u003e and it is provided along with another prior version \u003ccode\u003e3.23.0\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]