public final class CollectdPayload
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 |
|---|
CollectdPayload() |
| Modifier and Type | Method and Description |
|---|---|
CollectdPayload |
clone() |
String |
getEndTime()
The end time of the interval.
|
Map<String,TypedValue> |
getMetadata()
The measurement metadata.
|
String |
getPlugin()
The name of the plugin.
|
String |
getPluginInstance()
The instance name of the plugin Example: "hdcl".
|
String |
getStartTime()
The start time of the interval.
|
String |
getType()
The measurement type.
|
String |
getTypeInstance()
The measurement type instance.
|
List<CollectdValue> |
getValues()
The measured values during this time interval.
|
CollectdPayload |
set(String fieldName,
Object value) |
CollectdPayload |
setEndTime(String endTime)
The end time of the interval.
|
CollectdPayload |
setMetadata(Map<String,TypedValue> metadata)
The measurement metadata.
|
CollectdPayload |
setPlugin(String plugin)
The name of the plugin.
|
CollectdPayload |
setPluginInstance(String pluginInstance)
The instance name of the plugin Example: "hdcl".
|
CollectdPayload |
setStartTime(String startTime)
The start time of the interval.
|
CollectdPayload |
setType(String type)
The measurement type.
|
CollectdPayload |
setTypeInstance(String typeInstance)
The measurement type instance.
|
CollectdPayload |
setValues(List<CollectdValue> values)
The measured values during this time interval.
|
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 getEndTime()
null for nonepublic CollectdPayload setEndTime(String endTime)
endTime - endTime or null for nonepublic Map<String,TypedValue> getMetadata()
null for nonepublic CollectdPayload setMetadata(Map<String,TypedValue> metadata)
metadata - metadata or null for nonepublic String getPlugin()
null for nonepublic CollectdPayload setPlugin(String plugin)
plugin - plugin or null for nonepublic String getPluginInstance()
null for nonepublic CollectdPayload setPluginInstance(String pluginInstance)
pluginInstance - pluginInstance or null for nonepublic String getStartTime()
null for nonepublic CollectdPayload setStartTime(String startTime)
startTime - startTime or null for nonepublic String getType()
null for nonepublic CollectdPayload setType(String type)
type - type or null for nonepublic String getTypeInstance()
null for nonepublic CollectdPayload setTypeInstance(String typeInstance)
typeInstance - typeInstance or null for nonepublic List<CollectdValue> getValues()
null for nonepublic CollectdPayload setValues(List<CollectdValue> values)
values - values or null for nonepublic CollectdPayload set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic CollectdPayload clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.