Send feedback Class Scorecard.SparkChartView (2.7.0) Stay organized with collections Save and categorize content based on your preferences.
Version 2.7.0keyboard_arrow_down
public static final class Scorecard . SparkChartView extends GeneratedMessageV3 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.dasard.v1.Scorecard.SparkChartView
Static Fields MIN_ALIGNMENT_PERIOD_FIELD_NUMBER
public static final int MIN_ALIGNMENT_PERIOD_FIELD_NUMBER
Field Value SPARK_CHART_TYPE_FIELD_NUMBER
public static final int SPARK_CHART_TYPE_FIELD_NUMBER
Field Value Static Methods getDefaultInstance()
public static Scorecard . SparkChartView getDefaultInstance ()
Returns getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns newBuilder()
public static Scorecard . SparkChartView . Builder newBuilder ()
Returns newBuilder(Scorecard.SparkChartView )
public static Scorecard . SparkChartView . Builder newBuilder ( Scorecard . SparkChartView )
Parameter Returns
public static Scorecard . SparkChartView parseDelimitedFrom ( InputStream input )
Parameter Returns Exceptions
public static Scorecard . SparkChartView parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions parseFrom(byte[] data)
public static Scorecard . SparkChartView parseFrom ( byte [] data )
Parameter Name Description data byte []
Returns Exceptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Scorecard . SparkChartView parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions parseFrom(ByteString data)
public static Scorecard . SparkChartView parseFrom ( ByteString data )
Parameter Returns Exceptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Scorecard . SparkChartView parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions
public static Scorecard . SparkChartView parseFrom ( CodedInputStream input )
Parameter Returns Exceptions
public static Scorecard . SparkChartView parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions
public static Scorecard . SparkChartView parseFrom ( InputStream input )
Parameter Returns Exceptions
public static Scorecard . SparkChartView parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions parseFrom(ByteBuffer data)
public static Scorecard . SparkChartView parseFrom ( ByteBuffer data )
Parameter Returns Exceptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Scorecard . SparkChartView parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions parser()
public static Parser<Scorecard . SparkChartView > parser ()
Returns Methods equals(Object obj)
public boolean equals ( Object obj )
Parameter Returns Overrides getDefaultInstanceForType()
public Scorecard . SparkChartView getDefaultInstanceForType ()
Returns 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.
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 getParserForType()
public Parser<Scorecard . SparkChartView > getParserForType ()
Returns Overrides getSerializedSize()
public int getSerializedSize ()
Returns Overrides getSparkChartType()
public SparkChartType getSparkChartType ()
Required. The type of sparkchart to show in this chartView.
.google.monitoring.dasard.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.dasard.v1.SparkChartType spark_chart_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description int The enum numeric value on the wire for sparkChartType.
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns Overrides 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.
hashCode() Returns Overrides internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns Overrides isInitialized()
public final boolean isInitialized ()
Returns Overrides newBuilderForType()
public Scorecard . SparkChartView . Builder newBuilderForType ()
Returns newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Scorecard . SparkChartView . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter Returns Overrides newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter Returns Overrides toBuilder()
public Scorecard . SparkChartView . Builder toBuilder ()
Returns writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter Overrides Exceptions Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-05 UTC.
Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-05 UTC."],[],[]]