Package com.google.monitoring.v3
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 Summary
Enum ConstantsEnum ConstantDescriptionIf there is no data to evaluate the condition, then evaluate the condition as true.If there is no data to evaluate the condition, then evaluate the condition as false.Do not evaluate the condition to any value if there is no data.An unspecified evaluation missing data option. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIf there is no data to evaluate the condition, then evaluate the condition as true.static final intIf there is no data to evaluate the condition, then evaluate the condition as false.static final intDo not evaluate the condition to any value if there is no data.static final intAn unspecified evaluation missing data option. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<AlertPolicy.Condition.EvaluationMissingData>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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
If there is no data to evaluate the condition, then evaluate the condition as false.
EVALUATION_MISSING_DATA_INACTIVE = 1; -
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
Do not evaluate the condition to any value if there is no data.
EVALUATION_MISSING_DATA_NO_OP = 3; -
UNRECOGNIZED
-
-
Field Details
-
EVALUATION_MISSING_DATA_UNSPECIFIED_VALUE
public static final int EVALUATION_MISSING_DATA_UNSPECIFIED_VALUEAn 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_VALUEIf 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_VALUEIf 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_VALUEDo 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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.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 nameNullPointerException- if the argument is null
-