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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Scorecard.SparkChartView.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Scorecard.SparkChartView build()
buildPartial()
public Scorecard.SparkChartView buildPartial()
clear()
public Scorecard.SparkChartView.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Scorecard.SparkChartView.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public Scorecard.SparkChartView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public Scorecard.SparkChartView.Builder clone()
Overrides
getDefaultInstanceForType()
public Scorecard.SparkChartView getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Scorecard.SparkChartView other)
public Scorecard.SparkChartView.Builder mergeFrom(Scorecard.SparkChartView other)
public Scorecard.SparkChartView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Scorecard.SparkChartView.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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 |
Name |
Description |
value |
Duration
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Scorecard.SparkChartView.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Scorecard.SparkChartView.Builder setField(Descriptors.FieldDescriptor field, Object value)
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 |
Name |
Description |
value |
Duration
|
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
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Scorecard.SparkChartView.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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 |
Name |
Description |
value |
SparkChartType
The sparkChartType to set.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Scorecard.SparkChartView.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides