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
Equal.
|
GREATER_THAN
Greater than.
|
GREATER_THAN_OR_EQUAL
Greater than or equal.
|
HAS_ANCESTOR
Has ancestor.
|
LESS_THAN
Less than.
|
LESS_THAN_OR_EQUAL
Less than or equal.
|
OPERATOR_UNSPECIFIED
Unspecified.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
EQUAL_VALUE
Equal.
|
static int |
GREATER_THAN_OR_EQUAL_VALUE
Greater than or equal.
|
static int |
GREATER_THAN_VALUE
Greater than.
|
static int |
HAS_ANCESTOR_VALUE
Has ancestor.
|
static int |
LESS_THAN_OR_EQUAL_VALUE
Less than or equal.
|
static int |
LESS_THAN_VALUE
Less than.
|
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
Less than.
LESS_THAN = 1;
public static final PropertyFilter.Operator LESS_THAN_OR_EQUAL
Less than or equal.
LESS_THAN_OR_EQUAL = 2;
public static final PropertyFilter.Operator GREATER_THAN
Greater than.
GREATER_THAN = 3;
public static final PropertyFilter.Operator GREATER_THAN_OR_EQUAL
Greater than or equal.
GREATER_THAN_OR_EQUAL = 4;
public static final PropertyFilter.Operator EQUAL
Equal.
EQUAL = 5;
public static final PropertyFilter.Operator HAS_ANCESTOR
Has ancestor.
HAS_ANCESTOR = 11;
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
Less than.
LESS_THAN = 1;
public static final int LESS_THAN_OR_EQUAL_VALUE
Less than or equal.
LESS_THAN_OR_EQUAL = 2;
public static final int GREATER_THAN_VALUE
Greater than.
GREATER_THAN = 3;
public static final int GREATER_THAN_OR_EQUAL_VALUE
Greater than or equal.
GREATER_THAN_OR_EQUAL = 4;
public static final int EQUAL_VALUE
Equal.
EQUAL = 5;
public static final int HAS_ANCESTOR_VALUE
Has ancestor.
HAS_ANCESTOR = 11;
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.public static PropertyFilter.Operator forNumber(int value)
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 © 2019 Google LLC. All rights reserved.