Class CloudRedisClusterSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<CloudRedisClusterSettings,CloudRedisClusterSettings.Builder>
com.google.cloud.redis.cluster.v1.CloudRedisClusterSettings.Builder
- Enclosing class:
- CloudRedisClusterSettings
public static class CloudRedisClusterSettings.Builder
extends ClientSettings.Builder<CloudRedisClusterSettings,CloudRedisClusterSettings.Builder>
Builder for CloudRedisClusterSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(CloudRedisClusterSettings settings) protectedBuilder(CloudRedisClusterStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.OperationCallSettings.Builder<BackupClusterRequest,Cluster, com.google.protobuf.Any> Returns the builder for the settings used for calls to backupCluster.Returns the builder for the settings used for calls to backupCluster.build()OperationCallSettings.Builder<CreateClusterRequest,Cluster, com.google.protobuf.Any> Returns the builder for the settings used for calls to createCluster.Returns the builder for the settings used for calls to createCluster.OperationCallSettings.Builder<DeleteBackupRequest,com.google.protobuf.Empty, com.google.protobuf.Any> Returns the builder for the settings used for calls to deleteBackup.Returns the builder for the settings used for calls to deleteBackup.OperationCallSettings.Builder<DeleteClusterRequest,com.google.protobuf.Empty, com.google.protobuf.Any> Returns the builder for the settings used for calls to deleteCluster.Returns the builder for the settings used for calls to deleteCluster.OperationCallSettings.Builder<ExportBackupRequest,Backup, com.google.protobuf.Any> Returns the builder for the settings used for calls to exportBackup.Returns the builder for the settings used for calls to exportBackup.Returns the builder for the settings used for calls to getBackupCollection.Returns the builder for the settings used for calls to getBackup.Returns the builder for the settings used for calls to getClusterCertificateAuthority.Returns the builder for the settings used for calls to getCluster.Returns the builder for the settings used for calls to getLocation.UnaryCallSettings.Builder<GetSharedRegionalCertificateAuthorityRequest,SharedRegionalCertificateAuthority> Returns the builder for the settings used for calls to getSharedRegionalCertificateAuthority.PagedCallSettings.Builder<ListBackupCollectionsRequest,ListBackupCollectionsResponse, CloudRedisClusterClient.ListBackupCollectionsPagedResponse> Returns the builder for the settings used for calls to listBackupCollections.PagedCallSettings.Builder<ListBackupsRequest,ListBackupsResponse, CloudRedisClusterClient.ListBackupsPagedResponse> Returns the builder for the settings used for calls to listBackups.PagedCallSettings.Builder<ListClustersRequest,ListClustersResponse, CloudRedisClusterClient.ListClustersPagedResponse> Returns the builder for the settings used for calls to listClusters.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, CloudRedisClusterClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.OperationCallSettings.Builder<RescheduleClusterMaintenanceRequest,Cluster, com.google.protobuf.Any> Returns the builder for the settings used for calls to rescheduleClusterMaintenance.Returns the builder for the settings used for calls to rescheduleClusterMaintenance.OperationCallSettings.Builder<UpdateClusterRequest,Cluster, com.google.protobuf.Any> Returns the builder for the settings used for calls to updateCluster.Returns the builder for the settings used for calls to updateCluster.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public CloudRedisClusterSettings.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.
-
listClustersSettings
public PagedCallSettings.Builder<ListClustersRequest,ListClustersResponse, listClustersSettings()CloudRedisClusterClient.ListClustersPagedResponse> Returns the builder for the settings used for calls to listClusters. -
getClusterSettings
Returns the builder for the settings used for calls to getCluster. -
updateClusterSettings
Returns the builder for the settings used for calls to updateCluster. -
updateClusterOperationSettings
public OperationCallSettings.Builder<UpdateClusterRequest,Cluster, updateClusterOperationSettings()com.google.protobuf.Any> Returns the builder for the settings used for calls to updateCluster. -
deleteClusterSettings
Returns the builder for the settings used for calls to deleteCluster. -
deleteClusterOperationSettings
public OperationCallSettings.Builder<DeleteClusterRequest,com.google.protobuf.Empty, deleteClusterOperationSettings()com.google.protobuf.Any> Returns the builder for the settings used for calls to deleteCluster. -
createClusterSettings
Returns the builder for the settings used for calls to createCluster. -
createClusterOperationSettings
public OperationCallSettings.Builder<CreateClusterRequest,Cluster, createClusterOperationSettings()com.google.protobuf.Any> Returns the builder for the settings used for calls to createCluster. -
getClusterCertificateAuthoritySettings
public UnaryCallSettings.Builder<GetClusterCertificateAuthorityRequest,CertificateAuthority> getClusterCertificateAuthoritySettings()Returns the builder for the settings used for calls to getClusterCertificateAuthority. -
rescheduleClusterMaintenanceSettings
public UnaryCallSettings.Builder<RescheduleClusterMaintenanceRequest,Operation> rescheduleClusterMaintenanceSettings()Returns the builder for the settings used for calls to rescheduleClusterMaintenance. -
rescheduleClusterMaintenanceOperationSettings
public OperationCallSettings.Builder<RescheduleClusterMaintenanceRequest,Cluster, rescheduleClusterMaintenanceOperationSettings()com.google.protobuf.Any> Returns the builder for the settings used for calls to rescheduleClusterMaintenance. -
listBackupCollectionsSettings
public PagedCallSettings.Builder<ListBackupCollectionsRequest,ListBackupCollectionsResponse, listBackupCollectionsSettings()CloudRedisClusterClient.ListBackupCollectionsPagedResponse> Returns the builder for the settings used for calls to listBackupCollections. -
getBackupCollectionSettings
public UnaryCallSettings.Builder<GetBackupCollectionRequest,BackupCollection> getBackupCollectionSettings()Returns the builder for the settings used for calls to getBackupCollection. -
listBackupsSettings
public PagedCallSettings.Builder<ListBackupsRequest,ListBackupsResponse, listBackupsSettings()CloudRedisClusterClient.ListBackupsPagedResponse> Returns the builder for the settings used for calls to listBackups. -
getBackupSettings
Returns the builder for the settings used for calls to getBackup. -
deleteBackupSettings
Returns the builder for the settings used for calls to deleteBackup. -
deleteBackupOperationSettings
public OperationCallSettings.Builder<DeleteBackupRequest,com.google.protobuf.Empty, deleteBackupOperationSettings()com.google.protobuf.Any> Returns the builder for the settings used for calls to deleteBackup. -
exportBackupSettings
Returns the builder for the settings used for calls to exportBackup. -
exportBackupOperationSettings
public OperationCallSettings.Builder<ExportBackupRequest,Backup, exportBackupOperationSettings()com.google.protobuf.Any> Returns the builder for the settings used for calls to exportBackup. -
backupClusterSettings
Returns the builder for the settings used for calls to backupCluster. -
backupClusterOperationSettings
public OperationCallSettings.Builder<BackupClusterRequest,Cluster, backupClusterOperationSettings()com.google.protobuf.Any> Returns the builder for the settings used for calls to backupCluster. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()CloudRedisClusterClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
build
- Specified by:
buildin classClientSettings.Builder<CloudRedisClusterSettings,CloudRedisClusterSettings.Builder> - Throws:
IOException
-