Package com.google.datastore.v1
Enum PropertyFilter.Operator
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<PropertyFilter.Operator>
- Enclosing class:
- PropertyFilter
public static enum PropertyFilter.Operator
extends Enum<PropertyFilter.Operator>
implements com.google.protobuf.ProtocolMessageEnum
A property filter operator.Protobuf enum
google.datastore.v1.PropertyFilter.Operator-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe given `property` is equal to the given `value`.The given `property` is greater than the given `value`.The given `property` is greater than or equal to the given `value`.Limit the result set to the given entity and its descendants.The given `property` is equal to at least one value in the given array.The given `property` is less than the given `value`.The given `property` is less than or equal to the given `value`.The given `property` is not equal to the given `value`.The value of the `property` is not in the given array.Unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe given `property` is equal to the given `value`.static final intThe given `property` is greater than or equal to the given `value`.static final intThe given `property` is greater than the given `value`.static final intLimit the result set to the given entity and its descendants.static final intThe given `property` is equal to at least one value in the given array.static final intThe given `property` is less than or equal to the given `value`.static final intThe given `property` is less than the given `value`.static final intThe given `property` is not equal to the given `value`.static final intThe value of the `property` is not in the given array.static final intUnspecified. -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertyFilter.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<PropertyFilter.Operator>static PropertyFilter.OperatorvalueOf(int value) Deprecated.static PropertyFilter.OperatorvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static PropertyFilter.OperatorReturns the enum constant of this type with the specified name.static PropertyFilter.Operator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OPERATOR_UNSPECIFIED
Unspecified. This value must not be used.
OPERATOR_UNSPECIFIED = 0; -
LESS_THAN
The given `property` is less than the given `value`. Requires: * That `property` comes first in `order_by`.
LESS_THAN = 1; -
LESS_THAN_OR_EQUAL
The given `property` is less than or equal to the given `value`. Requires: * That `property` comes first in `order_by`.
LESS_THAN_OR_EQUAL = 2; -
GREATER_THAN
The given `property` is greater than the given `value`. Requires: * That `property` comes first in `order_by`.
GREATER_THAN = 3; -
GREATER_THAN_OR_EQUAL
The given `property` is greater than or equal to the given `value`. Requires: * That `property` comes first in `order_by`.
GREATER_THAN_OR_EQUAL = 4; -
EQUAL
The given `property` is equal to the given `value`.
EQUAL = 5; -
IN
The given `property` is equal to at least one value in the given array. Requires: * That `value` is a non-empty `ArrayValue`, subject to disjunction limits. * No `NOT_IN` is in the same query.
IN = 6; -
NOT_EQUAL
The given `property` is not equal to the given `value`. Requires: * No other `NOT_EQUAL` or `NOT_IN` is in the same query. * That `property` comes first in the `order_by`.
NOT_EQUAL = 9; -
HAS_ANCESTOR
Limit the result set to the given entity and its descendants. Requires: * That `value` is an entity key. * All evaluated disjunctions must have the same `HAS_ANCESTOR` filter.
HAS_ANCESTOR = 11; -
NOT_IN
The value of the `property` is not in the given array. Requires: * That `value` is a non-empty `ArrayValue` with at most 10 values. * No other `OR`, `IN`, `NOT_IN`, `NOT_EQUAL` is in the same query. * That `field` comes first in the `order_by`.
NOT_IN = 13; -
UNRECOGNIZED
-
-
Field Details
-
OPERATOR_UNSPECIFIED_VALUE
public static final int OPERATOR_UNSPECIFIED_VALUEUnspecified. This value must not be used.
OPERATOR_UNSPECIFIED = 0;- See Also:
-
LESS_THAN_VALUE
public static final int LESS_THAN_VALUEThe given `property` is less than the given `value`. Requires: * That `property` comes first in `order_by`.
LESS_THAN = 1;- See Also:
-
LESS_THAN_OR_EQUAL_VALUE
public static final int LESS_THAN_OR_EQUAL_VALUEThe given `property` is less than or equal to the given `value`. Requires: * That `property` comes first in `order_by`.
LESS_THAN_OR_EQUAL = 2;- See Also:
-
GREATER_THAN_VALUE
public static final int GREATER_THAN_VALUEThe given `property` is greater than the given `value`. Requires: * That `property` comes first in `order_by`.
GREATER_THAN = 3;- See Also:
-
GREATER_THAN_OR_EQUAL_VALUE
public static final int GREATER_THAN_OR_EQUAL_VALUEThe given `property` is greater than or equal to the given `value`. Requires: * That `property` comes first in `order_by`.
GREATER_THAN_OR_EQUAL = 4;- See Also:
-
EQUAL_VALUE
public static final int EQUAL_VALUEThe given `property` is equal to the given `value`.
EQUAL = 5;- See Also:
-
IN_VALUE
public static final int IN_VALUEThe given `property` is equal to at least one value in the given array. Requires: * That `value` is a non-empty `ArrayValue`, subject to disjunction limits. * No `NOT_IN` is in the same query.
IN = 6;- See Also:
-
NOT_EQUAL_VALUE
public static final int NOT_EQUAL_VALUEThe given `property` is not equal to the given `value`. Requires: * No other `NOT_EQUAL` or `NOT_IN` is in the same query. * That `property` comes first in the `order_by`.
NOT_EQUAL = 9;- See Also:
-
HAS_ANCESTOR_VALUE
public static final int HAS_ANCESTOR_VALUELimit the result set to the given entity and its descendants. Requires: * That `value` is an entity key. * All evaluated disjunctions must have the same `HAS_ANCESTOR` filter.
HAS_ANCESTOR = 11;- See Also:
-
NOT_IN_VALUE
public static final int NOT_IN_VALUEThe value of the `property` is not in the given array. Requires: * That `value` is a non-empty `ArrayValue` with at most 10 values. * No other `OR`, `IN`, `NOT_IN`, `NOT_EQUAL` is in the same query. * That `field` comes first in the `order_by`.
NOT_IN = 13;- 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
public static com.google.protobuf.Internal.EnumLiteMap<PropertyFilter.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 PropertyFilter.Operator 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
-