public static final class RunQueryResponse.Builder extends GeneratedMessageV3.Builder<RunQueryResponse.Builder> implements RunQueryResponseOrBuilder
The response for [Firestore.RunQuery][google.firestore.v1beta1.Firestore.RunQuery].Protobuf type
google.firestore.v1beta1.RunQueryResponsegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>public RunQueryResponse.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>public RunQueryResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic RunQueryResponse build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic RunQueryResponse buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic RunQueryResponse.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>public RunQueryResponse.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>public RunQueryResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>public RunQueryResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>public RunQueryResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>public RunQueryResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>public RunQueryResponse.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<RunQueryResponse.Builder>public RunQueryResponse.Builder mergeFrom(RunQueryResponse other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>public RunQueryResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<RunQueryResponse.Builder>java.io.IOExceptionpublic 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 RunQueryResponse.Builder setTransaction(ByteString value)
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;public RunQueryResponse.Builder clearTransaction()
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;public 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 RunQueryResponse.Builder setDocument(Document value)
A query result. Not set when reporting partial progress.
.google.firestore.v1beta1.Document document = 1;public RunQueryResponse.Builder setDocument(Document.Builder builderForValue)
A query result. Not set when reporting partial progress.
.google.firestore.v1beta1.Document document = 1;public RunQueryResponse.Builder mergeDocument(Document value)
A query result. Not set when reporting partial progress.
.google.firestore.v1beta1.Document document = 1;public RunQueryResponse.Builder clearDocument()
A query result. Not set when reporting partial progress.
.google.firestore.v1beta1.Document document = 1;public Document.Builder getDocumentBuilder()
A query result. Not set when reporting partial progress.
.google.firestore.v1beta1.Document document = 1;public 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 RunQueryResponse.Builder setReadTime(Timestamp value)
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;public RunQueryResponse.Builder setReadTime(Timestamp.Builder builderForValue)
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;public RunQueryResponse.Builder mergeReadTime(Timestamp value)
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;public RunQueryResponse.Builder clearReadTime()
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;public Timestamp.Builder getReadTimeBuilder()
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;public 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 RunQueryResponse.Builder setSkippedResults(int value)
The number of results that have been skipped due to an offset between the last response and the current response.
int32 skipped_results = 4;public RunQueryResponse.Builder clearSkippedResults()
The number of results that have been skipped due to an offset between the last response and the current response.
int32 skipped_results = 4;public final RunQueryResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>public final RunQueryResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<RunQueryResponse.Builder>