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

#include <integer_mean.h>

Inheritance diagram for google_dataflow_api::IntegerMean:

Public Member Functions

 IntegerMean (const Json::Value &storage)
 
 IntegerMean (Json::Value *storage)
 
virtual ~IntegerMean ()
 
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 ()
 
const SplitInt64 get_sum () const
 
SplitInt64 mutable_sum ()
 

Static Public Member Functions

static IntegerMeanNew ()
 

Detailed Description

A representation of an integer mean metric contribution.

Constructor & Destructor Documentation

◆ IntegerMean() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ IntegerMean() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~IntegerMean()

google_dataflow_api::IntegerMean::~IntegerMean ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_count()

void google_dataflow_api::IntegerMean::clear_count ( )
inline

Clears the 'count' attribute.

◆ clear_sum()

void google_dataflow_api::IntegerMean::clear_sum ( )
inline

Clears the 'sum' attribute.

◆ get_count()

const SplitInt64 google_dataflow_api::IntegerMean::get_count ( ) const

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

◆ get_sum()

const SplitInt64 google_dataflow_api::IntegerMean::get_sum ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::IntegerMean

◆ has_count()

bool google_dataflow_api::IntegerMean::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::IntegerMean::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::IntegerMean::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.

◆ mutable_sum()

SplitInt64 google_dataflow_api::IntegerMean::mutable_sum ( )

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

The sum of all values being aggregated.

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

◆ New()

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