Class AlloyDBAdminSettings.Builder (0.40.0)

public static class AlloyDBAdminSettings.Builder extends ClientSettings.Builder<AlloyDBAdminSettings,AlloyDBAdminSettings.Builder>

Builder for AlloyDBAdminSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > AlloyDBAdminSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AlloyDBAdminSettings settings)

protected Builder(AlloyDBAdminSettings settings)
Parameter
Name Description
settings AlloyDBAdminSettings

Builder(AlloyDBAdminStubSettings.Builder stubSettings)

protected Builder(AlloyDBAdminStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings AlloyDBAdminStubSettings.Builder

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
AlloyDBAdminSettings.Builder

batchCreateInstancesOperationSettings()

public OperationCallSettings.Builder<BatchCreateInstancesRequest,BatchCreateInstancesResponse,OperationMetadata> batchCreateInstancesOperationSettings()

Returns the builder for the settings used for calls to batchCreateInstances.

Returns
Type Description
Builder<BatchCreateInstancesRequest,BatchCreateInstancesResponse,OperationMetadata>

batchCreateInstancesSettings()

public UnaryCallSettings.Builder<BatchCreateInstancesRequest,Operation> batchCreateInstancesSettings()

Returns the builder for the settings used for calls to batchCreateInstances.

Returns
Type Description
Builder<BatchCreateInstancesRequest,Operation>

build()

public AlloyDBAdminSettings build()
Returns
Type Description
AlloyDBAdminSettings
Overrides
Exceptions
Type Description
IOException

createBackupOperationSettings()

public OperationCallSettings.Builder<CreateBackupRequest,Backup,OperationMetadata> createBackupOperationSettings()

Returns the builder for the settings used for calls to createBackup.

Returns
Type Description
Builder<CreateBackupRequest,Backup,OperationMetadata>

createBackupSettings()

public UnaryCallSettings.Builder<CreateBackupRequest,Operation> createBackupSettings()

Returns the builder for the settings used for calls to createBackup.

Returns
Type Description
Builder<CreateBackupRequest,Operation>

createClusterOperationSettings()

public OperationCallSettings.Builder<CreateClusterRequest,Cluster,OperationMetadata> createClusterOperationSettings()

Returns the builder for the settings used for calls to createCluster.

Returns
Type Description
Builder<CreateClusterRequest,Cluster,OperationMetadata>

createClusterSettings()

public UnaryCallSettings.Builder<CreateClusterRequest,Operation> createClusterSettings()

Returns the builder for the settings used for calls to createCluster.

Returns
Type Description
Builder<CreateClusterRequest,Operation>

createInstanceOperationSettings()

public OperationCallSettings.Builder<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationSettings()

Returns the builder for the settings used for calls to createInstance.

Returns
Type Description
Builder<CreateInstanceRequest,Instance,OperationMetadata>

createInstanceSettings()

public UnaryCallSettings.Builder<CreateInstanceRequest,Operation> createInstanceSettings()

Returns the builder for the settings used for calls to createInstance.

Returns
Type Description
Builder<CreateInstanceRequest,Operation>

createSecondaryClusterOperationSettings()

public OperationCallSettings.Builder<CreateSecondaryClusterRequest,Cluster,OperationMetadata> createSecondaryClusterOperationSettings()

Returns the builder for the settings used for calls to createSecondaryCluster.

Returns
Type Description
Builder<CreateSecondaryClusterRequest,Cluster,OperationMetadata>

createSecondaryClusterSettings()

public UnaryCallSettings.Builder<CreateSecondaryClusterRequest,Operation> createSecondaryClusterSettings()

Returns the builder for the settings used for calls to createSecondaryCluster.

Returns
Type Description
Builder<CreateSecondaryClusterRequest,Operation>

createSecondaryInstanceOperationSettings()

public OperationCallSettings.Builder<CreateSecondaryInstanceRequest,Instance,OperationMetadata> createSecondaryInstanceOperationSettings()

Returns the builder for the settings used for calls to createSecondaryInstance.

Returns
Type Description
Builder<CreateSecondaryInstanceRequest,Instance,OperationMetadata>

createSecondaryInstanceSettings()

public UnaryCallSettings.Builder<CreateSecondaryInstanceRequest,Operation> createSecondaryInstanceSettings()

Returns the builder for the settings used for calls to createSecondaryInstance.

Returns
Type Description
Builder<CreateSecondaryInstanceRequest,Operation>

createUserSettings()

public UnaryCallSettings.Builder<CreateUserRequest,User> createUserSettings()

Returns the builder for the settings used for calls to createUser.

Returns
Type Description
Builder<CreateUserRequest,User>

deleteBackupOperationSettings()

public OperationCallSettings.Builder<DeleteBackupRequest,Empty,OperationMetadata> deleteBackupOperationSettings()

Returns the builder for the settings used for calls to deleteBackup.

Returns
Type Description
Builder<DeleteBackupRequest,Empty,OperationMetadata>

deleteBackupSettings()

public UnaryCallSettings.Builder<DeleteBackupRequest,Operation> deleteBackupSettings()

Returns the builder for the settings used for calls to deleteBackup.

Returns
Type Description
Builder<DeleteBackupRequest,Operation>

deleteClusterOperationSettings()

public OperationCallSettings.Builder<DeleteClusterRequest,Empty,OperationMetadata> deleteClusterOperationSettings()

Returns the builder for the settings used for calls to deleteCluster.

Returns
Type Description
Builder<DeleteClusterRequest,Empty,OperationMetadata>

deleteClusterSettings()

public UnaryCallSettings.Builder<DeleteClusterRequest,Operation> deleteClusterSettings()

Returns the builder for the settings used for calls to deleteCluster.

Returns
Type Description
Builder<DeleteClusterRequest,Operation>

deleteInstanceOperationSettings()

public OperationCallSettings.Builder<DeleteInstanceRequest,Empty,OperationMetadata> deleteInstanceOperationSettings()

Returns the builder for the settings used for calls to deleteInstance.

Returns
Type Description
Builder<DeleteInstanceRequest,Empty,OperationMetadata>

deleteInstanceSettings()

public UnaryCallSettings.Builder<DeleteInstanceRequest,Operation> deleteInstanceSettings()

Returns the builder for the settings used for calls to deleteInstance.

Returns
Type Description
Builder<DeleteInstanceRequest,Operation>

deleteUserSettings()

public UnaryCallSettings.Builder<DeleteUserRequest,Empty> deleteUserSettings()

Returns the builder for the settings used for calls to deleteUser.

Returns
Type Description
Builder<DeleteUserRequest,Empty>

failoverInstanceOperationSettings()

public OperationCallSettings.Builder<FailoverInstanceRequest,Instance,OperationMetadata> failoverInstanceOperationSettings()

Returns the builder for the settings used for calls to failoverInstance.

Returns
Type Description
Builder<FailoverInstanceRequest,Instance,OperationMetadata>

failoverInstanceSettings()

public UnaryCallSettings.Builder<FailoverInstanceRequest,Operation> failoverInstanceSettings()

Returns the builder for the settings used for calls to failoverInstance.

Returns
Type Description
Builder<FailoverInstanceRequest,Operation>

generateClientCertificateSettings()

public UnaryCallSettings.Builder<GenerateClientCertificateRequest,GenerateClientCertificateResponse> generateClientCertificateSettings()

Returns the builder for the settings used for calls to generateClientCertificate.

Returns
Type Description
Builder<GenerateClientCertificateRequest,GenerateClientCertificateResponse>

getBackupSettings()

public UnaryCallSettings.Builder<GetBackupRequest,Backup> getBackupSettings()

Returns the builder for the settings used for calls to getBackup.

Returns
Type Description
Builder<GetBackupRequest,Backup>

getClusterSettings()

public UnaryCallSettings.Builder<GetClusterRequest,Cluster> getClusterSettings()

Returns the builder for the settings used for calls to getCluster.

Returns
Type Description
Builder<GetClusterRequest,Cluster>

getConnectionInfoSettings()

public UnaryCallSettings.Builder<GetConnectionInfoRequest,ConnectionInfo> getConnectionInfoSettings()

Returns the builder for the settings used for calls to getConnectionInfo.

Returns
Type Description
Builder<GetConnectionInfoRequest,ConnectionInfo>

getInstanceSettings()

public UnaryCallSettings.Builder<GetInstanceRequest,Instance> getInstanceSettings()

Returns the builder for the settings used for calls to getInstance.

Returns
Type Description
Builder<GetInstanceRequest,Instance>

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
Type Description
AlloyDBAdminStubSettings.Builder

getUserSettings()

public UnaryCallSettings.Builder<GetUserRequest,User> getUserSettings()

Returns the builder for the settings used for calls to getUser.

Returns
Type Description
Builder<GetUserRequest,User>

injectFaultOperationSettings()

public OperationCallSettings.Builder<InjectFaultRequest,Instance,OperationMetadata> injectFaultOperationSettings()

Returns the builder for the settings used for calls to injectFault.

Returns
Type Description
Builder<InjectFaultRequest,Instance,OperationMetadata>

injectFaultSettings()

public UnaryCallSettings.Builder<InjectFaultRequest,Operation> injectFaultSettings()

Returns the builder for the settings used for calls to injectFault.

Returns
Type Description
Builder<InjectFaultRequest,Operation>

listBackupsSettings()

public PagedCallSettings.Builder<ListBackupsRequest,ListBackupsResponse,AlloyDBAdminClient.ListBackupsPagedResponse> listBackupsSettings()

Returns the builder for the settings used for calls to listBackups.

Returns
Type Description
Builder<ListBackupsRequest,ListBackupsResponse,ListBackupsPagedResponse>

listClustersSettings()

public PagedCallSettings.Builder<ListClustersRequest,ListClustersResponse,AlloyDBAdminClient.ListClustersPagedResponse> listClustersSettings()

Returns the builder for the settings used for calls to listClusters.

Returns
Type Description
Builder<ListClustersRequest,ListClustersResponse,ListClustersPagedResponse>

listDatabasesSettings()

public PagedCallSettings.Builder<ListDatabasesRequest,ListDatabasesResponse,AlloyDBAdminClient.ListDatabasesPagedResponse> listDatabasesSettings()

Returns the builder for the settings used for calls to listDatabases.

Returns
Type Description
Builder<ListDatabasesRequest,ListDatabasesResponse,ListDatabasesPagedResponse>

listInstancesSettings()

public PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,AlloyDBAdminClient.ListInstancesPagedResponse> listInstancesSettings()

Returns the builder for the settings used for calls to listInstances.

Returns
Type Description
Builder<ListInstancesRequest,ListInstancesResponse,ListInstancesPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,AlloyDBAdminClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listSupportedDatabaseFlagsSettings()

public PagedCallSettings.Builder<ListSupportedDatabaseFlagsRequest,ListSupportedDatabaseFlagsResponse,AlloyDBAdminClient.ListSupportedDatabaseFlagsPagedResponse> listSupportedDatabaseFlagsSettings()

Returns the builder for the settings used for calls to listSupportedDatabaseFlags.

Returns
Type Description
Builder<ListSupportedDatabaseFlagsRequest,ListSupportedDatabaseFlagsResponse,ListSupportedDatabaseFlagsPagedResponse>

listUsersSettings()

public PagedCallSettings.Builder<ListUsersRequest,ListUsersResponse,AlloyDBAdminClient.ListUsersPagedResponse> listUsersSettings()

Returns the builder for the settings used for calls to listUsers.

Returns
Type Description
Builder<ListUsersRequest,ListUsersResponse,ListUsersPagedResponse>

promoteClusterOperationSettings()

public OperationCallSettings.Builder<PromoteClusterRequest,Cluster,OperationMetadata> promoteClusterOperationSettings()

Returns the builder for the settings used for calls to promoteCluster.

Returns
Type Description
Builder<PromoteClusterRequest,Cluster,OperationMetadata>

promoteClusterSettings()

public UnaryCallSettings.Builder<PromoteClusterRequest,Operation> promoteClusterSettings()

Returns the builder for the settings used for calls to promoteCluster.

Returns
Type Description
Builder<PromoteClusterRequest,Operation>

restartInstanceOperationSettings()

public OperationCallSettings.Builder<RestartInstanceRequest,Instance,OperationMetadata> restartInstanceOperationSettings()

Returns the builder for the settings used for calls to restartInstance.

Returns
Type Description
Builder<RestartInstanceRequest,Instance,OperationMetadata>

restartInstanceSettings()

public UnaryCallSettings.Builder<RestartInstanceRequest,Operation> restartInstanceSettings()

Returns the builder for the settings used for calls to restartInstance.

Returns
Type Description
Builder<RestartInstanceRequest,Operation>

restoreClusterOperationSettings()

public OperationCallSettings.Builder<RestoreClusterRequest,Cluster,OperationMetadata> restoreClusterOperationSettings()

Returns the builder for the settings used for calls to restoreCluster.

Returns
Type Description
Builder<RestoreClusterRequest,Cluster,OperationMetadata>

restoreClusterSettings()

public UnaryCallSettings.Builder<RestoreClusterRequest,Operation> restoreClusterSettings()

Returns the builder for the settings used for calls to restoreCluster.

Returns
Type Description
Builder<RestoreClusterRequest,Operation>

updateBackupOperationSettings()

public OperationCallSettings.Builder<UpdateBackupRequest,Backup,OperationMetadata> updateBackupOperationSettings()

Returns the builder for the settings used for calls to updateBackup.

Returns
Type Description
Builder<UpdateBackupRequest,Backup,OperationMetadata>

updateBackupSettings()

public UnaryCallSettings.Builder<UpdateBackupRequest,Operation> updateBackupSettings()

Returns the builder for the settings used for calls to updateBackup.

Returns
Type Description
Builder<UpdateBackupRequest,Operation>

updateClusterOperationSettings()

public OperationCallSettings.Builder<UpdateClusterRequest,Cluster,OperationMetadata> updateClusterOperationSettings()

Returns the builder for the settings used for calls to updateCluster.

Returns
Type Description
Builder<UpdateClusterRequest,Cluster,OperationMetadata>

updateClusterSettings()

public UnaryCallSettings.Builder<UpdateClusterRequest,Operation> updateClusterSettings()

Returns the builder for the settings used for calls to updateCluster.

Returns
Type Description
Builder<UpdateClusterRequest,Operation>

updateInstanceOperationSettings()

public OperationCallSettings.Builder<UpdateInstanceRequest,Instance,OperationMetadata> updateInstanceOperationSettings()

Returns the builder for the settings used for calls to updateInstance.

Returns
Type Description
Builder<UpdateInstanceRequest,Instance,OperationMetadata>

updateInstanceSettings()

public UnaryCallSettings.Builder<UpdateInstanceRequest,Operation> updateInstanceSettings()

Returns the builder for the settings used for calls to updateInstance.

Returns
Type Description
Builder<UpdateInstanceRequest,Operation>

updateUserSettings()

public UnaryCallSettings.Builder<UpdateUserRequest,User> updateUserSettings()

Returns the builder for the settings used for calls to updateUser.

Returns
Type Description
Builder<UpdateUserRequest,User>