Interface TimeSeriesOrBuilder (0.13.0)

public interface TimeSeriesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMetric()

public abstract String getMetric()

Required. The name of the metric. If the metric is not known by the service yet, it will be auto-created.

string metric = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The metric.

getMetricBytes()

public abstract ByteString getMetricBytes()

Required. The name of the metric. If the metric is not known by the service yet, it will be auto-created.

string metric = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for metric.

getMetricKind()

public abstract MetricDescriptor.MetricKind getMetricKind()

Optional. The metric kind of the time series. 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 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
com.google.api.MetricDescriptor.MetricKind

The metricKind.

getMetricKindValue()

public abstract int getMetricKindValue()

Optional. The metric kind of the time series. 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 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for metricKind.

getPoints(int index)

public abstract Point getPoints(int index)

Required. 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.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
Point

getPointsCount()

public abstract int getPointsCount()

Required. 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.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getPointsList()

public abstract List<Point> getPointsList()

Required. 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.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Point>

getPointsOrBuilder(int index)

public abstract PointOrBuilder getPointsOrBuilder(int index)

Required. 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.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
PointOrBuilder

getPointsOrBuilderList()

public abstract List<? extends PointOrBuilder> getPointsOrBuilderList()

Required. 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.cloud.bigquery.migration.v2alpha.Point points = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.cloud.bigquery.migration.v2alpha.PointOrBuilder>

getValueType()

public abstract MetricDescriptor.ValueType getValueType()

Required. The value type of the time series.

.google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
com.google.api.MetricDescriptor.ValueType

The valueType.

getValueTypeValue()

public abstract int getValueTypeValue()

Required. The value type of the time series.

.google.api.MetricDescriptor.ValueType value_type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for valueType.