Skip to content

Commit 01949a2

Browse files
Google APIscopybara-github
authored andcommitted
feat: Add last field in AdaptMessageResponse for internal optimization usage
PiperOrigin-RevId: 788590015
1 parent 8e5eb7e commit 01949a2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

google/spanner/adapter/v1/adapter.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ message AdaptMessageResponse {
9292
// Optional. Opaque state updates to be applied by the client.
9393
map<string, string> state_updates = 2
9494
[(google.api.field_behavior) = OPTIONAL];
95+
96+
// Optional. Indicates whether this is the last
97+
// [AdaptMessageResponse][google.spanner.adapter.v1.AdaptMessageResponse] in
98+
// the stream. This field may be optionally set by the server. Clients should
99+
// not rely on this field being set in all cases.
100+
bool last = 3 [(google.api.field_behavior) = OPTIONAL];
95101
}
96102

97103
// A session in the Cloud Spanner Adapter API.

0 commit comments

Comments
 (0)