com.google.protobuf.empty
package com.google.protobuf.empty
Members list
Type members
Classlikes
final case class Empty(unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[Empty]
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:
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
- Supertypes
-
trait Updatable[Empty]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object Empty extends GeneratedMessageCompanion[Empty], JavaProtoSupport[Empty, Empty]
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrortrait GeneratedMessageCompanion[Empty]trait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
Empty.type
object EmptyProto extends GeneratedFileObject
Attributes
- Supertypes
- Self type
-
EmptyProto.type
In this article