Interface AlertPolicy.Condition.TriggerOrBuilder

    • 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.MessageLiteOrBuilder

        isInitialized
      • 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.