Class BigtableInstanceAdminSettings.Builder
java.lang.Object
com.google.cloud.bigtable.admin.v2.BigtableInstanceAdminSettings.Builder
- Enclosing class:
- BigtableInstanceAdminSettings
Builder for BigtableInstanceAdminSettings.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds an instance of the settings.com.google.api.gax.core.CredentialsProvider
Gets the CredentialsProvider to use for getting the credentials to make calls with.Gets the ID of the project whose instances the client will manage.setCredentialsProvider
(com.google.api.gax.core.CredentialsProvider credentialsProvider) Sets the CredentialsProvider to use for getting the credentials to make calls with.setProjectId
(String projectId) Sets the ID of the project whose instances the client will manage.Returns the builder for the settings used for all RPCs.
-
Method Details
-
setProjectId
Sets the ID of the project whose instances the client will manage. -
getProjectId
Gets the ID of the project whose instances the client will manage. -
setCredentialsProvider
public BigtableInstanceAdminSettings.Builder setCredentialsProvider(com.google.api.gax.core.CredentialsProvider credentialsProvider) Sets the CredentialsProvider to use for getting the credentials to make calls with. -
getCredentialsProvider
public com.google.api.gax.core.CredentialsProvider getCredentialsProvider()Gets the CredentialsProvider to use for getting the credentials to make calls with. -
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
Builds an instance of the settings.- Throws:
IOException
-