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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>
public RunQueryResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RunQueryResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RunQueryResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RunQueryResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RunQueryResponse.Builder>
IOException
public RunQueryResponse.ContinuationSelectorCase getContinuationSelectorCase()
getContinuationSelectorCase
in interface RunQueryResponseOrBuilder
public 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 RunQueryResponseOrBuilder
public 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 RunQueryResponseOrBuilder
public Document getDocument()
A query result, not set when reporting partial progress.
.google.firestore.v1.Document document = 1;
getDocument
in interface RunQueryResponseOrBuilder
public 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 RunQueryResponseOrBuilder
public 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 RunQueryResponseOrBuilder
public 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 RunQueryResponseOrBuilder
public 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 RunQueryResponseOrBuilder
public 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 RunQueryResponseOrBuilder
public 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 RunQueryResponseOrBuilder
public boolean getDone()
If present, Firestore has completely finished the request and no more documents will be returned.
bool done = 6;
getDone
in interface RunQueryResponseOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RunQueryResponse.Builder>
Copyright © 2023 Google LLC. All rights reserved.