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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Scorecard.GaugeView.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Scorecard.GaugeView build()
Returns
buildPartial()
public Scorecard.GaugeView buildPartial()
Returns
clear()
public Scorecard.GaugeView.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Scorecard.GaugeView.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public Scorecard.GaugeView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public Scorecard.GaugeView.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Scorecard.GaugeView getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Scorecard.GaugeView other)
public Scorecard.GaugeView.Builder mergeFrom(Scorecard.GaugeView other)
Parameter
Returns
public Scorecard.GaugeView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Scorecard.GaugeView.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Scorecard.GaugeView.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Scorecard.GaugeView.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Scorecard.GaugeView.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Scorecard.GaugeView.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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