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 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 |
|---|
Exemplar() |
| Modifier and Type | Method and Description |
|---|---|
Exemplar |
clone() |
List<Map<String,Object>> |
getAttachments()
Contextual information about the example value.
|
String |
getTimestamp()
The observation (sampling) time of the above value.
|
Double |
getValue()
Value of the exemplar point.
|
Exemplar |
set(String fieldName,
Object value) |
Exemplar |
setAttachments(List<Map<String,Object>> attachments)
Contextual information about the example value.
|
Exemplar |
setTimestamp(String timestamp)
The observation (sampling) time of the above value.
|
Exemplar |
setValue(Double value)
Value of the exemplar point.
|
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 List<Map<String,Object>> getAttachments()
null for nonepublic Exemplar setAttachments(List<Map<String,Object>> attachments)
attachments - attachments or null for nonepublic String getTimestamp()
null for nonepublic Exemplar setTimestamp(String timestamp)
timestamp - timestamp or null for nonepublic Double getValue()
null for nonepublic Exemplar setValue(Double value)
value - value or null for nonepublic Exemplar set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Exemplar clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.