classroom  v1
Public Member Functions | Static Public Member Functions | List of all members
google_classroom_api::Empty Class Reference

#include <empty.h>

Inheritance diagram for google_classroom_api::Empty:

Public Member Functions

 Empty (const Json::Value &storage)
 
 Empty (Json::Value *storage)
 
virtual ~Empty ()
 
const StringPiece GetTypeName () const
 

Static Public Member Functions

static EmptyNew ()
 

Detailed Description

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 {}.

Constructor & Destructor Documentation

◆ Empty() [1/2]

google_classroom_api::Empty::Empty ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ Empty() [2/2]

google_classroom_api::Empty::Empty ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~Empty()

google_classroom_api::Empty::~Empty ( )
virtual

Standard destructor.

Member Function Documentation

◆ GetTypeName()

const StringPiece google_classroom_api::Empty::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_classroom_api::Empty

◆ New()

Empty * google_classroom_api::Empty::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

The documentation for this class was generated from the following files: