public final class Exemplar
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 |
|---|
Exemplar() |
| Modifier and Type | Method and Description |
|---|---|
Exemplar |
clone() |
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getAttachments()
Contextual information about the example value.
|
java.lang.String |
getTimestamp()
The observation (sampling) time of the above value.
|
java.lang.Double |
getValue()
Value of the exemplar point.
|
Exemplar |
set(java.lang.String fieldName,
java.lang.Object value) |
Exemplar |
setAttachments(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> attachments)
Contextual information about the example value.
|
Exemplar |
setTimestamp(java.lang.String timestamp)
The observation (sampling) time of the above value.
|
Exemplar |
setValue(java.lang.Double value)
Value of the exemplar point.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getAttachments()
null for nonepublic Exemplar setAttachments(java.util.List<java.util.Map<java.lang.String,java.lang.Object>> attachments)
attachments - attachments or null for nonepublic java.lang.String getTimestamp()
null for nonepublic Exemplar setTimestamp(java.lang.String timestamp)
timestamp - timestamp or null for nonepublic java.lang.Double getValue()
null for nonepublic Exemplar setValue(java.lang.Double value)
value - value or null for nonepublic Exemplar set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Exemplar clone()
clone in class com.google.api.client.json.GenericJson