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

#include <floating_point_mean.h>

Inheritance diagram for google_dataflow_api::FloatingPointMean:

Public Member Functions

 FloatingPointMean (const Json::Value &storage)
 
 FloatingPointMean (Json::Value *storage)
 
virtual ~FloatingPointMean ()
 
const StringPiece GetTypeName () const
 
bool has_count () const
 
void clear_count ()
 
const SplitInt64 get_count () const
 
SplitInt64 mutable_count ()
 
bool has_sum () const
 
void clear_sum ()
 
double get_sum () const
 
void set_sum (double value)
 

Static Public Member Functions

static FloatingPointMeanNew ()
 

Detailed Description

A representation of a floating point mean metric contribution.

Constructor & Destructor Documentation

◆ FloatingPointMean() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ FloatingPointMean() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~FloatingPointMean()

google_dataflow_api::FloatingPointMean::~FloatingPointMean ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_count()

void google_dataflow_api::FloatingPointMean::clear_count ( )
inline

Clears the 'count' attribute.

◆ clear_sum()

void google_dataflow_api::FloatingPointMean::clear_sum ( )
inline

Clears the 'sum' attribute.

◆ get_count()

const SplitInt64 google_dataflow_api::FloatingPointMean::get_count ( ) const

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

◆ get_sum()

double google_dataflow_api::FloatingPointMean::get_sum ( ) const
inline

Get the value of the 'sum' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::FloatingPointMean

◆ has_count()

bool google_dataflow_api::FloatingPointMean::has_count ( ) const
inline

Determine if the 'count' attribute was set.

Returns
true if the 'count' attribute was set.

◆ has_sum()

bool google_dataflow_api::FloatingPointMean::has_sum ( ) const
inline

Determine if the 'sum' attribute was set.

Returns
true if the 'sum' attribute was set.

◆ mutable_count()

SplitInt64 google_dataflow_api::FloatingPointMean::mutable_count ( )

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

The number of values being aggregated.

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

◆ New()

FloatingPointMean * google_dataflow_api::FloatingPointMean::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_sum()

void google_dataflow_api::FloatingPointMean::set_sum ( double  value)
inline

Change the 'sum' attribute.

The sum of all values being aggregated.

Parameters
[in]valueThe new value.

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