public static enum StructuredQuery.FieldFilter.Operator extends Enum<StructuredQuery.FieldFilter.Operator> implements com.google.protobuf.ProtocolMessageEnum
A field filter operator.Protobuf enum
google.firestore.v1.StructuredQuery.FieldFilter.Operator| Enum Constant and Description |
|---|
ARRAY_CONTAINS
The given `field` is an array that contains the given `value`.
|
ARRAY_CONTAINS_ANY
The given `field` is an array that contains any of the values in the
given array.
|
EQUAL
The given `field` is equal to the given `value`.
|
GREATER_THAN
The given `field` is greater than the given `value`.
|
GREATER_THAN_OR_EQUAL
The given `field` is greater than or equal to the given `value`.
|
IN
The given `field` is equal to at least one value in the given array.
|
LESS_THAN
The given `field` is less than the given `value`.
|
LESS_THAN_OR_EQUAL
The given `field` is less than or equal to the given `value`.
|
NOT_EQUAL
The given `field` is not equal to the given `value`.
|
NOT_IN
The value of the `field` is not in the given array.
|
OPERATOR_UNSPECIFIED
Unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ARRAY_CONTAINS_ANY_VALUE
The given `field` is an array that contains any of the values in the
given array.
|
static int |
ARRAY_CONTAINS_VALUE
The given `field` is an array that contains the given `value`.
|
static int |
EQUAL_VALUE
The given `field` is equal to the given `value`.
|
static int |
GREATER_THAN_OR_EQUAL_VALUE
The given `field` is greater than or equal to the given `value`.
|
static int |
GREATER_THAN_VALUE
The given `field` is greater than the given `value`.
|
static int |
IN_VALUE
The given `field` is equal to at least one value in the given array.
|
static int |
LESS_THAN_OR_EQUAL_VALUE
The given `field` is less than or equal to the given `value`.
|
static int |
LESS_THAN_VALUE
The given `field` is less than the given `value`.
|
static int |
NOT_EQUAL_VALUE
The given `field` is not equal to the given `value`.
|
static int |
NOT_IN_VALUE
The value of the `field` is not in the given array.
|
static int |
OPERATOR_UNSPECIFIED_VALUE
Unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static StructuredQuery.FieldFilter.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<StructuredQuery.FieldFilter.Operator> |
internalGetValueMap() |
static StructuredQuery.FieldFilter.Operator |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static StructuredQuery.FieldFilter.Operator |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static StructuredQuery.FieldFilter.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StructuredQuery.FieldFilter.Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StructuredQuery.FieldFilter.Operator OPERATOR_UNSPECIFIED
Unspecified. This value must not be used.
OPERATOR_UNSPECIFIED = 0;public static final StructuredQuery.FieldFilter.Operator LESS_THAN
The given `field` is less than the given `value`. Requires: * That `field` come first in `order_by`.
LESS_THAN = 1;public static final StructuredQuery.FieldFilter.Operator LESS_THAN_OR_EQUAL
The given `field` is less than or equal to the given `value`. Requires: * That `field` come first in `order_by`.
LESS_THAN_OR_EQUAL = 2;public static final StructuredQuery.FieldFilter.Operator GREATER_THAN
The given `field` is greater than the given `value`. Requires: * That `field` come first in `order_by`.
GREATER_THAN = 3;public static final StructuredQuery.FieldFilter.Operator GREATER_THAN_OR_EQUAL
The given `field` is greater than or equal to the given `value`. Requires: * That `field` come first in `order_by`.
GREATER_THAN_OR_EQUAL = 4;public static final StructuredQuery.FieldFilter.Operator EQUAL
The given `field` is equal to the given `value`.
EQUAL = 5;public static final StructuredQuery.FieldFilter.Operator NOT_EQUAL
The given `field` is not equal to the given `value`. Requires: * No other `NOT_EQUAL`, `NOT_IN`, `IS_NOT_NULL`, or `IS_NOT_NAN`. * That `field` comes first in the `order_by`.
NOT_EQUAL = 6;public static final StructuredQuery.FieldFilter.Operator ARRAY_CONTAINS
The given `field` is an array that contains the given `value`.
ARRAY_CONTAINS = 7;public static final StructuredQuery.FieldFilter.Operator IN
The given `field` 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 `ARRAY_CONTAINS_ANY` or `NOT_IN`.
IN = 8;public static final StructuredQuery.FieldFilter.Operator ARRAY_CONTAINS_ANY
The given `field` is an array that contains any of the values in the given array. Requires: * That `value` is a non-empty `ArrayValue` with at most 10 values. * No other `IN` or `ARRAY_CONTAINS_ANY` or `NOT_IN`.
ARRAY_CONTAINS_ANY = 9;public static final StructuredQuery.FieldFilter.Operator NOT_IN
The value of the `field` is not in the given array. Requires: * That `value` is a non-empty `ArrayValue` with at most 10 values. * No other `IN`, `ARRAY_CONTAINS_ANY`, `NOT_IN`, `NOT_EQUAL`, `IS_NOT_NULL`, or `IS_NOT_NAN`. * That `field` comes first in the `order_by`.
NOT_IN = 10;public static final StructuredQuery.FieldFilter.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 `field` is less than the given `value`. Requires: * That `field` come first in `order_by`.
LESS_THAN = 1;public static final int LESS_THAN_OR_EQUAL_VALUE
The given `field` is less than or equal to the given `value`. Requires: * That `field` come first in `order_by`.
LESS_THAN_OR_EQUAL = 2;public static final int GREATER_THAN_VALUE
The given `field` is greater than the given `value`. Requires: * That `field` come first in `order_by`.
GREATER_THAN = 3;public static final int GREATER_THAN_OR_EQUAL_VALUE
The given `field` is greater than or equal to the given `value`. Requires: * That `field` come first in `order_by`.
GREATER_THAN_OR_EQUAL = 4;public static final int EQUAL_VALUE
The given `field` is equal to the given `value`.
EQUAL = 5;public static final int NOT_EQUAL_VALUE
The given `field` is not equal to the given `value`. Requires: * No other `NOT_EQUAL`, `NOT_IN`, `IS_NOT_NULL`, or `IS_NOT_NAN`. * That `field` comes first in the `order_by`.
NOT_EQUAL = 6;public static final int ARRAY_CONTAINS_VALUE
The given `field` is an array that contains the given `value`.
ARRAY_CONTAINS = 7;public static final int IN_VALUE
The given `field` 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 `ARRAY_CONTAINS_ANY` or `NOT_IN`.
IN = 8;public static final int ARRAY_CONTAINS_ANY_VALUE
The given `field` is an array that contains any of the values in the given array. Requires: * That `value` is a non-empty `ArrayValue` with at most 10 values. * No other `IN` or `ARRAY_CONTAINS_ANY` or `NOT_IN`.
ARRAY_CONTAINS_ANY = 9;public static final int NOT_IN_VALUE
The value of the `field` is not in the given array. Requires: * That `value` is a non-empty `ArrayValue` with at most 10 values. * No other `IN`, `ARRAY_CONTAINS_ANY`, `NOT_IN`, `NOT_EQUAL`, `IS_NOT_NULL`, or `IS_NOT_NAN`. * That `field` comes first in the `order_by`.
NOT_IN = 10;public static StructuredQuery.FieldFilter.Operator[] values()
for (StructuredQuery.FieldFilter.Operator c : StructuredQuery.FieldFilter.Operator.values()) System.out.println(c);
public static StructuredQuery.FieldFilter.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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static StructuredQuery.FieldFilter.Operator valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static StructuredQuery.FieldFilter.Operator forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<StructuredQuery.FieldFilter.Operator> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static StructuredQuery.FieldFilter.Operator valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.