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
Modifier and TypeMethodDescriptionintgetCount()The absolute number of time series that must fail the predicate for the condition to be triggered.doubleThe percentage of time series that must fail the predicate for the condition to be triggered.booleanhasCount()The absolute number of time series that must fail the predicate for the condition to be triggered.booleanThe percentage of time series that must fail the predicate for the condition to be triggered.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
-
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()
-