public static final class RunAggregationQueryRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder> implements RunAggregationQueryRequestOrBuilder
The request for [Firestore.RunAggregationQuery][google.firestore.v1.Firestore.RunAggregationQuery].Protobuf type
google.firestore.v1.RunAggregationQueryRequest
Modifier and Type | Method and Description |
---|---|
RunAggregationQueryRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RunAggregationQueryRequest |
build() |
RunAggregationQueryRequest |
buildPartial() |
RunAggregationQueryRequest.Builder |
clear() |
RunAggregationQueryRequest.Builder |
clearConsistencySelector() |
RunAggregationQueryRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RunAggregationQueryRequest.Builder |
clearNewTransaction()
Starts a new transaction as part of the query, defaulting to read-only.
|
RunAggregationQueryRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RunAggregationQueryRequest.Builder |
clearParent()
Required.
|
RunAggregationQueryRequest.Builder |
clearQueryType() |
RunAggregationQueryRequest.Builder |
clearReadTime()
Executes the query at the given timestamp.
|
RunAggregationQueryRequest.Builder |
clearStructuredAggregationQuery()
An aggregation query.
|
RunAggregationQueryRequest.Builder |
clearTransaction()
Run the aggregation within an already active transaction.
|
RunAggregationQueryRequest.Builder |
clone() |
RunAggregationQueryRequest.ConsistencySelectorCase |
getConsistencySelectorCase() |
RunAggregationQueryRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
TransactionOptions |
getNewTransaction()
Starts a new transaction as part of the query, defaulting to read-only.
|
TransactionOptions.Builder |
getNewTransactionBuilder()
Starts a new transaction as part of the query, defaulting to read-only.
|
TransactionOptionsOrBuilder |
getNewTransactionOrBuilder()
Starts a new transaction as part of the query, defaulting to read-only.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
RunAggregationQueryRequest.QueryTypeCase |
getQueryTypeCase() |
com.google.protobuf.Timestamp |
getReadTime()
Executes the query at the given timestamp.
|
com.google.protobuf.Timestamp.Builder |
getReadTimeBuilder()
Executes the query at the given timestamp.
|
com.google.protobuf.TimestampOrBuilder |
getReadTimeOrBuilder()
Executes the query at the given timestamp.
|
StructuredAggregationQuery |
getStructuredAggregationQuery()
An aggregation query.
|
StructuredAggregationQuery.Builder |
getStructuredAggregationQueryBuilder()
An aggregation query.
|
StructuredAggregationQueryOrBuilder |
getStructuredAggregationQueryOrBuilder()
An aggregation query.
|
com.google.protobuf.ByteString |
getTransaction()
Run the aggregation within an already active transaction.
|
boolean |
hasNewTransaction()
Starts a new transaction as part of the query, defaulting to read-only.
|
boolean |
hasReadTime()
Executes the query at the given timestamp.
|
boolean |
hasStructuredAggregationQuery()
An aggregation query.
|
boolean |
hasTransaction()
Run the aggregation within an already active transaction.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RunAggregationQueryRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunAggregationQueryRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
RunAggregationQueryRequest.Builder |
mergeFrom(RunAggregationQueryRequest other) |
RunAggregationQueryRequest.Builder |
mergeNewTransaction(TransactionOptions value)
Starts a new transaction as part of the query, defaulting to read-only.
|
RunAggregationQueryRequest.Builder |
mergeReadTime(com.google.protobuf.Timestamp value)
Executes the query at the given timestamp.
|
RunAggregationQueryRequest.Builder |
mergeStructuredAggregationQuery(StructuredAggregationQuery value)
An aggregation query.
|
RunAggregationQueryRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RunAggregationQueryRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RunAggregationQueryRequest.Builder |
setNewTransaction(TransactionOptions.Builder builderForValue)
Starts a new transaction as part of the query, defaulting to read-only.
|
RunAggregationQueryRequest.Builder |
setNewTransaction(TransactionOptions value)
Starts a new transaction as part of the query, defaulting to read-only.
|
RunAggregationQueryRequest.Builder |
setParent(String value)
Required.
|
RunAggregationQueryRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
RunAggregationQueryRequest.Builder |
setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
Executes the query at the given timestamp.
|
RunAggregationQueryRequest.Builder |
setReadTime(com.google.protobuf.Timestamp value)
Executes the query at the given timestamp.
|
RunAggregationQueryRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RunAggregationQueryRequest.Builder |
setStructuredAggregationQuery(StructuredAggregationQuery.Builder builderForValue)
An aggregation query.
|
RunAggregationQueryRequest.Builder |
setStructuredAggregationQuery(StructuredAggregationQuery value)
An aggregation query.
|
RunAggregationQueryRequest.Builder |
setTransaction(com.google.protobuf.ByteString value)
Run the aggregation within an already active transaction.
|
RunAggregationQueryRequest.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<RunAggregationQueryRequest.Builder>
public RunAggregationQueryRequest.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<RunAggregationQueryRequest.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<RunAggregationQueryRequest.Builder>
public RunAggregationQueryRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RunAggregationQueryRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RunAggregationQueryRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RunAggregationQueryRequest.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<RunAggregationQueryRequest.Builder>
public RunAggregationQueryRequest.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<RunAggregationQueryRequest.Builder>
public RunAggregationQueryRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
public RunAggregationQueryRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
public RunAggregationQueryRequest.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<RunAggregationQueryRequest.Builder>
public RunAggregationQueryRequest.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<RunAggregationQueryRequest.Builder>
public RunAggregationQueryRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RunAggregationQueryRequest.Builder>
public RunAggregationQueryRequest.Builder mergeFrom(RunAggregationQueryRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
public RunAggregationQueryRequest.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<RunAggregationQueryRequest.Builder>
IOException
public RunAggregationQueryRequest.QueryTypeCase getQueryTypeCase()
getQueryTypeCase
in interface RunAggregationQueryRequestOrBuilder
public RunAggregationQueryRequest.Builder clearQueryType()
public RunAggregationQueryRequest.ConsistencySelectorCase getConsistencySelectorCase()
getConsistencySelectorCase
in interface RunAggregationQueryRequestOrBuilder
public RunAggregationQueryRequest.Builder clearConsistencySelector()
public String getParent()
Required. The parent resource name. In the format: `projects/{project_id}/databases/{database_id}/documents` or `projects/{project_id}/databases/{database_id}/documents/{document_path}`. For example: `projects/my-project/databases/my-database/documents` or `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
getParent
in interface RunAggregationQueryRequestOrBuilder
public com.google.protobuf.ByteString getParentBytes()
Required. The parent resource name. In the format: `projects/{project_id}/databases/{database_id}/documents` or `projects/{project_id}/databases/{database_id}/documents/{document_path}`. For example: `projects/my-project/databases/my-database/documents` or `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
getParentBytes
in interface RunAggregationQueryRequestOrBuilder
public RunAggregationQueryRequest.Builder setParent(String value)
Required. The parent resource name. In the format: `projects/{project_id}/databases/{database_id}/documents` or `projects/{project_id}/databases/{database_id}/documents/{document_path}`. For example: `projects/my-project/databases/my-database/documents` or `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
value
- The parent to set.public RunAggregationQueryRequest.Builder clearParent()
Required. The parent resource name. In the format: `projects/{project_id}/databases/{database_id}/documents` or `projects/{project_id}/databases/{database_id}/documents/{document_path}`. For example: `projects/my-project/databases/my-database/documents` or `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
public RunAggregationQueryRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The parent resource name. In the format: `projects/{project_id}/databases/{database_id}/documents` or `projects/{project_id}/databases/{database_id}/documents/{document_path}`. For example: `projects/my-project/databases/my-database/documents` or `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for parent to set.public boolean hasStructuredAggregationQuery()
An aggregation query.
.google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2;
hasStructuredAggregationQuery
in interface RunAggregationQueryRequestOrBuilder
public StructuredAggregationQuery getStructuredAggregationQuery()
An aggregation query.
.google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2;
getStructuredAggregationQuery
in interface RunAggregationQueryRequestOrBuilder
public RunAggregationQueryRequest.Builder setStructuredAggregationQuery(StructuredAggregationQuery value)
An aggregation query.
.google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2;
public RunAggregationQueryRequest.Builder setStructuredAggregationQuery(StructuredAggregationQuery.Builder builderForValue)
An aggregation query.
.google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2;
public RunAggregationQueryRequest.Builder mergeStructuredAggregationQuery(StructuredAggregationQuery value)
An aggregation query.
.google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2;
public RunAggregationQueryRequest.Builder clearStructuredAggregationQuery()
An aggregation query.
.google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2;
public StructuredAggregationQuery.Builder getStructuredAggregationQueryBuilder()
An aggregation query.
.google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2;
public StructuredAggregationQueryOrBuilder getStructuredAggregationQueryOrBuilder()
An aggregation query.
.google.firestore.v1.StructuredAggregationQuery structured_aggregation_query = 2;
getStructuredAggregationQueryOrBuilder
in interface RunAggregationQueryRequestOrBuilder
public boolean hasTransaction()
Run the aggregation within an already active transaction. The value here is the opaque transaction ID to execute the query in.
bytes transaction = 4;
hasTransaction
in interface RunAggregationQueryRequestOrBuilder
public com.google.protobuf.ByteString getTransaction()
Run the aggregation within an already active transaction. The value here is the opaque transaction ID to execute the query in.
bytes transaction = 4;
getTransaction
in interface RunAggregationQueryRequestOrBuilder
public RunAggregationQueryRequest.Builder setTransaction(com.google.protobuf.ByteString value)
Run the aggregation within an already active transaction. The value here is the opaque transaction ID to execute the query in.
bytes transaction = 4;
value
- The transaction to set.public RunAggregationQueryRequest.Builder clearTransaction()
Run the aggregation within an already active transaction. The value here is the opaque transaction ID to execute the query in.
bytes transaction = 4;
public boolean hasNewTransaction()
Starts a new transaction as part of the query, defaulting to read-only. The new transaction ID will be returned as the first response in the stream.
.google.firestore.v1.TransactionOptions new_transaction = 5;
hasNewTransaction
in interface RunAggregationQueryRequestOrBuilder
public TransactionOptions getNewTransaction()
Starts a new transaction as part of the query, defaulting to read-only. The new transaction ID will be returned as the first response in the stream.
.google.firestore.v1.TransactionOptions new_transaction = 5;
getNewTransaction
in interface RunAggregationQueryRequestOrBuilder
public RunAggregationQueryRequest.Builder setNewTransaction(TransactionOptions value)
Starts a new transaction as part of the query, defaulting to read-only. The new transaction ID will be returned as the first response in the stream.
.google.firestore.v1.TransactionOptions new_transaction = 5;
public RunAggregationQueryRequest.Builder setNewTransaction(TransactionOptions.Builder builderForValue)
Starts a new transaction as part of the query, defaulting to read-only. The new transaction ID will be returned as the first response in the stream.
.google.firestore.v1.TransactionOptions new_transaction = 5;
public RunAggregationQueryRequest.Builder mergeNewTransaction(TransactionOptions value)
Starts a new transaction as part of the query, defaulting to read-only. The new transaction ID will be returned as the first response in the stream.
.google.firestore.v1.TransactionOptions new_transaction = 5;
public RunAggregationQueryRequest.Builder clearNewTransaction()
Starts a new transaction as part of the query, defaulting to read-only. The new transaction ID will be returned as the first response in the stream.
.google.firestore.v1.TransactionOptions new_transaction = 5;
public TransactionOptions.Builder getNewTransactionBuilder()
Starts a new transaction as part of the query, defaulting to read-only. The new transaction ID will be returned as the first response in the stream.
.google.firestore.v1.TransactionOptions new_transaction = 5;
public TransactionOptionsOrBuilder getNewTransactionOrBuilder()
Starts a new transaction as part of the query, defaulting to read-only. The new transaction ID will be returned as the first response in the stream.
.google.firestore.v1.TransactionOptions new_transaction = 5;
getNewTransactionOrBuilder
in interface RunAggregationQueryRequestOrBuilder
public boolean hasReadTime()
Executes the query at the given timestamp. Requires: * Cannot be more than 270 seconds in the past.
.google.protobuf.Timestamp read_time = 6;
hasReadTime
in interface RunAggregationQueryRequestOrBuilder
public com.google.protobuf.Timestamp getReadTime()
Executes the query at the given timestamp. Requires: * Cannot be more than 270 seconds in the past.
.google.protobuf.Timestamp read_time = 6;
getReadTime
in interface RunAggregationQueryRequestOrBuilder
public RunAggregationQueryRequest.Builder setReadTime(com.google.protobuf.Timestamp value)
Executes the query at the given timestamp. Requires: * Cannot be more than 270 seconds in the past.
.google.protobuf.Timestamp read_time = 6;
public RunAggregationQueryRequest.Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
Executes the query at the given timestamp. Requires: * Cannot be more than 270 seconds in the past.
.google.protobuf.Timestamp read_time = 6;
public RunAggregationQueryRequest.Builder mergeReadTime(com.google.protobuf.Timestamp value)
Executes the query at the given timestamp. Requires: * Cannot be more than 270 seconds in the past.
.google.protobuf.Timestamp read_time = 6;
public RunAggregationQueryRequest.Builder clearReadTime()
Executes the query at the given timestamp. Requires: * Cannot be more than 270 seconds in the past.
.google.protobuf.Timestamp read_time = 6;
public com.google.protobuf.Timestamp.Builder getReadTimeBuilder()
Executes the query at the given timestamp. Requires: * Cannot be more than 270 seconds in the past.
.google.protobuf.Timestamp read_time = 6;
public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()
Executes the query at the given timestamp. Requires: * Cannot be more than 270 seconds in the past.
.google.protobuf.Timestamp read_time = 6;
getReadTimeOrBuilder
in interface RunAggregationQueryRequestOrBuilder
public final RunAggregationQueryRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
public final RunAggregationQueryRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RunAggregationQueryRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.