Skip to content

Commit e9b2b61

Browse files
Google APIscopybara-github
authored andcommitted
feat: Adding subscription properties to streaming pull response in third party pubsub.proto.
PiperOrigin-RevId: 382318016
1 parent 490f1e9 commit e9b2b61

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

google/pubsub/v1/pubsub.proto

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2020 Google LLC
1+
// Copyright 2021 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -1142,8 +1142,17 @@ message StreamingPullRequest {
11421142
// Response for the `StreamingPull` method. This response is used to stream
11431143
// messages from the server to the client.
11441144
message StreamingPullResponse {
1145+
// Subscription properties sent as part of the response.
1146+
message SubscriptionProperties {
1147+
// True iff message ordering is enabled for this subscription.
1148+
bool message_ordering_enabled = 2;
1149+
}
1150+
11451151
// Received Pub/Sub messages. This will not be empty.
11461152
repeated ReceivedMessage received_messages = 1;
1153+
1154+
// Properties associated with this subscription.
1155+
SubscriptionProperties subscription_properties = 4;
11471156
}
11481157

11491158
// Request for the `CreateSnapshot` method.

0 commit comments

Comments
 (0)