#include <counter_metadata.h>
CounterMetadata includes all static non-name non-value counter attributes.
◆ CounterMetadata() [1/2]
| google_dataflow_api::CounterMetadata::CounterMetadata |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ CounterMetadata() [2/2]
| google_dataflow_api::CounterMetadata::CounterMetadata |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~CounterMetadata()
| google_dataflow_api::CounterMetadata::~CounterMetadata |
( |
| ) |
|
|
virtual |
◆ clear_description()
| void google_dataflow_api::CounterMetadata::clear_description |
( |
| ) |
|
|
inline |
Clears the 'description' attribute.
◆ clear_kind()
| void google_dataflow_api::CounterMetadata::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind' attribute.
◆ clear_other_units()
| void google_dataflow_api::CounterMetadata::clear_other_units |
( |
| ) |
|
|
inline |
Clears the 'otherUnits' attribute.
◆ clear_standard_units()
| void google_dataflow_api::CounterMetadata::clear_standard_units |
( |
| ) |
|
|
inline |
Clears the 'standardUnits' attribute.
◆ get_description()
| const StringPiece google_dataflow_api::CounterMetadata::get_description |
( |
| ) |
const |
|
inline |
Get the value of the 'description' attribute.
◆ get_kind()
| const StringPiece google_dataflow_api::CounterMetadata::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind' attribute.
◆ get_other_units()
| const StringPiece google_dataflow_api::CounterMetadata::get_other_units |
( |
| ) |
const |
|
inline |
Get the value of the 'otherUnits' attribute.
◆ get_standard_units()
| const StringPiece google_dataflow_api::CounterMetadata::get_standard_units |
( |
| ) |
const |
|
inline |
Get the value of the 'standardUnits' attribute.
◆ GetTypeName()
| const StringPiece google_dataflow_api::CounterMetadata::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_description()
| bool google_dataflow_api::CounterMetadata::has_description |
( |
| ) |
const |
|
inline |
Determine if the 'description' attribute was set.
- Returns
- true if the '
description' attribute was set.
◆ has_kind()
| bool google_dataflow_api::CounterMetadata::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind' attribute was set.
- Returns
- true if the '
kind' attribute was set.
◆ has_other_units()
| bool google_dataflow_api::CounterMetadata::has_other_units |
( |
| ) |
const |
|
inline |
Determine if the 'otherUnits' attribute was set.
- Returns
- true if the '
otherUnits' attribute was set.
◆ has_standard_units()
| bool google_dataflow_api::CounterMetadata::has_standard_units |
( |
| ) |
const |
|
inline |
Determine if the 'standardUnits' attribute was set.
- Returns
- true if the '
standardUnits' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_description()
| void google_dataflow_api::CounterMetadata::set_description |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'description' attribute.
Human-readable description of the counter semantics.
- Parameters
-
◆ set_kind()
| void google_dataflow_api::CounterMetadata::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
Counter aggregation kind.
- Parameters
-
◆ set_other_units()
| void google_dataflow_api::CounterMetadata::set_other_units |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'otherUnits' attribute.
A string referring to the unit type.
- Parameters
-
◆ set_standard_units()
| void google_dataflow_api::CounterMetadata::set_standard_units |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'standardUnits' attribute.
System defined Units, see above enum.
- Parameters
-
The documentation for this class was generated from the following files: