Class Scorecard.GaugeView.Builder (2.10.0)

public static final class Scorecard.GaugeView.Builder extends GeneratedMessageV3.Builder<Scorecard.GaugeView.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Scorecard.GaugeView.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Scorecard.GaugeView.Builder
Overrides

build()

public Scorecard.GaugeView build()
Returns
TypeDescription
Scorecard.GaugeView

buildPartial()

public Scorecard.GaugeView buildPartial()
Returns
TypeDescription
Scorecard.GaugeView

clear()

public Scorecard.GaugeView.Builder clear()
Returns
TypeDescription
Scorecard.GaugeView.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Scorecard.GaugeView.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Scorecard.GaugeView.Builder
Overrides

clearLowerBound()

public Scorecard.GaugeView.Builder clearLowerBound()

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
Scorecard.GaugeView.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Scorecard.GaugeView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Scorecard.GaugeView.Builder
Overrides

clearUpperBound()

public Scorecard.GaugeView.Builder clearUpperBound()

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
Scorecard.GaugeView.Builder

This builder for chaining.

clone()

public Scorecard.GaugeView.Builder clone()
Returns
TypeDescription
Scorecard.GaugeView.Builder
Overrides

getDefaultInstanceForType()

public Scorecard.GaugeView getDefaultInstanceForType()
Returns
TypeDescription
Scorecard.GaugeView

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Scorecard.GaugeView other)

public Scorecard.GaugeView.Builder mergeFrom(Scorecard.GaugeView other)
Parameter
NameDescription
otherScorecard.GaugeView
Returns
TypeDescription
Scorecard.GaugeView.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Scorecard.GaugeView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Scorecard.GaugeView.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Scorecard.GaugeView.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Scorecard.GaugeView.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Scorecard.GaugeView.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Scorecard.GaugeView.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Scorecard.GaugeView.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Scorecard.GaugeView.Builder
Overrides

setLowerBound(double value)

public Scorecard.GaugeView.Builder setLowerBound(double value)

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;

Parameter
NameDescription
valuedouble

The lowerBound to set.

Returns
TypeDescription
Scorecard.GaugeView.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Scorecard.GaugeView.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Scorecard.GaugeView.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Scorecard.GaugeView.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Scorecard.GaugeView.Builder
Overrides

setUpperBound(double value)

public Scorecard.GaugeView.Builder setUpperBound(double value)

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;

Parameter
NameDescription
valuedouble

The upperBound to set.

Returns
TypeDescription
Scorecard.GaugeView.Builder

This builder for chaining.