public static enum QueryResultBatch.MoreResultsType extends Enum<QueryResultBatch.MoreResultsType> implements com.google.protobuf.ProtocolMessageEnum
The possible values for the `more_results` field.Protobuf enum
google.datastore.v1.QueryResultBatch.MoreResultsType
Enum Constant and Description |
---|
MORE_RESULTS_AFTER_CURSOR
The query is finished, but there may be more results after the end
cursor.
|
MORE_RESULTS_AFTER_LIMIT
The query is finished, but there may be more results after the limit.
|
MORE_RESULTS_TYPE_UNSPECIFIED
Unspecified.
|
NO_MORE_RESULTS
The query is finished, and there are no more results.
|
NOT_FINISHED
There may be additional batches to fetch from this query.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
MORE_RESULTS_AFTER_CURSOR_VALUE
The query is finished, but there may be more results after the end
cursor.
|
static int |
MORE_RESULTS_AFTER_LIMIT_VALUE
The query is finished, but there may be more results after the limit.
|
static int |
MORE_RESULTS_TYPE_UNSPECIFIED_VALUE
Unspecified.
|
static int |
NO_MORE_RESULTS_VALUE
The query is finished, and there are no more results.
|
static int |
NOT_FINISHED_VALUE
There may be additional batches to fetch from this query.
|
Modifier and Type | Method and Description |
---|---|
static QueryResultBatch.MoreResultsType |
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<QueryResultBatch.MoreResultsType> |
internalGetValueMap() |
static QueryResultBatch.MoreResultsType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static QueryResultBatch.MoreResultsType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static QueryResultBatch.MoreResultsType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryResultBatch.MoreResultsType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryResultBatch.MoreResultsType MORE_RESULTS_TYPE_UNSPECIFIED
Unspecified. This value is never used.
MORE_RESULTS_TYPE_UNSPECIFIED = 0;
public static final QueryResultBatch.MoreResultsType NOT_FINISHED
There may be additional batches to fetch from this query.
NOT_FINISHED = 1;
public static final QueryResultBatch.MoreResultsType MORE_RESULTS_AFTER_LIMIT
The query is finished, but there may be more results after the limit.
MORE_RESULTS_AFTER_LIMIT = 2;
public static final QueryResultBatch.MoreResultsType MORE_RESULTS_AFTER_CURSOR
The query is finished, but there may be more results after the end cursor.
MORE_RESULTS_AFTER_CURSOR = 4;
public static final QueryResultBatch.MoreResultsType NO_MORE_RESULTS
The query is finished, and there are no more results.
NO_MORE_RESULTS = 3;
public static final QueryResultBatch.MoreResultsType UNRECOGNIZED
public static final int MORE_RESULTS_TYPE_UNSPECIFIED_VALUE
Unspecified. This value is never used.
MORE_RESULTS_TYPE_UNSPECIFIED = 0;
public static final int NOT_FINISHED_VALUE
There may be additional batches to fetch from this query.
NOT_FINISHED = 1;
public static final int MORE_RESULTS_AFTER_LIMIT_VALUE
The query is finished, but there may be more results after the limit.
MORE_RESULTS_AFTER_LIMIT = 2;
public static final int MORE_RESULTS_AFTER_CURSOR_VALUE
The query is finished, but there may be more results after the end cursor.
MORE_RESULTS_AFTER_CURSOR = 4;
public static final int NO_MORE_RESULTS_VALUE
The query is finished, and there are no more results.
NO_MORE_RESULTS = 3;
public static QueryResultBatch.MoreResultsType[] values()
for (QueryResultBatch.MoreResultsType c : QueryResultBatch.MoreResultsType.values()) System.out.println(c);
public static QueryResultBatch.MoreResultsType 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 QueryResultBatch.MoreResultsType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static QueryResultBatch.MoreResultsType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<QueryResultBatch.MoreResultsType> 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 QueryResultBatch.MoreResultsType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020 Google LLC. All rights reserved.