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

#include <resource_utilization_report.h>

Inheritance diagram for google_dataflow_api::ResourceUtilizationReport:

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< ResourceUtilizationReportget_containers () const
 
client::JsonCppAssociativeArray< ResourceUtilizationReportmutable_containers ()
 
bool has_cpu_time () const
 
void clear_cpu_time ()
 
const client::JsonCppArray< CPUTimeget_cpu_time () const
 
client::JsonCppArray< CPUTimemutable_cpuTime ()
 
bool has_memory_info () const
 
void clear_memory_info ()
 
const client::JsonCppArray< MemInfoget_memory_info () const
 
client::JsonCppArray< MemInfomutable_memoryInfo ()
 

Static Public Member Functions

static ResourceUtilizationReportNew ()
 

Detailed Description

Worker metrics exported from workers. This contains resource utilization metrics accumulated from a variety of sources. For more information, see go/df-resource-signals.

Constructor & Destructor Documentation

◆ ResourceUtilizationReport() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ResourceUtilizationReport() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ResourceUtilizationReport()

google_dataflow_api::ResourceUtilizationReport::~ResourceUtilizationReport ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_containers()

void google_dataflow_api::ResourceUtilizationReport::clear_containers ( )
inline

Clears the 'containers' attribute.

◆ clear_cpu_time()

void google_dataflow_api::ResourceUtilizationReport::clear_cpu_time ( )
inline

Clears the 'cpuTime' attribute.

◆ clear_memory_info()

void google_dataflow_api::ResourceUtilizationReport::clear_memory_info ( )
inline

Clears the 'memoryInfo' attribute.

◆ get_containers()

const client::JsonCppAssociativeArray<ResourceUtilizationReport > google_dataflow_api::ResourceUtilizationReport::get_containers ( ) const

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

◆ get_cpu_time()

const client::JsonCppArray<CPUTime > google_dataflow_api::ResourceUtilizationReport::get_cpu_time ( ) const

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

◆ get_memory_info()

const client::JsonCppArray<MemInfo > google_dataflow_api::ResourceUtilizationReport::get_memory_info ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::ResourceUtilizationReport

◆ has_containers()

bool google_dataflow_api::ResourceUtilizationReport::has_containers ( ) const
inline

Determine if the 'containers' attribute was set.

Returns
true if the 'containers' attribute was set.

◆ has_cpu_time()

bool google_dataflow_api::ResourceUtilizationReport::has_cpu_time ( ) const
inline

Determine if the 'cpuTime' attribute was set.

Returns
true if the 'cpuTime' attribute was set.

◆ has_memory_info()

bool google_dataflow_api::ResourceUtilizationReport::has_memory_info ( ) const
inline

Determine if the 'memoryInfo' attribute was set.

Returns
true if the 'memoryInfo' attribute was set.

◆ mutable_containers()

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.

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

◆ mutable_cpuTime()

client::JsonCppArray<CPUTime > google_dataflow_api::ResourceUtilizationReport::mutable_cpuTime ( )

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

CPU utilization samples.

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

◆ mutable_memoryInfo()

client::JsonCppArray<MemInfo > google_dataflow_api::ResourceUtilizationReport::mutable_memoryInfo ( )

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

Memory utilization samples.

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

◆ New()

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