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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Scorecard.GaugeView.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Scorecard.GaugeView build()
buildPartial()
public Scorecard.GaugeView buildPartial()
clear()
public Scorecard.GaugeView.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Scorecard.GaugeView.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public Scorecard.GaugeView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public Scorecard.GaugeView.Builder clone()
Overrides
getDefaultInstanceForType()
public Scorecard.GaugeView getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Scorecard.GaugeView other)
public Scorecard.GaugeView.Builder mergeFrom(Scorecard.GaugeView other)
public Scorecard.GaugeView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Scorecard.GaugeView.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Scorecard.GaugeView.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Scorecard.GaugeView.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Scorecard.GaugeView.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Scorecard.GaugeView.Builder setUnknownFields(UnknownFieldSet unknownFields)
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.
|