Class BigtableTableAdminSettings.Builder
- java.lang.Object
-
- com.google.cloud.bigtable.admin.v2.BigtableTableAdminSettings.Builder
-
- Enclosing class:
- BigtableTableAdminSettings
public static final class BigtableTableAdminSettings.Builder extends Object
Builder for BigtableTableAdminSettings.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setProjectId
public BigtableTableAdminSettings.Builder setProjectId(@Nullable String projectId)
Sets the project ID of the instance whose tables the client will manage.
-
getProjectId
@Nullable public String getProjectId()
Gets the project ID of the instance whose tables the client will manage.
-
setInstanceId
public BigtableTableAdminSettings.Builder setInstanceId(@Nullable String instanceId)
Sets the instance ID of the instance whose tables the client will manage.
-
getInstanceId
@Nullable public String getInstanceId()
Gets the instance ID of the instance whose tables the client will manage.
-
setCredentialsProvider
public BigtableTableAdminSettings.Builder setCredentialsProvider(com.google.api.gax.core.CredentialsProvider credentialsProvider)
Sets the credentials provider to use for getting the credentials to make calls with.
-
getCredentialsProvider
public com.google.api.gax.core.CredentialsProvider getCredentialsProvider()
Gets the credentials provider to use for getting the credentials to make calls with.
-
stubSettings
public BigtableTableAdminStubSettings.Builder stubSettings()
Returns the builder for the settings used for all RPCs.This is meant for advanced usage. The default RPC settings are set to their recommended values.
-
build
public BigtableTableAdminSettings build() throws IOException
Builds an instance of the settings.- Throws:
IOException
-
-