Class Scorecard.SparkChartView.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Scorecard.SparkChartView.Builder>
com.google.monitoring.dashboard.v1.Scorecard.SparkChartView.Builder
- All Implemented Interfaces:
Scorecard.SparkChartViewOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Scorecard.SparkChartView
public static final class Scorecard.SparkChartView.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The lower bound on data point frequency in the chart implemented by specifying the minimum alignment period to use in a time series query.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationThe lower bound on data point frequency in the chart implemented by specifying the minimum alignment period to use in a time series query.com.google.protobuf.Duration.BuilderThe lower bound on data point frequency in the chart implemented by specifying the minimum alignment period to use in a time series query.com.google.protobuf.DurationOrBuilderThe lower bound on data point frequency in the chart implemented by specifying the minimum alignment period to use in a time series query.Required.intRequired.booleanThe lower bound on data point frequency in the chart implemented by specifying the minimum alignment period to use in a time series query.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMinAlignmentPeriod(com.google.protobuf.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.setMinAlignmentPeriod(com.google.protobuf.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.setMinAlignmentPeriod(com.google.protobuf.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.setSparkChartType(SparkChartType value) Required.setSparkChartTypeValue(int value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Scorecard.SparkChartView.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Scorecard.SparkChartView.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Scorecard.SparkChartView.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Scorecard.SparkChartView.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Scorecard.SparkChartView.Builder>
-
mergeFrom
public Scorecard.SparkChartView.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Scorecard.SparkChartView.Builder>- Throws:
IOException
-
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];- Specified by:
getSparkChartTypeValuein interfaceScorecard.SparkChartViewOrBuilder- Returns:
- The enum numeric value on the wire for sparkChartType.
-
setSparkChartTypeValue
Required. The type of sparkchart to show in this chartView.
.google.monitoring.dashboard.v1.SparkChartType spark_chart_type = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for sparkChartType to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getSparkChartTypein interfaceScorecard.SparkChartViewOrBuilder- Returns:
- The sparkChartType.
-
setSparkChartType
Required. The type of sparkchart to show in this chartView.
.google.monitoring.dashboard.v1.SparkChartType spark_chart_type = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The sparkChartType to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
hasMinAlignmentPeriodin interfaceScorecard.SparkChartViewOrBuilder- Returns:
- Whether the minAlignmentPeriod field is set.
-
getMinAlignmentPeriod
public com.google.protobuf.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;- Specified by:
getMinAlignmentPeriodin interfaceScorecard.SparkChartViewOrBuilder- Returns:
- The minAlignmentPeriod.
-
setMinAlignmentPeriod
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; -
setMinAlignmentPeriod
public Scorecard.SparkChartView.Builder setMinAlignmentPeriod(com.google.protobuf.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; -
mergeMinAlignmentPeriod
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; -
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; -
getMinAlignmentPeriodBuilder
public com.google.protobuf.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 com.google.protobuf.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;- Specified by:
getMinAlignmentPeriodOrBuilderin interfaceScorecard.SparkChartViewOrBuilder
-