public static enum StructuredQuery.UnaryFilter.Operator extends Enum<StructuredQuery.UnaryFilter.Operator> implements com.google.protobuf.ProtocolMessageEnum
A unary operator.Protobuf enum
google.firestore.v1.StructuredQuery.UnaryFilter.Operator| Enum Constant and Description |
|---|
IS_NAN
The given `field` is equal to `NaN`.
|
IS_NOT_NAN
The given `field` is not equal to `NaN`.
|
IS_NOT_NULL
The given `field` is not equal to `NULL`.
|
IS_NULL
The given `field` is equal to `NULL`.
|
OPERATOR_UNSPECIFIED
Unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
IS_NAN_VALUE
The given `field` is equal to `NaN`.
|
static int |
IS_NOT_NAN_VALUE
The given `field` is not equal to `NaN`.
|
static int |
IS_NOT_NULL_VALUE
The given `field` is not equal to `NULL`.
|
static int |
IS_NULL_VALUE
The given `field` is equal to `NULL`.
|
static int |
OPERATOR_UNSPECIFIED_VALUE
Unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static StructuredQuery.UnaryFilter.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.UnaryFilter.Operator> |
internalGetValueMap() |
static StructuredQuery.UnaryFilter.Operator |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static StructuredQuery.UnaryFilter.Operator |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static StructuredQuery.UnaryFilter.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StructuredQuery.UnaryFilter.Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StructuredQuery.UnaryFilter.Operator OPERATOR_UNSPECIFIED
Unspecified. This value must not be used.
OPERATOR_UNSPECIFIED = 0;public static final StructuredQuery.UnaryFilter.Operator IS_NAN
The given `field` is equal to `NaN`.
IS_NAN = 2;public static final StructuredQuery.UnaryFilter.Operator IS_NULL
The given `field` is equal to `NULL`.
IS_NULL = 3;public static final StructuredQuery.UnaryFilter.Operator IS_NOT_NAN
The given `field` is not equal to `NaN`. Requires: * No other `NOT_EQUAL`, `NOT_IN`, `IS_NOT_NULL`, or `IS_NOT_NAN`. * That `field` comes first in the `order_by`.
IS_NOT_NAN = 4;public static final StructuredQuery.UnaryFilter.Operator IS_NOT_NULL
The given `field` is not equal to `NULL`. Requires: * A single `NOT_EQUAL`, `NOT_IN`, `IS_NOT_NULL`, or `IS_NOT_NAN`. * That `field` comes first in the `order_by`.
IS_NOT_NULL = 5;public static final StructuredQuery.UnaryFilter.Operator UNRECOGNIZED
public static final int OPERATOR_UNSPECIFIED_VALUE
Unspecified. This value must not be used.
OPERATOR_UNSPECIFIED = 0;public static final int IS_NAN_VALUE
The given `field` is equal to `NaN`.
IS_NAN = 2;public static final int IS_NULL_VALUE
The given `field` is equal to `NULL`.
IS_NULL = 3;public static final int IS_NOT_NAN_VALUE
The given `field` is not equal to `NaN`. Requires: * No other `NOT_EQUAL`, `NOT_IN`, `IS_NOT_NULL`, or `IS_NOT_NAN`. * That `field` comes first in the `order_by`.
IS_NOT_NAN = 4;public static final int IS_NOT_NULL_VALUE
The given `field` is not equal to `NULL`. Requires: * A single `NOT_EQUAL`, `NOT_IN`, `IS_NOT_NULL`, or `IS_NOT_NAN`. * That `field` comes first in the `order_by`.
IS_NOT_NULL = 5;public static StructuredQuery.UnaryFilter.Operator[] values()
for (StructuredQuery.UnaryFilter.Operator c : StructuredQuery.UnaryFilter.Operator.values()) System.out.println(c);
public static StructuredQuery.UnaryFilter.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.UnaryFilter.Operator valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static StructuredQuery.UnaryFilter.Operator forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<StructuredQuery.UnaryFilter.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.UnaryFilter.Operator valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.