3434import com .google .cloud .bigtable .admin .v2 .models .ConsistencyRequest ;
3535import com .google .cloud .bigtable .admin .v2 .models .OptimizeRestoredTableOperationToken ;
3636import com .google .cloud .bigtable .admin .v2 .models .RestoredTableResult ;
37-
3837import com .google .cloud .bigtable .admin .v2 .stub .AwaitConsistencyCallableV2 ;
39- import com .google .cloud .bigtable .admin .v2 .stub .GrpcBigtableTableAdminStub ;
4038import com .google .cloud .bigtable .admin .v2 .stub .BigtableTableAdminStubSettings ;
39+ import com .google .cloud .bigtable .admin .v2 .stub .GrpcBigtableTableAdminStub ;
4140import com .google .common .base .Strings ;
4241import com .google .longrunning .Operation ;
4342import com .google .protobuf .Empty ;
@@ -82,9 +81,7 @@ public class BigtableTableAdminClientV2 extends BaseBigtableTableAdminClient {
8281 .setTotalTimeoutDuration (Duration .ofMillis (600000L ))
8382 .build ();
8483
85- /**
86- * Constructs an instance of BigtableTableAdminClientV2 with the given settings.
87- */
84+ /** Constructs an instance of BigtableTableAdminClientV2 with the given settings. */
8885 public static final BigtableTableAdminClientV2 create (BaseBigtableTableAdminSettings settings )
8986 throws IOException {
9087 GrpcBigtableTableAdminStub stub =
@@ -105,7 +102,10 @@ public static final BigtableTableAdminClientV2 create(BaseBigtableTableAdminSett
105102 createOptimizeRestoredTableOperationBaseCallable (stub , settings , backgroundExecutor );
106103
107104 return new BigtableTableAdminClientV2 (
108- stub , backgroundExecutor , awaitConsistencyCallable , optimizeRestoredTableOperationBaseCallable );
105+ stub ,
106+ backgroundExecutor ,
107+ awaitConsistencyCallable ,
108+ optimizeRestoredTableOperationBaseCallable );
109109 }
110110
111111 /** Constructs an instance of BigtableTableAdminClientV2 with the given stub. */
@@ -150,7 +150,8 @@ private static AwaitConsistencyCallableV2 createAwaitConsistencyCallable(
150150 createOptimizeRestoredTableOperationBaseCallable (
151151 GrpcBigtableTableAdminStub stub ,
152152 BaseBigtableTableAdminSettings settings ,
153- java .util .concurrent .ScheduledExecutorService backgroundExecutor ) throws IOException {
153+ java .util .concurrent .ScheduledExecutorService backgroundExecutor )
154+ throws IOException {
154155
155156 @ SuppressWarnings ("unchecked" )
156157 MethodDescriptor <Void , Operation > fakeDescriptor =
@@ -199,10 +200,7 @@ public Empty apply(OperationSnapshot input) {
199200 .build ();
200201
201202 return GrpcCallableFactory .createOperationCallable (
202- unusedInitialCallSettings ,
203- operationCallSettings ,
204- clientContext ,
205- stub .getOperationsStub ());
203+ unusedInitialCallSettings , operationCallSettings , clientContext , stub .getOperationsStub ());
206204 }
207205
208206 /**
0 commit comments