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:
// This snippet has been automatically generated for illustrative purposes only.
// It may require modifications to work in your environment.
BigtableInstanceAdminStubSettings.Builder baseBigtableInstanceAdminSettingsBuilder =
BigtableInstanceAdminStubSettings.newBuilder();
baseBigtableInstanceAdminSettingsBuilder
.getInstanceSettings()
.setRetrySettings(
baseBigtableInstanceAdminSettingsBuilder
.getInstanceSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
BigtableInstanceAdminStubSettings baseBigtableInstanceAdminSettings =
baseBigtableInstanceAdminSettingsBuilder.build();
Static Methods
defaultApiClientHeaderProviderBuilder()
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Type | Description |
Builder |
defaultCredentialsProviderBuilder()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
Type | Description |
Builder |
defaultExecutorProviderBuilder()
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
Type | Description |
Builder |
defaultGrpcTransportProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
Type | Description |
Builder |
defaultTransportChannelProvider()
public static TransportChannelProvider defaultTransportChannelProvider()
Type | Description |
TransportChannelProvider |
getDefaultEndpoint()
public static String getDefaultEndpoint()
Returns the default service endpoint.
Type | Description |
String |
getDefaultMtlsEndpoint()
public static String getDefaultMtlsEndpoint()
Returns the default mTLS service endpoint.
Type | Description |
String |
getDefaultServiceScopes()
public static List<String> getDefaultServiceScopes()
Returns the default service scopes.
Type | Description |
List<String> |
newBuilder()
public static BigtableInstanceAdminStubSettings.Builder newBuilder()
Returns a new builder for this class.
Type | Description |
BigtableInstanceAdminStubSettings.Builder |
newBuilder(ClientContext clientContext)
public static BigtableInstanceAdminStubSettings.Builder newBuilder(ClientContext clientContext)
Returns a new builder for this class.
Name | Description |
clientContext | ClientContext |
Type | Description |
BigtableInstanceAdminStubSettings.Builder |
Constructors
BigtableInstanceAdminStubSettings(BigtableInstanceAdminStubSettings.Builder settingsBuilder)
protected BigtableInstanceAdminStubSettings(BigtableInstanceAdminStubSettings.Builder settingsBuilder)
Name | Description |
settingsBuilder | BigtableInstanceAdminStubSettings.Builder |
Methods
createAppProfileSettings()
public UnaryCallSettings<CreateAppProfileRequest,AppProfile> createAppProfileSettings()
Returns the object with the settings used for calls to createAppProfile.
Type | Description |
UnaryCallSettings<CreateAppProfileRequest,AppProfile> |
createClusterOperationSettings()
public OperationCallSettings<CreateClusterRequest,Cluster,CreateClusterMetadata> createClusterOperationSettings()
Returns the object with the settings used for calls to createCluster.
Type | Description |
OperationCallSettings<CreateClusterRequest,Cluster,CreateClusterMetadata> |
createClusterSettings()
public UnaryCallSettings<CreateClusterRequest,Operation> createClusterSettings()
Returns the object with the settings used for calls to createCluster.
Type | Description |
UnaryCallSettings<CreateClusterRequest,Operation> |
createInstanceOperationSettings()
public OperationCallSettings<CreateInstanceRequest,Instance,CreateInstanceMetadata> createInstanceOperationSettings()
Returns the object with the settings used for calls to createInstance.
Type | Description |
OperationCallSettings<CreateInstanceRequest,Instance,CreateInstanceMetadata> |
createInstanceSettings()
public UnaryCallSettings<CreateInstanceRequest,Operation> createInstanceSettings()
Returns the object with the settings used for calls to createInstance.
Type | Description |
UnaryCallSettings<CreateInstanceRequest,Operation> |
createStub()
public BigtableInstanceAdminStub createStub()
Type | Description |
com.google.cloud.bigtable.admin.v2.stub.BigtableInstanceAdminStub |
Type | Description |
IOException |
deleteAppProfileSettings()
public UnaryCallSettings<DeleteAppProfileRequest,Empty> deleteAppProfileSettings()
Returns the object with the settings used for calls to deleteAppProfile.
Type | Description |
UnaryCallSettings<DeleteAppProfileRequest,Empty> |
deleteClusterSettings()
public UnaryCallSettings<DeleteClusterRequest,Empty> deleteClusterSettings()
Returns the object with the settings used for calls to deleteCluster.
Type | Description |
UnaryCallSettings<DeleteClusterRequest,Empty> |
deleteInstanceSettings()
public UnaryCallSettings<DeleteInstanceRequest,Empty> deleteInstanceSettings()
Returns the object with the settings used for calls to deleteInstance.
Type | Description |
UnaryCallSettings<DeleteInstanceRequest,Empty> |
getAppProfileSettings()
public UnaryCallSettings<GetAppProfileRequest,AppProfile> getAppProfileSettings()
Returns the object with the settings used for calls to getAppProfile.
Type | Description |
UnaryCallSettings<GetAppProfileRequest,AppProfile> |
getClusterSettings()
public UnaryCallSettings<GetClusterRequest,Cluster> getClusterSettings()
Returns the object with the settings used for calls to getCluster.
Type | Description |
UnaryCallSettings<GetClusterRequest,Cluster> |
getIamPolicySettings()
public UnaryCallSettings<GetIamPolicyRequest,Policy> getIamPolicySettings()
Returns the object with the settings used for calls to getIamPolicy.
Type | Description |
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.
Type | Description |
UnaryCallSettings<GetInstanceRequest,Instance> |
listAppProfilesSettings()
public PagedCallSettings<ListAppProfilesRequest,ListAppProfilesResponse,BaseBigtableInstanceAdminClient.ListAppProfilesPagedResponse> listAppProfilesSettings()
Returns the object with the settings used for calls to listAppProfiles.
Type | Description |
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.
Type | Description |
UnaryCallSettings<ListClustersRequest,ListClustersResponse> |
listHotTabletsSettings()
public PagedCallSettings<ListHotTabletsRequest,ListHotTabletsResponse,BaseBigtableInstanceAdminClient.ListHotTabletsPagedResponse> listHotTabletsSettings()
Returns the object with the settings used for calls to listHotTablets.
Type | Description |
PagedCallSettings<ListHotTabletsRequest,ListHotTabletsResponse,com.google.cloud.bigtable.admin.v2.BaseBigtableInstanceAdminClient.ListHotTabletsPagedResponse> |
listInstancesSettings()
public UnaryCallSettings<ListInstancesRequest,ListInstancesResponse> listInstancesSettings()
Returns the object with the settings used for calls to listInstances.
Type | Description |
UnaryCallSettings<ListInstancesRequest,ListInstancesResponse> |
partialUpdateClusterOperationSettings()
public OperationCallSettings<PartialUpdateClusterRequest,Cluster,PartialUpdateClusterMetadata> partialUpdateClusterOperationSettings()
Returns the object with the settings used for calls to partialUpdateCluster.
Type | Description |
OperationCallSettings<PartialUpdateClusterRequest,Cluster,PartialUpdateClusterMetadata> |
partialUpdateClusterSettings()
public UnaryCallSettings<PartialUpdateClusterRequest,Operation> partialUpdateClusterSettings()
Returns the object with the settings used for calls to partialUpdateCluster.
Type | Description |
UnaryCallSettings<PartialUpdateClusterRequest,Operation> |
partialUpdateInstanceOperationSettings()
public OperationCallSettings<PartialUpdateInstanceRequest,Instance,UpdateInstanceMetadata> partialUpdateInstanceOperationSettings()
Returns the object with the settings used for calls to partialUpdateInstance.
Type | Description |
OperationCallSettings<PartialUpdateInstanceRequest,Instance,UpdateInstanceMetadata> |
partialUpdateInstanceSettings()
public UnaryCallSettings<PartialUpdateInstanceRequest,Operation> partialUpdateInstanceSettings()
Returns the object with the settings used for calls to partialUpdateInstance.
Type | Description |
UnaryCallSettings<PartialUpdateInstanceRequest,Operation> |
setIamPolicySettings()
public UnaryCallSettings<SetIamPolicyRequest,Policy> setIamPolicySettings()
Returns the object with the settings used for calls to setIamPolicy.
Type | Description |
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.
Type | Description |
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.
Type | Description |
BigtableInstanceAdminStubSettings.Builder |
updateAppProfileOperationSettings()
public OperationCallSettings<UpdateAppProfileRequest,AppProfile,UpdateAppProfileMetadata> updateAppProfileOperationSettings()
Returns the object with the settings used for calls to updateAppProfile.
Type | Description |
OperationCallSettings<UpdateAppProfileRequest,AppProfile,UpdateAppProfileMetadata> |
updateAppProfileSettings()
public UnaryCallSettings<UpdateAppProfileRequest,Operation> updateAppProfileSettings()
Returns the object with the settings used for calls to updateAppProfile.
Type | Description |
UnaryCallSettings<UpdateAppProfileRequest,Operation> |
updateClusterOperationSettings()
public OperationCallSettings<Cluster,Cluster,UpdateClusterMetadata> updateClusterOperationSettings()
Returns the object with the settings used for calls to updateCluster.
Type | Description |
OperationCallSettings<Cluster,Cluster,UpdateClusterMetadata> |
updateClusterSettings()
public UnaryCallSettings<Cluster,Operation> updateClusterSettings()
Returns the object with the settings used for calls to updateCluster.
Type | Description |
UnaryCallSettings<Cluster,Operation> |
updateInstanceSettings()
public UnaryCallSettings<Instance,Instance> updateInstanceSettings()
Returns the object with the settings used for calls to updateInstance.
Type | Description |
UnaryCallSettings<Instance,Instance> |