Class Scorecard.GaugeView (2.13.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
TypeDescription
int

UPPER_BOUND_FIELD_NUMBER

public static final int UPPER_BOUND_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Scorecard.GaugeView getDefaultInstance()
Returns
TypeDescription
Scorecard.GaugeView

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Scorecard.GaugeView.Builder newBuilder()
Returns
TypeDescription
Scorecard.GaugeView.Builder

newBuilder(Scorecard.GaugeView prototype)

public static Scorecard.GaugeView.Builder newBuilder(Scorecard.GaugeView prototype)
Parameter
NameDescription
prototypeScorecard.GaugeView
Returns
TypeDescription
Scorecard.GaugeView.Builder

parseDelimitedFrom(InputStream input)

public static Scorecard.GaugeView parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Scorecard.GaugeView
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Scorecard.GaugeView parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Scorecard.GaugeView
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Scorecard.GaugeView parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Scorecard.GaugeView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Scorecard.GaugeView parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Scorecard.GaugeView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Scorecard.GaugeView parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Scorecard.GaugeView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Scorecard.GaugeView parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Scorecard.GaugeView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Scorecard.GaugeView parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Scorecard.GaugeView
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Scorecard.GaugeView parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Scorecard.GaugeView
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Scorecard.GaugeView parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Scorecard.GaugeView
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Scorecard.GaugeView parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Scorecard.GaugeView
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Scorecard.GaugeView parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Scorecard.GaugeView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Scorecard.GaugeView parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Scorecard.GaugeView
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Scorecard.GaugeView getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
double

The lowerBound.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
double

The upperBound.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Scorecard.GaugeView.Builder newBuilderForType()
Returns
TypeDescription
Scorecard.GaugeView.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Scorecard.GaugeView.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Scorecard.GaugeView.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Scorecard.GaugeView.Builder toBuilder()
Returns
TypeDescription
Scorecard.GaugeView.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException