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 Type
    Method
    Description
    int
    The absolute number of time series that must fail the predicate for the condition to be triggered.
    double
    The percentage of time series that must fail the predicate for the condition to be triggered.
     
    boolean
    The absolute number of time series that must fail the predicate for the condition to be triggered.
    boolean
    The percentage of time series that must fail the predicate for the condition to be triggered.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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