public static enum AlertPolicy.ConditionCombinerType extends Enum<AlertPolicy.ConditionCombinerType> implements com.google.protobuf.ProtocolMessageEnum
Operators for combining conditions.Protobuf enum
google.monitoring.v3.AlertPolicy.ConditionCombinerType| Enum Constant and Description |
|---|
AND
Combine conditions using the logical `AND` operator.
|
AND_WITH_MATCHING_RESOURCE
Combine conditions using logical `AND` operator, but unlike the regular
`AND` option, an incident is created only if all conditions are met
simultaneously on at least one resource.
|
COMBINE_UNSPECIFIED
An unspecified combiner.
|
OR
Combine conditions using the logical `OR` operator.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
AND_VALUE
Combine conditions using the logical `AND` operator.
|
static int |
AND_WITH_MATCHING_RESOURCE_VALUE
Combine conditions using logical `AND` operator, but unlike the regular
`AND` option, an incident is created only if all conditions are met
simultaneously on at least one resource.
|
static int |
COMBINE_UNSPECIFIED_VALUE
An unspecified combiner.
|
static int |
OR_VALUE
Combine conditions using the logical `OR` operator.
|
| Modifier and Type | Method and Description |
|---|---|
static AlertPolicy.ConditionCombinerType |
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.ConditionCombinerType> |
internalGetValueMap() |
static AlertPolicy.ConditionCombinerType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AlertPolicy.ConditionCombinerType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AlertPolicy.ConditionCombinerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlertPolicy.ConditionCombinerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlertPolicy.ConditionCombinerType COMBINE_UNSPECIFIED
An unspecified combiner.
COMBINE_UNSPECIFIED = 0;public static final AlertPolicy.ConditionCombinerType AND
Combine conditions using the logical `AND` operator. An incident is created only if all the conditions are met simultaneously. This combiner is satisfied if all conditions are met, even if they are met on completely different resources.
AND = 1;public static final AlertPolicy.ConditionCombinerType OR
Combine conditions using the logical `OR` operator. An incident is created if any of the listed conditions is met.
OR = 2;public static final AlertPolicy.ConditionCombinerType AND_WITH_MATCHING_RESOURCE
Combine conditions using logical `AND` operator, but unlike the regular `AND` option, an incident is created only if all conditions are met simultaneously on at least one resource.
AND_WITH_MATCHING_RESOURCE = 3;public static final AlertPolicy.ConditionCombinerType UNRECOGNIZED
public static final int COMBINE_UNSPECIFIED_VALUE
An unspecified combiner.
COMBINE_UNSPECIFIED = 0;public static final int AND_VALUE
Combine conditions using the logical `AND` operator. An incident is created only if all the conditions are met simultaneously. This combiner is satisfied if all conditions are met, even if they are met on completely different resources.
AND = 1;public static final int OR_VALUE
Combine conditions using the logical `OR` operator. An incident is created if any of the listed conditions is met.
OR = 2;public static final int AND_WITH_MATCHING_RESOURCE_VALUE
Combine conditions using logical `AND` operator, but unlike the regular `AND` option, an incident is created only if all conditions are met simultaneously on at least one resource.
AND_WITH_MATCHING_RESOURCE = 3;public static AlertPolicy.ConditionCombinerType[] values()
for (AlertPolicy.ConditionCombinerType c : AlertPolicy.ConditionCombinerType.values()) System.out.println(c);
public static AlertPolicy.ConditionCombinerType 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.ConditionCombinerType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AlertPolicy.ConditionCombinerType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AlertPolicy.ConditionCombinerType> 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.ConditionCombinerType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.