public final class RunQueryRequest extends GeneratedMessageV3 implements RunQueryRequestOrBuilder
The request for [Firestore.RunQuery][google.firestore.v1beta1.Firestore.RunQuery].Protobuf type
google.firestore.v1beta1.RunQueryRequest| Modifier and Type | Class and Description |
|---|---|
static class |
RunQueryRequest.Builder
The request for [Firestore.RunQuery][google.firestore.v1beta1.Firestore.RunQuery].
|
static class |
RunQueryRequest.ConsistencySelectorCase |
static class |
RunQueryRequest.QueryTypeCase |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
NEW_TRANSACTION_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
static int |
READ_TIME_FIELD_NUMBER |
static int |
STRUCTURED_QUERY_FIELD_NUMBER |
static int |
TRANSACTION_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int PARENT_FIELD_NUMBER
public static final int STRUCTURED_QUERY_FIELD_NUMBER
public static final int TRANSACTION_FIELD_NUMBER
public static final int NEW_TRANSACTION_FIELD_NUMBER
public static final int READ_TIME_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public RunQueryRequest.QueryTypeCase getQueryTypeCase()
getQueryTypeCase in interface RunQueryRequestOrBuilderpublic RunQueryRequest.ConsistencySelectorCase getConsistencySelectorCase()
getConsistencySelectorCase in interface RunQueryRequestOrBuilderpublic 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 RunQueryRequestOrBuilderpublic 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 RunQueryRequestOrBuilderpublic boolean hasStructuredQuery()
A structured query.
.google.firestore.v1beta1.StructuredQuery structured_query = 2;hasStructuredQuery in interface RunQueryRequestOrBuilderpublic StructuredQuery getStructuredQuery()
A structured query.
.google.firestore.v1beta1.StructuredQuery structured_query = 2;getStructuredQuery in interface RunQueryRequestOrBuilderpublic StructuredQueryOrBuilder getStructuredQueryOrBuilder()
A structured query.
.google.firestore.v1beta1.StructuredQuery structured_query = 2;getStructuredQueryOrBuilder in interface RunQueryRequestOrBuilderpublic ByteString getTransaction()
Reads documents in a transaction.
bytes transaction = 5;getTransaction in interface RunQueryRequestOrBuilderpublic 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 RunQueryRequestOrBuilderpublic 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 RunQueryRequestOrBuilderpublic 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 RunQueryRequestOrBuilderpublic 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 RunQueryRequestOrBuilderpublic 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 RunQueryRequestOrBuilderpublic 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 RunQueryRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static RunQueryRequest parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RunQueryRequest parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RunQueryRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RunQueryRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RunQueryRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RunQueryRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RunQueryRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static RunQueryRequest parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static RunQueryRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static RunQueryRequest parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static RunQueryRequest parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static RunQueryRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic RunQueryRequest.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static RunQueryRequest.Builder newBuilder()
public static RunQueryRequest.Builder newBuilder(RunQueryRequest prototype)
public RunQueryRequest.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected RunQueryRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static RunQueryRequest getDefaultInstance()
public static Parser<RunQueryRequest> parser()
public Parser<RunQueryRequest> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public RunQueryRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder