Package com.buildless.service.v1
Enum Class QueryOptions.Filter.Operator
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<QueryOptions.Filter.Operator>,Constable
- Enclosing class:
QueryOptions.Filter
public static enum QueryOptions.Filter.Operator
extends Enum<QueryOptions.Filter.Operator>
implements com.google.protobuf.ProtocolMessageEnum
Enumerates supported filter operators which can be used with structured filter declarations on a query.Protobuf enum
buildless.service.v1.QueryOptions.Filter.Operator-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOperator: Is-empty-or-null.Operator: Equals.Operator: Greater-than.Operator: Greater-than-or-equal-to.Operator: In/contains.Operator: Less-than.Operator: Less-than-or-equal-to.Operator: Not equals.Operator: Not-in/Not-contains.Operator: Not-empty-or-null.Default/unrecognized operator: implementation specific. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intOperator: Is-empty-or-null.static final intOperator: Equals.static final intOperator: Greater-than.static final intOperator: Greater-than-or-equal-to.static final intOperator: In/contains.static final intOperator: Less-than.static final intOperator: Less-than-or-equal-to.static final intOperator: Not equals.static final intOperator: Not-in/Not-contains.static final intOperator: Not-empty-or-null.static final intDefault/unrecognized operator: implementation specific. -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryOptions.Filter.OperatorforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<QueryOptions.Filter.Operator>static QueryOptions.Filter.OperatorvalueOf(int value) Deprecated.static QueryOptions.Filter.OperatorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static QueryOptions.Filter.OperatorReturns the enum constant of this class with the specified name.static QueryOptions.Filter.Operator[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OPERATOR_DEFAULT
Default/unrecognized operator: implementation specific. This value is also used to signify a backwards- incompatible value, and so it is recommended that new code use an explicit operator option.
OPERATOR_DEFAULT = 0; -
EQ
Operator: Equals.
EQ = 2; -
NEQ
Operator: Not equals.
NEQ = 3; -
LT
Operator: Less-than.
LT = 4; -
LTE
Operator: Less-than-or-equal-to.
LTE = 5; -
GT
Operator: Greater-than.
GT = 6; -
GTE
Operator: Greater-than-or-equal-to.
GTE = 7; -
IN
Operator: In/contains.
IN = 8; -
NIN
Operator: Not-in/Not-contains.
NIN = 9; -
EMPTY
Operator: Is-empty-or-null.
EMPTY = 10; -
NOT_EMPTY
Operator: Not-empty-or-null.
NOT_EMPTY = 11; -
UNRECOGNIZED
-
-
Field Details
-
OPERATOR_DEFAULT_VALUE
public static final int OPERATOR_DEFAULT_VALUEDefault/unrecognized operator: implementation specific. This value is also used to signify a backwards- incompatible value, and so it is recommended that new code use an explicit operator option.
OPERATOR_DEFAULT = 0;- See Also:
-
EQ_VALUE
public static final int EQ_VALUEOperator: Equals.
EQ = 2;- See Also:
-
NEQ_VALUE
public static final int NEQ_VALUEOperator: Not equals.
NEQ = 3;- See Also:
-
LT_VALUE
public static final int LT_VALUEOperator: Less-than.
LT = 4;- See Also:
-
LTE_VALUE
public static final int LTE_VALUEOperator: Less-than-or-equal-to.
LTE = 5;- See Also:
-
GT_VALUE
public static final int GT_VALUEOperator: Greater-than.
GT = 6;- See Also:
-
GTE_VALUE
public static final int GTE_VALUEOperator: Greater-than-or-equal-to.
GTE = 7;- See Also:
-
IN_VALUE
public static final int IN_VALUEOperator: In/contains.
IN = 8;- See Also:
-
NIN_VALUE
public static final int NIN_VALUEOperator: Not-in/Not-contains.
NIN = 9;- See Also:
-
EMPTY_VALUE
public static final int EMPTY_VALUEOperator: Is-empty-or-null.
EMPTY = 10;- See Also:
-
NOT_EMPTY_VALUE
public static final int NOT_EMPTY_VALUEOperator: Not-empty-or-null.
NOT_EMPTY = 11;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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 class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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
public static com.google.protobuf.Internal.EnumLiteMap<QueryOptions.Filter.Operator> 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 QueryOptions.Filter.Operator valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-