Class Scorecard.SparkChartView (2.57.0)

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.dashboard.v1.Scorecard.SparkChartView

Static Fields

MIN_ALIGNMENT_PERIOD_FIELD_NUMBER

public static final int MIN_ALIGNMENT_PERIOD_FIELD_NUMBER
Field Value
Type Description
int

SPARK_CHART_TYPE_FIELD_NUMBER

public static final int SPARK_CHART_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Scorecard.SparkChartView getDefaultInstance()
Returns
Type Description
Scorecard.SparkChartView

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Scorecard.SparkChartView.Builder newBuilder()
Returns
Type Description
Scorecard.SparkChartView.Builder

newBuilder(Scorecard.SparkChartView prototype)

public static Scorecard.SparkChartView.Builder newBuilder(Scorecard.SparkChartView prototype)
Parameter
Name Description
prototype Scorecard.SparkChartView
Returns
Type Description
Scorecard.SparkChartView.Builder

parseDelimitedFrom(InputStream input)

public static Scorecard.SparkChartView parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Scorecard.SparkChartView
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Scorecard.SparkChartView parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Scorecard.SparkChartView
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Scorecard.SparkChartView parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Scorecard.SparkChartView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Scorecard.SparkChartView parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Scorecard.SparkChartView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Scorecard.SparkChartView parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Scorecard.SparkChartView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Scorecard.SparkChartView parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Scorecard.SparkChartView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Scorecard.SparkChartView parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Scorecard.SparkChartView
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Scorecard.SparkChartView parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Scorecard.SparkChartView
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Scorecard.SparkChartView parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Scorecard.SparkChartView
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Scorecard.SparkChartView parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Scorecard.SparkChartView
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Scorecard.SparkChartView parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Scorecard.SparkChartView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Scorecard.SparkChartView parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Scorecard.SparkChartView
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Scorecard.SparkChartView> parser()
Returns
Type Description
Parser<SparkChartView>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Scorecard.SparkChartView getDefaultInstanceForType()
Returns
Type Description
Scorecard.SparkChartView

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
Type Description
DurationOrBuilder

getParserForType()

public Parser<Scorecard.SparkChartView> getParserForType()
Returns
Type Description
Parser<SparkChartView>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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
Type Description
SparkChartType

The sparkChartType.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Scorecard.SparkChartView.Builder newBuilderForType()
Returns
Type Description
Scorecard.SparkChartView.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Scorecard.SparkChartView.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Scorecard.SparkChartView.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Scorecard.SparkChartView.Builder toBuilder()
Returns
Type Description
Scorecard.SparkChartView.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException