Interface Scorecard.SparkChartViewOrBuilder (2.24.0)

public static interface Scorecard.SparkChartViewOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMinAlignmentPeriod()

public abstract Duration getMinAlignmentPeriod()

The lower bound on data point frequency in the chart implemented by specifying the minimum alignment period to use in a time series query. For example, if the data is published once every 10 minutes it would not make sense to fetch and align data at one minute intervals. This field is optional and exists only as a hint.

.google.protobuf.Duration min_alignment_period = 2;

Returns
TypeDescription
Duration

The minAlignmentPeriod.

getMinAlignmentPeriodOrBuilder()

public abstract DurationOrBuilder getMinAlignmentPeriodOrBuilder()

The lower bound on data point frequency in the chart implemented by specifying the minimum alignment period to use in a time series query. For example, if the data is published once every 10 minutes it would not make sense to fetch and align data at one minute intervals. This field is optional and exists only as a hint.

.google.protobuf.Duration min_alignment_period = 2;

Returns
TypeDescription
DurationOrBuilder

getSparkChartType()

public abstract SparkChartType getSparkChartType()

Required. The type of sparkchart to show in this chartView.

.google.monitoring.dashboard.v1.SparkChartType spark_chart_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SparkChartType

The sparkChartType.

getSparkChartTypeValue()

public abstract int getSparkChartTypeValue()

Required. The type of sparkchart to show in this chartView.

.google.monitoring.dashboard.v1.SparkChartType spark_chart_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for sparkChartType.

hasMinAlignmentPeriod()

public abstract boolean hasMinAlignmentPeriod()

The lower bound on data point frequency in the chart implemented by specifying the minimum alignment period to use in a time series query. For example, if the data is published once every 10 minutes it would not make sense to fetch and align data at one minute intervals. This field is optional and exists only as a hint.

.google.protobuf.Duration min_alignment_period = 2;

Returns
TypeDescription
boolean

Whether the minAlignmentPeriod field is set.