public static class CloudRedisClusterStubSettings.Builder extends StubSettings.Builder<CloudRedisClusterStubSettings,CloudRedisClusterStubSettings.Builder>
Builder for CloudRedisClusterStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Builder(CloudRedisClusterStubSettings settings)
protected Builder(CloudRedisClusterStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | CloudRedisClusterStubSettings |
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.
Parameter | |
---|---|
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Returns | |
---|---|
Type | Description |
CloudRedisClusterStubSettings.Builder |
build()
public CloudRedisClusterStubSettings build()
Returns | |
---|---|
Type | Description |
CloudRedisClusterStubSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
createClusterOperationSettings()
public OperationCallSettings.Builder<CreateClusterRequest,Cluster,Any> createClusterOperationSettings()
Returns the builder for the settings used for calls to createCluster.
Returns | |
---|---|
Type | Description |
Builder<CreateClusterRequest,Cluster,Any> |
createClusterSettings()
public UnaryCallSettings.Builder<CreateClusterRequest,Operation> createClusterSettings()
Returns the builder for the settings used for calls to createCluster.
Returns | |
---|---|
Type | Description |
Builder<CreateClusterRequest,Operation> |
deleteClusterOperationSettings()
public OperationCallSettings.Builder<DeleteClusterRequest,Empty,Any> deleteClusterOperationSettings()
Returns the builder for the settings used for calls to deleteCluster.
Returns | |
---|---|
Type | Description |
Builder<DeleteClusterRequest,Empty,Any> |
deleteClusterSettings()
public UnaryCallSettings.Builder<DeleteClusterRequest,Operation> deleteClusterSettings()
Returns the builder for the settings used for calls to deleteCluster.
Returns | |
---|---|
Type | Description |
Builder<DeleteClusterRequest,Operation> |
getClusterSettings()
public UnaryCallSettings.Builder<GetClusterRequest,Cluster> getClusterSettings()
Returns the builder for the settings used for calls to getCluster.
Returns | |
---|---|
Type | Description |
Builder<GetClusterRequest,Cluster> |
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> |
listClustersSettings()
public PagedCallSettings.Builder<ListClustersRequest,ListClustersResponse,CloudRedisClusterClient.ListClustersPagedResponse> listClustersSettings()
Returns the builder for the settings used for calls to listClusters.
Returns | |
---|---|
Type | Description |
Builder<ListClustersRequest,ListClustersResponse,ListClustersPagedResponse> |
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,CloudRedisClusterClient.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> |
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.
Returns | |
---|---|
Type | Description |
Builder<UpdateClusterRequest,Cluster,Any> |
updateClusterSettings()
public UnaryCallSettings.Builder<UpdateClusterRequest,Operation> updateClusterSettings()
Returns the builder for the settings used for calls to updateCluster.
Returns | |
---|---|
Type | Description |
Builder<UpdateClusterRequest,Operation> |