dataflow  v1b3
Public Member Functions | Static Public Member Functions | List of all members
google_dataflow_api::Parameter Class Reference

#include <parameter.h>

Inheritance diagram for google_dataflow_api::Parameter:

Public Member Functions

 Parameter (const Json::Value &storage)
 
 Parameter (Json::Value *storage)
 
virtual ~Parameter ()
 
const StringPiece GetTypeName () const
 
bool has_key () const
 
void clear_key ()
 
const StringPiece get_key () const
 
void set_key (const StringPiece &value)
 
bool has_value () const
 
void clear_value ()
 
const client::JsonCppData get_value () const
 
client::JsonCppData mutable_value ()
 

Static Public Member Functions

static ParameterNew ()
 

Detailed Description

Structured data associated with this message.

Constructor & Destructor Documentation

◆ Parameter() [1/2]

google_dataflow_api::Parameter::Parameter ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ Parameter() [2/2]

google_dataflow_api::Parameter::Parameter ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~Parameter()

google_dataflow_api::Parameter::~Parameter ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_key()

void google_dataflow_api::Parameter::clear_key ( )
inline

Clears the 'key' attribute.

◆ clear_value()

void google_dataflow_api::Parameter::clear_value ( )
inline

Clears the 'value' attribute.

◆ get_key()

const StringPiece google_dataflow_api::Parameter::get_key ( ) const
inline

Get the value of the 'key' attribute.

◆ get_value()

const client::JsonCppData google_dataflow_api::Parameter::get_value ( ) const
inline

Get a reference to the value of the 'value' attribute.

◆ GetTypeName()

const StringPiece google_dataflow_api::Parameter::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::Parameter

◆ has_key()

bool google_dataflow_api::Parameter::has_key ( ) const
inline

Determine if the 'key' attribute was set.

Returns
true if the 'key' attribute was set.

◆ has_value()

bool google_dataflow_api::Parameter::has_value ( ) const
inline

Determine if the 'value' attribute was set.

Returns
true if the 'value' attribute was set.

◆ mutable_value()

client::JsonCppData google_dataflow_api::Parameter::mutable_value ( )
inline

Gets a reference to a mutable value of the 'value' property.

Value for this parameter.

Returns
The result can be modified to change the attribute value.

◆ New()

Parameter * google_dataflow_api::Parameter::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_key()

void google_dataflow_api::Parameter::set_key ( const StringPiece &  value)
inline

Change the 'key' attribute.

Key or name for this parameter.

Parameters
[in]valueThe new value.

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