|
18 | 18 |
|
19 | 19 | import static com.google.storage.v2.StorageClient.ListBucketsPagedResponse;
|
20 | 20 | import static com.google.storage.v2.StorageClient.ListHmacKeysPagedResponse;
|
21 |
| -import static com.google.storage.v2.StorageClient.ListNotificationsPagedResponse; |
| 21 | +import static com.google.storage.v2.StorageClient.ListNotificationConfigsPagedResponse; |
22 | 22 | import static com.google.storage.v2.StorageClient.ListObjectsPagedResponse;
|
23 | 23 |
|
24 | 24 | import com.google.api.core.ApiFunction;
|
@@ -132,26 +132,31 @@ public UnaryCallSettings<UpdateBucketRequest, Bucket> updateBucketSettings() {
|
132 | 132 | return ((StorageStubSettings) getStubSettings()).updateBucketSettings();
|
133 | 133 | }
|
134 | 134 |
|
135 |
| - /** Returns the object with the settings used for calls to deleteNotification. */ |
136 |
| - public UnaryCallSettings<DeleteNotificationRequest, Empty> deleteNotificationSettings() { |
137 |
| - return ((StorageStubSettings) getStubSettings()).deleteNotificationSettings(); |
| 135 | + /** Returns the object with the settings used for calls to deleteNotificationConfig. */ |
| 136 | + public UnaryCallSettings<DeleteNotificationConfigRequest, Empty> |
| 137 | + deleteNotificationConfigSettings() { |
| 138 | + return ((StorageStubSettings) getStubSettings()).deleteNotificationConfigSettings(); |
138 | 139 | }
|
139 | 140 |
|
140 |
| - /** Returns the object with the settings used for calls to getNotification. */ |
141 |
| - public UnaryCallSettings<GetNotificationRequest, Notification> getNotificationSettings() { |
142 |
| - return ((StorageStubSettings) getStubSettings()).getNotificationSettings(); |
| 141 | + /** Returns the object with the settings used for calls to getNotificationConfig. */ |
| 142 | + public UnaryCallSettings<GetNotificationConfigRequest, NotificationConfig> |
| 143 | + getNotificationConfigSettings() { |
| 144 | + return ((StorageStubSettings) getStubSettings()).getNotificationConfigSettings(); |
143 | 145 | }
|
144 | 146 |
|
145 |
| - /** Returns the object with the settings used for calls to createNotification. */ |
146 |
| - public UnaryCallSettings<CreateNotificationRequest, Notification> createNotificationSettings() { |
147 |
| - return ((StorageStubSettings) getStubSettings()).createNotificationSettings(); |
| 147 | + /** Returns the object with the settings used for calls to createNotificationConfig. */ |
| 148 | + public UnaryCallSettings<CreateNotificationConfigRequest, NotificationConfig> |
| 149 | + createNotificationConfigSettings() { |
| 150 | + return ((StorageStubSettings) getStubSettings()).createNotificationConfigSettings(); |
148 | 151 | }
|
149 | 152 |
|
150 |
| - /** Returns the object with the settings used for calls to listNotifications. */ |
| 153 | + /** Returns the object with the settings used for calls to listNotificationConfigs. */ |
151 | 154 | public PagedCallSettings<
|
152 |
| - ListNotificationsRequest, ListNotificationsResponse, ListNotificationsPagedResponse> |
153 |
| - listNotificationsSettings() { |
154 |
| - return ((StorageStubSettings) getStubSettings()).listNotificationsSettings(); |
| 155 | + ListNotificationConfigsRequest, |
| 156 | + ListNotificationConfigsResponse, |
| 157 | + ListNotificationConfigsPagedResponse> |
| 158 | + listNotificationConfigsSettings() { |
| 159 | + return ((StorageStubSettings) getStubSettings()).listNotificationConfigsSettings(); |
155 | 160 | }
|
156 | 161 |
|
157 | 162 | /** Returns the object with the settings used for calls to composeObject. */
|
@@ -389,29 +394,31 @@ public UnaryCallSettings.Builder<UpdateBucketRequest, Bucket> updateBucketSettin
|
389 | 394 | return getStubSettingsBuilder().updateBucketSettings();
|
390 | 395 | }
|
391 | 396 |
|
392 |
| - /** Returns the builder for the settings used for calls to deleteNotification. */ |
393 |
| - public UnaryCallSettings.Builder<DeleteNotificationRequest, Empty> |
394 |
| - deleteNotificationSettings() { |
395 |
| - return getStubSettingsBuilder().deleteNotificationSettings(); |
| 397 | + /** Returns the builder for the settings used for calls to deleteNotificationConfig. */ |
| 398 | + public UnaryCallSettings.Builder<DeleteNotificationConfigRequest, Empty> |
| 399 | + deleteNotificationConfigSettings() { |
| 400 | + return getStubSettingsBuilder().deleteNotificationConfigSettings(); |
396 | 401 | }
|
397 | 402 |
|
398 |
| - /** Returns the builder for the settings used for calls to getNotification. */ |
399 |
| - public UnaryCallSettings.Builder<GetNotificationRequest, Notification> |
400 |
| - getNotificationSettings() { |
401 |
| - return getStubSettingsBuilder().getNotificationSettings(); |
| 403 | + /** Returns the builder for the settings used for calls to getNotificationConfig. */ |
| 404 | + public UnaryCallSettings.Builder<GetNotificationConfigRequest, NotificationConfig> |
| 405 | + getNotificationConfigSettings() { |
| 406 | + return getStubSettingsBuilder().getNotificationConfigSettings(); |
402 | 407 | }
|
403 | 408 |
|
404 |
| - /** Returns the builder for the settings used for calls to createNotification. */ |
405 |
| - public UnaryCallSettings.Builder<CreateNotificationRequest, Notification> |
406 |
| - createNotificationSettings() { |
407 |
| - return getStubSettingsBuilder().createNotificationSettings(); |
| 409 | + /** Returns the builder for the settings used for calls to createNotificationConfig. */ |
| 410 | + public UnaryCallSettings.Builder<CreateNotificationConfigRequest, NotificationConfig> |
| 411 | + createNotificationConfigSettings() { |
| 412 | + return getStubSettingsBuilder().createNotificationConfigSettings(); |
408 | 413 | }
|
409 | 414 |
|
410 |
| - /** Returns the builder for the settings used for calls to listNotifications. */ |
| 415 | + /** Returns the builder for the settings used for calls to listNotificationConfigs. */ |
411 | 416 | public PagedCallSettings.Builder<
|
412 |
| - ListNotificationsRequest, ListNotificationsResponse, ListNotificationsPagedResponse> |
413 |
| - listNotificationsSettings() { |
414 |
| - return getStubSettingsBuilder().listNotificationsSettings(); |
| 417 | + ListNotificationConfigsRequest, |
| 418 | + ListNotificationConfigsResponse, |
| 419 | + ListNotificationConfigsPagedResponse> |
| 420 | + listNotificationConfigsSettings() { |
| 421 | + return getStubSettingsBuilder().listNotificationConfigsSettings(); |
415 | 422 | }
|
416 | 423 |
|
417 | 424 | /** Returns the builder for the settings used for calls to composeObject. */
|
|
0 commit comments