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 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 |
|---|
CollectdPayload() |
| Modifier and Type | Method and Description |
|---|---|
CollectdPayload |
clone() |
java.lang.String |
getEndTime()
The end time of the interval.
|
java.util.Map<java.lang.String,TypedValue> |
getMetadata()
The measurement metadata.
|
java.lang.String |
getPlugin()
The name of the plugin.
|
java.lang.String |
getPluginInstance()
The instance name of the plugin Example: "hdcl".
|
java.lang.String |
getStartTime()
The start time of the interval.
|
java.lang.String |
getType()
The measurement type.
|
java.lang.String |
getTypeInstance()
The measurement type instance.
|
java.util.List<CollectdValue> |
getValues()
The measured values during this time interval.
|
CollectdPayload |
set(java.lang.String fieldName,
java.lang.Object value) |
CollectdPayload |
setEndTime(java.lang.String endTime)
The end time of the interval.
|
CollectdPayload |
setMetadata(java.util.Map<java.lang.String,TypedValue> metadata)
The measurement metadata.
|
CollectdPayload |
setPlugin(java.lang.String plugin)
The name of the plugin.
|
CollectdPayload |
setPluginInstance(java.lang.String pluginInstance)
The instance name of the plugin Example: "hdcl".
|
CollectdPayload |
setStartTime(java.lang.String startTime)
The start time of the interval.
|
CollectdPayload |
setType(java.lang.String type)
The measurement type.
|
CollectdPayload |
setTypeInstance(java.lang.String typeInstance)
The measurement type instance.
|
CollectdPayload |
setValues(java.util.List<CollectdValue> values)
The measured values during this time interval.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getEndTime()
null for nonepublic CollectdPayload setEndTime(java.lang.String endTime)
endTime - endTime or null for nonepublic java.util.Map<java.lang.String,TypedValue> getMetadata()
null for nonepublic CollectdPayload setMetadata(java.util.Map<java.lang.String,TypedValue> metadata)
metadata - metadata or null for nonepublic java.lang.String getPlugin()
null for nonepublic CollectdPayload setPlugin(java.lang.String plugin)
plugin - plugin or null for nonepublic java.lang.String getPluginInstance()
null for nonepublic CollectdPayload setPluginInstance(java.lang.String pluginInstance)
pluginInstance - pluginInstance or null for nonepublic java.lang.String getStartTime()
null for nonepublic CollectdPayload setStartTime(java.lang.String startTime)
startTime - startTime or null for nonepublic java.lang.String getType()
null for nonepublic CollectdPayload setType(java.lang.String type)
type - type or null for nonepublic java.lang.String getTypeInstance()
null for nonepublic CollectdPayload setTypeInstance(java.lang.String typeInstance)
typeInstance - typeInstance or null for nonepublic java.util.List<CollectdValue> getValues()
null for nonepublic CollectdPayload setValues(java.util.List<CollectdValue> values)
values - values or null for nonepublic CollectdPayload set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic CollectdPayload clone()
clone in class com.google.api.client.json.GenericJson