public static final class RunQueryResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder> implements RunQueryResponseOrBuilder
The response for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery].Protobuf type
google.firestore.v1.RunQueryResponse| Modifier and Type | Method and Description |
|---|---|
RunQueryResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RunQueryResponse |
build() |
RunQueryResponse |
buildPartial() |
RunQueryResponse.Builder |
clear() |
RunQueryResponse.Builder |
clearContinuationSelector() |
RunQueryResponse.Builder |
clearDocument()
A query result, not set when reporting partial progress.
|
RunQueryResponse.Builder |
clearDone()
If present, Firestore has completely finished the request and no more
documents will be returned.
|
RunQueryResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RunQueryResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RunQueryResponse.Builder |
clearReadTime()
The time at which the document was read.
|
RunQueryResponse.Builder |
clearSkippedResults()
The number of results that have been skipped due to an offset between
the last response and the current response.
|
RunQueryResponse.Builder |
clearTransaction()
The transaction that was started as part of this request.
|
RunQueryResponse.Builder |
clone() |
RunQueryResponse.ContinuationSelectorCase |
getContinuationSelectorCase() |
RunQueryResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Document |
getDocument()
A query result, not set when reporting partial progress.
|
Document.Builder |
getDocumentBuilder()
A query result, not set when reporting partial progress.
|
DocumentOrBuilder |
getDocumentOrBuilder()
A query result, not set when reporting partial progress.
|
boolean |
getDone()
If present, Firestore has completely finished the request and no more
documents will be returned.
|
com.google.protobuf.Timestamp |
getReadTime()
The time at which the document was read.
|
com.google.protobuf.Timestamp.Builder |
getReadTimeBuilder()
The time at which the document was read.
|
com.google.protobuf.TimestampOrBuilder |
getReadTimeOrBuilder()
The time at which the document was read.
|
int |
getSkippedResults()
The number of results that have been skipped due to an offset between
the last response and the current response.
|
com.google.protobuf.ByteString |
getTransaction()
The transaction that was started as part of this request.
|
boolean |
hasDocument()
A query result, not set when reporting partial progress.
|
boolean |
hasDone()
If present, Firestore has completely finished the request and no more
documents will be returned.
|
boolean |
hasReadTime()
The time at which the document was read.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RunQueryResponse.Builder |
mergeDocument(Document value)
A query result, not set when reporting partial progress.
|
RunQueryResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RunQueryResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
RunQueryResponse.Builder |
mergeFrom(RunQueryResponse other) |
RunQueryResponse.Builder |
mergeReadTime(com.google.protobuf.Timestamp value)
The time at which the document was read.
|
RunQueryResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RunQueryResponse.Builder |
setDocument(Document.Builder builderForValue)
A query result, not set when reporting partial progress.
|
RunQueryResponse.Builder |
setDocument(Document value)
A query result, not set when reporting partial progress.
|
RunQueryResponse.Builder |
setDone(boolean value)
If present, Firestore has completely finished the request and no more
documents will be returned.
|
RunQueryResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RunQueryResponse.Builder |
setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which the document was read.
|
RunQueryResponse.Builder |
setReadTime(com.google.protobuf.Timestamp value)
The time at which the document was read.
|
RunQueryResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
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.
|
RunQueryResponse.Builder |
setTransaction(com.google.protobuf.ByteString value)
The transaction that was started as part of this request.
|
RunQueryResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>public RunQueryResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>public RunQueryResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RunQueryResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RunQueryResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RunQueryResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>public RunQueryResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>public RunQueryResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>public RunQueryResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>public RunQueryResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>public RunQueryResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>public RunQueryResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RunQueryResponse.Builder>public RunQueryResponse.Builder mergeFrom(RunQueryResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>public RunQueryResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RunQueryResponse.Builder>IOExceptionpublic RunQueryResponse.ContinuationSelectorCase getContinuationSelectorCase()
getContinuationSelectorCase in interface RunQueryResponseOrBuilderpublic RunQueryResponse.Builder clearContinuationSelector()
public com.google.protobuf.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.v1.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(com.google.protobuf.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.v1.RunQueryRequest.new_transaction] was set in the request. If set, no other fields will be set in this response.
bytes transaction = 2;value - The transaction to set.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.v1.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.v1.Document document = 1;hasDocument in interface RunQueryResponseOrBuilderpublic Document getDocument()
A query result, not set when reporting partial progress.
.google.firestore.v1.Document document = 1;getDocument in interface RunQueryResponseOrBuilderpublic RunQueryResponse.Builder setDocument(Document value)
A query result, not set when reporting partial progress.
.google.firestore.v1.Document document = 1;public RunQueryResponse.Builder setDocument(Document.Builder builderForValue)
A query result, not set when reporting partial progress.
.google.firestore.v1.Document document = 1;public RunQueryResponse.Builder mergeDocument(Document value)
A query result, not set when reporting partial progress.
.google.firestore.v1.Document document = 1;public RunQueryResponse.Builder clearDocument()
A query result, not set when reporting partial progress.
.google.firestore.v1.Document document = 1;public Document.Builder getDocumentBuilder()
A query result, not set when reporting partial progress.
.google.firestore.v1.Document document = 1;public DocumentOrBuilder getDocumentOrBuilder()
A query result, not set when reporting partial progress.
.google.firestore.v1.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 com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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 com.google.protobuf.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 com.google.protobuf.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;value - The skippedResults to set.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 boolean hasDone()
If present, Firestore has completely finished the request and no more documents will be returned.
bool done = 6;hasDone in interface RunQueryResponseOrBuilderpublic boolean getDone()
If present, Firestore has completely finished the request and no more documents will be returned.
bool done = 6;getDone in interface RunQueryResponseOrBuilderpublic RunQueryResponse.Builder setDone(boolean value)
If present, Firestore has completely finished the request and no more documents will be returned.
bool done = 6;value - The done to set.public RunQueryResponse.Builder clearDone()
If present, Firestore has completely finished the request and no more documents will be returned.
bool done = 6;public final RunQueryResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>public final RunQueryResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>Copyright © 2023 Google LLC. All rights reserved.