public final class RunQueryResponse extends GeneratedMessageV3 implements RunQueryResponseOrBuilder
The response for [Firestore.RunQuery][google.firestore.v1beta1.Firestore.RunQuery].Protobuf type
google.firestore.v1beta1.RunQueryResponse| Modifier and Type | Class and Description |
|---|---|
static class |
RunQueryResponse.Builder
The response for [Firestore.RunQuery][google.firestore.v1beta1.Firestore.RunQuery].
|
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 |
DOCUMENT_FIELD_NUMBER |
static int |
READ_TIME_FIELD_NUMBER |
static int |
SKIPPED_RESULTS_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 TRANSACTION_FIELD_NUMBER
public static final int DOCUMENT_FIELD_NUMBER
public static final int READ_TIME_FIELD_NUMBER
public static final int SKIPPED_RESULTS_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 ByteString getTransaction()
The transaction that was started as part of this request. Can only be set in the first response, and only if [RunQueryRequest.new_transaction][google.firestore.v1beta1.RunQueryRequest.new_transaction] was set in the request. If set, no other fields will be set in this response.
bytes transaction = 2;getTransaction in interface RunQueryResponseOrBuilderpublic boolean hasDocument()
A query result. Not set when reporting partial progress.
.google.firestore.v1beta1.Document document = 1;hasDocument in interface RunQueryResponseOrBuilderpublic Document getDocument()
A query result. Not set when reporting partial progress.
.google.firestore.v1beta1.Document document = 1;getDocument in interface RunQueryResponseOrBuilderpublic DocumentOrBuilder getDocumentOrBuilder()
A query result. Not set when reporting partial progress.
.google.firestore.v1beta1.Document document = 1;getDocumentOrBuilder in interface RunQueryResponseOrBuilderpublic boolean hasReadTime()
The time at which the document was read. This may be monotonically increasing; in this case, the previous documents in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `document` will be sent, and this represents the time at which the query was run.
.google.protobuf.Timestamp read_time = 3;hasReadTime in interface RunQueryResponseOrBuilderpublic Timestamp getReadTime()
The time at which the document was read. This may be monotonically increasing; in this case, the previous documents in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `document` will be sent, and this represents the time at which the query was run.
.google.protobuf.Timestamp read_time = 3;getReadTime in interface RunQueryResponseOrBuilderpublic TimestampOrBuilder getReadTimeOrBuilder()
The time at which the document was read. This may be monotonically increasing; in this case, the previous documents in the result stream are guaranteed not to have changed between their `read_time` and this one. If the query returns no results, a response with `read_time` and no `document` will be sent, and this represents the time at which the query was run.
.google.protobuf.Timestamp read_time = 3;getReadTimeOrBuilder in interface RunQueryResponseOrBuilderpublic int getSkippedResults()
The number of results that have been skipped due to an offset between the last response and the current response.
int32 skipped_results = 4;getSkippedResults in interface RunQueryResponseOrBuilderpublic 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 RunQueryResponse parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RunQueryResponse parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RunQueryResponse parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RunQueryResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RunQueryResponse parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RunQueryResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RunQueryResponse parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static RunQueryResponse parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static RunQueryResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static RunQueryResponse parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static RunQueryResponse parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static RunQueryResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic RunQueryResponse.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static RunQueryResponse.Builder newBuilder()
public static RunQueryResponse.Builder newBuilder(RunQueryResponse prototype)
public RunQueryResponse.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected RunQueryResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static RunQueryResponse getDefaultInstance()
public static Parser<RunQueryResponse> parser()
public Parser<RunQueryResponse> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public RunQueryResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder