Package com.google.monitoring.v3
Interface AlertPolicy.Condition.TriggerOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AlertPolicy.Condition.Trigger
,AlertPolicy.Condition.Trigger.Builder
- Enclosing class:
- AlertPolicy.Condition
public static interface AlertPolicy.Condition.TriggerOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getCount()
The absolute number of time series that must fail the predicate for the condition to be triggered.double
getPercent()
The percentage of time series that must fail the predicate for the condition to be triggered.AlertPolicy.Condition.Trigger.TypeCase
getTypeCase()
boolean
hasCount()
The absolute number of time series that must fail the predicate for the condition to be triggered.boolean
hasPercent()
The percentage of time series that must fail the predicate for the condition to be triggered.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCount
boolean hasCount()
The absolute number of time series that must fail the predicate for the condition to be triggered.
int32 count = 1;
- Returns:
- Whether the count field is set.
-
getCount
int getCount()
The absolute number of time series that must fail the predicate for the condition to be triggered.
int32 count = 1;
- Returns:
- The count.
-
hasPercent
boolean hasPercent()
The percentage of time series that must fail the predicate for the condition to be triggered.
double percent = 2;
- Returns:
- Whether the percent field is set.
-
getPercent
double getPercent()
The percentage of time series that must fail the predicate for the condition to be triggered.
double percent = 2;
- Returns:
- The percent.
-
getTypeCase
AlertPolicy.Condition.Trigger.TypeCase getTypeCase()
-
-