|
16 | 16 |
|
17 | 17 | package com.google.cloud.deploy.v1;
|
18 | 18 |
|
| 19 | +import static com.google.cloud.deploy.v1.CloudDeployClient.ListAutomationRunsPagedResponse; |
| 20 | +import static com.google.cloud.deploy.v1.CloudDeployClient.ListAutomationsPagedResponse; |
19 | 21 | import static com.google.cloud.deploy.v1.CloudDeployClient.ListDeliveryPipelinesPagedResponse;
|
20 | 22 | import static com.google.cloud.deploy.v1.CloudDeployClient.ListJobRunsPagedResponse;
|
21 | 23 | import static com.google.cloud.deploy.v1.CloudDeployClient.ListLocationsPagedResponse;
|
@@ -148,6 +150,11 @@ public class CloudDeploySettings extends ClientSettings<CloudDeploySettings> {
|
148 | 150 | return ((CloudDeployStubSettings) getStubSettings()).listTargetsSettings();
|
149 | 151 | }
|
150 | 152 |
|
| 153 | + /** Returns the object with the settings used for calls to rollbackTarget. */ |
| 154 | + public UnaryCallSettings<RollbackTargetRequest, RollbackTargetResponse> rollbackTargetSettings() { |
| 155 | + return ((CloudDeployStubSettings) getStubSettings()).rollbackTargetSettings(); |
| 156 | + } |
| 157 | + |
151 | 158 | /** Returns the object with the settings used for calls to getTarget. */
|
152 | 159 | public UnaryCallSettings<GetTargetRequest, Target> getTargetSettings() {
|
153 | 160 | return ((CloudDeployStubSettings) getStubSettings()).getTargetSettings();
|
@@ -282,6 +289,69 @@ public UnaryCallSettings<GetConfigRequest, Config> getConfigSettings() {
|
282 | 289 | return ((CloudDeployStubSettings) getStubSettings()).getConfigSettings();
|
283 | 290 | }
|
284 | 291 |
|
| 292 | + /** Returns the object with the settings used for calls to createAutomation. */ |
| 293 | + public UnaryCallSettings<CreateAutomationRequest, Operation> createAutomationSettings() { |
| 294 | + return ((CloudDeployStubSettings) getStubSettings()).createAutomationSettings(); |
| 295 | + } |
| 296 | + |
| 297 | + /** Returns the object with the settings used for calls to createAutomation. */ |
| 298 | + public OperationCallSettings<CreateAutomationRequest, Automation, OperationMetadata> |
| 299 | + createAutomationOperationSettings() { |
| 300 | + return ((CloudDeployStubSettings) getStubSettings()).createAutomationOperationSettings(); |
| 301 | + } |
| 302 | + |
| 303 | + /** Returns the object with the settings used for calls to updateAutomation. */ |
| 304 | + public UnaryCallSettings<UpdateAutomationRequest, Operation> updateAutomationSettings() { |
| 305 | + return ((CloudDeployStubSettings) getStubSettings()).updateAutomationSettings(); |
| 306 | + } |
| 307 | + |
| 308 | + /** Returns the object with the settings used for calls to updateAutomation. */ |
| 309 | + public OperationCallSettings<UpdateAutomationRequest, Automation, OperationMetadata> |
| 310 | + updateAutomationOperationSettings() { |
| 311 | + return ((CloudDeployStubSettings) getStubSettings()).updateAutomationOperationSettings(); |
| 312 | + } |
| 313 | + |
| 314 | + /** Returns the object with the settings used for calls to deleteAutomation. */ |
| 315 | + public UnaryCallSettings<DeleteAutomationRequest, Operation> deleteAutomationSettings() { |
| 316 | + return ((CloudDeployStubSettings) getStubSettings()).deleteAutomationSettings(); |
| 317 | + } |
| 318 | + |
| 319 | + /** Returns the object with the settings used for calls to deleteAutomation. */ |
| 320 | + public OperationCallSettings<DeleteAutomationRequest, Empty, OperationMetadata> |
| 321 | + deleteAutomationOperationSettings() { |
| 322 | + return ((CloudDeployStubSettings) getStubSettings()).deleteAutomationOperationSettings(); |
| 323 | + } |
| 324 | + |
| 325 | + /** Returns the object with the settings used for calls to getAutomation. */ |
| 326 | + public UnaryCallSettings<GetAutomationRequest, Automation> getAutomationSettings() { |
| 327 | + return ((CloudDeployStubSettings) getStubSettings()).getAutomationSettings(); |
| 328 | + } |
| 329 | + |
| 330 | + /** Returns the object with the settings used for calls to listAutomations. */ |
| 331 | + public PagedCallSettings< |
| 332 | + ListAutomationsRequest, ListAutomationsResponse, ListAutomationsPagedResponse> |
| 333 | + listAutomationsSettings() { |
| 334 | + return ((CloudDeployStubSettings) getStubSettings()).listAutomationsSettings(); |
| 335 | + } |
| 336 | + |
| 337 | + /** Returns the object with the settings used for calls to getAutomationRun. */ |
| 338 | + public UnaryCallSettings<GetAutomationRunRequest, AutomationRun> getAutomationRunSettings() { |
| 339 | + return ((CloudDeployStubSettings) getStubSettings()).getAutomationRunSettings(); |
| 340 | + } |
| 341 | + |
| 342 | + /** Returns the object with the settings used for calls to listAutomationRuns. */ |
| 343 | + public PagedCallSettings< |
| 344 | + ListAutomationRunsRequest, ListAutomationRunsResponse, ListAutomationRunsPagedResponse> |
| 345 | + listAutomationRunsSettings() { |
| 346 | + return ((CloudDeployStubSettings) getStubSettings()).listAutomationRunsSettings(); |
| 347 | + } |
| 348 | + |
| 349 | + /** Returns the object with the settings used for calls to cancelAutomationRun. */ |
| 350 | + public UnaryCallSettings<CancelAutomationRunRequest, CancelAutomationRunResponse> |
| 351 | + cancelAutomationRunSettings() { |
| 352 | + return ((CloudDeployStubSettings) getStubSettings()).cancelAutomationRunSettings(); |
| 353 | + } |
| 354 | + |
285 | 355 | /** Returns the object with the settings used for calls to listLocations. */
|
286 | 356 | public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
|
287 | 357 | listLocationsSettings() {
|
@@ -483,6 +553,12 @@ public Builder applyToAllUnaryMethods(
|
483 | 553 | return getStubSettingsBuilder().listTargetsSettings();
|
484 | 554 | }
|
485 | 555 |
|
| 556 | + /** Returns the builder for the settings used for calls to rollbackTarget. */ |
| 557 | + public UnaryCallSettings.Builder<RollbackTargetRequest, RollbackTargetResponse> |
| 558 | + rollbackTargetSettings() { |
| 559 | + return getStubSettingsBuilder().rollbackTargetSettings(); |
| 560 | + } |
| 561 | + |
486 | 562 | /** Returns the builder for the settings used for calls to getTarget. */
|
487 | 563 | public UnaryCallSettings.Builder<GetTargetRequest, Target> getTargetSettings() {
|
488 | 564 | return getStubSettingsBuilder().getTargetSettings();
|
@@ -624,6 +700,73 @@ public UnaryCallSettings.Builder<GetConfigRequest, Config> getConfigSettings() {
|
624 | 700 | return getStubSettingsBuilder().getConfigSettings();
|
625 | 701 | }
|
626 | 702 |
|
| 703 | + /** Returns the builder for the settings used for calls to createAutomation. */ |
| 704 | + public UnaryCallSettings.Builder<CreateAutomationRequest, Operation> |
| 705 | + createAutomationSettings() { |
| 706 | + return getStubSettingsBuilder().createAutomationSettings(); |
| 707 | + } |
| 708 | + |
| 709 | + /** Returns the builder for the settings used for calls to createAutomation. */ |
| 710 | + public OperationCallSettings.Builder<CreateAutomationRequest, Automation, OperationMetadata> |
| 711 | + createAutomationOperationSettings() { |
| 712 | + return getStubSettingsBuilder().createAutomationOperationSettings(); |
| 713 | + } |
| 714 | + |
| 715 | + /** Returns the builder for the settings used for calls to updateAutomation. */ |
| 716 | + public UnaryCallSettings.Builder<UpdateAutomationRequest, Operation> |
| 717 | + updateAutomationSettings() { |
| 718 | + return getStubSettingsBuilder().updateAutomationSettings(); |
| 719 | + } |
| 720 | + |
| 721 | + /** Returns the builder for the settings used for calls to updateAutomation. */ |
| 722 | + public OperationCallSettings.Builder<UpdateAutomationRequest, Automation, OperationMetadata> |
| 723 | + updateAutomationOperationSettings() { |
| 724 | + return getStubSettingsBuilder().updateAutomationOperationSettings(); |
| 725 | + } |
| 726 | + |
| 727 | + /** Returns the builder for the settings used for calls to deleteAutomation. */ |
| 728 | + public UnaryCallSettings.Builder<DeleteAutomationRequest, Operation> |
| 729 | + deleteAutomationSettings() { |
| 730 | + return getStubSettingsBuilder().deleteAutomationSettings(); |
| 731 | + } |
| 732 | + |
| 733 | + /** Returns the builder for the settings used for calls to deleteAutomation. */ |
| 734 | + public OperationCallSettings.Builder<DeleteAutomationRequest, Empty, OperationMetadata> |
| 735 | + deleteAutomationOperationSettings() { |
| 736 | + return getStubSettingsBuilder().deleteAutomationOperationSettings(); |
| 737 | + } |
| 738 | + |
| 739 | + /** Returns the builder for the settings used for calls to getAutomation. */ |
| 740 | + public UnaryCallSettings.Builder<GetAutomationRequest, Automation> getAutomationSettings() { |
| 741 | + return getStubSettingsBuilder().getAutomationSettings(); |
| 742 | + } |
| 743 | + |
| 744 | + /** Returns the builder for the settings used for calls to listAutomations. */ |
| 745 | + public PagedCallSettings.Builder< |
| 746 | + ListAutomationsRequest, ListAutomationsResponse, ListAutomationsPagedResponse> |
| 747 | + listAutomationsSettings() { |
| 748 | + return getStubSettingsBuilder().listAutomationsSettings(); |
| 749 | + } |
| 750 | + |
| 751 | + /** Returns the builder for the settings used for calls to getAutomationRun. */ |
| 752 | + public UnaryCallSettings.Builder<GetAutomationRunRequest, AutomationRun> |
| 753 | + getAutomationRunSettings() { |
| 754 | + return getStubSettingsBuilder().getAutomationRunSettings(); |
| 755 | + } |
| 756 | + |
| 757 | + /** Returns the builder for the settings used for calls to listAutomationRuns. */ |
| 758 | + public PagedCallSettings.Builder< |
| 759 | + ListAutomationRunsRequest, ListAutomationRunsResponse, ListAutomationRunsPagedResponse> |
| 760 | + listAutomationRunsSettings() { |
| 761 | + return getStubSettingsBuilder().listAutomationRunsSettings(); |
| 762 | + } |
| 763 | + |
| 764 | + /** Returns the builder for the settings used for calls to cancelAutomationRun. */ |
| 765 | + public UnaryCallSettings.Builder<CancelAutomationRunRequest, CancelAutomationRunResponse> |
| 766 | + cancelAutomationRunSettings() { |
| 767 | + return getStubSettingsBuilder().cancelAutomationRunSettings(); |
| 768 | + } |
| 769 | + |
627 | 770 | /** Returns the builder for the settings used for calls to listLocations. */
|
628 | 771 | public PagedCallSettings.Builder<
|
629 | 772 | ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
|
|
0 commit comments