public final class TimeSeries
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 |
|---|
TimeSeries() |
| Modifier and Type | Method and Description |
|---|---|
TimeSeries |
clone() |
MonitoredResourceMetadata |
getMetadata()
Output only.
|
Metric |
getMetric()
The associated metric.
|
java.lang.String |
getMetricKind()
The metric kind of the time series.
|
java.util.List<Point> |
getPoints()
The data points of this time series.
|
MonitoredResource |
getResource()
The associated monitored resource.
|
java.lang.String |
getValueType()
The value type of the time series.
|
TimeSeries |
set(java.lang.String fieldName,
java.lang.Object value) |
TimeSeries |
setMetadata(MonitoredResourceMetadata metadata)
Output only.
|
TimeSeries |
setMetric(Metric metric)
The associated metric.
|
TimeSeries |
setMetricKind(java.lang.String metricKind)
The metric kind of the time series.
|
TimeSeries |
setPoints(java.util.List<Point> points)
The data points of this time series.
|
TimeSeries |
setResource(MonitoredResource resource)
The associated monitored resource.
|
TimeSeries |
setValueType(java.lang.String valueType)
The value type of the time series.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic MonitoredResourceMetadata getMetadata()
null for nonepublic TimeSeries setMetadata(MonitoredResourceMetadata metadata)
metadata - metadata or null for nonepublic Metric getMetric()
null for nonepublic TimeSeries setMetric(Metric metric)
metric - metric or null for nonepublic java.lang.String getMetricKind()
null for nonepublic TimeSeries setMetricKind(java.lang.String metricKind)
metricKind - metricKind or null for nonepublic java.util.List<Point> getPoints()
null for nonepublic TimeSeries setPoints(java.util.List<Point> points)
points - points or null for nonepublic MonitoredResource getResource()
null for nonepublic TimeSeries setResource(MonitoredResource resource)
resource - resource or null for nonepublic java.lang.String getValueType()
null for nonepublic TimeSeries setValueType(java.lang.String valueType)
valueType - valueType or null for nonepublic TimeSeries set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic TimeSeries clone()
clone in class com.google.api.client.json.GenericJson