Enum OnlineEvaluator.CloudObservability.NumericPredicate.ComparisonOperator
java.lang.Object
java.lang.Enum<OnlineEvaluator.CloudObservability.NumericPredicate.ComparisonOperator>
com.google.cloud.aiplatform.v1beta1.OnlineEvaluator.CloudObservability.NumericPredicate.ComparisonOperator
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<OnlineEvaluator.CloudObservability.NumericPredicate.ComparisonOperator>
- Enclosing class:
- OnlineEvaluator.CloudObservability.NumericPredicate
public static enum OnlineEvaluator.CloudObservability.NumericPredicate.ComparisonOperator
extends Enum<OnlineEvaluator.CloudObservability.NumericPredicate.ComparisonOperator>
implements com.google.protobuf.ProtocolMessageEnum
Comparison operators for numeric predicates.Protobuf enum
google.cloud.aiplatform.v1beta1.OnlineEvaluator.CloudObservability.NumericPredicate.ComparisonOperator-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUnspecified comparison operator.Equal to.Greater than.Greater than or equal to.Less than.Less than or equal to.Not equal to. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intUnspecified comparison operator.static final intEqual to.static final intGreater than or equal to.static final intGreater than.static final intLess than or equal to.static final intLess than.static final intNot equal to. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<OnlineEvaluator.CloudObservability.NumericPredicate.ComparisonOperator>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
COMPARISON_OPERATOR_UNSPECIFIED
public static final OnlineEvaluator.CloudObservability.NumericPredicate.ComparisonOperator COMPARISON_OPERATOR_UNSPECIFIEDUnspecified comparison operator. This value should not be used.
COMPARISON_OPERATOR_UNSPECIFIED = 0; -
LESS
Less than.
LESS = 1; -
LESS_OR_EQUAL
public static final OnlineEvaluator.CloudObservability.NumericPredicate.ComparisonOperator LESS_OR_EQUALLess than or equal to.
LESS_OR_EQUAL = 2; -
EQUAL
Equal to.
EQUAL = 3; -
NOT_EQUAL
public static final OnlineEvaluator.CloudObservability.NumericPredicate.ComparisonOperator NOT_EQUALNot equal to.
NOT_EQUAL = 4; -
GREATER_OR_EQUAL
public static final OnlineEvaluator.CloudObservability.NumericPredicate.ComparisonOperator GREATER_OR_EQUALGreater than or equal to.
GREATER_OR_EQUAL = 5; -
GREATER
Greater than.
GREATER = 6; -
UNRECOGNIZED
public static final OnlineEvaluator.CloudObservability.NumericPredicate.ComparisonOperator UNRECOGNIZED
-
-
Field Details
-
COMPARISON_OPERATOR_UNSPECIFIED_VALUE
public static final int COMPARISON_OPERATOR_UNSPECIFIED_VALUEUnspecified comparison operator. This value should not be used.
COMPARISON_OPERATOR_UNSPECIFIED = 0;- See Also:
-
LESS_VALUE
public static final int LESS_VALUELess than.
LESS = 1;- See Also:
-
LESS_OR_EQUAL_VALUE
public static final int LESS_OR_EQUAL_VALUELess than or equal to.
LESS_OR_EQUAL = 2;- See Also:
-
EQUAL_VALUE
public static final int EQUAL_VALUEEqual to.
EQUAL = 3;- See Also:
-
NOT_EQUAL_VALUE
public static final int NOT_EQUAL_VALUENot equal to.
NOT_EQUAL = 4;- See Also:
-
GREATER_OR_EQUAL_VALUE
public static final int GREATER_OR_EQUAL_VALUEGreater than or equal to.
GREATER_OR_EQUAL = 5;- See Also:
-
GREATER_VALUE
public static final int GREATER_VALUEGreater than.
GREATER = 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
public static OnlineEvaluator.CloudObservability.NumericPredicate.ComparisonOperator 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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static OnlineEvaluator.CloudObservability.NumericPredicate.ComparisonOperator 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 OnlineEvaluator.CloudObservability.NumericPredicate.ComparisonOperator 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<OnlineEvaluator.CloudObservability.NumericPredicate.ComparisonOperator> 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
public static OnlineEvaluator.CloudObservability.NumericPredicate.ComparisonOperator 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
-