|
88 | 88 | * <p>The builder of this class is recursive, so contained classes are themselves builders. When |
89 | 89 | * build() is called, the tree of builders is called to create the complete settings object. |
90 | 90 | * |
91 | | - * <p>For example, to set the total timeout of listClusters to 30 seconds: |
| 91 | + * <p>For example, to set the total timeout of deleteCluster to 30 seconds: |
92 | 92 | * |
93 | 93 | * <pre> |
94 | 94 | * <code> |
95 | 95 | * ClusterManagerSettings.Builder clusterManagerSettingsBuilder = |
96 | 96 | * ClusterManagerSettings.newBuilder(); |
97 | 97 | * clusterManagerSettingsBuilder |
98 | | - * .listClustersSettings() |
| 98 | + * .deleteClusterSettings() |
99 | 99 | * .setRetrySettings( |
100 | | - * clusterManagerSettingsBuilder.listClustersSettings().getRetrySettings().toBuilder() |
| 100 | + * clusterManagerSettingsBuilder.deleteClusterSettings().getRetrySettings().toBuilder() |
101 | 101 | * .setTotalTimeout(Duration.ofSeconds(30)) |
102 | 102 | * .build()); |
103 | 103 | * ClusterManagerSettings clusterManagerSettings = clusterManagerSettingsBuilder.build(); |
|
107 | 107 | @Generated("by gapic-generator") |
108 | 108 | @BetaApi |
109 | 109 | public class ClusterManagerSettings extends ClientSettings<ClusterManagerSettings> { |
| 110 | + /** Returns the object with the settings used for calls to deleteCluster. */ |
| 111 | + public UnaryCallSettings<DeleteClusterRequest, Operation> deleteClusterSettings() { |
| 112 | + return ((ClusterManagerStubSettings) getStubSettings()).deleteClusterSettings(); |
| 113 | + } |
| 114 | + |
| 115 | + /** Returns the object with the settings used for calls to deleteNodePool. */ |
| 116 | + public UnaryCallSettings<DeleteNodePoolRequest, Operation> deleteNodePoolSettings() { |
| 117 | + return ((ClusterManagerStubSettings) getStubSettings()).deleteNodePoolSettings(); |
| 118 | + } |
| 119 | + |
110 | 120 | /** Returns the object with the settings used for calls to listClusters. */ |
111 | 121 | public UnaryCallSettings<ListClustersRequest, ListClustersResponse> listClustersSettings() { |
112 | 122 | return ((ClusterManagerStubSettings) getStubSettings()).listClustersSettings(); |
@@ -168,11 +178,6 @@ public UnaryCallSettings<SetMasterAuthRequest, Operation> setMasterAuthSettings( |
168 | 178 | return ((ClusterManagerStubSettings) getStubSettings()).setMasterAuthSettings(); |
169 | 179 | } |
170 | 180 |
|
171 | | - /** Returns the object with the settings used for calls to deleteCluster. */ |
172 | | - public UnaryCallSettings<DeleteClusterRequest, Operation> deleteClusterSettings() { |
173 | | - return ((ClusterManagerStubSettings) getStubSettings()).deleteClusterSettings(); |
174 | | - } |
175 | | - |
176 | 181 | /** Returns the object with the settings used for calls to listOperations. */ |
177 | 182 | public UnaryCallSettings<ListOperationsRequest, ListOperationsResponse> listOperationsSettings() { |
178 | 183 | return ((ClusterManagerStubSettings) getStubSettings()).listOperationsSettings(); |
@@ -208,11 +213,6 @@ public UnaryCallSettings<CreateNodePoolRequest, Operation> createNodePoolSetting |
208 | 213 | return ((ClusterManagerStubSettings) getStubSettings()).createNodePoolSettings(); |
209 | 214 | } |
210 | 215 |
|
211 | | - /** Returns the object with the settings used for calls to deleteNodePool. */ |
212 | | - public UnaryCallSettings<DeleteNodePoolRequest, Operation> deleteNodePoolSettings() { |
213 | | - return ((ClusterManagerStubSettings) getStubSettings()).deleteNodePoolSettings(); |
214 | | - } |
215 | | - |
216 | 216 | /** Returns the object with the settings used for calls to rollbackNodePoolUpgrade. */ |
217 | 217 | public UnaryCallSettings<RollbackNodePoolUpgradeRequest, Operation> |
218 | 218 | rollbackNodePoolUpgradeSettings() { |
@@ -366,6 +366,16 @@ public Builder applyToAllUnaryMethods( |
366 | 366 | return this; |
367 | 367 | } |
368 | 368 |
|
| 369 | + /** Returns the builder for the settings used for calls to deleteCluster. */ |
| 370 | + public UnaryCallSettings.Builder<DeleteClusterRequest, Operation> deleteClusterSettings() { |
| 371 | + return getStubSettingsBuilder().deleteClusterSettings(); |
| 372 | + } |
| 373 | + |
| 374 | + /** Returns the builder for the settings used for calls to deleteNodePool. */ |
| 375 | + public UnaryCallSettings.Builder<DeleteNodePoolRequest, Operation> deleteNodePoolSettings() { |
| 376 | + return getStubSettingsBuilder().deleteNodePoolSettings(); |
| 377 | + } |
| 378 | + |
369 | 379 | /** Returns the builder for the settings used for calls to listClusters. */ |
370 | 380 | public UnaryCallSettings.Builder<ListClustersRequest, ListClustersResponse> |
371 | 381 | listClustersSettings() { |
@@ -430,11 +440,6 @@ public UnaryCallSettings.Builder<SetMasterAuthRequest, Operation> setMasterAuthS |
430 | 440 | return getStubSettingsBuilder().setMasterAuthSettings(); |
431 | 441 | } |
432 | 442 |
|
433 | | - /** Returns the builder for the settings used for calls to deleteCluster. */ |
434 | | - public UnaryCallSettings.Builder<DeleteClusterRequest, Operation> deleteClusterSettings() { |
435 | | - return getStubSettingsBuilder().deleteClusterSettings(); |
436 | | - } |
437 | | - |
438 | 443 | /** Returns the builder for the settings used for calls to listOperations. */ |
439 | 444 | public UnaryCallSettings.Builder<ListOperationsRequest, ListOperationsResponse> |
440 | 445 | listOperationsSettings() { |
@@ -473,11 +478,6 @@ public UnaryCallSettings.Builder<CreateNodePoolRequest, Operation> createNodePoo |
473 | 478 | return getStubSettingsBuilder().createNodePoolSettings(); |
474 | 479 | } |
475 | 480 |
|
476 | | - /** Returns the builder for the settings used for calls to deleteNodePool. */ |
477 | | - public UnaryCallSettings.Builder<DeleteNodePoolRequest, Operation> deleteNodePoolSettings() { |
478 | | - return getStubSettingsBuilder().deleteNodePoolSettings(); |
479 | | - } |
480 | | - |
481 | 481 | /** Returns the builder for the settings used for calls to rollbackNodePoolUpgrade. */ |
482 | 482 | public UnaryCallSettings.Builder<RollbackNodePoolUpgradeRequest, Operation> |
483 | 483 | rollbackNodePoolUpgradeSettings() { |
|
0 commit comments