Class BigtableInstanceAdminStubSettings

java.lang.Object
com.google.api.gax.rpc.StubSettings<BigtableInstanceAdminStubSettings>
com.google.cloud.bigtable.admin.v2.stub.BigtableInstanceAdminStubSettings

@Generated("by gapic-generator-java") public class BigtableInstanceAdminStubSettings extends com.google.api.gax.rpc.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:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 BigtableInstanceAdminStubSettings.Builder baseBigtableInstanceAdminSettingsBuilder =
     BigtableInstanceAdminStubSettings.newBuilder();
 baseBigtableInstanceAdminSettingsBuilder
     .getInstanceSettings()
     .setRetrySettings(
         baseBigtableInstanceAdminSettingsBuilder
             .getInstanceSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 BigtableInstanceAdminStubSettings baseBigtableInstanceAdminSettings =
     baseBigtableInstanceAdminSettingsBuilder.build();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Builder for BigtableInstanceAdminStubSettings.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.CreateAppProfileRequest,com.google.bigtable.admin.v2.AppProfile>
    Returns the object with the settings used for calls to createAppProfile.
    com.google.api.gax.rpc.OperationCallSettings<com.google.bigtable.admin.v2.CreateClusterRequest,com.google.bigtable.admin.v2.Cluster,com.google.bigtable.admin.v2.CreateClusterMetadata>
    Returns the object with the settings used for calls to createCluster.
    com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.CreateClusterRequest,com.google.longrunning.Operation>
    Returns the object with the settings used for calls to createCluster.
    com.google.api.gax.rpc.OperationCallSettings<com.google.bigtable.admin.v2.CreateInstanceRequest,com.google.bigtable.admin.v2.Instance,com.google.bigtable.admin.v2.CreateInstanceMetadata>
    Returns the object with the settings used for calls to createInstance.
    com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.CreateInstanceRequest,com.google.longrunning.Operation>
    Returns the object with the settings used for calls to createInstance.
    com.google.cloud.bigtable.admin.v2.stub.BigtableInstanceAdminStub
     
    static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder
     
    static com.google.api.gax.core.GoogleCredentialsProvider.Builder
    Returns a builder for the default credentials for this service.
    static com.google.api.gax.core.InstantiatingExecutorProvider.Builder
    Returns a builder for the default ExecutorProvider for this service.
    static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder
    Returns a builder for the default ChannelProvider for this service.
    static com.google.api.gax.rpc.TransportChannelProvider
     
    com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.DeleteAppProfileRequest,com.google.protobuf.Empty>
    Returns the object with the settings used for calls to deleteAppProfile.
    com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.DeleteClusterRequest,com.google.protobuf.Empty>
    Returns the object with the settings used for calls to deleteCluster.
    com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.DeleteInstanceRequest,com.google.protobuf.Empty>
    Returns the object with the settings used for calls to deleteInstance.
    com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.GetAppProfileRequest,com.google.bigtable.admin.v2.AppProfile>
    Returns the object with the settings used for calls to getAppProfile.
    com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.GetClusterRequest,com.google.bigtable.admin.v2.Cluster>
    Returns the object with the settings used for calls to getCluster.
    static String
    Returns the default service endpoint.
    static String
    Returns the default mTLS service endpoint.
    static List<String>
    Returns the default service scopes.
    com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
    Returns the object with the settings used for calls to getIamPolicy.
    com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.GetInstanceRequest,com.google.bigtable.admin.v2.Instance>
    Returns the object with the settings used for calls to getInstance.
    com.google.api.gax.rpc.PagedCallSettings<com.google.bigtable.admin.v2.ListAppProfilesRequest,com.google.bigtable.admin.v2.ListAppProfilesResponse,com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListAppProfilesPagedResponse>
    Returns the object with the settings used for calls to listAppProfiles.
    com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.ListClustersRequest,com.google.bigtable.admin.v2.ListClustersResponse>
    Returns the object with the settings used for calls to listClusters.
    com.google.api.gax.rpc.PagedCallSettings<com.google.bigtable.admin.v2.ListHotTabletsRequest,com.google.bigtable.admin.v2.ListHotTabletsResponse,com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListHotTabletsPagedResponse>
    Returns the object with the settings used for calls to listHotTablets.
    com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.ListInstancesRequest,com.google.bigtable.admin.v2.ListInstancesResponse>
    Returns the object with the settings used for calls to listInstances.
    Returns a new builder for this class.
    newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
    Returns a new builder for this class.
    com.google.api.gax.rpc.OperationCallSettings<com.google.bigtable.admin.v2.PartialUpdateClusterRequest,com.google.bigtable.admin.v2.Cluster,com.google.bigtable.admin.v2.PartialUpdateClusterMetadata>
    Returns the object with the settings used for calls to partialUpdateCluster.
    com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.PartialUpdateClusterRequest,com.google.longrunning.Operation>
    Returns the object with the settings used for calls to partialUpdateCluster.
    com.google.api.gax.rpc.OperationCallSettings<com.google.bigtable.admin.v2.PartialUpdateInstanceRequest,com.google.bigtable.admin.v2.Instance,com.google.bigtable.admin.v2.UpdateInstanceMetadata>
    Returns the object with the settings used for calls to partialUpdateInstance.
    com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.PartialUpdateInstanceRequest,com.google.longrunning.Operation>
    Returns the object with the settings used for calls to partialUpdateInstance.
    com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
    Returns the object with the settings used for calls to setIamPolicy.
    com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
    Returns the object with the settings used for calls to testIamPermissions.
    Returns a builder containing all the values of this settings class.
    com.google.api.gax.rpc.OperationCallSettings<com.google.bigtable.admin.v2.UpdateAppProfileRequest,com.google.bigtable.admin.v2.AppProfile,com.google.bigtable.admin.v2.UpdateAppProfileMetadata>
    Returns the object with the settings used for calls to updateAppProfile.
    com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.UpdateAppProfileRequest,com.google.longrunning.Operation>
    Returns the object with the settings used for calls to updateAppProfile.
    com.google.api.gax.rpc.OperationCallSettings<com.google.bigtable.admin.v2.Cluster,com.google.bigtable.admin.v2.Cluster,com.google.bigtable.admin.v2.UpdateClusterMetadata>
    Returns the object with the settings used for calls to updateCluster.
    com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.Cluster,com.google.longrunning.Operation>
    Returns the object with the settings used for calls to updateCluster.
    com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.Instance,com.google.bigtable.admin.v2.Instance>
    Returns the object with the settings used for calls to updateInstance.

    Methods inherited from class com.google.api.gax.rpc.StubSettings

    getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • createInstanceSettings

      public com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.CreateInstanceRequest,com.google.longrunning.Operation> createInstanceSettings()
      Returns the object with the settings used for calls to createInstance.
    • createInstanceOperationSettings

      public com.google.api.gax.rpc.OperationCallSettings<com.google.bigtable.admin.v2.CreateInstanceRequest,com.google.bigtable.admin.v2.Instance,com.google.bigtable.admin.v2.CreateInstanceMetadata> createInstanceOperationSettings()
      Returns the object with the settings used for calls to createInstance.
    • getInstanceSettings

      public com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.GetInstanceRequest,com.google.bigtable.admin.v2.Instance> getInstanceSettings()
      Returns the object with the settings used for calls to getInstance.
    • listInstancesSettings

      public com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.ListInstancesRequest,com.google.bigtable.admin.v2.ListInstancesResponse> listInstancesSettings()
      Returns the object with the settings used for calls to listInstances.
    • updateInstanceSettings

      public com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.Instance,com.google.bigtable.admin.v2.Instance> updateInstanceSettings()
      Returns the object with the settings used for calls to updateInstance.
    • partialUpdateInstanceSettings

      public com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.PartialUpdateInstanceRequest,com.google.longrunning.Operation> partialUpdateInstanceSettings()
      Returns the object with the settings used for calls to partialUpdateInstance.
    • partialUpdateInstanceOperationSettings

      public com.google.api.gax.rpc.OperationCallSettings<com.google.bigtable.admin.v2.PartialUpdateInstanceRequest,com.google.bigtable.admin.v2.Instance,com.google.bigtable.admin.v2.UpdateInstanceMetadata> partialUpdateInstanceOperationSettings()
      Returns the object with the settings used for calls to partialUpdateInstance.
    • deleteInstanceSettings

      public com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.DeleteInstanceRequest,com.google.protobuf.Empty> deleteInstanceSettings()
      Returns the object with the settings used for calls to deleteInstance.
    • createClusterSettings

      public com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.CreateClusterRequest,com.google.longrunning.Operation> createClusterSettings()
      Returns the object with the settings used for calls to createCluster.
    • createClusterOperationSettings

      public com.google.api.gax.rpc.OperationCallSettings<com.google.bigtable.admin.v2.CreateClusterRequest,com.google.bigtable.admin.v2.Cluster,com.google.bigtable.admin.v2.CreateClusterMetadata> createClusterOperationSettings()
      Returns the object with the settings used for calls to createCluster.
    • getClusterSettings

      public com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.GetClusterRequest,com.google.bigtable.admin.v2.Cluster> getClusterSettings()
      Returns the object with the settings used for calls to getCluster.
    • listClustersSettings

      public com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.ListClustersRequest,com.google.bigtable.admin.v2.ListClustersResponse> listClustersSettings()
      Returns the object with the settings used for calls to listClusters.
    • updateClusterSettings

      public com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.Cluster,com.google.longrunning.Operation> updateClusterSettings()
      Returns the object with the settings used for calls to updateCluster.
    • updateClusterOperationSettings

      public com.google.api.gax.rpc.OperationCallSettings<com.google.bigtable.admin.v2.Cluster,com.google.bigtable.admin.v2.Cluster,com.google.bigtable.admin.v2.UpdateClusterMetadata> updateClusterOperationSettings()
      Returns the object with the settings used for calls to updateCluster.
    • partialUpdateClusterSettings

      public com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.PartialUpdateClusterRequest,com.google.longrunning.Operation> partialUpdateClusterSettings()
      Returns the object with the settings used for calls to partialUpdateCluster.
    • partialUpdateClusterOperationSettings

      public com.google.api.gax.rpc.OperationCallSettings<com.google.bigtable.admin.v2.PartialUpdateClusterRequest,com.google.bigtable.admin.v2.Cluster,com.google.bigtable.admin.v2.PartialUpdateClusterMetadata> partialUpdateClusterOperationSettings()
      Returns the object with the settings used for calls to partialUpdateCluster.
    • deleteClusterSettings

      public com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.DeleteClusterRequest,com.google.protobuf.Empty> deleteClusterSettings()
      Returns the object with the settings used for calls to deleteCluster.
    • createAppProfileSettings

      public com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.CreateAppProfileRequest,com.google.bigtable.admin.v2.AppProfile> createAppProfileSettings()
      Returns the object with the settings used for calls to createAppProfile.
    • getAppProfileSettings

      public com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.GetAppProfileRequest,com.google.bigtable.admin.v2.AppProfile> getAppProfileSettings()
      Returns the object with the settings used for calls to getAppProfile.
    • listAppProfilesSettings

      public com.google.api.gax.rpc.PagedCallSettings<com.google.bigtable.admin.v2.ListAppProfilesRequest,com.google.bigtable.admin.v2.ListAppProfilesResponse,com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListAppProfilesPagedResponse> listAppProfilesSettings()
      Returns the object with the settings used for calls to listAppProfiles.
    • updateAppProfileSettings

      public com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.UpdateAppProfileRequest,com.google.longrunning.Operation> updateAppProfileSettings()
      Returns the object with the settings used for calls to updateAppProfile.
    • updateAppProfileOperationSettings

      public com.google.api.gax.rpc.OperationCallSettings<com.google.bigtable.admin.v2.UpdateAppProfileRequest,com.google.bigtable.admin.v2.AppProfile,com.google.bigtable.admin.v2.UpdateAppProfileMetadata> updateAppProfileOperationSettings()
      Returns the object with the settings used for calls to updateAppProfile.
    • deleteAppProfileSettings

      public com.google.api.gax.rpc.UnaryCallSettings<com.google.bigtable.admin.v2.DeleteAppProfileRequest,com.google.protobuf.Empty> deleteAppProfileSettings()
      Returns the object with the settings used for calls to deleteAppProfile.
    • getIamPolicySettings

      public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
      Returns the object with the settings used for calls to getIamPolicy.
    • setIamPolicySettings

      public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
      Returns the object with the settings used for calls to setIamPolicy.
    • testIamPermissionsSettings

      public com.google.api.gax.rpc.UnaryCallSettings<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
      Returns the object with the settings used for calls to testIamPermissions.
    • listHotTabletsSettings

      public com.google.api.gax.rpc.PagedCallSettings<com.google.bigtable.admin.v2.ListHotTabletsRequest,com.google.bigtable.admin.v2.ListHotTabletsResponse,com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListHotTabletsPagedResponse> listHotTabletsSettings()
      Returns the object with the settings used for calls to listHotTablets.
    • createStub

      public com.google.cloud.bigtable.admin.v2.stub.BigtableInstanceAdminStub createStub() throws IOException
      Throws:
      IOException
    • defaultExecutorProviderBuilder

      public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
      Returns a builder for the default ExecutorProvider for this service.
    • getDefaultEndpoint

      public static String getDefaultEndpoint()
      Returns the default service endpoint.
    • getDefaultMtlsEndpoint

      public static String getDefaultMtlsEndpoint()
      Returns the default mTLS service endpoint.
    • getDefaultServiceScopes

      public static List<String> getDefaultServiceScopes()
      Returns the default service scopes.
    • defaultCredentialsProviderBuilder

      public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
      Returns a builder for the default credentials for this service.
    • defaultGrpcTransportProviderBuilder

      public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
      Returns a builder for the default ChannelProvider for this service.
    • defaultTransportChannelProvider

      public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
    • defaultApiClientHeaderProviderBuilder

      @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
    • newBuilder

      public static BigtableInstanceAdminStubSettings.Builder newBuilder()
      Returns a new builder for this class.
    • newBuilder

      public static BigtableInstanceAdminStubSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
      Returns a new builder for this class.
    • toBuilder

      Returns a builder containing all the values of this settings class.
      Specified by:
      toBuilder in class com.google.api.gax.rpc.StubSettings<BigtableInstanceAdminStubSettings>