public static class SqlInstancesServiceSettings.Builder extends ClientSettings.Builder<SqlInstancesServiceSettings,SqlInstancesServiceSettings.Builder>
Builder for SqlInstancesServiceSettings.
Inherited Members
com.google.api.gax.rpc.ClientSettings.Builder.setGdchApiAudience(java.lang.String)
com.google.api.gax.rpc.ClientSettings.Builder.setWatchdogCheckInterval(org.threeten.bp.Duration)
com.google.api.gax.rpc.ClientSettings.Builder.setWatchdogCheckIntervalDuration(java.time.Duration)
com.google.api.gax.rpc.ClientSettings.Builder.setWatchdogProvider(com.google.api.gax.rpc.WatchdogProvider)
Constructors
Builder()
Builder(@Nullable ClientContext clientContext)
protected Builder(@Nullable ClientContext clientContext)
| Parameter |
| Name |
Description |
clientContext |
@org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext
|
Builder(SqlInstancesServiceSettings settings)
protected Builder(SqlInstancesServiceSettings settings)
Builder(SqlInstancesServiceStubSettings.Builder stubSettings)
protected Builder(SqlInstancesServiceStubSettings.Builder stubSettings)
Methods
acquireSsrsLeaseSettings()
public UnaryCallSettings.Builder<SqlInstancesAcquireSsrsLeaseRequest,SqlInstancesAcquireSsrsLeaseResponse> acquireSsrsLeaseSettings()
Returns the builder for the settings used for calls to acquireSsrsLease.
addEntraIdCertificateSettings()
public UnaryCallSettings.Builder<SqlInstancesAddEntraIdCertificateRequest,Operation> addEntraIdCertificateSettings()
Returns the builder for the settings used for calls to addEntraIdCertificate.
addServerCaSettings()
public UnaryCallSettings.Builder<SqlInstancesAddServerCaRequest,Operation> addServerCaSettings()
Returns the builder for the settings used for calls to addServerCa.
addServerCertificateSettings()
public UnaryCallSettings.Builder<SqlInstancesAddServerCertificateRequest,Operation> addServerCertificateSettings()
Returns the builder for the settings used for calls to addServerCertificate.
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public SqlInstancesServiceSettings.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.
build()
public SqlInstancesServiceSettings build()
Overrides
cloneSettings()
public UnaryCallSettings.Builder<SqlInstancesCloneRequest,Operation> cloneSettings()
Returns the builder for the settings used for calls to clone.
createEphemeralSettings()
public UnaryCallSettings.Builder<SqlInstancesCreateEphemeralCertRequest,SslCert> createEphemeralSettings()
Returns the builder for the settings used for calls to createEphemeral.
deleteSettings()
public UnaryCallSettings.Builder<SqlInstancesDeleteRequest,Operation> deleteSettings()
Returns the builder for the settings used for calls to delete.
demoteMasterSettings()
public UnaryCallSettings.Builder<SqlInstancesDemoteMasterRequest,Operation> demoteMasterSettings()
Returns the builder for the settings used for calls to demoteMaster.
demoteSettings()
public UnaryCallSettings.Builder<SqlInstancesDemoteRequest,Operation> demoteSettings()
Returns the builder for the settings used for calls to demote.
executeSqlSettings()
public UnaryCallSettings.Builder<SqlInstancesExecuteSqlRequest,SqlInstancesExecuteSqlResponse> executeSqlSettings()
Returns the builder for the settings used for calls to executeSql.
exportSettings()
public UnaryCallSettings.Builder<SqlInstancesExportRequest,Operation> exportSettings()
Returns the builder for the settings used for calls to export.
failoverSettings()
public UnaryCallSettings.Builder<SqlInstancesFailoverRequest,Operation> failoverSettings()
Returns the builder for the settings used for calls to failover.
getDiskShrinkConfigSettings()
public UnaryCallSettings.Builder<SqlInstancesGetDiskShrinkConfigRequest,SqlInstancesGetDiskShrinkConfigResponse> getDiskShrinkConfigSettings()
Returns the builder for the settings used for calls to getDiskShrinkConfig.
getLatestRecoveryTimeSettings()
public UnaryCallSettings.Builder<SqlInstancesGetLatestRecoveryTimeRequest,SqlInstancesGetLatestRecoveryTimeResponse> getLatestRecoveryTimeSettings()
Returns the builder for the settings used for calls to getLatestRecoveryTime.
getSettings()
public UnaryCallSettings.Builder<SqlInstancesGetRequest,DatabaseInstance> getSettings()
Returns the builder for the settings used for calls to get.
getStubSettingsBuilder()
public SqlInstancesServiceStubSettings.Builder getStubSettingsBuilder()
import_Settings()
public UnaryCallSettings.Builder<SqlInstancesImportRequest,Operation> import_Settings()
Returns the builder for the settings used for calls to import_.
insertSettings()
public UnaryCallSettings.Builder<SqlInstancesInsertRequest,Operation> insertSettings()
Returns the builder for the settings used for calls to insert.
listEntraIdCertificatesSettings()
public UnaryCallSettings.Builder<SqlInstancesListEntraIdCertificatesRequest,InstancesListEntraIdCertificatesResponse> listEntraIdCertificatesSettings()
Returns the builder for the settings used for calls to listEntraIdCertificates.
listServerCasSettings()
public UnaryCallSettings.Builder<SqlInstancesListServerCasRequest,InstancesListServerCasResponse> listServerCasSettings()
Returns the builder for the settings used for calls to listServerCas.
listServerCertificatesSettings()
public UnaryCallSettings.Builder<SqlInstancesListServerCertificatesRequest,InstancesListServerCertificatesResponse> listServerCertificatesSettings()
Returns the builder for the settings used for calls to listServerCertificates.
listSettings()
public UnaryCallSettings.Builder<SqlInstancesListRequest,InstancesListResponse> listSettings()
Returns the builder for the settings used for calls to list.
patchSettings()
public UnaryCallSettings.Builder<SqlInstancesPatchRequest,Operation> patchSettings()
Returns the builder for the settings used for calls to patch.
public UnaryCallSettings.Builder<SqlInstancesPerformDiskShrinkRequest,Operation> performDiskShrinkSettings()
Returns the builder for the settings used for calls to performDiskShrink.
pointInTimeRestoreSettings()
public UnaryCallSettings.Builder<SqlInstancesPointInTimeRestoreRequest,Operation> pointInTimeRestoreSettings()
Returns the builder for the settings used for calls to pointInTimeRestore.
preCheckMajorVersionUpgradeSettings()
public UnaryCallSettings.Builder<SqlInstancesPreCheckMajorVersionUpgradeRequest,Operation> preCheckMajorVersionUpgradeSettings()
Returns the builder for the settings used for calls to preCheckMajorVersionUpgrade.
public UnaryCallSettings.Builder<SqlInstancesPromoteReplicaRequest,Operation> promoteReplicaSettings()
Returns the builder for the settings used for calls to promoteReplica.
reencryptSettings()
public UnaryCallSettings.Builder<SqlInstancesReencryptRequest,Operation> reencryptSettings()
Returns the builder for the settings used for calls to reencrypt.
releaseSsrsLeaseSettings()
public UnaryCallSettings.Builder<SqlInstancesReleaseSsrsLeaseRequest,SqlInstancesReleaseSsrsLeaseResponse> releaseSsrsLeaseSettings()
Returns the builder for the settings used for calls to releaseSsrsLease.
rescheduleMaintenanceSettings()
public UnaryCallSettings.Builder<SqlInstancesRescheduleMaintenanceRequest,Operation> rescheduleMaintenanceSettings()
Returns the builder for the settings used for calls to rescheduleMaintenance.
resetReplicaSizeSettings()
public UnaryCallSettings.Builder<SqlInstancesResetReplicaSizeRequest,Operation> resetReplicaSizeSettings()
Returns the builder for the settings used for calls to resetReplicaSize.
resetSslConfigSettings()
public UnaryCallSettings.Builder<SqlInstancesResetSslConfigRequest,Operation> resetSslConfigSettings()
Returns the builder for the settings used for calls to resetSslConfig.
restartSettings()
public UnaryCallSettings.Builder<SqlInstancesRestartRequest,Operation> restartSettings()
Returns the builder for the settings used for calls to restart.
restoreBackupSettings()
public UnaryCallSettings.Builder<SqlInstancesRestoreBackupRequest,Operation> restoreBackupSettings()
Returns the builder for the settings used for calls to restoreBackup.
rotateEntraIdCertificateSettings()
public UnaryCallSettings.Builder<SqlInstancesRotateEntraIdCertificateRequest,Operation> rotateEntraIdCertificateSettings()
Returns the builder for the settings used for calls to rotateEntraIdCertificate.
rotateServerCaSettings()
public UnaryCallSettings.Builder<SqlInstancesRotateServerCaRequest,Operation> rotateServerCaSettings()
Returns the builder for the settings used for calls to rotateServerCa.
rotateServerCertificateSettings()
public UnaryCallSettings.Builder<SqlInstancesRotateServerCertificateRequest,Operation> rotateServerCertificateSettings()
Returns the builder for the settings used for calls to rotateServerCertificate.
startExternalSyncSettings()
public UnaryCallSettings.Builder<SqlInstancesStartExternalSyncRequest,Operation> startExternalSyncSettings()
Returns the builder for the settings used for calls to startExternalSync.
startReplicaSettings()
public UnaryCallSettings.Builder<SqlInstancesStartReplicaRequest,Operation> startReplicaSettings()
Returns the builder for the settings used for calls to startReplica.
stopReplicaSettings()
public UnaryCallSettings.Builder<SqlInstancesStopReplicaRequest,Operation> stopReplicaSettings()
Returns the builder for the settings used for calls to stopReplica.
switchoverSettings()
public UnaryCallSettings.Builder<SqlInstancesSwitchoverRequest,Operation> switchoverSettings()
Returns the builder for the settings used for calls to switchover.
truncateLogSettings()
public UnaryCallSettings.Builder<SqlInstancesTruncateLogRequest,Operation> truncateLogSettings()
Returns the builder for the settings used for calls to truncateLog.
updateSettings()
public UnaryCallSettings.Builder<SqlInstancesUpdateRequest,Operation> updateSettings()
Returns the builder for the settings used for calls to update.
verifyExternalSyncSettingsSettings()
public UnaryCallSettings.Builder<SqlInstancesVerifyExternalSyncSettingsRequest,SqlInstancesVerifyExternalSyncSettingsResponse> verifyExternalSyncSettingsSettings()
Returns the builder for the settings used for calls to verifyExternalSyncSettings.