public interface TimeSeriesOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Metric |
getMetric()
The associated metric.
|
MetricDescriptor.MetricKind |
getMetricKind()
The metric kind of the time series.
|
int |
getMetricKindValue()
The metric kind of the time series.
|
MetricOrBuilder |
getMetricOrBuilder()
The associated metric.
|
Point |
getPoints(int index)
The data points of this time series.
|
int |
getPointsCount()
The data points of this time series.
|
java.util.List<Point> |
getPointsList()
The data points of this time series.
|
PointOrBuilder |
getPointsOrBuilder(int index)
The data points of this time series.
|
java.util.List<? extends PointOrBuilder> |
getPointsOrBuilderList()
The data points of this time series.
|
MonitoredResource |
getResource()
The associated resource.
|
MonitoredResourceOrBuilder |
getResourceOrBuilder()
The associated resource.
|
MetricDescriptor.ValueType |
getValueType()
The value type of the time series.
|
int |
getValueTypeValue()
The value type of the time series.
|
boolean |
hasMetric()
The associated metric.
|
boolean |
hasResource()
The associated resource.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasMetric()
The associated metric. A fully-specified metric used to identify the time series.
.google.api.Metric metric = 1;
Metric getMetric()
The associated metric. A fully-specified metric used to identify the time series.
.google.api.Metric metric = 1;
MetricOrBuilder getMetricOrBuilder()
The associated metric. A fully-specified metric used to identify the time series.
.google.api.Metric metric = 1;
boolean hasResource()
The associated resource. A fully-specified monitored resource used to identify the time series.
.google.api.MonitoredResource resource = 2;
MonitoredResource getResource()
The associated resource. A fully-specified monitored resource used to identify the time series.
.google.api.MonitoredResource resource = 2;
MonitoredResourceOrBuilder getResourceOrBuilder()
The associated resource. A fully-specified monitored resource used to identify the time series.
.google.api.MonitoredResource resource = 2;
int getMetricKindValue()
The metric kind of the time series. When listing time series, this metric kind might be different from the metric kind of the associated metric if this time series is an alignment or reduction of other time series. When creating a time series, this field is optional. If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either `GAUGE` (the default) or `CUMULATIVE`.
.google.api.MetricDescriptor.MetricKind metric_kind = 3;
MetricDescriptor.MetricKind getMetricKind()
The metric kind of the time series. When listing time series, this metric kind might be different from the metric kind of the associated metric if this time series is an alignment or reduction of other time series. When creating a time series, this field is optional. If present, it must be the same as the metric kind of the associated metric. If the associated metric's descriptor must be auto-created, then this field specifies the metric kind of the new descriptor and must be either `GAUGE` (the default) or `CUMULATIVE`.
.google.api.MetricDescriptor.MetricKind metric_kind = 3;
int getValueTypeValue()
The value type of the time series. When listing time series, this value type might be different from the value type of the associated metric if this time series is an alignment or reduction of other time series. When creating a time series, this field is optional. If present, it must be the same as the type of the data in the `points` field.
.google.api.MetricDescriptor.ValueType value_type = 4;
MetricDescriptor.ValueType getValueType()
The value type of the time series. When listing time series, this value type might be different from the value type of the associated metric if this time series is an alignment or reduction of other time series. When creating a time series, this field is optional. If present, it must be the same as the type of the data in the `points` field.
.google.api.MetricDescriptor.ValueType value_type = 4;
java.util.List<Point> getPointsList()
The data points of this time series. When listing time series, the order of the points is specified by the list method. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
repeated .google.monitoring.v3.Point points = 5;
Point getPoints(int index)
The data points of this time series. When listing time series, the order of the points is specified by the list method. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
repeated .google.monitoring.v3.Point points = 5;
int getPointsCount()
The data points of this time series. When listing time series, the order of the points is specified by the list method. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
repeated .google.monitoring.v3.Point points = 5;
java.util.List<? extends PointOrBuilder> getPointsOrBuilderList()
The data points of this time series. When listing time series, the order of the points is specified by the list method. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
repeated .google.monitoring.v3.Point points = 5;
PointOrBuilder getPointsOrBuilder(int index)
The data points of this time series. When listing time series, the order of the points is specified by the list method. When creating a time series, this field must contain exactly one point and the point's type must be the same as the value type of the associated metric. If the associated metric's descriptor must be auto-created, then the value type of the descriptor is determined by the point's type, which must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`.
repeated .google.monitoring.v3.Point points = 5;