public enum ComparisonType extends Enum<ComparisonType> implements com.google.protobuf.ProtocolMessageEnum
Specifies an ordering relationship on two arguments, called `left` and `right`.Protobuf enum
google.monitoring.v3.ComparisonType| Enum Constant and Description |
|---|
COMPARISON_EQ
True if the left argument is equal to the right argument.
|
COMPARISON_GE
True if the left argument is greater than or equal to the right argument.
|
COMPARISON_GT
True if the left argument is greater than the right argument.
|
COMPARISON_LE
True if the left argument is less than or equal to the right argument.
|
COMPARISON_LT
True if the left argument is less than the right argument.
|
COMPARISON_NE
True if the left argument is not equal to the right argument.
|
COMPARISON_UNSPECIFIED
No ordering relationship is specified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
COMPARISON_EQ_VALUE
True if the left argument is equal to the right argument.
|
static int |
COMPARISON_GE_VALUE
True if the left argument is greater than or equal to the right argument.
|
static int |
COMPARISON_GT_VALUE
True if the left argument is greater than the right argument.
|
static int |
COMPARISON_LE_VALUE
True if the left argument is less than or equal to the right argument.
|
static int |
COMPARISON_LT_VALUE
True if the left argument is less than the right argument.
|
static int |
COMPARISON_NE_VALUE
True if the left argument is not equal to the right argument.
|
static int |
COMPARISON_UNSPECIFIED_VALUE
No ordering relationship is specified.
|
| Modifier and Type | Method and Description |
|---|---|
static ComparisonType |
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<ComparisonType> |
internalGetValueMap() |
static ComparisonType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ComparisonType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ComparisonType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComparisonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComparisonType COMPARISON_UNSPECIFIED
No ordering relationship is specified.
COMPARISON_UNSPECIFIED = 0;public static final ComparisonType COMPARISON_GT
True if the left argument is greater than the right argument.
COMPARISON_GT = 1;public static final ComparisonType COMPARISON_GE
True if the left argument is greater than or equal to the right argument.
COMPARISON_GE = 2;public static final ComparisonType COMPARISON_LT
True if the left argument is less than the right argument.
COMPARISON_LT = 3;public static final ComparisonType COMPARISON_LE
True if the left argument is less than or equal to the right argument.
COMPARISON_LE = 4;public static final ComparisonType COMPARISON_EQ
True if the left argument is equal to the right argument.
COMPARISON_EQ = 5;public static final ComparisonType COMPARISON_NE
True if the left argument is not equal to the right argument.
COMPARISON_NE = 6;public static final ComparisonType UNRECOGNIZED
public static final int COMPARISON_UNSPECIFIED_VALUE
No ordering relationship is specified.
COMPARISON_UNSPECIFIED = 0;public static final int COMPARISON_GT_VALUE
True if the left argument is greater than the right argument.
COMPARISON_GT = 1;public static final int COMPARISON_GE_VALUE
True if the left argument is greater than or equal to the right argument.
COMPARISON_GE = 2;public static final int COMPARISON_LT_VALUE
True if the left argument is less than the right argument.
COMPARISON_LT = 3;public static final int COMPARISON_LE_VALUE
True if the left argument is less than or equal to the right argument.
COMPARISON_LE = 4;public static final int COMPARISON_EQ_VALUE
True if the left argument is equal to the right argument.
COMPARISON_EQ = 5;public static final int COMPARISON_NE_VALUE
True if the left argument is not equal to the right argument.
COMPARISON_NE = 6;public static ComparisonType[] values()
for (ComparisonType c : ComparisonType.values()) System.out.println(c);
public static ComparisonType 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 ComparisonType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ComparisonType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ComparisonType> 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 ComparisonType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.