Enum 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 enum google.privacy.dlp.v2.RelationalOperator
    • 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;
      • 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;
    • 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
    • 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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null