Interface ThresholdOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Threshold,Threshold.Builder
@Generated
public interface ThresholdOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetColor()The state color for this threshold.intThe state color for this threshold.The direction for the current threshold.intThe direction for the current threshold.getLabel()A label for the threshold.com.google.protobuf.ByteStringA label for the threshold.The target axis to use for plotting the threshold.intThe target axis to use for plotting the threshold.doublegetValue()The value of the threshold.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getLabel
String getLabel()A label for the threshold.
string label = 1;- Returns:
- The label.
-
getLabelBytes
com.google.protobuf.ByteString getLabelBytes()A label for the threshold.
string label = 1;- Returns:
- The bytes for label.
-
getValue
double getValue()The value of the threshold. The value should be defined in the native scale of the metric.
double value = 2;- Returns:
- The value.
-
getColorValue
int getColorValue()The state color for this threshold. Color is not allowed in a XyChart.
.google.monitoring.dashboard.v1.Threshold.Color color = 3;- Returns:
- The enum numeric value on the wire for color.
-
getColor
Threshold.Color getColor()The state color for this threshold. Color is not allowed in a XyChart.
.google.monitoring.dashboard.v1.Threshold.Color color = 3;- Returns:
- The color.
-
getDirectionValue
int getDirectionValue()The direction for the current threshold. Direction is not allowed in a XyChart.
.google.monitoring.dashboard.v1.Threshold.Direction direction = 4;- Returns:
- The enum numeric value on the wire for direction.
-
getDirection
Threshold.Direction getDirection()The direction for the current threshold. Direction is not allowed in a XyChart.
.google.monitoring.dashboard.v1.Threshold.Direction direction = 4;- Returns:
- The direction.
-
getTargetAxisValue
int getTargetAxisValue()The target axis to use for plotting the threshold. Target axis is not allowed in a Scorecard.
.google.monitoring.dashboard.v1.Threshold.TargetAxis target_axis = 5;- Returns:
- The enum numeric value on the wire for targetAxis.
-
getTargetAxis
Threshold.TargetAxis getTargetAxis()The target axis to use for plotting the threshold. Target axis is not allowed in a Scorecard.
.google.monitoring.dashboard.v1.Threshold.TargetAxis target_axis = 5;- Returns:
- The targetAxis.
-