Package com.google.privacy.dlp.v2
Enum RelationalOperator
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<RelationalOperator>
@Generated
public enum RelationalOperator
extends Enum<RelationalOperator>
implements com.google.protobuf.ProtocolMessageEnum
Operators available for comparing the value of fields.Protobuf enum
google.privacy.dlp.v2.RelationalOperator-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEqual.ExistsGreater than.Greater than or equals.Less than.Less than or equals.Not equal to.Unused -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intEqual.static final intExistsstatic final intGreater than or equals.static final intGreater than.static final intLess than or equals.static final intLess than.static final intNot equal to.static final intUnused -
Method Summary
Modifier and TypeMethodDescriptionstatic RelationalOperatorforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<RelationalOperator>static RelationalOperatorvalueOf(int value) Deprecated.static RelationalOperatorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static RelationalOperatorReturns the enum constant of this type with the specified name.static RelationalOperator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RELATIONAL_OPERATOR_UNSPECIFIED
Unused
RELATIONAL_OPERATOR_UNSPECIFIED = 0; -
EQUAL_TO
Equal. Attempts to match even with incompatible types.
EQUAL_TO = 1; -
NOT_EQUAL_TO
Not equal to. Attempts to match even with incompatible types.
NOT_EQUAL_TO = 2; -
GREATER_THAN
Greater than.
GREATER_THAN = 3; -
LESS_THAN
Less than.
LESS_THAN = 4; -
GREATER_THAN_OR_EQUALS
Greater than or equals.
GREATER_THAN_OR_EQUALS = 5; -
LESS_THAN_OR_EQUALS
Less than or equals.
LESS_THAN_OR_EQUALS = 6; -
EXISTS
Exists
EXISTS = 7; -
UNRECOGNIZED
-
-
Field Details
-
RELATIONAL_OPERATOR_UNSPECIFIED_VALUE
public static final int RELATIONAL_OPERATOR_UNSPECIFIED_VALUEUnused
RELATIONAL_OPERATOR_UNSPECIFIED = 0;- See Also:
-
EQUAL_TO_VALUE
public static final int EQUAL_TO_VALUEEqual. Attempts to match even with incompatible types.
EQUAL_TO = 1;- See Also:
-
NOT_EQUAL_TO_VALUE
public static final int NOT_EQUAL_TO_VALUENot equal to. Attempts to match even with incompatible types.
NOT_EQUAL_TO = 2;- See Also:
-
GREATER_THAN_VALUE
public static final int GREATER_THAN_VALUEGreater than.
GREATER_THAN = 3;- See Also:
-
LESS_THAN_VALUE
public static final int LESS_THAN_VALUELess than.
LESS_THAN = 4;- See Also:
-
GREATER_THAN_OR_EQUALS_VALUE
public static final int GREATER_THAN_OR_EQUALS_VALUEGreater than or equals.
GREATER_THAN_OR_EQUALS = 5;- See Also:
-
LESS_THAN_OR_EQUALS_VALUE
public static final int LESS_THAN_OR_EQUALS_VALUELess than or equals.
LESS_THAN_OR_EQUALS = 6;- See Also:
-
EXISTS_VALUE
public static final int EXISTS_VALUEExists
EXISTS = 7;- 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
-