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

#include <integer_gauge.h>

Inheritance diagram for google_dataflow_api::IntegerGauge:

Public Member Functions

 IntegerGauge (const Json::Value &storage)
 
 IntegerGauge (Json::Value *storage)
 
virtual ~IntegerGauge ()
 
const StringPiece GetTypeName () const
 
bool has_timestamp () const
 
void clear_timestamp ()
 
const StringPiece get_timestamp () const
 
void set_timestamp (const StringPiece &value)
 
bool has_value () const
 
void clear_value ()
 
const SplitInt64 get_value () const
 
SplitInt64 mutable_value ()
 

Static Public Member Functions

static IntegerGaugeNew ()
 

Detailed Description

A metric value representing temporal values of a variable.

Constructor & Destructor Documentation

◆ IntegerGauge() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ IntegerGauge() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~IntegerGauge()

google_dataflow_api::IntegerGauge::~IntegerGauge ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_timestamp()

void google_dataflow_api::IntegerGauge::clear_timestamp ( )
inline

Clears the 'timestamp' attribute.

◆ clear_value()

void google_dataflow_api::IntegerGauge::clear_value ( )
inline

Clears the 'value' attribute.

◆ get_timestamp()

const StringPiece google_dataflow_api::IntegerGauge::get_timestamp ( ) const
inline

Get the value of the 'timestamp' attribute.

◆ get_value()

const SplitInt64 google_dataflow_api::IntegerGauge::get_value ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::IntegerGauge

◆ has_timestamp()

bool google_dataflow_api::IntegerGauge::has_timestamp ( ) const
inline

Determine if the 'timestamp' attribute was set.

Returns
true if the 'timestamp' attribute was set.

◆ has_value()

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

Determine if the 'value' attribute was set.

Returns
true if the 'value' attribute was set.

◆ mutable_value()

SplitInt64 google_dataflow_api::IntegerGauge::mutable_value ( )

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

The value of the variable represented by this gauge.

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

◆ New()

IntegerGauge * google_dataflow_api::IntegerGauge::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_timestamp()

void google_dataflow_api::IntegerGauge::set_timestamp ( const StringPiece &  value)
inline

Change the 'timestamp' attribute.

The time at which this value was measured. Measured as msecs from epoch.

Parameters
[in]valueThe new value.

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