diff --git a/google/firestore/v1/firestore.proto b/google/firestore/v1/firestore.proto index 6dc6638280..17c94ecb4e 100644 --- a/google/firestore/v1/firestore.proto +++ b/google/firestore/v1/firestore.proto @@ -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].