public static final class BigtableTableAdminSettings.Builder extends Object
Modifier and Type | Method and Description |
---|---|
BigtableTableAdminSettings |
build()
Builds an instance of the settings.
|
com.google.api.gax.core.CredentialsProvider |
getCredentialsProvider()
Gets the credentials provider 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(com.google.api.gax.core.CredentialsProvider credentialsProvider)
Sets the credentials provider 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(com.google.api.gax.core.CredentialsProvider credentialsProvider)
public com.google.api.gax.core.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.