emptypb
package v1.36.11
Go to latest Published: Dec 12, 2025 License:BSD-3-Clause
Opens a new window with list of versions in this module.
Latest LatestThis package is not in the latest version of its module.
Opens a new window with license information.
Imports:5 Opens a new window with list of imports.
Imported by:15,415 Opens a new window with list of known importers.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
This section is empty.
Variables¶
View Source
var File_google_protobuf_empty_protoprotoreflect.FileDescriptorFunctions¶
This section is empty.
Types¶
typeEmpty¶
type Empty struct {// contains filtered or unexported fields}A generic empty message that you can re-use to avoid defining duplicatedempty messages in your APIs. A typical example is to use it as the requestor the response type of an API method. For instance:
service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);} func (*Empty)Descriptordeprecated
func (*Empty)ProtoMessage¶
func (*Empty) ProtoMessage()
func (*Empty)ProtoReflect¶
func (x *Empty) ProtoReflect()protoreflect.Message
Click to show internal directories.
Click to hide internal directories.