public final class PartitionQueryResponse extends GeneratedMessageV3 implements PartitionQueryResponseOrBuilder
The response for Firestore.PartitionQuery.
Protobuf type google.firestore.v1.PartitionQueryResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PartitionQueryResponseImplements
PartitionQueryResponseOrBuilderStatic Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Type | Description |
int |
PARTITIONS_FIELD_NUMBER
public static final int PARTITIONS_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static PartitionQueryResponse getDefaultInstance()
Type | Description |
PartitionQueryResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static PartitionQueryResponse.Builder newBuilder()
Type | Description |
PartitionQueryResponse.Builder |
newBuilder(PartitionQueryResponse prototype)
public static PartitionQueryResponse.Builder newBuilder(PartitionQueryResponse prototype)
Name | Description |
prototype | PartitionQueryResponse |
Type | Description |
PartitionQueryResponse.Builder |
parseDelimitedFrom(InputStream input)
public static PartitionQueryResponse parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
PartitionQueryResponse |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PartitionQueryResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PartitionQueryResponse |
Type | Description |
IOException |
parseFrom(byte[] data)
public static PartitionQueryResponse parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
PartitionQueryResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PartitionQueryResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PartitionQueryResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static PartitionQueryResponse parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
PartitionQueryResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PartitionQueryResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PartitionQueryResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static PartitionQueryResponse parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
PartitionQueryResponse |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PartitionQueryResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PartitionQueryResponse |
Type | Description |
IOException |
parseFrom(InputStream input)
public static PartitionQueryResponse parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
PartitionQueryResponse |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PartitionQueryResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PartitionQueryResponse |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static PartitionQueryResponse parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
PartitionQueryResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PartitionQueryResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PartitionQueryResponse |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<PartitionQueryResponse> parser()
Type | Description |
Parser<PartitionQueryResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public PartitionQueryResponse getDefaultInstanceForType()
Type | Description |
PartitionQueryResponse |
getNextPageToken()
public String getNextPageToken()
A page token that may be used to request an additional set of results, up
to the number specified by partition_count
in the PartitionQuery request.
If blank, there are no more results.
string next_page_token = 2;
Type | Description |
String | The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
A page token that may be used to request an additional set of results, up
to the number specified by partition_count
in the PartitionQuery request.
If blank, there are no more results.
string next_page_token = 2;
Type | Description |
ByteString | The bytes for nextPageToken. |
getParserForType()
public Parser<PartitionQueryResponse> getParserForType()
Type | Description |
Parser<PartitionQueryResponse> |
getPartitions(int index)
public Cursor getPartitions(int index)
Partition results. Each partition is a split point that can be used by RunQuery as a starting or end point for the query results. The RunQuery requests must be made with the same query supplied to this PartitionQuery request. The partition cursors will be ordered according to same ordering as the results of the query supplied to PartitionQuery. For example, if a PartitionQuery request returns partition cursors A and B, running the following three queries will return the entire result set of the original query:
- query, end_at A
- query, start_at A, end_at B
- query, start_at B An empty result may indicate that the query has too few results to be partitioned.
repeated .google.firestore.v1.Cursor partitions = 1;
Name | Description |
index | int |
Type | Description |
Cursor |
getPartitionsCount()
public int getPartitionsCount()
Partition results. Each partition is a split point that can be used by RunQuery as a starting or end point for the query results. The RunQuery requests must be made with the same query supplied to this PartitionQuery request. The partition cursors will be ordered according to same ordering as the results of the query supplied to PartitionQuery. For example, if a PartitionQuery request returns partition cursors A and B, running the following three queries will return the entire result set of the original query:
- query, end_at A
- query, start_at A, end_at B
- query, start_at B An empty result may indicate that the query has too few results to be partitioned.
repeated .google.firestore.v1.Cursor partitions = 1;
Type | Description |
int |
getPartitionsList()
public List<Cursor> getPartitionsList()
Partition results. Each partition is a split point that can be used by RunQuery as a starting or end point for the query results. The RunQuery requests must be made with the same query supplied to this PartitionQuery request. The partition cursors will be ordered according to same ordering as the results of the query supplied to PartitionQuery. For example, if a PartitionQuery request returns partition cursors A and B, running the following three queries will return the entire result set of the original query:
- query, end_at A
- query, start_at A, end_at B
- query, start_at B An empty result may indicate that the query has too few results to be partitioned.
repeated .google.firestore.v1.Cursor partitions = 1;
Type | Description |
List<Cursor> |
getPartitionsOrBuilder(int index)
public CursorOrBuilder getPartitionsOrBuilder(int index)
Partition results. Each partition is a split point that can be used by RunQuery as a starting or end point for the query results. The RunQuery requests must be made with the same query supplied to this PartitionQuery request. The partition cursors will be ordered according to same ordering as the results of the query supplied to PartitionQuery. For example, if a PartitionQuery request returns partition cursors A and B, running the following three queries will return the entire result set of the original query:
- query, end_at A
- query, start_at A, end_at B
- query, start_at B An empty result may indicate that the query has too few results to be partitioned.
repeated .google.firestore.v1.Cursor partitions = 1;
Name | Description |
index | int |
Type | Description |
CursorOrBuilder |
getPartitionsOrBuilderList()
public List<? extends CursorOrBuilder> getPartitionsOrBuilderList()
Partition results. Each partition is a split point that can be used by RunQuery as a starting or end point for the query results. The RunQuery requests must be made with the same query supplied to this PartitionQuery request. The partition cursors will be ordered according to same ordering as the results of the query supplied to PartitionQuery. For example, if a PartitionQuery request returns partition cursors A and B, running the following three queries will return the entire result set of the original query:
- query, end_at A
- query, start_at A, end_at B
- query, start_at B An empty result may indicate that the query has too few results to be partitioned.
repeated .google.firestore.v1.Cursor partitions = 1;
Type | Description |
List<? extends com.google.firestore.v1.CursorOrBuilder> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public PartitionQueryResponse.Builder newBuilderForType()
Type | Description |
PartitionQueryResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PartitionQueryResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
PartitionQueryResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public PartitionQueryResponse.Builder toBuilder()
Type | Description |
PartitionQueryResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |