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
Test if a field is equal to NaN.
|
IS_NULL
Test if an exprestion evaluates to Null.
|
OPERATOR_UNSPECIFIED
Unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
IS_NAN_VALUE
Test if a field is equal to NaN.
|
static int |
IS_NULL_VALUE
Test if an exprestion evaluates 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
Test if a field is equal to NaN.
IS_NAN = 2;public static final StructuredQuery.UnaryFilter.Operator IS_NULL
Test if an exprestion evaluates to Null.
IS_NULL = 3;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
Test if a field is equal to NaN.
IS_NAN = 2;public static final int IS_NULL_VALUE
Test if an exprestion evaluates to Null.
IS_NULL = 3;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.public static StructuredQuery.UnaryFilter.Operator forNumber(int value)
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 © 2019 Google LLC. All rights reserved.