public static final class RunQueryRequest.Builder extends GeneratedMessageV3.Builder<RunQueryRequest.Builder> implements RunQueryRequestOrBuilder
The request for [Firestore.RunQuery][google.firestore.v1beta1.Firestore.RunQuery].Protobuf type
google.firestore.v1beta1.RunQueryRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<RunQueryRequest.Builder>
public RunQueryRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<RunQueryRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<RunQueryRequest.Builder>
public RunQueryRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public RunQueryRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public RunQueryRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public RunQueryRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<RunQueryRequest.Builder>
public RunQueryRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<RunQueryRequest.Builder>
public RunQueryRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<RunQueryRequest.Builder>
public RunQueryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<RunQueryRequest.Builder>
public RunQueryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<RunQueryRequest.Builder>
public RunQueryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<RunQueryRequest.Builder>
public RunQueryRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<RunQueryRequest.Builder>
public RunQueryRequest.Builder mergeFrom(RunQueryRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<RunQueryRequest.Builder>
public RunQueryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<RunQueryRequest.Builder>
java.io.IOException
public RunQueryRequest.QueryTypeCase getQueryTypeCase()
getQueryTypeCase
in interface RunQueryRequestOrBuilder
public RunQueryRequest.Builder clearQueryType()
public RunQueryRequest.ConsistencySelectorCase getConsistencySelectorCase()
getConsistencySelectorCase
in interface RunQueryRequestOrBuilder
public RunQueryRequest.Builder clearConsistencySelector()
public java.lang.String getParent()
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;
getParent
in interface RunQueryRequestOrBuilder
public ByteString getParentBytes()
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;
getParentBytes
in interface RunQueryRequestOrBuilder
public RunQueryRequest.Builder setParent(java.lang.String value)
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;
public RunQueryRequest.Builder clearParent()
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;
public RunQueryRequest.Builder setParentBytes(ByteString value)
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;
public boolean hasStructuredQuery()
A structured query.
.google.firestore.v1beta1.StructuredQuery structured_query = 2;
hasStructuredQuery
in interface RunQueryRequestOrBuilder
public StructuredQuery getStructuredQuery()
A structured query.
.google.firestore.v1beta1.StructuredQuery structured_query = 2;
getStructuredQuery
in interface RunQueryRequestOrBuilder
public RunQueryRequest.Builder setStructuredQuery(StructuredQuery value)
A structured query.
.google.firestore.v1beta1.StructuredQuery structured_query = 2;
public RunQueryRequest.Builder setStructuredQuery(StructuredQuery.Builder builderForValue)
A structured query.
.google.firestore.v1beta1.StructuredQuery structured_query = 2;
public RunQueryRequest.Builder mergeStructuredQuery(StructuredQuery value)
A structured query.
.google.firestore.v1beta1.StructuredQuery structured_query = 2;
public RunQueryRequest.Builder clearStructuredQuery()
A structured query.
.google.firestore.v1beta1.StructuredQuery structured_query = 2;
public StructuredQuery.Builder getStructuredQueryBuilder()
A structured query.
.google.firestore.v1beta1.StructuredQuery structured_query = 2;
public StructuredQueryOrBuilder getStructuredQueryOrBuilder()
A structured query.
.google.firestore.v1beta1.StructuredQuery structured_query = 2;
getStructuredQueryOrBuilder
in interface RunQueryRequestOrBuilder
public ByteString getTransaction()
Reads documents in a transaction.
bytes transaction = 5;
getTransaction
in interface RunQueryRequestOrBuilder
public RunQueryRequest.Builder setTransaction(ByteString value)
Reads documents in a transaction.
bytes transaction = 5;
public RunQueryRequest.Builder clearTransaction()
Reads documents in a transaction.
bytes transaction = 5;
public boolean hasNewTransaction()
Starts a new transaction and reads the documents. Defaults to a read-only transaction. The new transaction ID will be returned as the first response in the stream.
.google.firestore.v1beta1.TransactionOptions new_transaction = 6;
hasNewTransaction
in interface RunQueryRequestOrBuilder
public TransactionOptions getNewTransaction()
Starts a new transaction and reads the documents. Defaults to a read-only transaction. The new transaction ID will be returned as the first response in the stream.
.google.firestore.v1beta1.TransactionOptions new_transaction = 6;
getNewTransaction
in interface RunQueryRequestOrBuilder
public RunQueryRequest.Builder setNewTransaction(TransactionOptions value)
Starts a new transaction and reads the documents. Defaults to a read-only transaction. The new transaction ID will be returned as the first response in the stream.
.google.firestore.v1beta1.TransactionOptions new_transaction = 6;
public RunQueryRequest.Builder setNewTransaction(TransactionOptions.Builder builderForValue)
Starts a new transaction and reads the documents. Defaults to a read-only transaction. The new transaction ID will be returned as the first response in the stream.
.google.firestore.v1beta1.TransactionOptions new_transaction = 6;
public RunQueryRequest.Builder mergeNewTransaction(TransactionOptions value)
Starts a new transaction and reads the documents. Defaults to a read-only transaction. The new transaction ID will be returned as the first response in the stream.
.google.firestore.v1beta1.TransactionOptions new_transaction = 6;
public RunQueryRequest.Builder clearNewTransaction()
Starts a new transaction and reads the documents. Defaults to a read-only transaction. The new transaction ID will be returned as the first response in the stream.
.google.firestore.v1beta1.TransactionOptions new_transaction = 6;
public TransactionOptions.Builder getNewTransactionBuilder()
Starts a new transaction and reads the documents. Defaults to a read-only transaction. The new transaction ID will be returned as the first response in the stream.
.google.firestore.v1beta1.TransactionOptions new_transaction = 6;
public TransactionOptionsOrBuilder getNewTransactionOrBuilder()
Starts a new transaction and reads the documents. Defaults to a read-only transaction. The new transaction ID will be returned as the first response in the stream.
.google.firestore.v1beta1.TransactionOptions new_transaction = 6;
getNewTransactionOrBuilder
in interface RunQueryRequestOrBuilder
public boolean hasReadTime()
Reads documents as they were at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 7;
hasReadTime
in interface RunQueryRequestOrBuilder
public Timestamp getReadTime()
Reads documents as they were at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 7;
getReadTime
in interface RunQueryRequestOrBuilder
public RunQueryRequest.Builder setReadTime(Timestamp value)
Reads documents as they were at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 7;
public RunQueryRequest.Builder setReadTime(Timestamp.Builder builderForValue)
Reads documents as they were at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 7;
public RunQueryRequest.Builder mergeReadTime(Timestamp value)
Reads documents as they were at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 7;
public RunQueryRequest.Builder clearReadTime()
Reads documents as they were at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 7;
public Timestamp.Builder getReadTimeBuilder()
Reads documents as they were at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 7;
public TimestampOrBuilder getReadTimeOrBuilder()
Reads documents as they were at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 7;
getReadTimeOrBuilder
in interface RunQueryRequestOrBuilder
public final RunQueryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<RunQueryRequest.Builder>
public final RunQueryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<RunQueryRequest.Builder>