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 {}.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Updatable[Empty]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Attributes
- Definition Classes
Returns a human-readable ASCII format representation of this message.
Returns a human-readable ASCII format representation of this message.
The original message can be decoded from this format by using fromAscii on the companion object.
Attributes
- Returns
-
human-readable representation of this message.
Serializes the message into the given coded output stream
Serializes the message into the given coded output stream
Attributes
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Serializes the message and returns a byte array containing its raw bytes
Serializes the message and returns a byte array containing its raw bytes
Attributes
- Inherited from:
- GeneratedMessage
Serializes the message and returns a ByteString containing its raw bytes
Serializes the message and returns a ByteString containing its raw bytes
Attributes
- Inherited from:
- GeneratedMessage
Attributes
- Inherited from:
- GeneratedMessage
Attributes
- Inherited from:
- GeneratedMessage
Serializes the message into the given output stream