public static class CloudRedisClusterStubSettings.Builder extends StubSettings.Builder<CloudRedisClusterStubSettings,CloudRedisClusterStubSettings.Builder>
Builder for CloudRedisClusterStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(CloudRedisClusterStubSettings settings)
protected Builder(CloudRedisClusterStubSettings settings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public CloudRedisClusterStubSettings.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 CloudRedisClusterStubSettings build()
Overrides
createClusterOperationSettings()
public OperationCallSettings.Builder<CreateClusterRequest,Cluster,Any> createClusterOperationSettings()
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.
deleteClusterOperationSettings()
public OperationCallSettings.Builder<DeleteClusterRequest,Empty,Any> deleteClusterOperationSettings()
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.
getClusterCertificateAuthoritySettings()
public UnaryCallSettings.Builder<GetClusterCertificateAuthorityRequest,CertificateAuthority> getClusterCertificateAuthoritySettings()
Returns the builder for the settings used for calls to getClusterCertificateAuthority.
getClusterSettings()
public UnaryCallSettings.Builder<GetClusterRequest,Cluster> getClusterSettings()
Returns the builder for the settings used for calls to getCluster.
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> |
|
public PagedCallSettings.Builder<ListClustersRequest,ListClustersResponse,CloudRedisClusterClient.ListClustersPagedResponse> listClustersSettings()
Returns the builder for the settings used for calls to listClusters.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,CloudRedisClusterClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
Type |
Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
|
updateClusterOperationSettings()
public OperationCallSettings.Builder<UpdateClusterRequest,Cluster,Any> updateClusterOperationSettings()
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.