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 Cloud 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
CollectdValue() |
| Modifier and Type | Method and Description |
|---|---|
CollectdValue |
clone() |
String |
getDataSourceName()
The data source for the collectd value.
|
String |
getDataSourceType()
The type of measurement.
|
TypedValue |
getValue()
The measurement value.
|
CollectdValue |
set(String fieldName,
Object value) |
CollectdValue |
setDataSourceName(String dataSourceName)
The data source for the collectd value.
|
CollectdValue |
setDataSourceType(String dataSourceType)
The type of measurement.
|
CollectdValue |
setValue(TypedValue value)
The measurement value.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getDataSourceName()
null for nonepublic CollectdValue setDataSourceName(String dataSourceName)
dataSourceName - dataSourceName or null for nonepublic String getDataSourceType()
null for nonepublic CollectdValue setDataSourceType(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(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic CollectdValue clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.