|
container
v1
|
#include <metric.h>
Public Member Functions | |
| Metric (const Json::Value &storage) | |
| Metric (Json::Value *storage) | |
| virtual | ~Metric () |
| const StringPiece | GetTypeName () const |
| bool | has_double_value () const |
| void | clear_double_value () |
| double | get_double_value () const |
| void | set_double_value (double value) |
| bool | has_int_value () const |
| void | clear_int_value () |
| int64 | get_int_value () const |
| void | set_int_value (int64 value) |
| bool | has_name () const |
| void | clear_name () |
| const StringPiece | get_name () const |
| void | set_name (const StringPiece &value) |
| bool | has_string_value () const |
| void | clear_string_value () |
| const StringPiece | get_string_value () const |
| void | set_string_value (const StringPiece &value) |
Static Public Member Functions | |
| static Metric * | New () |
Progress metric is (string, int|float|string) pair.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'doubleValue' attribute.
|
inline |
Clears the 'intValue' attribute.
|
inline |
Clears the 'name' attribute.
|
inline |
Clears the 'stringValue' attribute.
|
inline |
Get the value of the 'doubleValue' attribute.
|
inline |
Get the value of the 'intValue' attribute.
|
inline |
Get the value of the 'name' attribute.
|
inline |
Get the value of the 'stringValue' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_container_api::Metric
|
inline |
Determine if the 'doubleValue' attribute was set.
doubleValue' attribute was set.
|
inline |
Determine if the 'intValue' attribute was set.
intValue' attribute was set.
|
inline |
Determine if the 'name' attribute was set.
name' attribute was set.
|
inline |
Determine if the 'stringValue' attribute was set.
stringValue' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'doubleValue' attribute.
For metrics with floating point value.
| [in] | value | The new value. |
|
inline |
Change the 'intValue' attribute.
For metrics with integer value.
| [in] | value | The new value. |
|
inline |
Change the 'name' attribute.
Required. Metric name, e.g., "nodes total", "percent done".
| [in] | value | The new value. |
|
inline |
Change the 'stringValue' attribute.
For metrics with custom values (ratios, visual progress, etc.).
| [in] | value | The new value. |