public final class CPUTime
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Dataflow API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
CPUTime() |
Modifier and Type | Method and Description |
---|---|
CPUTime |
clone() |
java.lang.Double |
getRate()
Average CPU utilization rate (% non-idle cpu / second) since previous sample.
|
java.lang.String |
getTimestamp()
Timestamp of the measurement.
|
java.math.BigInteger |
getTotalMs()
Total active CPU time across all cores (ie., non-idle) in milliseconds since start-up.
|
CPUTime |
set(java.lang.String fieldName,
java.lang.Object value) |
CPUTime |
setRate(java.lang.Double rate)
Average CPU utilization rate (% non-idle cpu / second) since previous sample.
|
CPUTime |
setTimestamp(java.lang.String timestamp)
Timestamp of the measurement.
|
CPUTime |
setTotalMs(java.math.BigInteger totalMs)
Total active CPU time across all cores (ie., non-idle) in milliseconds since start-up.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Double getRate()
null
for nonepublic CPUTime setRate(java.lang.Double rate)
rate
- rate or null
for nonepublic java.lang.String getTimestamp()
null
for nonepublic CPUTime setTimestamp(java.lang.String timestamp)
timestamp
- timestamp or null
for nonepublic java.math.BigInteger getTotalMs()
null
for nonepublic CPUTime setTotalMs(java.math.BigInteger totalMs)
totalMs
- totalMs or null
for nonepublic CPUTime set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public CPUTime clone()
clone
in class com.google.api.client.json.GenericJson