public static class AlloyDBAdminSettings.Builder extends ClientSettings.Builder<AlloyDBAdminSettings,AlloyDBAdminSettings.Builder>
Builder for AlloyDBAdminSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
Builder(AlloyDBAdminSettings settings)
protected Builder(AlloyDBAdminSettings settings)
Parameter
Builder(AlloyDBAdminStubSettings.Builder stubSettings)
protected Builder(AlloyDBAdminStubSettings.Builder stubSettings)
Parameter
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public AlloyDBAdminSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
Note: This method does not support applying settings to streaming methods.
Parameter
Returns
batchCreateInstancesOperationSettings()
public OperationCallSettings.Builder<BatchCreateInstancesRequest,BatchCreateInstancesResponse,OperationMetadata> batchCreateInstancesOperationSettings()
Returns the builder for the settings used for calls to batchCreateInstances.
Returns
batchCreateInstancesSettings()
public UnaryCallSettings.Builder<BatchCreateInstancesRequest,Operation> batchCreateInstancesSettings()
Returns the builder for the settings used for calls to batchCreateInstances.
Returns
build()
public AlloyDBAdminSettings build()
Returns
Overrides
Exceptions
createBackupOperationSettings()
public OperationCallSettings.Builder<CreateBackupRequest,Backup,OperationMetadata> createBackupOperationSettings()
Returns the builder for the settings used for calls to createBackup.
Returns
createBackupSettings()
public UnaryCallSettings.Builder<CreateBackupRequest,Operation> createBackupSettings()
Returns the builder for the settings used for calls to createBackup.
Returns
createClusterOperationSettings()
public OperationCallSettings.Builder<CreateClusterRequest,Cluster,OperationMetadata> createClusterOperationSettings()
Returns the builder for the settings used for calls to createCluster.
Returns
createClusterSettings()
public UnaryCallSettings.Builder<CreateClusterRequest,Operation> createClusterSettings()
Returns the builder for the settings used for calls to createCluster.
Returns
createInstanceOperationSettings()
public OperationCallSettings.Builder<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationSettings()
Returns the builder for the settings used for calls to createInstance.
Returns
createInstanceSettings()
public UnaryCallSettings.Builder<CreateInstanceRequest,Operation> createInstanceSettings()
Returns the builder for the settings used for calls to createInstance.
Returns
createSecondaryClusterOperationSettings()
public OperationCallSettings.Builder<CreateSecondaryClusterRequest,Cluster,OperationMetadata> createSecondaryClusterOperationSettings()
Returns the builder for the settings used for calls to createSecondaryCluster.
Returns
createSecondaryClusterSettings()
public UnaryCallSettings.Builder<CreateSecondaryClusterRequest,Operation> createSecondaryClusterSettings()
Returns the builder for the settings used for calls to createSecondaryCluster.
Returns
createSecondaryInstanceOperationSettings()
public OperationCallSettings.Builder<CreateSecondaryInstanceRequest,Instance,OperationMetadata> createSecondaryInstanceOperationSettings()
Returns the builder for the settings used for calls to createSecondaryInstance.
Returns
createSecondaryInstanceSettings()
public UnaryCallSettings.Builder<CreateSecondaryInstanceRequest,Operation> createSecondaryInstanceSettings()
Returns the builder for the settings used for calls to createSecondaryInstance.
Returns
deleteBackupOperationSettings()
public OperationCallSettings.Builder<DeleteBackupRequest,Empty,OperationMetadata> deleteBackupOperationSettings()
Returns the builder for the settings used for calls to deleteBackup.
Returns
deleteBackupSettings()
public UnaryCallSettings.Builder<DeleteBackupRequest,Operation> deleteBackupSettings()
Returns the builder for the settings used for calls to deleteBackup.
Returns
deleteClusterOperationSettings()
public OperationCallSettings.Builder<DeleteClusterRequest,Empty,OperationMetadata> deleteClusterOperationSettings()
Returns the builder for the settings used for calls to deleteCluster.
Returns
deleteClusterSettings()
public UnaryCallSettings.Builder<DeleteClusterRequest,Operation> deleteClusterSettings()
Returns the builder for the settings used for calls to deleteCluster.
Returns
deleteInstanceOperationSettings()
public OperationCallSettings.Builder<DeleteInstanceRequest,Empty,OperationMetadata> deleteInstanceOperationSettings()
Returns the builder for the settings used for calls to deleteInstance.
Returns
deleteInstanceSettings()
public UnaryCallSettings.Builder<DeleteInstanceRequest,Operation> deleteInstanceSettings()
Returns the builder for the settings used for calls to deleteInstance.
Returns
failoverInstanceOperationSettings()
public OperationCallSettings.Builder<FailoverInstanceRequest,Instance,OperationMetadata> failoverInstanceOperationSettings()
Returns the builder for the settings used for calls to failoverInstance.
Returns
failoverInstanceSettings()
public UnaryCallSettings.Builder<FailoverInstanceRequest,Operation> failoverInstanceSettings()
Returns the builder for the settings used for calls to failoverInstance.
Returns
generateClientCertificateSettings()
public UnaryCallSettings.Builder<GenerateClientCertificateRequest,GenerateClientCertificateResponse> generateClientCertificateSettings()
Returns the builder for the settings used for calls to generateClientCertificate.
Returns
getBackupSettings()
public UnaryCallSettings.Builder<GetBackupRequest,Backup> getBackupSettings()
Returns the builder for the settings used for calls to getBackup.
Returns
getClusterSettings()
public UnaryCallSettings.Builder<GetClusterRequest,Cluster> getClusterSettings()
Returns the builder for the settings used for calls to getCluster.
Returns
getConnectionInfoSettings()
public UnaryCallSettings.Builder<GetConnectionInfoRequest,ConnectionInfo> getConnectionInfoSettings()
Returns the builder for the settings used for calls to getConnectionInfo.
Returns
getInstanceSettings()
public UnaryCallSettings.Builder<GetInstanceRequest,Instance> getInstanceSettings()
Returns the builder for the settings used for calls to getInstance.
Returns
getLocationSettings()
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
Returns
Type |
Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
getStubSettingsBuilder()
public AlloyDBAdminStubSettings.Builder getStubSettingsBuilder()
Returns
listBackupsSettings()
public PagedCallSettings.Builder<ListBackupsRequest,ListBackupsResponse,AlloyDBAdminClient.ListBackupsPagedResponse> listBackupsSettings()
Returns the builder for the settings used for calls to listBackups.
Returns
public PagedCallSettings.Builder<ListClustersRequest,ListClustersResponse,AlloyDBAdminClient.ListClustersPagedResponse> listClustersSettings()
Returns the builder for the settings used for calls to listClusters.
Returns
listInstancesSettings()
public PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,AlloyDBAdminClient.ListInstancesPagedResponse> listInstancesSettings()
Returns the builder for the settings used for calls to listInstances.
Returns
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,AlloyDBAdminClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
Returns
listSupportedDatabaseFlagsSettings()
public PagedCallSettings.Builder<ListSupportedDatabaseFlagsRequest,ListSupportedDatabaseFlagsResponse,AlloyDBAdminClient.ListSupportedDatabaseFlagsPagedResponse> listSupportedDatabaseFlagsSettings()
Returns the builder for the settings used for calls to listSupportedDatabaseFlags.
Returns
public OperationCallSettings.Builder<PromoteClusterRequest,Cluster,OperationMetadata> promoteClusterOperationSettings()
Returns the builder for the settings used for calls to promoteCluster.
Returns
public UnaryCallSettings.Builder<PromoteClusterRequest,Operation> promoteClusterSettings()
Returns the builder for the settings used for calls to promoteCluster.
Returns
restartInstanceOperationSettings()
public OperationCallSettings.Builder<RestartInstanceRequest,Instance,OperationMetadata> restartInstanceOperationSettings()
Returns the builder for the settings used for calls to restartInstance.
Returns
restartInstanceSettings()
public UnaryCallSettings.Builder<RestartInstanceRequest,Operation> restartInstanceSettings()
Returns the builder for the settings used for calls to restartInstance.
Returns
restoreClusterOperationSettings()
public OperationCallSettings.Builder<RestoreClusterRequest,Cluster,OperationMetadata> restoreClusterOperationSettings()
Returns the builder for the settings used for calls to restoreCluster.
Returns
restoreClusterSettings()
public UnaryCallSettings.Builder<RestoreClusterRequest,Operation> restoreClusterSettings()
Returns the builder for the settings used for calls to restoreCluster.
Returns
updateBackupOperationSettings()
public OperationCallSettings.Builder<UpdateBackupRequest,Backup,OperationMetadata> updateBackupOperationSettings()
Returns the builder for the settings used for calls to updateBackup.
Returns
updateBackupSettings()
public UnaryCallSettings.Builder<UpdateBackupRequest,Operation> updateBackupSettings()
Returns the builder for the settings used for calls to updateBackup.
Returns
updateClusterOperationSettings()
public OperationCallSettings.Builder<UpdateClusterRequest,Cluster,OperationMetadata> updateClusterOperationSettings()
Returns the builder for the settings used for calls to updateCluster.
Returns
updateClusterSettings()
public UnaryCallSettings.Builder<UpdateClusterRequest,Operation> updateClusterSettings()
Returns the builder for the settings used for calls to updateCluster.
Returns
updateInstanceOperationSettings()
public OperationCallSettings.Builder<UpdateInstanceRequest,Instance,OperationMetadata> updateInstanceOperationSettings()
Returns the builder for the settings used for calls to updateInstance.
Returns
updateInstanceSettings()
public UnaryCallSettings.Builder<UpdateInstanceRequest,Operation> updateInstanceSettings()
Returns the builder for the settings used for calls to updateInstance.
Returns