public static final class BigtableTableAdminSettings.Builder extends Object
Modifier and Type | Method and Description |
---|---|
BigtableTableAdminSettings |
build()
Builds an instance of the settings.
|
CredentialsProvider |
getCredentialsProvider()
Gets the CredentialsProvider to use for getting the credentials to make calls with.
|
String |
getInstanceId()
Gets the instance id of the instance whose tables the client will manage.
|
String |
getProjectId()
Gets the project id of the instance whose tables the client will manage.
|
BigtableTableAdminSettings.Builder |
setCredentialsProvider(CredentialsProvider credentialsProvider)
Sets the CredentialsProvider to use for getting the credentials to make calls with.
|
BigtableTableAdminSettings.Builder |
setInstanceId(String instanceId)
Sets the instance id of the instance whose tables the client will manage.
|
BigtableTableAdminSettings.Builder |
setProjectId(String projectId)
Sets the project id of the instance whose tables the client will manage.
|
BigtableTableAdminStubSettings.Builder |
stubSettings()
Returns the builder for the settings used for all RPCs.
|
public BigtableTableAdminSettings.Builder setProjectId(@Nullable String projectId)
@Nullable public String getProjectId()
public BigtableTableAdminSettings.Builder setInstanceId(@Nullable String instanceId)
@Nullable public String getInstanceId()
public BigtableTableAdminSettings.Builder setCredentialsProvider(CredentialsProvider credentialsProvider)
public CredentialsProvider getCredentialsProvider()
public BigtableTableAdminStubSettings.Builder stubSettings()
This is meant for advanced usage. The default RPC settings are set to their recommended values.
public BigtableTableAdminSettings build() throws IOException
IOException
Copyright © 2019 Google LLC. All rights reserved.