Package com.google.monitoring.v3
Enum ComparisonType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ComparisonType>
@Generated
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 Summary
Enum ConstantsEnum ConstantDescriptionTrue if the left argument is equal to the right argument.True if the left argument is greater than or equal to the right argument.True if the left argument is greater than the right argument.True if the left argument is less than or equal to the right argument.True if the left argument is less than the right argument.True if the left argument is not equal to the right argument.No ordering relationship is specified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intTrue if the left argument is equal to the right argument.static final intTrue if the left argument is greater than or equal to the right argument.static final intTrue if the left argument is greater than the right argument.static final intTrue if the left argument is less than or equal to the right argument.static final intTrue if the left argument is less than the right argument.static final intTrue if the left argument is not equal to the right argument.static final intNo ordering relationship is specified. -
Method Summary
Modifier and TypeMethodDescriptionstatic ComparisonTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ComparisonType>static ComparisonTypevalueOf(int value) Deprecated.static ComparisonTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static ComparisonTypeReturns 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.
-
Enum Constant Details
-
COMPARISON_UNSPECIFIED
No ordering relationship is specified.
COMPARISON_UNSPECIFIED = 0; -
COMPARISON_GT
True if the left argument is greater than the right argument.
COMPARISON_GT = 1; -
COMPARISON_GE
True if the left argument is greater than or equal to the right argument.
COMPARISON_GE = 2; -
COMPARISON_LT
True if the left argument is less than the right argument.
COMPARISON_LT = 3; -
COMPARISON_LE
True if the left argument is less than or equal to the right argument.
COMPARISON_LE = 4; -
COMPARISON_EQ
True if the left argument is equal to the right argument.
COMPARISON_EQ = 5; -
COMPARISON_NE
True if the left argument is not equal to the right argument.
COMPARISON_NE = 6; -
UNRECOGNIZED
-
-
Field Details
-
COMPARISON_UNSPECIFIED_VALUE
public static final int COMPARISON_UNSPECIFIED_VALUENo ordering relationship is specified.
COMPARISON_UNSPECIFIED = 0;- See Also:
-
COMPARISON_GT_VALUE
public static final int COMPARISON_GT_VALUETrue if the left argument is greater than the right argument.
COMPARISON_GT = 1;- See Also:
-
COMPARISON_GE_VALUE
public static final int COMPARISON_GE_VALUETrue if the left argument is greater than or equal to the right argument.
COMPARISON_GE = 2;- See Also:
-
COMPARISON_LT_VALUE
public static final int COMPARISON_LT_VALUETrue if the left argument is less than the right argument.
COMPARISON_LT = 3;- See Also:
-
COMPARISON_LE_VALUE
public static final int COMPARISON_LE_VALUETrue if the left argument is less than or equal to the right argument.
COMPARISON_LE = 4;- See Also:
-
COMPARISON_EQ_VALUE
public static final int COMPARISON_EQ_VALUETrue if the left argument is equal to the right argument.
COMPARISON_EQ = 5;- See Also:
-
COMPARISON_NE_VALUE
public static final int COMPARISON_NE_VALUETrue if the left argument is not equal to the right argument.
COMPARISON_NE = 6;- 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
-
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
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
-