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

#include <counter_metadata.h>

Inheritance diagram for google_dataflow_api::CounterMetadata:

Public Member Functions

 CounterMetadata (const Json::Value &storage)
 
 CounterMetadata (Json::Value *storage)
 
virtual ~CounterMetadata ()
 
const StringPiece GetTypeName () const
 
bool has_description () const
 
void clear_description ()
 
const StringPiece get_description () const
 
void set_description (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_other_units () const
 
void clear_other_units ()
 
const StringPiece get_other_units () const
 
void set_other_units (const StringPiece &value)
 
bool has_standard_units () const
 
void clear_standard_units ()
 
const StringPiece get_standard_units () const
 
void set_standard_units (const StringPiece &value)
 

Static Public Member Functions

static CounterMetadataNew ()
 

Detailed Description

CounterMetadata includes all static non-name non-value counter attributes.

Constructor & Destructor Documentation

◆ CounterMetadata() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ CounterMetadata() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~CounterMetadata()

google_dataflow_api::CounterMetadata::~CounterMetadata ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_description()

void google_dataflow_api::CounterMetadata::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_kind()

void google_dataflow_api::CounterMetadata::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_other_units()

void google_dataflow_api::CounterMetadata::clear_other_units ( )
inline

Clears the 'otherUnits' attribute.

◆ clear_standard_units()

void google_dataflow_api::CounterMetadata::clear_standard_units ( )
inline

Clears the 'standardUnits' attribute.

◆ get_description()

const StringPiece google_dataflow_api::CounterMetadata::get_description ( ) const
inline

Get the value of the 'description' attribute.

◆ get_kind()

const StringPiece google_dataflow_api::CounterMetadata::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_other_units()

const StringPiece google_dataflow_api::CounterMetadata::get_other_units ( ) const
inline

Get the value of the 'otherUnits' attribute.

◆ get_standard_units()

const StringPiece google_dataflow_api::CounterMetadata::get_standard_units ( ) const
inline

Get the value of the 'standardUnits' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::CounterMetadata

◆ has_description()

bool google_dataflow_api::CounterMetadata::has_description ( ) const
inline

Determine if the 'description' attribute was set.

Returns
true if the 'description' attribute was set.

◆ has_kind()

bool google_dataflow_api::CounterMetadata::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_other_units()

bool google_dataflow_api::CounterMetadata::has_other_units ( ) const
inline

Determine if the 'otherUnits' attribute was set.

Returns
true if the 'otherUnits' attribute was set.

◆ has_standard_units()

bool google_dataflow_api::CounterMetadata::has_standard_units ( ) const
inline

Determine if the 'standardUnits' attribute was set.

Returns
true if the 'standardUnits' attribute was set.

◆ New()

CounterMetadata * google_dataflow_api::CounterMetadata::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_description()

void google_dataflow_api::CounterMetadata::set_description ( const StringPiece &  value)
inline

Change the 'description' attribute.

Human-readable description of the counter semantics.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_dataflow_api::CounterMetadata::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Counter aggregation kind.

Parameters
[in]valueThe new value.

◆ set_other_units()

void google_dataflow_api::CounterMetadata::set_other_units ( const StringPiece &  value)
inline

Change the 'otherUnits' attribute.

A string referring to the unit type.

Parameters
[in]valueThe new value.

◆ set_standard_units()

void google_dataflow_api::CounterMetadata::set_standard_units ( const StringPiece &  value)
inline

Change the 'standardUnits' attribute.

System defined Units, see above enum.

Parameters
[in]valueThe new value.

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