dataflow
v1b3
|
#include <resource_utilization_report.h>
Public Member Functions | |
ResourceUtilizationReport (const Json::Value &storage) | |
ResourceUtilizationReport (Json::Value *storage) | |
virtual | ~ResourceUtilizationReport () |
const StringPiece | GetTypeName () const |
bool | has_containers () const |
void | clear_containers () |
const client::JsonCppAssociativeArray< ResourceUtilizationReport > | get_containers () const |
client::JsonCppAssociativeArray< ResourceUtilizationReport > | mutable_containers () |
bool | has_cpu_time () const |
void | clear_cpu_time () |
const client::JsonCppArray< CPUTime > | get_cpu_time () const |
client::JsonCppArray< CPUTime > | mutable_cpuTime () |
bool | has_memory_info () const |
void | clear_memory_info () |
const client::JsonCppArray< MemInfo > | get_memory_info () const |
client::JsonCppArray< MemInfo > | mutable_memoryInfo () |
Static Public Member Functions | |
static ResourceUtilizationReport * | New () |
Worker metrics exported from workers. This contains resource utilization metrics accumulated from a variety of sources. For more information, see go/df-resource-signals.
|
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 'containers
' attribute.
|
inline |
Clears the 'cpuTime
' attribute.
|
inline |
Clears the 'memoryInfo
' attribute.
const client::JsonCppAssociativeArray<ResourceUtilizationReport > google_dataflow_api::ResourceUtilizationReport::get_containers | ( | ) | const |
Get a reference to the value of the 'containers
' attribute.
const client::JsonCppArray<CPUTime > google_dataflow_api::ResourceUtilizationReport::get_cpu_time | ( | ) | const |
Get a reference to the value of the 'cpuTime
' attribute.
const client::JsonCppArray<MemInfo > google_dataflow_api::ResourceUtilizationReport::get_memory_info | ( | ) | const |
Get a reference to the value of the 'memoryInfo
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'containers
' attribute was set.
containers
' attribute was set.
|
inline |
Determine if the 'cpuTime
' attribute was set.
cpuTime
' attribute was set.
|
inline |
Determine if the 'memoryInfo
' attribute was set.
memoryInfo
' attribute was set. client::JsonCppAssociativeArray<ResourceUtilizationReport > google_dataflow_api::ResourceUtilizationReport::mutable_containers | ( | ) |
Gets a reference to a mutable value of the 'containers
' property.
Per container information. Key: container name.
client::JsonCppArray<CPUTime > google_dataflow_api::ResourceUtilizationReport::mutable_cpuTime | ( | ) |
Gets a reference to a mutable value of the 'cpuTime
' property.
CPU utilization samples.
client::JsonCppArray<MemInfo > google_dataflow_api::ResourceUtilizationReport::mutable_memoryInfo | ( | ) |
Gets a reference to a mutable value of the 'memoryInfo
' property.
Memory utilization samples.
|
static |
Creates a new default instance.