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

#include <string_list.h>

Inheritance diagram for google_dataflow_api::StringList:

Public Member Functions

 StringList (const Json::Value &storage)
 
 StringList (Json::Value *storage)
 
virtual ~StringList ()
 
const StringPiece GetTypeName () const
 
bool has_elements () const
 
void clear_elements ()
 
const client::JsonCppArray< string > get_elements () const
 
client::JsonCppArray< string > mutable_elements ()
 

Static Public Member Functions

static StringListNew ()
 

Detailed Description

A metric value representing a list of strings.

Constructor & Destructor Documentation

◆ StringList() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ StringList() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~StringList()

google_dataflow_api::StringList::~StringList ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_elements()

void google_dataflow_api::StringList::clear_elements ( )
inline

Clears the 'elements' attribute.

◆ get_elements()

const client::JsonCppArray<string > google_dataflow_api::StringList::get_elements ( ) const
inline

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::StringList

◆ has_elements()

bool google_dataflow_api::StringList::has_elements ( ) const
inline

Determine if the 'elements' attribute was set.

Returns
true if the 'elements' attribute was set.

◆ mutable_elements()

client::JsonCppArray<string > google_dataflow_api::StringList::mutable_elements ( )
inline

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

Elements of the list.

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

◆ New()

StringList * google_dataflow_api::StringList::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: