5
5
* you may not use this file except in compliance with the License.
6
6
* You may obtain a copy of the License at
7
7
*
8
- * https://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
*
10
10
* Unless required by applicable law or agreed to in writing, software
11
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
+
16
17
package com .google .cloud .bigtable .admin .v2 ;
17
18
18
19
import static com .google .cloud .bigtable .admin .v2 .BaseBigtableInstanceAdminClient .ListAppProfilesPagedResponse ;
67
68
import java .util .List ;
68
69
import javax .annotation .Generated ;
69
70
70
- // AUTO-GENERATED DOCUMENTATION AND CLASS
71
+ // AUTO-GENERATED DOCUMENTATION AND CLASS.
71
72
/** For internal use only. */
72
73
@ Generated ("by gapic-generator" )
73
74
@ InternalApi
74
75
public class BaseBigtableInstanceAdminSettings
75
76
extends ClientSettings <BaseBigtableInstanceAdminSettings > {
77
+
76
78
/** Returns the object with the settings used for calls to createInstance. */
77
79
public UnaryCallSettings <CreateInstanceRequest , Operation > createInstanceSettings () {
78
80
return ((BigtableInstanceAdminStubSettings ) getStubSettings ()).createInstanceSettings ();
79
81
}
80
82
81
83
/** Returns the object with the settings used for calls to createInstance. */
82
- @ BetaApi (
83
- "The surface for long-running operations is not stable yet and may change in the future." )
84
84
public OperationCallSettings <CreateInstanceRequest , Instance , CreateInstanceMetadata >
85
85
createInstanceOperationSettings () {
86
86
return ((BigtableInstanceAdminStubSettings ) getStubSettings ())
@@ -104,8 +104,6 @@ public UnaryCallSettings<ListInstancesRequest, ListInstancesResponse> listInstan
104
104
}
105
105
106
106
/** Returns the object with the settings used for calls to partialUpdateInstance. */
107
- @ BetaApi (
108
- "The surface for long-running operations is not stable yet and may change in the future." )
109
107
public OperationCallSettings <PartialUpdateInstanceRequest , Instance , UpdateInstanceMetadata >
110
108
partialUpdateInstanceOperationSettings () {
111
109
return ((BigtableInstanceAdminStubSettings ) getStubSettings ())
@@ -123,8 +121,6 @@ public UnaryCallSettings<CreateClusterRequest, Operation> createClusterSettings(
123
121
}
124
122
125
123
/** Returns the object with the settings used for calls to createCluster. */
126
- @ BetaApi (
127
- "The surface for long-running operations is not stable yet and may change in the future." )
128
124
public OperationCallSettings <CreateClusterRequest , Cluster , CreateClusterMetadata >
129
125
createClusterOperationSettings () {
130
126
return ((BigtableInstanceAdminStubSettings ) getStubSettings ()).createClusterOperationSettings ();
@@ -146,8 +142,6 @@ public UnaryCallSettings<Cluster, Operation> updateClusterSettings() {
146
142
}
147
143
148
144
/** Returns the object with the settings used for calls to updateCluster. */
149
- @ BetaApi (
150
- "The surface for long-running operations is not stable yet and may change in the future." )
151
145
public OperationCallSettings <Cluster , Cluster , UpdateClusterMetadata >
152
146
updateClusterOperationSettings () {
153
147
return ((BigtableInstanceAdminStubSettings ) getStubSettings ()).updateClusterOperationSettings ();
@@ -181,8 +175,6 @@ public UnaryCallSettings<UpdateAppProfileRequest, Operation> updateAppProfileSet
181
175
}
182
176
183
177
/** Returns the object with the settings used for calls to updateAppProfile. */
184
- @ BetaApi (
185
- "The surface for long-running operations is not stable yet and may change in the future." )
186
178
public OperationCallSettings <UpdateAppProfileRequest , AppProfile , UpdateAppProfileMetadata >
187
179
updateAppProfileOperationSettings () {
188
180
return ((BigtableInstanceAdminStubSettings ) getStubSettings ())
@@ -271,18 +263,15 @@ protected BaseBigtableInstanceAdminSettings(Builder settingsBuilder) throws IOEx
271
263
/** Builder for BaseBigtableInstanceAdminSettings. */
272
264
public static class Builder
273
265
extends ClientSettings .Builder <BaseBigtableInstanceAdminSettings , Builder > {
266
+
274
267
protected Builder () throws IOException {
275
- this ((ClientContext ) null );
268
+ this ((( ClientContext ) null ) );
276
269
}
277
270
278
271
protected Builder (ClientContext clientContext ) {
279
272
super (BigtableInstanceAdminStubSettings .newBuilder (clientContext ));
280
273
}
281
274
282
- private static Builder createDefault () {
283
- return new Builder (BigtableInstanceAdminStubSettings .newBuilder ());
284
- }
285
-
286
275
protected Builder (BaseBigtableInstanceAdminSettings settings ) {
287
276
super (settings .getStubSettings ().toBuilder ());
288
277
}
@@ -291,11 +280,15 @@ protected Builder(BigtableInstanceAdminStubSettings.Builder stubSettings) {
291
280
super (stubSettings );
292
281
}
293
282
283
+ private static Builder createDefault () {
284
+ return new Builder (BigtableInstanceAdminStubSettings .newBuilder ());
285
+ }
286
+
294
287
public BigtableInstanceAdminStubSettings .Builder getStubSettingsBuilder () {
295
288
return ((BigtableInstanceAdminStubSettings .Builder ) getStubSettings ());
296
289
}
297
290
298
- // NEXT_MAJOR_VER: remove 'throws Exception'
291
+ // NEXT_MAJOR_VER: remove 'throws Exception'.
299
292
/**
300
293
* Applies the given settings updater function to all of the unary API methods in this service.
301
294
*
@@ -314,8 +307,6 @@ public UnaryCallSettings.Builder<CreateInstanceRequest, Operation> createInstanc
314
307
}
315
308
316
309
/** Returns the builder for the settings used for calls to createInstance. */
317
- @ BetaApi (
318
- "The surface for long-running operations is not stable yet and may change in the future." )
319
310
public OperationCallSettings .Builder <CreateInstanceRequest , Instance , CreateInstanceMetadata >
320
311
createInstanceOperationSettings () {
321
312
return getStubSettingsBuilder ().createInstanceOperationSettings ();
@@ -339,8 +330,6 @@ public UnaryCallSettings.Builder<GetInstanceRequest, Instance> getInstanceSettin
339
330
}
340
331
341
332
/** Returns the builder for the settings used for calls to partialUpdateInstance. */
342
- @ BetaApi (
343
- "The surface for long-running operations is not stable yet and may change in the future." )
344
333
public OperationCallSettings .Builder <
345
334
PartialUpdateInstanceRequest , Instance , UpdateInstanceMetadata >
346
335
partialUpdateInstanceOperationSettings () {
@@ -358,8 +347,6 @@ public UnaryCallSettings.Builder<CreateClusterRequest, Operation> createClusterS
358
347
}
359
348
360
349
/** Returns the builder for the settings used for calls to createCluster. */
361
- @ BetaApi (
362
- "The surface for long-running operations is not stable yet and may change in the future." )
363
350
public OperationCallSettings .Builder <CreateClusterRequest , Cluster , CreateClusterMetadata >
364
351
createClusterOperationSettings () {
365
352
return getStubSettingsBuilder ().createClusterOperationSettings ();
@@ -382,8 +369,6 @@ public UnaryCallSettings.Builder<Cluster, Operation> updateClusterSettings() {
382
369
}
383
370
384
371
/** Returns the builder for the settings used for calls to updateCluster. */
385
- @ BetaApi (
386
- "The surface for long-running operations is not stable yet and may change in the future." )
387
372
public OperationCallSettings .Builder <Cluster , Cluster , UpdateClusterMetadata >
388
373
updateClusterOperationSettings () {
389
374
return getStubSettingsBuilder ().updateClusterOperationSettings ();
@@ -419,8 +404,6 @@ public UnaryCallSettings.Builder<GetAppProfileRequest, AppProfile> getAppProfile
419
404
}
420
405
421
406
/** Returns the builder for the settings used for calls to updateAppProfile. */
422
- @ BetaApi (
423
- "The surface for long-running operations is not stable yet and may change in the future." )
424
407
public OperationCallSettings .Builder <
425
408
UpdateAppProfileRequest , AppProfile , UpdateAppProfileMetadata >
426
409
updateAppProfileOperationSettings () {
0 commit comments