Class Scorecard.GaugeView.Builder (2.47.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Scorecard.GaugeView.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Scorecard.GaugeView.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Scorecard.GaugeView.Builder clear()
Returns
Type Description
Scorecard.GaugeView.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Scorecard.GaugeView.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
Scorecard.GaugeView.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Scorecard.GaugeView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
Scorecard.GaugeView.Builder

This builder for chaining.

clone()

public Scorecard.GaugeView.Builder clone()
Returns
Type Description
Scorecard.GaugeView.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
double

The upperBound.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Scorecard.GaugeView other)

public Scorecard.GaugeView.Builder mergeFrom(Scorecard.GaugeView other)
Parameter
Name Description
other Scorecard.GaugeView
Returns
Type Description
Scorecard.GaugeView.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Scorecard.GaugeView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Scorecard.GaugeView.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Scorecard.GaugeView.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Scorecard.GaugeView.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Scorecard.GaugeView.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Scorecard.GaugeView.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Scorecard.GaugeView.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value double

The lowerBound to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Scorecard.GaugeView.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Scorecard.GaugeView.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value double

The upperBound to set.

Returns
Type Description
Scorecard.GaugeView.Builder

This builder for chaining.