feat:Enable RunQueryResponse.done

PiperOrigin-RevId: 444879243
This commit is contained in:
Google APIs 2022-04-27 09:17:50 -07:00 committed by Copybara-Service
parent a0d4c5c2a7
commit c4b98bf382

View file

@ -523,6 +523,15 @@ message RunQueryResponse {
// The number of results that have been skipped due to an offset between
// the last response and the current response.
int32 skipped_results = 4;
// The continuation mode for the query. If present, it indicates the current
// query response stream has finished. This can be set with or without a
// `document` present, but when set, no more results are returned.
oneof continuation_selector {
// If present, Firestore has completely finished the request and no more
// documents will be returned.
bool done = 6;
}
}
// The request for [Firestore.PartitionQuery][google.firestore.v1.Firestore.PartitionQuery].