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 and Description |
---|
EQUAL
The given `property` is equal to the given `value`.
|
GREATER_THAN
The given `property` is greater than the given `value`.
|
GREATER_THAN_OR_EQUAL
The given `property` is greater than or equal to the given `value`.
|
HAS_ANCESTOR
Limit the result set to the given entity and its descendants.
|
IN
The given `property` is equal to at least one value in the given array.
|
LESS_THAN
The given `property` is less than the given `value`.
|
LESS_THAN_OR_EQUAL
The given `property` is less than or equal to the given `value`.
|
NOT_EQUAL
The given `property` is not equal to the given `value`.
|
NOT_IN
The value of the `property` is not in the given array.
|
OPERATOR_UNSPECIFIED
Unspecified.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
EQUAL_VALUE
The given `property` is equal to the given `value`.
|
static int |
GREATER_THAN_OR_EQUAL_VALUE
The given `property` is greater than or equal to the given `value`.
|
static int |
GREATER_THAN_VALUE
The given `property` is greater than the given `value`.
|
static int |
HAS_ANCESTOR_VALUE
Limit the result set to the given entity and its descendants.
|
static int |
IN_VALUE
The given `property` is equal to at least one value in the given array.
|
static int |
LESS_THAN_OR_EQUAL_VALUE
The given `property` is less than or equal to the given `value`.
|
static int |
LESS_THAN_VALUE
The given `property` is less than the given `value`.
|
static int |
NOT_EQUAL_VALUE
The given `property` is not equal to the given `value`.
|
static int |
NOT_IN_VALUE
The value of the `property` is not in the given array.
|
static int |
OPERATOR_UNSPECIFIED_VALUE
Unspecified.
|
Modifier and Type | Method and Description |
---|---|
static PropertyFilter.Operator |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<PropertyFilter.Operator> |
internalGetValueMap() |
static PropertyFilter.Operator |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PropertyFilter.Operator |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PropertyFilter.Operator |
valueOf(String name)
Returns 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.
|
public static final PropertyFilter.Operator OPERATOR_UNSPECIFIED
Unspecified. This value must not be used.
OPERATOR_UNSPECIFIED = 0;
public static final PropertyFilter.Operator LESS_THAN
The given `property` is less than the given `value`. Requires: * That `property` comes first in `order_by`.
LESS_THAN = 1;
public static final PropertyFilter.Operator 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;
public static final PropertyFilter.Operator GREATER_THAN
The given `property` is greater than the given `value`. Requires: * That `property` comes first in `order_by`.
GREATER_THAN = 3;
public static final PropertyFilter.Operator 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;
public static final PropertyFilter.Operator EQUAL
The given `property` is equal to the given `value`.
EQUAL = 5;
public static final PropertyFilter.Operator IN
The given `property` is equal to at least one value in the given array. Requires: * That `value` is a non-empty `ArrayValue` with at most 10 values. * No other `IN` or `NOT_IN` is in the same query.
IN = 6;
public static final PropertyFilter.Operator 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;
public static final PropertyFilter.Operator HAS_ANCESTOR
Limit the result set to the given entity and its descendants. Requires: * That `value` is an entity key.
HAS_ANCESTOR = 11;
public static final PropertyFilter.Operator 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 `IN`, `NOT_IN`, `NOT_EQUAL` is in the same query. * That `field` comes first in the `order_by`.
NOT_IN = 13;
public static final PropertyFilter.Operator UNRECOGNIZED
public static final int OPERATOR_UNSPECIFIED_VALUE
Unspecified. This value must not be used.
OPERATOR_UNSPECIFIED = 0;
public static final int LESS_THAN_VALUE
The given `property` is less than the given `value`. Requires: * That `property` comes first in `order_by`.
LESS_THAN = 1;
public static final int LESS_THAN_OR_EQUAL_VALUE
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;
public static final int GREATER_THAN_VALUE
The given `property` is greater than the given `value`. Requires: * That `property` comes first in `order_by`.
GREATER_THAN = 3;
public static final int GREATER_THAN_OR_EQUAL_VALUE
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;
public static final int EQUAL_VALUE
The given `property` is equal to the given `value`.
EQUAL = 5;
public static final int IN_VALUE
The given `property` is equal to at least one value in the given array. Requires: * That `value` is a non-empty `ArrayValue` with at most 10 values. * No other `IN` or `NOT_IN` is in the same query.
IN = 6;
public static final int NOT_EQUAL_VALUE
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;
public static final int HAS_ANCESTOR_VALUE
Limit the result set to the given entity and its descendants. Requires: * That `value` is an entity key.
HAS_ANCESTOR = 11;
public static final int NOT_IN_VALUE
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 `IN`, `NOT_IN`, `NOT_EQUAL` is in the same query. * That `field` comes first in the `order_by`.
NOT_IN = 13;
public static PropertyFilter.Operator[] values()
for (PropertyFilter.Operator c : PropertyFilter.Operator.values()) System.out.println(c);
public static PropertyFilter.Operator valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static PropertyFilter.Operator valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static PropertyFilter.Operator forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<PropertyFilter.Operator> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static PropertyFilter.Operator valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.