Class Scorecard.GaugeView (2.44.0)

public static final class Scorecard.GaugeView extends GeneratedMessageV3 implements Scorecard.GaugeViewOrBuilder

A gauge chart shows where the current value sits within a pre-defined range. The upper and lower bounds should define the possible range of values for the scorecard's query (inclusive).

Protobuf type google.monitoring.dashboard.v1.Scorecard.GaugeView

Static Fields

LOWER_BOUND_FIELD_NUMBER

public static final int LOWER_BOUND_FIELD_NUMBER
Field Value
Type Description
int

UPPER_BOUND_FIELD_NUMBER

public static final int UPPER_BOUND_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(Scorecard.GaugeView prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getLowerBound()

public double getLowerBound()

The lower bound for this gauge chart. The value of the chart should always be greater than or equal to this.

double lower_bound = 1;

Returns
Type Description
double

The lowerBound.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpperBound()

public double getUpperBound()

The upper bound for this gauge chart. The value of the chart should always be less than or equal to this.

double upper_bound = 2;

Returns
Type Description
double

The upperBound.

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.GaugeView.Builder newBuilderForType()
Returns
Type Description
Scorecard.GaugeView.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Scorecard.GaugeView.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Scorecard.GaugeView.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.GaugeView.Builder toBuilder()
Returns
Type Description
Scorecard.GaugeView.Builder

writeTo(CodedOutputStream output)

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