Skip to content

Commit 3559aa7

Browse files
Bigtable: Deemphasize most of the settings and move them to the StubSettings (#4509)
* Bigtable: Deemphasize most of the settings and move them to the StubSettings This is a breaking change because it removes the ClientSettings base class. However to ease the transition, most methods have been copied over but marked deprecated to BigtableDataSettings * format * fix bad merge
1 parent 9902978 commit 3559aa7

5 files changed

Lines changed: 266 additions & 81 deletions

File tree

google-cloud-clients/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/BigtableDataClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public static BigtableDataClient create(String projectId, String instanceId) thr
131131
* created based on the settings passed in, or defaults for any settings that are not set.
132132
*/
133133
public static BigtableDataClient create(BigtableDataSettings settings) throws IOException {
134-
EnhancedBigtableStub stub = EnhancedBigtableStub.create(settings.getTypedStubSettings());
134+
EnhancedBigtableStub stub = EnhancedBigtableStub.create(settings.getStubSettings());
135135
return new BigtableDataClient(stub);
136136
}
137137

0 commit comments

Comments
 (0)