public static enum BundledQuery.LimitType extends Enum<BundledQuery.LimitType> implements com.google.protobuf.ProtocolMessageEnum
If the query is a limit query, should the limit be applied to the beginning or the end of results.Protobuf enum
google.firestore.bundle.BundledQuery.LimitType| Enum Constant and Description |
|---|
FIRST
FIRST = 0; |
LAST
LAST = 1; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FIRST_VALUE
FIRST = 0; |
static int |
LAST_VALUE
LAST = 1; |
| Modifier and Type | Method and Description |
|---|---|
static BundledQuery.LimitType |
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<BundledQuery.LimitType> |
internalGetValueMap() |
static BundledQuery.LimitType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static BundledQuery.LimitType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static BundledQuery.LimitType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BundledQuery.LimitType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BundledQuery.LimitType FIRST
FIRST = 0;public static final BundledQuery.LimitType LAST
LAST = 1;public static final BundledQuery.LimitType UNRECOGNIZED
public static final int FIRST_VALUE
FIRST = 0;public static final int LAST_VALUE
LAST = 1;public static BundledQuery.LimitType[] values()
for (BundledQuery.LimitType c : BundledQuery.LimitType.values()) System.out.println(c);
public static BundledQuery.LimitType 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 BundledQuery.LimitType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static BundledQuery.LimitType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<BundledQuery.LimitType> 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 BundledQuery.LimitType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.