public static final class Scorecard.SparkChartView.Builder extends GeneratedMessageV3.Builder<Scorecard.SparkChartView.Builder> implements Scorecard.SparkChartViewOrBuilder
A sparkChart is a small chart suitable for inclusion in a table-cell or
inline in text. This message contains the configuration for a sparkChart
to show up on a Scorecard, showing recent trends of the scorecard's
timeseries.
Protobuf type google.monitoring.dashboard.v1.Scorecard.SparkChartView
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Scorecard.SparkChartView.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Scorecard.SparkChartView build()
Returns
buildPartial()
public Scorecard.SparkChartView buildPartial()
Returns
clear()
public Scorecard.SparkChartView.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Scorecard.SparkChartView.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMinAlignmentPeriod()
public Scorecard.SparkChartView.Builder clearMinAlignmentPeriod()
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
clearOneof(Descriptors.OneofDescriptor oneof)
public Scorecard.SparkChartView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSparkChartType()
public Scorecard.SparkChartView.Builder clearSparkChartType()
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
clone()
public Scorecard.SparkChartView.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Scorecard.SparkChartView getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMinAlignmentPeriod()
public 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
Type | Description |
Duration | The minAlignmentPeriod.
|
getMinAlignmentPeriodBuilder()
public Duration.Builder getMinAlignmentPeriodBuilder()
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
getMinAlignmentPeriodOrBuilder()
public 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
getSparkChartType()
public 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
getSparkChartTypeValue()
public 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
Type | Description |
int | The enum numeric value on the wire for sparkChartType.
|
hasMinAlignmentPeriod()
public 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
Type | Description |
boolean | Whether the minAlignmentPeriod field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Scorecard.SparkChartView other)
public Scorecard.SparkChartView.Builder mergeFrom(Scorecard.SparkChartView other)
Parameter
Returns
public Scorecard.SparkChartView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Scorecard.SparkChartView.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeMinAlignmentPeriod(Duration value)
public Scorecard.SparkChartView.Builder mergeMinAlignmentPeriod(Duration value)
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;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Scorecard.SparkChartView.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Scorecard.SparkChartView.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMinAlignmentPeriod(Duration value)
public Scorecard.SparkChartView.Builder setMinAlignmentPeriod(Duration value)
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;
Parameter
Returns
setMinAlignmentPeriod(Duration.Builder builderForValue)
public Scorecard.SparkChartView.Builder setMinAlignmentPeriod(Duration.Builder builderForValue)
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;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Scorecard.SparkChartView.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSparkChartType(SparkChartType value)
public Scorecard.SparkChartView.Builder setSparkChartType(SparkChartType value)
Required. The type of sparkchart to show in this chartView.
.google.monitoring.dashboard.v1.SparkChartType spark_chart_type = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setSparkChartTypeValue(int value)
public Scorecard.SparkChartView.Builder setSparkChartTypeValue(int value)
Required. The type of sparkchart to show in this chartView.
.google.monitoring.dashboard.v1.SparkChartType spark_chart_type = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | int
The enum numeric value on the wire for sparkChartType to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Scorecard.SparkChartView.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides