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 and 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 |
| Modifier and Type | Field and 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.
|
| Modifier and Type | Method and 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(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AlertPolicy.Condition.EvaluationMissingData |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
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.
|
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;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;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;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;public static final AlertPolicy.Condition.EvaluationMissingData UNRECOGNIZED
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;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;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;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;public static AlertPolicy.Condition.EvaluationMissingData[] values()
for (AlertPolicy.Condition.EvaluationMissingData c : AlertPolicy.Condition.EvaluationMissingData.values()) System.out.println(c);
public static AlertPolicy.Condition.EvaluationMissingData valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static AlertPolicy.Condition.EvaluationMissingData valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AlertPolicy.Condition.EvaluationMissingData forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AlertPolicy.Condition.EvaluationMissingData> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static AlertPolicy.Condition.EvaluationMissingData valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.