Enum AlertPolicy.Condition.EvaluationMissingData

java.lang.Object
java.lang.Enum<AlertPolicy.Condition.EvaluationMissingData>
com.google.monitoring.v3.AlertPolicy.Condition.EvaluationMissingData
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<AlertPolicy.Condition.EvaluationMissingData>
Enclosing class:
AlertPolicy.Condition

public static enum AlertPolicy.Condition.EvaluationMissingData extends Enum<AlertPolicy.Condition.EvaluationMissingData> implements com.google.protobuf.ProtocolMessageEnum
 A condition control that determines how metric-threshold conditions
 are evaluated when data stops arriving.
 This control doesn't affect metric-absence policies.
 
Protobuf enum google.monitoring.v3.AlertPolicy.Condition.EvaluationMissingData
  • Enum Constant Details

    • EVALUATION_MISSING_DATA_UNSPECIFIED

      public static final AlertPolicy.Condition.EvaluationMissingData EVALUATION_MISSING_DATA_UNSPECIFIED
       An unspecified evaluation missing data option.  Equivalent to
       EVALUATION_MISSING_DATA_NO_OP.
       
      EVALUATION_MISSING_DATA_UNSPECIFIED = 0;
    • EVALUATION_MISSING_DATA_INACTIVE

      public static final AlertPolicy.Condition.EvaluationMissingData EVALUATION_MISSING_DATA_INACTIVE
       If there is no data to evaluate the condition, then evaluate the
       condition as false.
       
      EVALUATION_MISSING_DATA_INACTIVE = 1;
    • EVALUATION_MISSING_DATA_ACTIVE

      public static final AlertPolicy.Condition.EvaluationMissingData EVALUATION_MISSING_DATA_ACTIVE
       If there is no data to evaluate the condition, then evaluate the
       condition as true.
       
      EVALUATION_MISSING_DATA_ACTIVE = 2;
    • EVALUATION_MISSING_DATA_NO_OP

      public static final AlertPolicy.Condition.EvaluationMissingData EVALUATION_MISSING_DATA_NO_OP
       Do not evaluate the condition to any value if there is no data.
       
      EVALUATION_MISSING_DATA_NO_OP = 3;
    • UNRECOGNIZED

      public static final AlertPolicy.Condition.EvaluationMissingData UNRECOGNIZED
  • Field Details

    • EVALUATION_MISSING_DATA_UNSPECIFIED_VALUE

      public static final int EVALUATION_MISSING_DATA_UNSPECIFIED_VALUE
       An unspecified evaluation missing data option.  Equivalent to
       EVALUATION_MISSING_DATA_NO_OP.
       
      EVALUATION_MISSING_DATA_UNSPECIFIED = 0;
      See Also:
    • EVALUATION_MISSING_DATA_INACTIVE_VALUE

      public static final int EVALUATION_MISSING_DATA_INACTIVE_VALUE
       If there is no data to evaluate the condition, then evaluate the
       condition as false.
       
      EVALUATION_MISSING_DATA_INACTIVE = 1;
      See Also:
    • EVALUATION_MISSING_DATA_ACTIVE_VALUE

      public static final int EVALUATION_MISSING_DATA_ACTIVE_VALUE
       If there is no data to evaluate the condition, then evaluate the
       condition as true.
       
      EVALUATION_MISSING_DATA_ACTIVE = 2;
      See Also:
    • EVALUATION_MISSING_DATA_NO_OP_VALUE

      public static final int EVALUATION_MISSING_DATA_NO_OP_VALUE
       Do not evaluate the condition to any value if there is no data.
       
      EVALUATION_MISSING_DATA_NO_OP = 3;
      See Also:
  • Method Details

    • values

      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static AlertPolicy.Condition.EvaluationMissingData valueOf(int value)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static AlertPolicy.Condition.EvaluationMissingData forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<AlertPolicy.Condition.EvaluationMissingData> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static AlertPolicy.Condition.EvaluationMissingData valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null