Package com.google.privacy.dlp.v2
Enum RelationalOperator
- java.lang.Object
-
- java.lang.Enum<RelationalOperator>
-
- com.google.privacy.dlp.v2.RelationalOperator
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<RelationalOperator>
public enum RelationalOperator extends Enum<RelationalOperator> implements com.google.protobuf.ProtocolMessageEnum
Operators available for comparing the value of fields.
Protobuf enumgoogle.privacy.dlp.v2.RelationalOperator
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUAL_TOEqual.EXISTSExistsGREATER_THANGreater than.GREATER_THAN_OR_EQUALSGreater than or equals.LESS_THANLess than.LESS_THAN_OR_EQUALSLess than or equals.NOT_EQUAL_TONot equal to.RELATIONAL_OPERATOR_UNSPECIFIEDUnusedUNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intEQUAL_TO_VALUEEqual.static intEXISTS_VALUEExistsstatic intGREATER_THAN_OR_EQUALS_VALUEGreater than or equals.static intGREATER_THAN_VALUEGreater than.static intLESS_THAN_OR_EQUALS_VALUELess than or equals.static intLESS_THAN_VALUELess than.static intNOT_EQUAL_TO_VALUENot equal to.static intRELATIONAL_OPERATOR_UNSPECIFIED_VALUEUnused
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static RelationalOperatorforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<RelationalOperator>internalGetValueMap()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 RelationalOperatorvalueOf(String name)Returns 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 Detail
-
RELATIONAL_OPERATOR_UNSPECIFIED
public static final RelationalOperator RELATIONAL_OPERATOR_UNSPECIFIED
Unused
RELATIONAL_OPERATOR_UNSPECIFIED = 0;
-
EQUAL_TO
public static final RelationalOperator EQUAL_TO
Equal. Attempts to match even with incompatible types.
EQUAL_TO = 1;
-
NOT_EQUAL_TO
public static final RelationalOperator NOT_EQUAL_TO
Not equal to. Attempts to match even with incompatible types.
NOT_EQUAL_TO = 2;
-
GREATER_THAN
public static final RelationalOperator GREATER_THAN
Greater than.
GREATER_THAN = 3;
-
LESS_THAN
public static final RelationalOperator LESS_THAN
Less than.
LESS_THAN = 4;
-
GREATER_THAN_OR_EQUALS
public static final RelationalOperator GREATER_THAN_OR_EQUALS
Greater than or equals.
GREATER_THAN_OR_EQUALS = 5;
-
LESS_THAN_OR_EQUALS
public static final RelationalOperator LESS_THAN_OR_EQUALS
Less than or equals.
LESS_THAN_OR_EQUALS = 6;
-
EXISTS
public static final RelationalOperator EXISTS
Exists
EXISTS = 7;
-
UNRECOGNIZED
public static final RelationalOperator UNRECOGNIZED
-
-
Field Detail
-
RELATIONAL_OPERATOR_UNSPECIFIED_VALUE
public static final int RELATIONAL_OPERATOR_UNSPECIFIED_VALUE
Unused
RELATIONAL_OPERATOR_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
EQUAL_TO_VALUE
public static final int EQUAL_TO_VALUE
Equal. Attempts to match even with incompatible types.
EQUAL_TO = 1;- See Also:
- Constant Field Values
-
NOT_EQUAL_TO_VALUE
public static final int NOT_EQUAL_TO_VALUE
Not equal to. Attempts to match even with incompatible types.
NOT_EQUAL_TO = 2;- See Also:
- Constant Field Values
-
GREATER_THAN_VALUE
public static final int GREATER_THAN_VALUE
Greater than.
GREATER_THAN = 3;- See Also:
- Constant Field Values
-
LESS_THAN_VALUE
public static final int LESS_THAN_VALUE
Less than.
LESS_THAN = 4;- See Also:
- Constant Field Values
-
GREATER_THAN_OR_EQUALS_VALUE
public static final int GREATER_THAN_OR_EQUALS_VALUE
Greater than or equals.
GREATER_THAN_OR_EQUALS = 5;- See Also:
- Constant Field Values
-
LESS_THAN_OR_EQUALS_VALUE
public static final int LESS_THAN_OR_EQUALS_VALUE
Less than or equals.
LESS_THAN_OR_EQUALS = 6;- See Also:
- Constant Field Values
-
EXISTS_VALUE
public static final int EXISTS_VALUE
Exists
EXISTS = 7;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static RelationalOperator[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RelationalOperator c : RelationalOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RelationalOperator 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 RelationalOperator 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 RelationalOperator 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<RelationalOperator> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static RelationalOperator 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
-
-