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<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, 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, makeMutableCopy, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public PartitionQueryRequest.QueryTypeCase getQueryTypeCase()
getQueryTypeCase
in interface PartitionQueryRequestOrBuilder
public PartitionQueryRequest.ConsistencySelectorCase getConsistencySelectorCase()
getConsistencySelectorCase
in interface PartitionQueryRequestOrBuilder
public 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 PartitionQueryRequestOrBuilder
public 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 PartitionQueryRequestOrBuilder
public 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 PartitionQueryRequestOrBuilder
public 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 PartitionQueryRequestOrBuilder
public 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 PartitionQueryRequestOrBuilder
public 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 PartitionQueryRequestOrBuilder
public 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 PartitionQueryRequestOrBuilder
public 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 PartitionQueryRequestOrBuilder
public 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 PartitionQueryRequestOrBuilder
public 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 PartitionQueryRequestOrBuilder
public 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 PartitionQueryRequestOrBuilder
public 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 PartitionQueryRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static PartitionQueryRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PartitionQueryRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PartitionQueryRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PartitionQueryRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PartitionQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PartitionQueryRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static PartitionQueryRequest parseFrom(InputStream input) throws IOException
IOException
public static PartitionQueryRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static PartitionQueryRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static PartitionQueryRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static PartitionQueryRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static PartitionQueryRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public PartitionQueryRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static PartitionQueryRequest.Builder newBuilder()
public static PartitionQueryRequest.Builder newBuilder(PartitionQueryRequest prototype)
public PartitionQueryRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected PartitionQueryRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static PartitionQueryRequest getDefaultInstance()
public static com.google.protobuf.Parser<PartitionQueryRequest> parser()
public com.google.protobuf.Parser<PartitionQueryRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public PartitionQueryRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2023 Google LLC. All rights reserved.