public static final class PartitionQueryResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PartitionQueryResponse.Builder> implements PartitionQueryResponseOrBuilder
The response for [Firestore.PartitionQuery][google.firestore.v1.Firestore.PartitionQuery].Protobuf type
google.firestore.v1.PartitionQueryResponse
Modifier and Type | Method and Description |
---|---|
PartitionQueryResponse.Builder |
addAllPartitions(Iterable<? extends Cursor> values)
Partition results.
|
PartitionQueryResponse.Builder |
addPartitions(Cursor.Builder builderForValue)
Partition results.
|
PartitionQueryResponse.Builder |
addPartitions(Cursor value)
Partition results.
|
PartitionQueryResponse.Builder |
addPartitions(int index,
Cursor.Builder builderForValue)
Partition results.
|
PartitionQueryResponse.Builder |
addPartitions(int index,
Cursor value)
Partition results.
|
Cursor.Builder |
addPartitionsBuilder()
Partition results.
|
Cursor.Builder |
addPartitionsBuilder(int index)
Partition results.
|
PartitionQueryResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PartitionQueryResponse |
build() |
PartitionQueryResponse |
buildPartial() |
PartitionQueryResponse.Builder |
clear() |
PartitionQueryResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PartitionQueryResponse.Builder |
clearNextPageToken()
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.
|
PartitionQueryResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PartitionQueryResponse.Builder |
clearPartitions()
Partition results.
|
PartitionQueryResponse.Builder |
clone() |
PartitionQueryResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
com.google.protobuf.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.
|
Cursor |
getPartitions(int index)
Partition results.
|
Cursor.Builder |
getPartitionsBuilder(int index)
Partition results.
|
List<Cursor.Builder> |
getPartitionsBuilderList()
Partition results.
|
int |
getPartitionsCount()
Partition results.
|
List<Cursor> |
getPartitionsList()
Partition results.
|
CursorOrBuilder |
getPartitionsOrBuilder(int index)
Partition results.
|
List<? extends CursorOrBuilder> |
getPartitionsOrBuilderList()
Partition results.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PartitionQueryResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PartitionQueryResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
PartitionQueryResponse.Builder |
mergeFrom(PartitionQueryResponse other) |
PartitionQueryResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PartitionQueryResponse.Builder |
removePartitions(int index)
Partition results.
|
PartitionQueryResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PartitionQueryResponse.Builder |
setNextPageToken(String value)
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.
|
PartitionQueryResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
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.
|
PartitionQueryResponse.Builder |
setPartitions(int index,
Cursor.Builder builderForValue)
Partition results.
|
PartitionQueryResponse.Builder |
setPartitions(int index,
Cursor value)
Partition results.
|
PartitionQueryResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PartitionQueryResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<PartitionQueryResponse.Builder>
public PartitionQueryResponse.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<PartitionQueryResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<PartitionQueryResponse.Builder>
public PartitionQueryResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public PartitionQueryResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public PartitionQueryResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public PartitionQueryResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<PartitionQueryResponse.Builder>
public PartitionQueryResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<PartitionQueryResponse.Builder>
public PartitionQueryResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<PartitionQueryResponse.Builder>
public PartitionQueryResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<PartitionQueryResponse.Builder>
public PartitionQueryResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<PartitionQueryResponse.Builder>
public PartitionQueryResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<PartitionQueryResponse.Builder>
public PartitionQueryResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<PartitionQueryResponse.Builder>
public PartitionQueryResponse.Builder mergeFrom(PartitionQueryResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<PartitionQueryResponse.Builder>
public PartitionQueryResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<PartitionQueryResponse.Builder>
IOException
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;
getPartitionsList
in interface PartitionQueryResponseOrBuilder
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;
getPartitionsCount
in interface PartitionQueryResponseOrBuilder
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;
getPartitions
in interface PartitionQueryResponseOrBuilder
public PartitionQueryResponse.Builder setPartitions(int index, Cursor value)
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;
public PartitionQueryResponse.Builder setPartitions(int index, Cursor.Builder builderForValue)
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;
public PartitionQueryResponse.Builder addPartitions(Cursor value)
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;
public PartitionQueryResponse.Builder addPartitions(int index, Cursor value)
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;
public PartitionQueryResponse.Builder addPartitions(Cursor.Builder builderForValue)
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;
public PartitionQueryResponse.Builder addPartitions(int index, Cursor.Builder builderForValue)
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;
public PartitionQueryResponse.Builder addAllPartitions(Iterable<? extends Cursor> values)
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;
public PartitionQueryResponse.Builder clearPartitions()
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;
public PartitionQueryResponse.Builder removePartitions(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;
public Cursor.Builder getPartitionsBuilder(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;
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;
getPartitionsOrBuilder
in interface PartitionQueryResponseOrBuilder
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;
getPartitionsOrBuilderList
in interface PartitionQueryResponseOrBuilder
public Cursor.Builder addPartitionsBuilder()
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;
public Cursor.Builder addPartitionsBuilder(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;
public List<Cursor.Builder> getPartitionsBuilderList()
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;
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;
getNextPageToken
in interface PartitionQueryResponseOrBuilder
public com.google.protobuf.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;
getNextPageTokenBytes
in interface PartitionQueryResponseOrBuilder
public PartitionQueryResponse.Builder setNextPageToken(String value)
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;
value
- The nextPageToken to set.public PartitionQueryResponse.Builder clearNextPageToken()
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;
public PartitionQueryResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
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;
value
- The bytes for nextPageToken to set.public final PartitionQueryResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PartitionQueryResponse.Builder>
public final PartitionQueryResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<PartitionQueryResponse.Builder>
Copyright © 2023 Google LLC. All rights reserved.