public static class AlloyDBAdminStubSettings.Builder extends StubSettings.Builder<AlloyDBAdminStubSettings,AlloyDBAdminStubSettings.Builder>
Builder for AlloyDBAdminStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(AlloyDBAdminStubSettings settings)
protected Builder(AlloyDBAdminStubSettings settings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public AlloyDBAdminStubSettings.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.
batchCreateInstancesOperationSettings()
public OperationCallSettings.Builder<BatchCreateInstancesRequest,BatchCreateInstancesResponse,OperationMetadata> batchCreateInstancesOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to batchCreateInstances.
batchCreateInstancesSettings()
public UnaryCallSettings.Builder<BatchCreateInstancesRequest,Operation> batchCreateInstancesSettings()
Returns the builder for the settings used for calls to batchCreateInstances.
build()
public AlloyDBAdminStubSettings build()
Overrides
createBackupOperationSettings()
public OperationCallSettings.Builder<CreateBackupRequest,Backup,OperationMetadata> createBackupOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to createBackup.
createBackupSettings()
public UnaryCallSettings.Builder<CreateBackupRequest,Operation> createBackupSettings()
Returns the builder for the settings used for calls to createBackup.
createClusterOperationSettings()
public OperationCallSettings.Builder<CreateClusterRequest,Cluster,OperationMetadata> createClusterOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to createCluster.
createClusterSettings()
public UnaryCallSettings.Builder<CreateClusterRequest,Operation> createClusterSettings()
Returns the builder for the settings used for calls to createCluster.
createInstanceOperationSettings()
public OperationCallSettings.Builder<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to createInstance.
createInstanceSettings()
public UnaryCallSettings.Builder<CreateInstanceRequest,Operation> createInstanceSettings()
Returns the builder for the settings used for calls to createInstance.
createSecondaryClusterOperationSettings()
public OperationCallSettings.Builder<CreateSecondaryClusterRequest,Cluster,OperationMetadata> createSecondaryClusterOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to createSecondaryCluster.
createSecondaryClusterSettings()
public UnaryCallSettings.Builder<CreateSecondaryClusterRequest,Operation> createSecondaryClusterSettings()
Returns the builder for the settings used for calls to createSecondaryCluster.
createSecondaryInstanceOperationSettings()
public OperationCallSettings.Builder<CreateSecondaryInstanceRequest,Instance,OperationMetadata> createSecondaryInstanceOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to createSecondaryInstance.
createSecondaryInstanceSettings()
public UnaryCallSettings.Builder<CreateSecondaryInstanceRequest,Operation> createSecondaryInstanceSettings()
Returns the builder for the settings used for calls to createSecondaryInstance.
createUserSettings()
public UnaryCallSettings.Builder<CreateUserRequest,User> createUserSettings()
Returns the builder for the settings used for calls to createUser.
deleteBackupOperationSettings()
public OperationCallSettings.Builder<DeleteBackupRequest,Empty,OperationMetadata> deleteBackupOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to deleteBackup.
deleteBackupSettings()
public UnaryCallSettings.Builder<DeleteBackupRequest,Operation> deleteBackupSettings()
Returns the builder for the settings used for calls to deleteBackup.
deleteClusterOperationSettings()
public OperationCallSettings.Builder<DeleteClusterRequest,Empty,OperationMetadata> deleteClusterOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to deleteCluster.
deleteClusterSettings()
public UnaryCallSettings.Builder<DeleteClusterRequest,Operation> deleteClusterSettings()
Returns the builder for the settings used for calls to deleteCluster.
deleteInstanceOperationSettings()
public OperationCallSettings.Builder<DeleteInstanceRequest,Empty,OperationMetadata> deleteInstanceOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to deleteInstance.
deleteInstanceSettings()
public UnaryCallSettings.Builder<DeleteInstanceRequest,Operation> deleteInstanceSettings()
Returns the builder for the settings used for calls to deleteInstance.
deleteUserSettings()
public UnaryCallSettings.Builder<DeleteUserRequest,Empty> deleteUserSettings()
Returns the builder for the settings used for calls to deleteUser.
failoverInstanceOperationSettings()
public OperationCallSettings.Builder<FailoverInstanceRequest,Instance,OperationMetadata> failoverInstanceOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to failoverInstance.
failoverInstanceSettings()
public UnaryCallSettings.Builder<FailoverInstanceRequest,Operation> failoverInstanceSettings()
Returns the builder for the settings used for calls to failoverInstance.
generateClientCertificateSettings()
public UnaryCallSettings.Builder<GenerateClientCertificateRequest,GenerateClientCertificateResponse> generateClientCertificateSettings()
Returns the builder for the settings used for calls to generateClientCertificate.
getBackupSettings()
public UnaryCallSettings.Builder<GetBackupRequest,Backup> getBackupSettings()
Returns the builder for the settings used for calls to getBackup.
getClusterSettings()
public UnaryCallSettings.Builder<GetClusterRequest,Cluster> getClusterSettings()
Returns the builder for the settings used for calls to getCluster.
getConnectionInfoSettings()
public UnaryCallSettings.Builder<GetConnectionInfoRequest,ConnectionInfo> getConnectionInfoSettings()
Returns the builder for the settings used for calls to getConnectionInfo.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Returns
Type
Description
String
Overrides
getInstanceSettings()
public UnaryCallSettings.Builder<GetInstanceRequest,Instance> getInstanceSettings()
Returns the builder for the settings used for calls to getInstance.
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 >
getUserSettings()
public UnaryCallSettings.Builder<GetUserRequest,User> getUserSettings()
Returns the builder for the settings used for calls to getUser.
injectFaultOperationSettings()
public OperationCallSettings.Builder<InjectFaultRequest,Instance,OperationMetadata> injectFaultOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to injectFault.
injectFaultSettings()
public UnaryCallSettings.Builder<InjectFaultRequest,Operation> injectFaultSettings()
Returns the builder for the settings used for calls to injectFault.
listBackupsSettings()
public PagedCallSettings.Builder<ListBackupsRequest,ListBackupsResponse,AlloyDBAdminClient.ListBackupsPagedResponse> listBackupsSettings()
Returns the builder for the settings used for calls to listBackups.
public PagedCallSettings.Builder<ListClustersRequest,ListClustersResponse,AlloyDBAdminClient.ListClustersPagedResponse> listClustersSettings()
Returns the builder for the settings used for calls to listClusters.
listDatabasesSettings()
public PagedCallSettings.Builder<ListDatabasesRequest,ListDatabasesResponse,AlloyDBAdminClient.ListDatabasesPagedResponse> listDatabasesSettings()
Returns the builder for the settings used for calls to listDatabases.
listInstancesSettings()
public PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,AlloyDBAdminClient.ListInstancesPagedResponse> listInstancesSettings()
Returns the builder for the settings used for calls to listInstances.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,AlloyDBAdminClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
listSupportedDatabaseFlagsSettings()
public PagedCallSettings.Builder<ListSupportedDatabaseFlagsRequest,ListSupportedDatabaseFlagsResponse,AlloyDBAdminClient.ListSupportedDatabaseFlagsPagedResponse> listSupportedDatabaseFlagsSettings()
Returns the builder for the settings used for calls to listSupportedDatabaseFlags.
public PagedCallSettings.Builder<ListUsersRequest,ListUsersResponse,AlloyDBAdminClient.ListUsersPagedResponse> listUsersSettings()
Returns the builder for the settings used for calls to listUsers.
public OperationCallSettings.Builder<PromoteClusterRequest,Cluster,OperationMetadata> promoteClusterOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to promoteCluster.
public UnaryCallSettings.Builder<PromoteClusterRequest,Operation> promoteClusterSettings()
Returns the builder for the settings used for calls to promoteCluster.
restartInstanceOperationSettings()
public OperationCallSettings.Builder<RestartInstanceRequest,Instance,OperationMetadata> restartInstanceOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to restartInstance.
restartInstanceSettings()
public UnaryCallSettings.Builder<RestartInstanceRequest,Operation> restartInstanceSettings()
Returns the builder for the settings used for calls to restartInstance.
restoreClusterOperationSettings()
public OperationCallSettings.Builder<RestoreClusterRequest,Cluster,OperationMetadata> restoreClusterOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to restoreCluster.
restoreClusterSettings()
public UnaryCallSettings.Builder<RestoreClusterRequest,Operation> restoreClusterSettings()
Returns the builder for the settings used for calls to restoreCluster.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type
Description
com.google.common.collect.ImmutableList <Builder <? ,? >>
updateBackupOperationSettings()
public OperationCallSettings.Builder<UpdateBackupRequest,Backup,OperationMetadata> updateBackupOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to updateBackup.
updateBackupSettings()
public UnaryCallSettings.Builder<UpdateBackupRequest,Operation> updateBackupSettings()
Returns the builder for the settings used for calls to updateBackup.
updateClusterOperationSettings()
public OperationCallSettings.Builder<UpdateClusterRequest,Cluster,OperationMetadata> updateClusterOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to updateCluster.
updateClusterSettings()
public UnaryCallSettings.Builder<UpdateClusterRequest,Operation> updateClusterSettings()
Returns the builder for the settings used for calls to updateCluster.
updateInstanceOperationSettings()
public OperationCallSettings.Builder<UpdateInstanceRequest,Instance,OperationMetadata> updateInstanceOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to updateInstance.
updateInstanceSettings()
public UnaryCallSettings.Builder<UpdateInstanceRequest,Operation> updateInstanceSettings()
Returns the builder for the settings used for calls to updateInstance.
updateUserSettings()
public UnaryCallSettings.Builder<UpdateUserRequest,User> updateUserSettings()
Returns the builder for the settings used for calls to updateUser.