public final class CollectdValue
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 Stackdriver Monitoring 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 |
|---|
CollectdValue() |
| Modifier and Type | Method and Description |
|---|---|
CollectdValue |
clone() |
java.lang.String |
getDataSourceName()
The data source for the collectd value.
|
java.lang.String |
getDataSourceType()
The type of measurement.
|
TypedValue |
getValue()
The measurement value.
|
CollectdValue |
set(java.lang.String fieldName,
java.lang.Object value) |
CollectdValue |
setDataSourceName(java.lang.String dataSourceName)
The data source for the collectd value.
|
CollectdValue |
setDataSourceType(java.lang.String dataSourceType)
The type of measurement.
|
CollectdValue |
setValue(TypedValue value)
The measurement value.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getDataSourceName()
null for nonepublic CollectdValue setDataSourceName(java.lang.String dataSourceName)
dataSourceName - dataSourceName or null for nonepublic java.lang.String getDataSourceType()
null for nonepublic CollectdValue setDataSourceType(java.lang.String dataSourceType)
dataSourceType - dataSourceType or null for nonepublic TypedValue getValue()
null for nonepublic CollectdValue setValue(TypedValue value)
value - value or null for nonepublic CollectdValue set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic CollectdValue clone()
clone in class com.google.api.client.json.GenericJson