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

#include <metric_short_id.h>

Inheritance diagram for google_dataflow_api::MetricShortId:

Public Member Functions

 MetricShortId (const Json::Value &storage)
 
 MetricShortId (Json::Value *storage)
 
virtual ~MetricShortId ()
 
const StringPiece GetTypeName () const
 
bool has_metric_index () const
 
void clear_metric_index ()
 
int32 get_metric_index () const
 
void set_metric_index (int32 value)
 
bool has_short_id () const
 
void clear_short_id ()
 
int64 get_short_id () const
 
void set_short_id (int64 value)
 

Static Public Member Functions

static MetricShortIdNew ()
 

Detailed Description

The metric short id is returned to the user alongside an offset into ReportWorkItemStatusRequest.

Constructor & Destructor Documentation

◆ MetricShortId() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ MetricShortId() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~MetricShortId()

google_dataflow_api::MetricShortId::~MetricShortId ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_metric_index()

void google_dataflow_api::MetricShortId::clear_metric_index ( )
inline

Clears the 'metricIndex' attribute.

◆ clear_short_id()

void google_dataflow_api::MetricShortId::clear_short_id ( )
inline

Clears the 'shortId' attribute.

◆ get_metric_index()

int32 google_dataflow_api::MetricShortId::get_metric_index ( ) const
inline

Get the value of the 'metricIndex' attribute.

◆ get_short_id()

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

Get the value of the 'shortId' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::MetricShortId

◆ has_metric_index()

bool google_dataflow_api::MetricShortId::has_metric_index ( ) const
inline

Determine if the 'metricIndex' attribute was set.

Returns
true if the 'metricIndex' attribute was set.

◆ has_short_id()

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

Determine if the 'shortId' attribute was set.

Returns
true if the 'shortId' attribute was set.

◆ New()

MetricShortId * google_dataflow_api::MetricShortId::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_metric_index()

void google_dataflow_api::MetricShortId::set_metric_index ( int32  value)
inline

Change the 'metricIndex' attribute.

The index of the corresponding metric in the ReportWorkItemStatusRequest. Required.

Parameters
[in]valueThe new value.

◆ set_short_id()

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

Change the 'shortId' attribute.

The service-generated short identifier for the metric.

Parameters
[in]valueThe new value.

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