Class BigtableInstanceAdminStubSettings (2.5.3)

public class BigtableInstanceAdminStubSettings extends StubSettings<BigtableInstanceAdminStubSettings>

Settings class to configure an instance of BigtableInstanceAdminStub.

The default instance has everything set to sensible defaults:

  • The default service address (bigtableadmin.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of getInstance to 30 seconds:


 BigtableInstanceAdminStubSettings.Builder baseBigtableInstanceAdminSettingsBuilder =
     BigtableInstanceAdminStubSettings.newBuilder();
 baseBigtableInstanceAdminSettingsBuilder
     .getInstanceSettings()
     .setRetrySettings(
         baseBigtableInstanceAdminSettingsBuilder
             .getInstanceSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 BigtableInstanceAdminStubSettings baseBigtableInstanceAdminSettings =
     baseBigtableInstanceAdminSettingsBuilder.build();
 

Inheritance

java.lang.Object > StubSettings > BigtableInstanceAdminStubSettings

Static Methods

defaultApiClientHeaderProviderBuilder()

public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Returns
TypeDescription
Builder

defaultCredentialsProviderBuilder()

public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()

Returns a builder for the default credentials for this service.

Returns
TypeDescription
Builder

defaultExecutorProviderBuilder()

public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()

Returns a builder for the default ExecutorProvider for this service.

Returns
TypeDescription
Builder

defaultGrpcTransportProviderBuilder()

public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()

Returns a builder for the default ChannelProvider for this service.

Returns
TypeDescription
Builder

defaultTransportChannelProvider()

public static TransportChannelProvider defaultTransportChannelProvider()
Returns
TypeDescription
TransportChannelProvider

getDefaultEndpoint()

public static String getDefaultEndpoint()

Returns the default service endpoint.

Returns
TypeDescription
String

getDefaultMtlsEndpoint()

public static String getDefaultMtlsEndpoint()

Returns the default mTLS service endpoint.

Returns
TypeDescription
String

getDefaultServiceScopes()

public static List<String> getDefaultServiceScopes()

Returns the default service scopes.

Returns
TypeDescription
List<String>

newBuilder()

public static BigtableInstanceAdminStubSettings.Builder newBuilder()

Returns a new builder for this class.

Returns
TypeDescription
BigtableInstanceAdminStubSettings.Builder

newBuilder(ClientContext clientContext)

public static BigtableInstanceAdminStubSettings.Builder newBuilder(ClientContext clientContext)

Returns a new builder for this class.

Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
BigtableInstanceAdminStubSettings.Builder

Constructors

BigtableInstanceAdminStubSettings(BigtableInstanceAdminStubSettings.Builder settingsBuilder)

protected BigtableInstanceAdminStubSettings(BigtableInstanceAdminStubSettings.Builder settingsBuilder)
Parameter
NameDescription
settingsBuilderBigtableInstanceAdminStubSettings.Builder

Methods

createAppProfileSettings()

public UnaryCallSettings<CreateAppProfileRequest,AppProfile> createAppProfileSettings()

Returns the object with the settings used for calls to createAppProfile.

Returns
TypeDescription
UnaryCallSettings<CreateAppProfileRequest,AppProfile>

createClusterOperationSettings()

public OperationCallSettings<CreateClusterRequest,Cluster,CreateClusterMetadata> createClusterOperationSettings()

Returns the object with the settings used for calls to createCluster.

Returns
TypeDescription
OperationCallSettings<CreateClusterRequest,Cluster,CreateClusterMetadata>

createClusterSettings()

public UnaryCallSettings<CreateClusterRequest,Operation> createClusterSettings()

Returns the object with the settings used for calls to createCluster.

Returns
TypeDescription
UnaryCallSettings<CreateClusterRequest,Operation>

createInstanceOperationSettings()

public OperationCallSettings<CreateInstanceRequest,Instance,CreateInstanceMetadata> createInstanceOperationSettings()

Returns the object with the settings used for calls to createInstance.

Returns
TypeDescription
OperationCallSettings<CreateInstanceRequest,Instance,CreateInstanceMetadata>

createInstanceSettings()

public UnaryCallSettings<CreateInstanceRequest,Operation> createInstanceSettings()

Returns the object with the settings used for calls to createInstance.

Returns
TypeDescription
UnaryCallSettings<CreateInstanceRequest,Operation>

createStub()

public BigtableInstanceAdminStub createStub()
Returns
TypeDescription
com.google.cloud.bigtable.admin.v2.stub.BigtableInstanceAdminStub
Exceptions
TypeDescription
IOException

deleteAppProfileSettings()

public UnaryCallSettings<DeleteAppProfileRequest,Empty> deleteAppProfileSettings()

Returns the object with the settings used for calls to deleteAppProfile.

Returns
TypeDescription
UnaryCallSettings<DeleteAppProfileRequest,Empty>

deleteClusterSettings()

public UnaryCallSettings<DeleteClusterRequest,Empty> deleteClusterSettings()

Returns the object with the settings used for calls to deleteCluster.

Returns
TypeDescription
UnaryCallSettings<DeleteClusterRequest,Empty>

deleteInstanceSettings()

public UnaryCallSettings<DeleteInstanceRequest,Empty> deleteInstanceSettings()

Returns the object with the settings used for calls to deleteInstance.

Returns
TypeDescription
UnaryCallSettings<DeleteInstanceRequest,Empty>

getAppProfileSettings()

public UnaryCallSettings<GetAppProfileRequest,AppProfile> getAppProfileSettings()

Returns the object with the settings used for calls to getAppProfile.

Returns
TypeDescription
UnaryCallSettings<GetAppProfileRequest,AppProfile>

getClusterSettings()

public UnaryCallSettings<GetClusterRequest,Cluster> getClusterSettings()

Returns the object with the settings used for calls to getCluster.

Returns
TypeDescription
UnaryCallSettings<GetClusterRequest,Cluster>

getIamPolicySettings()

public UnaryCallSettings<GetIamPolicyRequest,Policy> getIamPolicySettings()

Returns the object with the settings used for calls to getIamPolicy.

Returns
TypeDescription
UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getInstanceSettings()

public UnaryCallSettings<GetInstanceRequest,Instance> getInstanceSettings()

Returns the object with the settings used for calls to getInstance.

Returns
TypeDescription
UnaryCallSettings<GetInstanceRequest,Instance>

listAppProfilesSettings()

public PagedCallSettings<ListAppProfilesRequest,ListAppProfilesResponse,BaseBigtableInstanceAdminClient.ListAppProfilesPagedResponse> listAppProfilesSettings()

Returns the object with the settings used for calls to listAppProfiles.

Returns
TypeDescription
PagedCallSettings<ListAppProfilesRequest,ListAppProfilesResponse,com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListAppProfilesPagedResponse>

listClustersSettings()

public UnaryCallSettings<ListClustersRequest,ListClustersResponse> listClustersSettings()

Returns the object with the settings used for calls to listClusters.

Returns
TypeDescription
UnaryCallSettings<ListClustersRequest,ListClustersResponse>

listInstancesSettings()

public UnaryCallSettings<ListInstancesRequest,ListInstancesResponse> listInstancesSettings()

Returns the object with the settings used for calls to listInstances.

Returns
TypeDescription
UnaryCallSettings<ListInstancesRequest,ListInstancesResponse>

partialUpdateClusterOperationSettings()

public OperationCallSettings<PartialUpdateClusterRequest,Cluster,PartialUpdateClusterMetadata> partialUpdateClusterOperationSettings()

Returns the object with the settings used for calls to partialUpdateCluster.

Returns
TypeDescription
OperationCallSettings<PartialUpdateClusterRequest,Cluster,PartialUpdateClusterMetadata>

partialUpdateClusterSettings()

public UnaryCallSettings<PartialUpdateClusterRequest,Operation> partialUpdateClusterSettings()

Returns the object with the settings used for calls to partialUpdateCluster.

Returns
TypeDescription
UnaryCallSettings<PartialUpdateClusterRequest,Operation>

partialUpdateInstanceOperationSettings()

public OperationCallSettings<PartialUpdateInstanceRequest,Instance,UpdateInstanceMetadata> partialUpdateInstanceOperationSettings()

Returns the object with the settings used for calls to partialUpdateInstance.

Returns
TypeDescription
OperationCallSettings<PartialUpdateInstanceRequest,Instance,UpdateInstanceMetadata>

partialUpdateInstanceSettings()

public UnaryCallSettings<PartialUpdateInstanceRequest,Operation> partialUpdateInstanceSettings()

Returns the object with the settings used for calls to partialUpdateInstance.

Returns
TypeDescription
UnaryCallSettings<PartialUpdateInstanceRequest,Operation>

setIamPolicySettings()

public UnaryCallSettings<SetIamPolicyRequest,Policy> setIamPolicySettings()

Returns the object with the settings used for calls to setIamPolicy.

Returns
TypeDescription
UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

Returns the object with the settings used for calls to testIamPermissions.

Returns
TypeDescription
UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

toBuilder()

public BigtableInstanceAdminStubSettings.Builder toBuilder()

Returns a builder containing all the values of this settings class.

Returns
TypeDescription
BigtableInstanceAdminStubSettings.Builder
Overrides

updateAppProfileOperationSettings()

public OperationCallSettings<UpdateAppProfileRequest,AppProfile,UpdateAppProfileMetadata> updateAppProfileOperationSettings()

Returns the object with the settings used for calls to updateAppProfile.

Returns
TypeDescription
OperationCallSettings<UpdateAppProfileRequest,AppProfile,UpdateAppProfileMetadata>

updateAppProfileSettings()

public UnaryCallSettings<UpdateAppProfileRequest,Operation> updateAppProfileSettings()

Returns the object with the settings used for calls to updateAppProfile.

Returns
TypeDescription
UnaryCallSettings<UpdateAppProfileRequest,Operation>

updateClusterOperationSettings()

public OperationCallSettings<Cluster,Cluster,UpdateClusterMetadata> updateClusterOperationSettings()

Returns the object with the settings used for calls to updateCluster.

Returns
TypeDescription
OperationCallSettings<Cluster,Cluster,UpdateClusterMetadata>

updateClusterSettings()

public UnaryCallSettings<Cluster,Operation> updateClusterSettings()

Returns the object with the settings used for calls to updateCluster.

Returns
TypeDescription
UnaryCallSettings<Cluster,Operation>

updateInstanceSettings()

public UnaryCallSettings<Instance,Instance> updateInstanceSettings()

Returns the object with the settings used for calls to updateInstance.

Returns
TypeDescription
UnaryCallSettings<Instance,Instance>