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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Scorecard.SparkChartView.Builder newBuilder()
newBuilder(Scorecard.SparkChartView prototype)
public static Scorecard.SparkChartView.Builder newBuilder(Scorecard.SparkChartView prototype)
public static Scorecard.SparkChartView parseDelimitedFrom(InputStream input)
public static Scorecard.SparkChartView parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Scorecard.SparkChartView parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Scorecard.SparkChartView parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Scorecard.SparkChartView parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Scorecard.SparkChartView parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Scorecard.SparkChartView parseFrom(CodedInputStream input)
public static Scorecard.SparkChartView parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Scorecard.SparkChartView parseFrom(InputStream input)
public static Scorecard.SparkChartView parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Scorecard.SparkChartView parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Scorecard.SparkChartView parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Scorecard.SparkChartView> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public Scorecard.SparkChartView getDefaultInstanceForType()
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;
getParserForType()
public Parser<Scorecard.SparkChartView> getParserForType()
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];
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Scorecard.SparkChartView.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Scorecard.SparkChartView.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Scorecard.SparkChartView.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides