public static final class TimeSeries.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder> implements TimeSeriesOrBuilder
A collection of data points that describes the time-varying values of a metric. A time series is identified by a combination of a fully-specified monitored resource and a fully-specified metric. This type is used for both listing and creating time series.Protobuf type
google.monitoring.v3.TimeSeries| Modifier and Type | Method and Description |
|---|---|
TimeSeries.Builder |
addAllPoints(Iterable<? extends Point> values)
The data points of this time series.
|
TimeSeries.Builder |
addPoints(int index,
Point.Builder builderForValue)
The data points of this time series.
|
TimeSeries.Builder |
addPoints(int index,
Point value)
The data points of this time series.
|
TimeSeries.Builder |
addPoints(Point.Builder builderForValue)
The data points of this time series.
|
TimeSeries.Builder |
addPoints(Point value)
The data points of this time series.
|
Point.Builder |
addPointsBuilder()
The data points of this time series.
|
Point.Builder |
addPointsBuilder(int index)
The data points of this time series.
|
TimeSeries.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TimeSeries |
build() |
TimeSeries |
buildPartial() |
TimeSeries.Builder |
clear() |
TimeSeries.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TimeSeries.Builder |
clearMetadata()
Output only.
|
TimeSeries.Builder |
clearMetric()
The associated metric.
|
TimeSeries.Builder |
clearMetricKind()
The metric kind of the time series.
|
TimeSeries.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TimeSeries.Builder |
clearPoints()
The data points of this time series.
|
TimeSeries.Builder |
clearResource()
The associated monitored resource.
|
TimeSeries.Builder |
clearUnit()
The units in which the metric value is reported.
|
TimeSeries.Builder |
clearValueType()
The value type of the time series.
|
TimeSeries.Builder |
clone() |
TimeSeries |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.api.MonitoredResourceMetadata |
getMetadata()
Output only.
|
com.google.api.MonitoredResourceMetadata.Builder |
getMetadataBuilder()
Output only.
|
com.google.api.MonitoredResourceMetadataOrBuilder |
getMetadataOrBuilder()
Output only.
|
com.google.api.Metric |
getMetric()
The associated metric.
|
com.google.api.Metric.Builder |
getMetricBuilder()
The associated metric.
|
com.google.api.MetricDescriptor.MetricKind |
getMetricKind()
The metric kind of the time series.
|
int |
getMetricKindValue()
The metric kind of the time series.
|
com.google.api.MetricOrBuilder |
getMetricOrBuilder()
The associated metric.
|
Point |
getPoints(int index)
The data points of this time series.
|
Point.Builder |
getPointsBuilder(int index)
The data points of this time series.
|
List<Point.Builder> |
getPointsBuilderList()
The data points of this time series.
|
int |
getPointsCount()
The data points of this time series.
|
List<Point> |
getPointsList()
The data points of this time series.
|
PointOrBuilder |
getPointsOrBuilder(int index)
The data points of this time series.
|
List<? extends PointOrBuilder> |
getPointsOrBuilderList()
The data points of this time series.
|
com.google.api.MonitoredResource |
getResource()
The associated monitored resource.
|
com.google.api.MonitoredResource.Builder |
getResourceBuilder()
The associated monitored resource.
|
com.google.api.MonitoredResourceOrBuilder |
getResourceOrBuilder()
The associated monitored resource.
|
String |
getUnit()
The units in which the metric value is reported.
|
com.google.protobuf.ByteString |
getUnitBytes()
The units in which the metric value is reported.
|
com.google.api.MetricDescriptor.ValueType |
getValueType()
The value type of the time series.
|
int |
getValueTypeValue()
The value type of the time series.
|
boolean |
hasMetadata()
Output only.
|
boolean |
hasMetric()
The associated metric.
|
boolean |
hasResource()
The associated monitored resource.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TimeSeries.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TimeSeries.Builder |
mergeFrom(com.google.protobuf.Message other) |
TimeSeries.Builder |
mergeFrom(TimeSeries other) |
TimeSeries.Builder |
mergeMetadata(com.google.api.MonitoredResourceMetadata value)
Output only.
|
TimeSeries.Builder |
mergeMetric(com.google.api.Metric value)
The associated metric.
|
TimeSeries.Builder |
mergeResource(com.google.api.MonitoredResource value)
The associated monitored resource.
|
TimeSeries.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TimeSeries.Builder |
removePoints(int index)
The data points of this time series.
|
TimeSeries.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TimeSeries.Builder |
setMetadata(com.google.api.MonitoredResourceMetadata.Builder builderForValue)
Output only.
|
TimeSeries.Builder |
setMetadata(com.google.api.MonitoredResourceMetadata value)
Output only.
|
TimeSeries.Builder |
setMetric(com.google.api.Metric.Builder builderForValue)
The associated metric.
|
TimeSeries.Builder |
setMetric(com.google.api.Metric value)
The associated metric.
|
TimeSeries.Builder |
setMetricKind(com.google.api.MetricDescriptor.MetricKind value)
The metric kind of the time series.
|
TimeSeries.Builder |
setMetricKindValue(int value)
The metric kind of the time series.
|
TimeSeries.Builder |
setPoints(int index,
Point.Builder builderForValue)
The data points of this time series.
|
TimeSeries.Builder |
setPoints(int index,
Point value)
The data points of this time series.
|
TimeSeries.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TimeSeries.Builder |
setResource(com.google.api.MonitoredResource.Builder builderForValue)
The associated monitored resource.
|
TimeSeries.Builder |
setResource(com.google.api.MonitoredResource value)
The associated monitored resource.
|
TimeSeries.Builder |
setUnit(String value)
The units in which the metric value is reported.
|
TimeSeries.Builder |
setUnitBytes(com.google.protobuf.ByteString value)
The units in which the metric value is reported.
|
TimeSeries.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TimeSeries.Builder |
setValueType(com.google.api.MetricDescriptor.ValueType value)
The value type of the time series.
|
TimeSeries.Builder |
setValueTypeValue(int value)
The value type of the time series.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>public TimeSeries.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>public TimeSeries getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TimeSeries build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TimeSeries buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TimeSeries.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>public TimeSeries.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>public TimeSeries.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>public TimeSeries.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>public TimeSeries.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>public TimeSeries.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>public TimeSeries.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TimeSeries.Builder>public TimeSeries.Builder mergeFrom(TimeSeries other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>public TimeSeries.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TimeSeries.Builder>IOExceptionpublic boolean hasMetric()
The associated metric. A fully-specified metric used to identify the time series.
.google.api.Metric metric = 1;hasMetric in interface TimeSeriesOrBuilderpublic com.google.api.Metric getMetric()
The associated metric. A fully-specified metric used to identify the time series.
.google.api.Metric metric = 1;getMetric in interface TimeSeriesOrBuilderpublic TimeSeries.Builder setMetric(com.google.api.Metric value)
The associated metric. A fully-specified metric used to identify the time series.
.google.api.Metric metric = 1;public TimeSeries.Builder setMetric(com.google.api.Metric.Builder builderForValue)
The associated metric. A fully-specified metric used to identify the time series.
.google.api.Metric metric = 1;public TimeSeries.Builder mergeMetric(com.google.api.Metric value)
The associated metric. A fully-specified metric used to identify the time series.
.google.api.Metric metric = 1;public TimeSeries.Builder clearMetric()
The associated metric. A fully-specified metric used to identify the time series.
.google.api.Metric metric = 1;public com.google.api.Metric.Builder getMetricBuilder()
The associated metric. A fully-specified metric used to identify the time series.
.google.api.Metric metric = 1;public com.google.api.MetricOrBuilder getMetricOrBuilder()
The associated metric. A fully-specified metric used to identify the time series.
.google.api.Metric metric = 1;getMetricOrBuilder in interface TimeSeriesOrBuilderpublic boolean hasResource()
The associated monitored resource. Custom metrics can use only certain monitored resource types in their time series data. For more information, see [Monitored resources for custom metrics](https://cloud.google.com/monitoring/custom-metrics/creating-metrics#custom-metric-resources).
.google.api.MonitoredResource resource = 2;hasResource in interface TimeSeriesOrBuilderpublic com.google.api.MonitoredResource getResource()
The associated monitored resource. Custom metrics can use only certain monitored resource types in their time series data. For more information, see [Monitored resources for custom metrics](https://cloud.google.com/monitoring/custom-metrics/creating-metrics#custom-metric-resources).
.google.api.MonitoredResource resource = 2;getResource in interface TimeSeriesOrBuilderpublic TimeSeries.Builder setResource(com.google.api.MonitoredResource value)
The associated monitored resource. Custom metrics can use only certain monitored resource types in their time series data. For more information, see [Monitored resources for custom metrics](https://cloud.google.com/monitoring/custom-metrics/creating-metrics#custom-metric-resources).
.google.api.MonitoredResource resource = 2;public TimeSeries.Builder setResource(com.google.api.MonitoredResource.Builder builderForValue)
The associated monitored resource. Custom metrics can use only certain monitored resource types in their time series data. For more information, see [Monitored resources for custom metrics](https://cloud.google.com/monitoring/custom-metrics/creating-metrics#custom-metric-resources).
.google.api.MonitoredResource resource = 2;public TimeSeries.Builder mergeResource(com.google.api.MonitoredResource value)
The associated monitored resource. Custom metrics can use only certain monitored resource types in their time series data. For more information, see [Monitored resources for custom metrics](https://cloud.google.com/monitoring/custom-metrics/creating-metrics#custom-metric-resources).
.google.api.MonitoredResource resource = 2;public TimeSeries.Builder clearResource()
The associated monitored resource. Custom metrics can use only certain monitored resource types in their time series data. For more information, see [Monitored resources for custom metrics](https://cloud.google.com/monitoring/custom-metrics/creating-metrics#custom-metric-resources).
.google.api.MonitoredResource resource = 2;public com.google.api.MonitoredResource.Builder getResourceBuilder()
The associated monitored resource. Custom metrics can use only certain monitored resource types in their time series data. For more information, see [Monitored resources for custom metrics](https://cloud.google.com/monitoring/custom-metrics/creating-metrics#custom-metric-resources).
.google.api.MonitoredResource resource = 2;public com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder()
The associated monitored resource. Custom metrics can use only certain monitored resource types in their time series data. For more information, see [Monitored resources for custom metrics](https://cloud.google.com/monitoring/custom-metrics/creating-metrics#custom-metric-resources).
.google.api.MonitoredResource resource = 2;getResourceOrBuilder in interface TimeSeriesOrBuilderpublic boolean hasMetadata()
Output only. The associated monitored resource metadata. When reading a time series, this field will include metadata labels that are explicitly named in the reduction. When creating a time series, this field is ignored.
.google.api.MonitoredResourceMetadata metadata = 7;hasMetadata in interface TimeSeriesOrBuilderpublic com.google.api.MonitoredResourceMetadata getMetadata()
Output only. The associated monitored resource metadata. When reading a time series, this field will include metadata labels that are explicitly named in the reduction. When creating a time series, this field is ignored.
.google.api.MonitoredResourceMetadata metadata = 7;getMetadata in interface TimeSeriesOrBuilderpublic TimeSeries.Builder setMetadata(com.google.api.MonitoredResourceMetadata value)
Output only. The associated monitored resource metadata. When reading a time series, this field will include metadata labels that are explicitly named in the reduction. When creating a time series, this field is ignored.
.google.api.MonitoredResourceMetadata metadata = 7;public TimeSeries.Builder setMetadata(com.google.api.MonitoredResourceMetadata.Builder builderForValue)
Output only. The associated monitored resource metadata. When reading a time series, this field will include metadata labels that are explicitly named in the reduction. When creating a time series, this field is ignored.
.google.api.MonitoredResourceMetadata metadata = 7;public TimeSeries.Builder mergeMetadata(com.google.api.MonitoredResourceMetadata value)
Output only. The associated monitored resource metadata. When reading a time series, this field will include metadata labels that are explicitly named in the reduction. When creating a time series, this field is ignored.
.google.api.MonitoredResourceMetadata metadata = 7;public TimeSeries.Builder clearMetadata()
Output only. The associated monitored resource metadata. When reading a time series, this field will include metadata labels that are explicitly named in the reduction. When creating a time series, this field is ignored.
.google.api.MonitoredResourceMetadata metadata = 7;public com.google.api.MonitoredResourceMetadata.Builder getMetadataBuilder()
Output only. The associated monitored resource metadata. When reading a time series, this field will include metadata labels that are explicitly named in the reduction. When creating a time series, this field is ignored.
.google.api.MonitoredResourceMetadata metadata = 7;public com.google.api.MonitoredResourceMetadataOrBuilder getMetadataOrBuilder()
Output only. The associated monitored resource metadata. When reading a time series, this field will include metadata labels that are explicitly named in the reduction. When creating a time series, this field is ignored.
.google.api.MonitoredResourceMetadata metadata = 7;getMetadataOrBuilder in interface TimeSeriesOrBuilderpublic 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;getMetricKindValue in interface TimeSeriesOrBuilderpublic TimeSeries.Builder setMetricKindValue(int value)
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;value - The enum numeric value on the wire for metricKind to set.public com.google.api.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;getMetricKind in interface TimeSeriesOrBuilderpublic TimeSeries.Builder setMetricKind(com.google.api.MetricDescriptor.MetricKind value)
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;value - The metricKind to set.public TimeSeries.Builder clearMetricKind()
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;public 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;getValueTypeValue in interface TimeSeriesOrBuilderpublic TimeSeries.Builder setValueTypeValue(int value)
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;value - The enum numeric value on the wire for valueType to set.public com.google.api.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;getValueType in interface TimeSeriesOrBuilderpublic TimeSeries.Builder setValueType(com.google.api.MetricDescriptor.ValueType value)
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;value - The valueType to set.public TimeSeries.Builder clearValueType()
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;public List<Point> getPointsList()
The data points of this time series. When listing time series, points are returned in reverse time order. 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;getPointsList in interface TimeSeriesOrBuilderpublic int getPointsCount()
The data points of this time series. When listing time series, points are returned in reverse time order. 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;getPointsCount in interface TimeSeriesOrBuilderpublic Point getPoints(int index)
The data points of this time series. When listing time series, points are returned in reverse time order. 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;getPoints in interface TimeSeriesOrBuilderpublic TimeSeries.Builder setPoints(int index, Point value)
The data points of this time series. When listing time series, points are returned in reverse time order. 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;public TimeSeries.Builder setPoints(int index, Point.Builder builderForValue)
The data points of this time series. When listing time series, points are returned in reverse time order. 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;public TimeSeries.Builder addPoints(Point value)
The data points of this time series. When listing time series, points are returned in reverse time order. 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;public TimeSeries.Builder addPoints(int index, Point value)
The data points of this time series. When listing time series, points are returned in reverse time order. 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;public TimeSeries.Builder addPoints(Point.Builder builderForValue)
The data points of this time series. When listing time series, points are returned in reverse time order. 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;public TimeSeries.Builder addPoints(int index, Point.Builder builderForValue)
The data points of this time series. When listing time series, points are returned in reverse time order. 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;public TimeSeries.Builder addAllPoints(Iterable<? extends Point> values)
The data points of this time series. When listing time series, points are returned in reverse time order. 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;public TimeSeries.Builder clearPoints()
The data points of this time series. When listing time series, points are returned in reverse time order. 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;public TimeSeries.Builder removePoints(int index)
The data points of this time series. When listing time series, points are returned in reverse time order. 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;public Point.Builder getPointsBuilder(int index)
The data points of this time series. When listing time series, points are returned in reverse time order. 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;public PointOrBuilder getPointsOrBuilder(int index)
The data points of this time series. When listing time series, points are returned in reverse time order. 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;getPointsOrBuilder in interface TimeSeriesOrBuilderpublic List<? extends PointOrBuilder> getPointsOrBuilderList()
The data points of this time series. When listing time series, points are returned in reverse time order. 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;getPointsOrBuilderList in interface TimeSeriesOrBuilderpublic Point.Builder addPointsBuilder()
The data points of this time series. When listing time series, points are returned in reverse time order. 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;public Point.Builder addPointsBuilder(int index)
The data points of this time series. When listing time series, points are returned in reverse time order. 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;public List<Point.Builder> getPointsBuilderList()
The data points of this time series. When listing time series, points are returned in reverse time order. 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;public String getUnit()
The units in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored metric values.
string unit = 8;getUnit in interface TimeSeriesOrBuilderpublic com.google.protobuf.ByteString getUnitBytes()
The units in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored metric values.
string unit = 8;getUnitBytes in interface TimeSeriesOrBuilderpublic TimeSeries.Builder setUnit(String value)
The units in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored metric values.
string unit = 8;value - The unit to set.public TimeSeries.Builder clearUnit()
The units in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored metric values.
string unit = 8;public TimeSeries.Builder setUnitBytes(com.google.protobuf.ByteString value)
The units in which the metric value is reported. It is only applicable if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the representation of the stored metric values.
string unit = 8;value - The bytes for unit to set.public final TimeSeries.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>public final TimeSeries.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSeries.Builder>Copyright © 2024 Google LLC. All rights reserved.