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, unknownFields
memoizedSize
memoizedHashCode
canUseUnsafe, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public RunQueryRequest.QueryTypeCase getQueryTypeCase()
getQueryTypeCase
in interface RunQueryRequestOrBuilder
public RunQueryRequest.ConsistencySelectorCase getConsistencySelectorCase()
getConsistencySelectorCase
in interface RunQueryRequestOrBuilder
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 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 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 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 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 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 boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static RunQueryRequest parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static RunQueryRequest parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static RunQueryRequest parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static RunQueryRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static RunQueryRequest parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static RunQueryRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static RunQueryRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static RunQueryRequest parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static RunQueryRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static RunQueryRequest parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static RunQueryRequest parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static RunQueryRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public RunQueryRequest.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static RunQueryRequest.Builder newBuilder()
public static RunQueryRequest.Builder newBuilder(RunQueryRequest prototype)
public RunQueryRequest.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected RunQueryRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static RunQueryRequest getDefaultInstance()
public static Parser<RunQueryRequest> parser()
public Parser<RunQueryRequest> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public RunQueryRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder