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

#include <counter_structured_name_and_metadata.h>

Inheritance diagram for google_dataflow_api::CounterStructuredNameAndMetadata:

Public Member Functions

 CounterStructuredNameAndMetadata (const Json::Value &storage)
 
 CounterStructuredNameAndMetadata (Json::Value *storage)
 
virtual ~CounterStructuredNameAndMetadata ()
 
const StringPiece GetTypeName () const
 
bool has_metadata () const
 
void clear_metadata ()
 
const CounterMetadata get_metadata () const
 
CounterMetadata mutable_metadata ()
 
bool has_name () const
 
void clear_name ()
 
const CounterStructuredName get_name () const
 
CounterStructuredName mutable_name ()
 

Static Public Member Functions

static CounterStructuredNameAndMetadataNew ()
 

Detailed Description

A single message which encapsulates structured name and metadata for a given counter.

Constructor & Destructor Documentation

◆ CounterStructuredNameAndMetadata() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ CounterStructuredNameAndMetadata() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~CounterStructuredNameAndMetadata()

google_dataflow_api::CounterStructuredNameAndMetadata::~CounterStructuredNameAndMetadata ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_metadata()

void google_dataflow_api::CounterStructuredNameAndMetadata::clear_metadata ( )
inline

Clears the 'metadata' attribute.

◆ clear_name()

void google_dataflow_api::CounterStructuredNameAndMetadata::clear_name ( )
inline

Clears the 'name' attribute.

◆ get_metadata()

const CounterMetadata google_dataflow_api::CounterStructuredNameAndMetadata::get_metadata ( ) const

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

◆ get_name()

const CounterStructuredName google_dataflow_api::CounterStructuredNameAndMetadata::get_name ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::CounterStructuredNameAndMetadata

◆ has_metadata()

bool google_dataflow_api::CounterStructuredNameAndMetadata::has_metadata ( ) const
inline

Determine if the 'metadata' attribute was set.

Returns
true if the 'metadata' attribute was set.

◆ has_name()

bool google_dataflow_api::CounterStructuredNameAndMetadata::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ mutable_metadata()

CounterMetadata google_dataflow_api::CounterStructuredNameAndMetadata::mutable_metadata ( )

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

Metadata associated with a counter.

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

◆ mutable_name()

CounterStructuredName google_dataflow_api::CounterStructuredNameAndMetadata::mutable_name ( )

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

Structured name of the counter.

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

◆ New()

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