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 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 |
|---|
TimeSeries() |
| Modifier and Type | Method and Description |
|---|---|
TimeSeries |
clone() |
String |
getDescription()
Input only.
|
MonitoredResourceMetadata |
getMetadata()
Output only.
|
Metric |
getMetric()
The associated metric.
|
String |
getMetricKind()
The metric kind of the time series.
|
List<Point> |
getPoints()
The data points of this time series.
|
MonitoredResource |
getResource()
The associated monitored resource.
|
String |
getUnit()
The units in which the metric value is reported.
|
String |
getValueType()
The value type of the time series.
|
TimeSeries |
set(String fieldName,
Object value) |
TimeSeries |
setDescription(String description)
Input only.
|
TimeSeries |
setMetadata(MonitoredResourceMetadata metadata)
Output only.
|
TimeSeries |
setMetric(Metric metric)
The associated metric.
|
TimeSeries |
setMetricKind(String metricKind)
The metric kind of the time series.
|
TimeSeries |
setPoints(List<Point> points)
The data points of this time series.
|
TimeSeries |
setResource(MonitoredResource resource)
The associated monitored resource.
|
TimeSeries |
setUnit(String unit)
The units in which the metric value is reported.
|
TimeSeries |
setValueType(String valueType)
The value type of the time series.
|
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 getDescription()
null for nonepublic TimeSeries setDescription(String description)
description - description or null for nonepublic 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 String getMetricKind()
null for nonepublic TimeSeries setMetricKind(String metricKind)
metricKind - metricKind or null for nonepublic List<Point> getPoints()
null for nonepublic TimeSeries setPoints(List<Point> points)
points - points or null for nonepublic MonitoredResource getResource()
null for nonepublic TimeSeries setResource(MonitoredResource resource)
resource - resource or null for nonepublic String getUnit()
null for nonepublic TimeSeries setUnit(String unit)
unit - unit or null for nonepublic String getValueType()
null for nonepublic TimeSeries setValueType(String valueType)
valueType - valueType or null for nonepublic TimeSeries set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic TimeSeries clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.