public final class PartitionQueryRequest extends com.google.protobuf.GeneratedMessageV3 implements PartitionQueryRequestOrBuilder
The request for [Firestore.PartitionQuery][google.firestore.v1.Firestore.PartitionQuery].Protobuf type
google.firestore.v1.PartitionQueryRequest| Modifier and Type | Class and Description |
|---|---|
static class |
PartitionQueryRequest.Builder
The request for [Firestore.PartitionQuery][google.firestore.v1.Firestore.PartitionQuery].
|
static class |
PartitionQueryRequest.ConsistencySelectorCase |
static class |
PartitionQueryRequest.QueryTypeCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
PAGE_SIZE_FIELD_NUMBER |
static int |
PAGE_TOKEN_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
static int |
PARTITION_COUNT_FIELD_NUMBER |
static int |
READ_TIME_FIELD_NUMBER |
static int |
STRUCTURED_QUERY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
PartitionQueryRequest.ConsistencySelectorCase |
getConsistencySelectorCase() |
static PartitionQueryRequest |
getDefaultInstance() |
PartitionQueryRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getPageSize()
The maximum number of partitions to return in this call, subject to
`partition_count`.
|
String |
getPageToken()
The `next_page_token` value returned from a previous call to
PartitionQuery that may be used to get an additional set of results.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
The `next_page_token` value returned from a previous call to
PartitionQuery that may be used to get an additional set of results.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
com.google.protobuf.Parser<PartitionQueryRequest> |
getParserForType() |
long |
getPartitionCount()
The desired maximum number of partition points.
|
PartitionQueryRequest.QueryTypeCase |
getQueryTypeCase() |
com.google.protobuf.Timestamp |
getReadTime()
Reads documents as they were at the given time.
|
com.google.protobuf.TimestampOrBuilder |
getReadTimeOrBuilder()
Reads documents as they were at the given time.
|
int |
getSerializedSize() |
StructuredQuery |
getStructuredQuery()
A structured query.
|
StructuredQueryOrBuilder |
getStructuredQueryOrBuilder()
A structured query.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasReadTime()
Reads documents as they were at the given time.
|
boolean |
hasStructuredQuery()
A structured query.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PartitionQueryRequest.Builder |
newBuilder() |
static PartitionQueryRequest.Builder |
newBuilder(PartitionQueryRequest prototype) |
PartitionQueryRequest.Builder |
newBuilderForType() |
protected PartitionQueryRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static PartitionQueryRequest |
parseDelimitedFrom(InputStream input) |
static PartitionQueryRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PartitionQueryRequest |
parseFrom(byte[] data) |
static PartitionQueryRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PartitionQueryRequest |
parseFrom(ByteBuffer data) |
static PartitionQueryRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PartitionQueryRequest |
parseFrom(com.google.protobuf.ByteString data) |
static PartitionQueryRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PartitionQueryRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PartitionQueryRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PartitionQueryRequest |
parseFrom(InputStream input) |
static PartitionQueryRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PartitionQueryRequest> |
parser() |
PartitionQueryRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PARENT_FIELD_NUMBER
public static final int STRUCTURED_QUERY_FIELD_NUMBER
public static final int PARTITION_COUNT_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
public static final int READ_TIME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public PartitionQueryRequest.QueryTypeCase getQueryTypeCase()
getQueryTypeCase in interface PartitionQueryRequestOrBuilderpublic PartitionQueryRequest.ConsistencySelectorCase getConsistencySelectorCase()
getConsistencySelectorCase in interface PartitionQueryRequestOrBuilderpublic String getParent()
Required. The parent resource name. In the format:
`projects/{project_id}/databases/{database_id}/documents`.
Document resource names are not supported; only database resource names
can be specified.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];getParent in interface PartitionQueryRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The parent resource name. In the format:
`projects/{project_id}/databases/{database_id}/documents`.
Document resource names are not supported; only database resource names
can be specified.
string parent = 1 [(.google.api.field_behavior) = REQUIRED];getParentBytes in interface PartitionQueryRequestOrBuilderpublic boolean hasStructuredQuery()
A structured query. Query must specify collection with all descendants and be ordered by name ascending. Other filters, order bys, limits, offsets, and start/end cursors are not supported.
.google.firestore.v1.StructuredQuery structured_query = 2;hasStructuredQuery in interface PartitionQueryRequestOrBuilderpublic StructuredQuery getStructuredQuery()
A structured query. Query must specify collection with all descendants and be ordered by name ascending. Other filters, order bys, limits, offsets, and start/end cursors are not supported.
.google.firestore.v1.StructuredQuery structured_query = 2;getStructuredQuery in interface PartitionQueryRequestOrBuilderpublic StructuredQueryOrBuilder getStructuredQueryOrBuilder()
A structured query. Query must specify collection with all descendants and be ordered by name ascending. Other filters, order bys, limits, offsets, and start/end cursors are not supported.
.google.firestore.v1.StructuredQuery structured_query = 2;getStructuredQueryOrBuilder in interface PartitionQueryRequestOrBuilderpublic long getPartitionCount()
The desired maximum number of partition points. The partitions may be returned across multiple pages of results. The number must be positive. The actual number of partitions returned may be fewer. For example, this may be set to one fewer than the number of parallel queries to be run, or in running a data pipeline job, one fewer than the number of workers or compute instances available.
int64 partition_count = 3;getPartitionCount in interface PartitionQueryRequestOrBuilderpublic String getPageToken()
The `next_page_token` value returned from a previous call to PartitionQuery that may be used to get an additional set of results. There are no ordering guarantees between sets of results. Thus, using multiple sets of results will require merging the different result sets. For example, two subsequent calls using a page_token may return: * cursor B, cursor M, cursor Q * cursor A, cursor U, cursor W To obtain a complete result set ordered with respect to the results of the query supplied to PartitionQuery, the results sets should be merged: cursor A, cursor B, cursor M, cursor Q, cursor U, cursor W
string page_token = 4;getPageToken in interface PartitionQueryRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
The `next_page_token` value returned from a previous call to PartitionQuery that may be used to get an additional set of results. There are no ordering guarantees between sets of results. Thus, using multiple sets of results will require merging the different result sets. For example, two subsequent calls using a page_token may return: * cursor B, cursor M, cursor Q * cursor A, cursor U, cursor W To obtain a complete result set ordered with respect to the results of the query supplied to PartitionQuery, the results sets should be merged: cursor A, cursor B, cursor M, cursor Q, cursor U, cursor W
string page_token = 4;getPageTokenBytes in interface PartitionQueryRequestOrBuilderpublic int getPageSize()
The maximum number of partitions to return in this call, subject to `partition_count`. For example, if `partition_count` = 10 and `page_size` = 8, the first call to PartitionQuery will return up to 8 partitions and a `next_page_token` if more results exist. A second call to PartitionQuery will return up to 2 partitions, to complete the total of 10 specified in `partition_count`.
int32 page_size = 5;getPageSize in interface PartitionQueryRequestOrBuilderpublic boolean hasReadTime()
Reads documents as they were at the given time. This may not be older than 270 seconds.
.google.protobuf.Timestamp read_time = 6;hasReadTime in interface PartitionQueryRequestOrBuilderpublic com.google.protobuf.Timestamp getReadTime()
Reads documents as they were at the given time. This may not be older than 270 seconds.
.google.protobuf.Timestamp read_time = 6;getReadTime in interface PartitionQueryRequestOrBuilderpublic com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()
Reads documents as they were at the given time. This may not be older than 270 seconds.
.google.protobuf.Timestamp read_time = 6;getReadTimeOrBuilder in interface PartitionQueryRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static PartitionQueryRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PartitionQueryRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PartitionQueryRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PartitionQueryRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PartitionQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PartitionQueryRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PartitionQueryRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static PartitionQueryRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PartitionQueryRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PartitionQueryRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PartitionQueryRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PartitionQueryRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PartitionQueryRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PartitionQueryRequest.Builder newBuilder()
public static PartitionQueryRequest.Builder newBuilder(PartitionQueryRequest prototype)
public PartitionQueryRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PartitionQueryRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PartitionQueryRequest getDefaultInstance()
public static com.google.protobuf.Parser<PartitionQueryRequest> parser()
public com.google.protobuf.Parser<PartitionQueryRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PartitionQueryRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.