public final class DataSet extends 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
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
DataSet() |
| Modifier and Type | Method and Description |
|---|---|
DataSet |
clone() |
String |
getLegendTemplate()
A template string for naming TimeSeries in the resulting data set.
|
String |
getMinAlignmentPeriod()
Optional.
|
String |
getPlotType()
How this data should be plotted on the chart.
|
TimeSeriesQuery |
getTimeSeriesQuery()
Required.
|
DataSet |
set(String fieldName,
Object value) |
DataSet |
setLegendTemplate(String legendTemplate)
A template string for naming TimeSeries in the resulting data set.
|
DataSet |
setMinAlignmentPeriod(String minAlignmentPeriod)
Optional.
|
DataSet |
setPlotType(String plotType)
How this data should be plotted on the chart.
|
DataSet |
setTimeSeriesQuery(TimeSeriesQuery timeSeriesQuery)
Required.
|
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 getLegendTemplate()
null for nonepublic DataSet setLegendTemplate(String legendTemplate)
legendTemplate - legendTemplate or null for nonepublic String getMinAlignmentPeriod()
null for nonepublic DataSet setMinAlignmentPeriod(String minAlignmentPeriod)
minAlignmentPeriod - minAlignmentPeriod or null for nonepublic String getPlotType()
null for nonepublic DataSet setPlotType(String plotType)
plotType - plotType or null for nonepublic TimeSeriesQuery getTimeSeriesQuery()
null for nonepublic DataSet setTimeSeriesQuery(TimeSeriesQuery timeSeriesQuery)
timeSeriesQuery - timeSeriesQuery or null for nonepublic DataSet set(String fieldName, Object value)
set in class GenericJsonpublic DataSet clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.