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

#include <counter_update.h>

Inheritance diagram for google_dataflow_api::CounterUpdate:

Public Member Functions

 CounterUpdate (const Json::Value &storage)
 
 CounterUpdate (Json::Value *storage)
 
virtual ~CounterUpdate ()
 
const StringPiece GetTypeName () const
 
bool has_boolean () const
 
void clear_boolean ()
 
bool get_boolean () const
 
void set_boolean (bool value)
 
bool has_cumulative () const
 
void clear_cumulative ()
 
bool get_cumulative () const
 
void set_cumulative (bool value)
 
bool has_distribution () const
 
void clear_distribution ()
 
const DistributionUpdate get_distribution () const
 
DistributionUpdate mutable_distribution ()
 
bool has_floating_point () const
 
void clear_floating_point ()
 
double get_floating_point () const
 
void set_floating_point (double value)
 
bool has_floating_point_list () const
 
void clear_floating_point_list ()
 
const FloatingPointList get_floating_point_list () const
 
FloatingPointList mutable_floatingPointList ()
 
bool has_floating_point_mean () const
 
void clear_floating_point_mean ()
 
const FloatingPointMean get_floating_point_mean () const
 
FloatingPointMean mutable_floatingPointMean ()
 
bool has_integer () const
 
void clear_integer ()
 
const SplitInt64 get_integer () const
 
SplitInt64 mutable_integer ()
 
bool has_integer_gauge () const
 
void clear_integer_gauge ()
 
const IntegerGauge get_integer_gauge () const
 
IntegerGauge mutable_integerGauge ()
 
bool has_integer_list () const
 
void clear_integer_list ()
 
const IntegerList get_integer_list () const
 
IntegerList mutable_integerList ()
 
bool has_integer_mean () const
 
void clear_integer_mean ()
 
const IntegerMean get_integer_mean () const
 
IntegerMean mutable_integerMean ()
 
bool has_internal () const
 
void clear_internal ()
 
const client::JsonCppData get_internal () const
 
client::JsonCppData mutable_internal ()
 
bool has_name_and_kind () const
 
void clear_name_and_kind ()
 
const NameAndKind get_name_and_kind () const
 
NameAndKind mutable_nameAndKind ()
 
bool has_short_id () const
 
void clear_short_id ()
 
int64 get_short_id () const
 
void set_short_id (int64 value)
 
bool has_string_list () const
 
void clear_string_list ()
 
const StringList get_string_list () const
 
StringList mutable_stringList ()
 
bool has_structured_name_and_metadata () const
 
void clear_structured_name_and_metadata ()
 
const CounterStructuredNameAndMetadata get_structured_name_and_metadata () const
 
CounterStructuredNameAndMetadata mutable_structuredNameAndMetadata ()
 

Static Public Member Functions

static CounterUpdateNew ()
 

Detailed Description

An update to a Counter sent from a worker.

Constructor & Destructor Documentation

◆ CounterUpdate() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ CounterUpdate() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~CounterUpdate()

google_dataflow_api::CounterUpdate::~CounterUpdate ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_boolean()

void google_dataflow_api::CounterUpdate::clear_boolean ( )
inline

Clears the 'boolean' attribute.

◆ clear_cumulative()

void google_dataflow_api::CounterUpdate::clear_cumulative ( )
inline

Clears the 'cumulative' attribute.

◆ clear_distribution()

void google_dataflow_api::CounterUpdate::clear_distribution ( )
inline

Clears the 'distribution' attribute.

◆ clear_floating_point()

void google_dataflow_api::CounterUpdate::clear_floating_point ( )
inline

Clears the 'floatingPoint' attribute.

◆ clear_floating_point_list()

void google_dataflow_api::CounterUpdate::clear_floating_point_list ( )
inline

Clears the 'floatingPointList' attribute.

◆ clear_floating_point_mean()

void google_dataflow_api::CounterUpdate::clear_floating_point_mean ( )
inline

Clears the 'floatingPointMean' attribute.

◆ clear_integer()

void google_dataflow_api::CounterUpdate::clear_integer ( )
inline

Clears the 'integer' attribute.

◆ clear_integer_gauge()

void google_dataflow_api::CounterUpdate::clear_integer_gauge ( )
inline

Clears the 'integerGauge' attribute.

◆ clear_integer_list()

void google_dataflow_api::CounterUpdate::clear_integer_list ( )
inline

Clears the 'integerList' attribute.

◆ clear_integer_mean()

void google_dataflow_api::CounterUpdate::clear_integer_mean ( )
inline

Clears the 'integerMean' attribute.

◆ clear_internal()

void google_dataflow_api::CounterUpdate::clear_internal ( )
inline

Clears the 'internal' attribute.

◆ clear_name_and_kind()

void google_dataflow_api::CounterUpdate::clear_name_and_kind ( )
inline

Clears the 'nameAndKind' attribute.

◆ clear_short_id()

void google_dataflow_api::CounterUpdate::clear_short_id ( )
inline

Clears the 'shortId' attribute.

◆ clear_string_list()

void google_dataflow_api::CounterUpdate::clear_string_list ( )
inline

Clears the 'stringList' attribute.

◆ clear_structured_name_and_metadata()

void google_dataflow_api::CounterUpdate::clear_structured_name_and_metadata ( )
inline

Clears the 'structuredNameAndMetadata' attribute.

◆ get_boolean()

bool google_dataflow_api::CounterUpdate::get_boolean ( ) const
inline

Get the value of the 'boolean' attribute.

◆ get_cumulative()

bool google_dataflow_api::CounterUpdate::get_cumulative ( ) const
inline

Get the value of the 'cumulative' attribute.

◆ get_distribution()

const DistributionUpdate google_dataflow_api::CounterUpdate::get_distribution ( ) const

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

◆ get_floating_point()

double google_dataflow_api::CounterUpdate::get_floating_point ( ) const
inline

Get the value of the 'floatingPoint' attribute.

◆ get_floating_point_list()

const FloatingPointList google_dataflow_api::CounterUpdate::get_floating_point_list ( ) const

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

◆ get_floating_point_mean()

const FloatingPointMean google_dataflow_api::CounterUpdate::get_floating_point_mean ( ) const

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

◆ get_integer()

const SplitInt64 google_dataflow_api::CounterUpdate::get_integer ( ) const

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

◆ get_integer_gauge()

const IntegerGauge google_dataflow_api::CounterUpdate::get_integer_gauge ( ) const

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

◆ get_integer_list()

const IntegerList google_dataflow_api::CounterUpdate::get_integer_list ( ) const

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

◆ get_integer_mean()

const IntegerMean google_dataflow_api::CounterUpdate::get_integer_mean ( ) const

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

◆ get_internal()

const client::JsonCppData google_dataflow_api::CounterUpdate::get_internal ( ) const
inline

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

◆ get_name_and_kind()

const NameAndKind google_dataflow_api::CounterUpdate::get_name_and_kind ( ) const

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

◆ get_short_id()

int64 google_dataflow_api::CounterUpdate::get_short_id ( ) const
inline

Get the value of the 'shortId' attribute.

◆ get_string_list()

const StringList google_dataflow_api::CounterUpdate::get_string_list ( ) const

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

◆ get_structured_name_and_metadata()

const CounterStructuredNameAndMetadata google_dataflow_api::CounterUpdate::get_structured_name_and_metadata ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::CounterUpdate

◆ has_boolean()

bool google_dataflow_api::CounterUpdate::has_boolean ( ) const
inline

Determine if the 'boolean' attribute was set.

Returns
true if the 'boolean' attribute was set.

◆ has_cumulative()

bool google_dataflow_api::CounterUpdate::has_cumulative ( ) const
inline

Determine if the 'cumulative' attribute was set.

Returns
true if the 'cumulative' attribute was set.

◆ has_distribution()

bool google_dataflow_api::CounterUpdate::has_distribution ( ) const
inline

Determine if the 'distribution' attribute was set.

Returns
true if the 'distribution' attribute was set.

◆ has_floating_point()

bool google_dataflow_api::CounterUpdate::has_floating_point ( ) const
inline

Determine if the 'floatingPoint' attribute was set.

Returns
true if the 'floatingPoint' attribute was set.

◆ has_floating_point_list()

bool google_dataflow_api::CounterUpdate::has_floating_point_list ( ) const
inline

Determine if the 'floatingPointList' attribute was set.

Returns
true if the 'floatingPointList' attribute was set.

◆ has_floating_point_mean()

bool google_dataflow_api::CounterUpdate::has_floating_point_mean ( ) const
inline

Determine if the 'floatingPointMean' attribute was set.

Returns
true if the 'floatingPointMean' attribute was set.

◆ has_integer()

bool google_dataflow_api::CounterUpdate::has_integer ( ) const
inline

Determine if the 'integer' attribute was set.

Returns
true if the 'integer' attribute was set.

◆ has_integer_gauge()

bool google_dataflow_api::CounterUpdate::has_integer_gauge ( ) const
inline

Determine if the 'integerGauge' attribute was set.

Returns
true if the 'integerGauge' attribute was set.

◆ has_integer_list()

bool google_dataflow_api::CounterUpdate::has_integer_list ( ) const
inline

Determine if the 'integerList' attribute was set.

Returns
true if the 'integerList' attribute was set.

◆ has_integer_mean()

bool google_dataflow_api::CounterUpdate::has_integer_mean ( ) const
inline

Determine if the 'integerMean' attribute was set.

Returns
true if the 'integerMean' attribute was set.

◆ has_internal()

bool google_dataflow_api::CounterUpdate::has_internal ( ) const
inline

Determine if the 'internal' attribute was set.

Returns
true if the 'internal' attribute was set.

◆ has_name_and_kind()

bool google_dataflow_api::CounterUpdate::has_name_and_kind ( ) const
inline

Determine if the 'nameAndKind' attribute was set.

Returns
true if the 'nameAndKind' attribute was set.

◆ has_short_id()

bool google_dataflow_api::CounterUpdate::has_short_id ( ) const
inline

Determine if the 'shortId' attribute was set.

Returns
true if the 'shortId' attribute was set.

◆ has_string_list()

bool google_dataflow_api::CounterUpdate::has_string_list ( ) const
inline

Determine if the 'stringList' attribute was set.

Returns
true if the 'stringList' attribute was set.

◆ has_structured_name_and_metadata()

bool google_dataflow_api::CounterUpdate::has_structured_name_and_metadata ( ) const
inline

Determine if the 'structuredNameAndMetadata' attribute was set.

Returns
true if the 'structuredNameAndMetadata' attribute was set.

◆ mutable_distribution()

DistributionUpdate google_dataflow_api::CounterUpdate::mutable_distribution ( )

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

Distribution data.

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

◆ mutable_floatingPointList()

FloatingPointList google_dataflow_api::CounterUpdate::mutable_floatingPointList ( )

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

List of floating point numbers, for Set.

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

◆ mutable_floatingPointMean()

FloatingPointMean google_dataflow_api::CounterUpdate::mutable_floatingPointMean ( )

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

Floating point mean aggregation value for Mean.

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

◆ mutable_integer()

SplitInt64 google_dataflow_api::CounterUpdate::mutable_integer ( )

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

Integer value for Sum, Max, Min.

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

◆ mutable_integerGauge()

IntegerGauge google_dataflow_api::CounterUpdate::mutable_integerGauge ( )

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

Gauge data.

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

◆ mutable_integerList()

IntegerList google_dataflow_api::CounterUpdate::mutable_integerList ( )

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

List of integers, for Set.

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

◆ mutable_integerMean()

IntegerMean google_dataflow_api::CounterUpdate::mutable_integerMean ( )

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

Integer mean aggregation value for Mean.

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

◆ mutable_internal()

client::JsonCppData google_dataflow_api::CounterUpdate::mutable_internal ( )
inline

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

Value for internally-defined counters used by the Dataflow service.

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

◆ mutable_nameAndKind()

NameAndKind google_dataflow_api::CounterUpdate::mutable_nameAndKind ( )

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

Counter name and aggregation type.

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

◆ mutable_stringList()

StringList google_dataflow_api::CounterUpdate::mutable_stringList ( )

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

List of strings, for Set.

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

◆ mutable_structuredNameAndMetadata()

CounterStructuredNameAndMetadata google_dataflow_api::CounterUpdate::mutable_structuredNameAndMetadata ( )

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

Counter structured name and metadata.

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

◆ New()

CounterUpdate * google_dataflow_api::CounterUpdate::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_boolean()

void google_dataflow_api::CounterUpdate::set_boolean ( bool  value)
inline

Change the 'boolean' attribute.

Boolean value for And, Or.

Parameters
[in]valueThe new value.

◆ set_cumulative()

void google_dataflow_api::CounterUpdate::set_cumulative ( bool  value)
inline

Change the 'cumulative' attribute.

True if this counter is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem. By default this is false, indicating that this counter is reported as a delta.

Parameters
[in]valueThe new value.

◆ set_floating_point()

void google_dataflow_api::CounterUpdate::set_floating_point ( double  value)
inline

Change the 'floatingPoint' attribute.

Floating point value for Sum, Max, Min.

Parameters
[in]valueThe new value.

◆ set_short_id()

void google_dataflow_api::CounterUpdate::set_short_id ( int64  value)
inline

Change the 'shortId' attribute.

The service-generated short identifier for this counter. The short_id -> (name, metadata) mapping is constant for the lifetime of a job.

Parameters
[in]valueThe new value.

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