classroom
v1
|
#include <empty.h>
Public Member Functions | |
Empty (const Json::Value &storage) | |
Empty (Json::Value *storage) | |
virtual | ~Empty () |
const StringPiece | GetTypeName () const |
Static Public Member Functions | |
static Empty * | New () |
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 {}
.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Returns a string denoting the type of this data object.
google_classroom_api::Empty
|
static |
Creates a new default instance.