feat: Add last field in AdaptMessageResponse for internal optimization usage

PiperOrigin-RevId: 788590015
This commit is contained in:
Google APIs 2025-07-29 13:44:58 -07:00 committed by Copybara-Service
parent 8e5eb7e6cb
commit 01949a2cd1

View file

@ -92,6 +92,12 @@ message AdaptMessageResponse {
// Optional. Opaque state updates to be applied by the client.
map<string, string> state_updates = 2
[(google.api.field_behavior) = OPTIONAL];
// Optional. Indicates whether this is the last
// [AdaptMessageResponse][google.spanner.adapter.v1.AdaptMessageResponse] in
// the stream. This field may be optionally set by the server. Clients should
// not rely on this field being set in all cases.
bool last = 3 [(google.api.field_behavior) = OPTIONAL];
}
// A session in the Cloud Spanner Adapter API.