|
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 deleteCluster to 30 seconds: |
| 91 | + * <p>For example, to set the total timeout of listClusters to 30 seconds: |
92 | 92 | *
|
93 | 93 | * <pre>
|
94 | 94 | * <code>
|
95 | 95 | * ClusterManagerSettings.Builder clusterManagerSettingsBuilder =
|
96 | 96 | * ClusterManagerSettings.newBuilder();
|
97 | 97 | * clusterManagerSettingsBuilder
|
98 |
| - * .deleteClusterSettings() |
| 98 | + * .listClustersSettings() |
99 | 99 | * .setRetrySettings(
|
100 |
| - * clusterManagerSettingsBuilder.deleteClusterSettings().getRetrySettings().toBuilder() |
| 100 | + * clusterManagerSettingsBuilder.listClustersSettings().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 |
| - |
120 | 110 | /** Returns the object with the settings used for calls to listClusters. */
|
121 | 111 | public UnaryCallSettings<ListClustersRequest, ListClustersResponse> listClustersSettings() {
|
122 | 112 | return ((ClusterManagerStubSettings) getStubSettings()).listClustersSettings();
|
@@ -178,6 +168,11 @@ public UnaryCallSettings<SetMasterAuthRequest, Operation> setMasterAuthSettings(
|
178 | 168 | return ((ClusterManagerStubSettings) getStubSettings()).setMasterAuthSettings();
|
179 | 169 | }
|
180 | 170 |
|
| 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 | + |
181 | 176 | /** Returns the object with the settings used for calls to listOperations. */
|
182 | 177 | public UnaryCallSettings<ListOperationsRequest, ListOperationsResponse> listOperationsSettings() {
|
183 | 178 | return ((ClusterManagerStubSettings) getStubSettings()).listOperationsSettings();
|
@@ -213,6 +208,11 @@ public UnaryCallSettings<CreateNodePoolRequest, Operation> createNodePoolSetting
|
213 | 208 | return ((ClusterManagerStubSettings) getStubSettings()).createNodePoolSettings();
|
214 | 209 | }
|
215 | 210 |
|
| 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,16 +366,6 @@ 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 |
| - |
379 | 369 | /** Returns the builder for the settings used for calls to listClusters. */
|
380 | 370 | public UnaryCallSettings.Builder<ListClustersRequest, ListClustersResponse>
|
381 | 371 | listClustersSettings() {
|
@@ -440,6 +430,11 @@ public UnaryCallSettings.Builder<SetMasterAuthRequest, Operation> setMasterAuthS
|
440 | 430 | return getStubSettingsBuilder().setMasterAuthSettings();
|
441 | 431 | }
|
442 | 432 |
|
| 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 | + |
443 | 438 | /** Returns the builder for the settings used for calls to listOperations. */
|
444 | 439 | public UnaryCallSettings.Builder<ListOperationsRequest, ListOperationsResponse>
|
445 | 440 | listOperationsSettings() {
|
@@ -478,6 +473,11 @@ public UnaryCallSettings.Builder<CreateNodePoolRequest, Operation> createNodePoo
|
478 | 473 | return getStubSettingsBuilder().createNodePoolSettings();
|
479 | 474 | }
|
480 | 475 |
|
| 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