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 enumgoogle.monitoring.v3.AlertPolicy.Condition.EvaluationMissingData
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EVALUATION_MISSING_DATA_ACTIVE
If there is no data to evaluate the condition, then evaluate the condition as true.EVALUATION_MISSING_DATA_INACTIVE
If there is no data to evaluate the condition, then evaluate the condition as false.EVALUATION_MISSING_DATA_NO_OP
Do not evaluate the condition to any value if there is no data.EVALUATION_MISSING_DATA_UNSPECIFIED
An unspecified evaluation missing data option.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
EVALUATION_MISSING_DATA_ACTIVE_VALUE
If there is no data to evaluate the condition, then evaluate the condition as true.static int
EVALUATION_MISSING_DATA_INACTIVE_VALUE
If there is no data to evaluate the condition, then evaluate the condition as false.static int
EVALUATION_MISSING_DATA_NO_OP_VALUE
Do not evaluate the condition to any value if there is no data.static int
EVALUATION_MISSING_DATA_UNSPECIFIED_VALUE
An unspecified evaluation missing data option.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AlertPolicy.Condition.EvaluationMissingData
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<AlertPolicy.Condition.EvaluationMissingData>
internalGetValueMap()
static AlertPolicy.Condition.EvaluationMissingData
valueOf(int value)
Deprecated.static AlertPolicy.Condition.EvaluationMissingData
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static AlertPolicy.Condition.EvaluationMissingData
valueOf(String name)
Returns the enum constant of this type with the specified name.static AlertPolicy.Condition.EvaluationMissingData[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
-
Method Detail
-
values
public static AlertPolicy.Condition.EvaluationMissingData[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AlertPolicy.Condition.EvaluationMissingData c : AlertPolicy.Condition.EvaluationMissingData.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlertPolicy.Condition.EvaluationMissingData valueOf(String name)
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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.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 nameNullPointerException
- 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 interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final 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
-
-