public static class CloudRedisSettings.Builder extends ClientSettings.Builder<CloudRedisSettings,CloudRedisSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(CloudRedisSettings settings) |
protected |
Builder(CloudRedisStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
CloudRedisSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
CloudRedisSettings |
build() |
OperationCallSettings.Builder<com.google.cloud.redis.v1beta1.CreateInstanceRequest,com.google.cloud.redis.v1beta1.Instance,Any> |
createInstanceOperationSettings()
Returns the builder for the settings used for calls to createInstance.
|
UnaryCallSettings.Builder<com.google.cloud.redis.v1beta1.CreateInstanceRequest,Operation> |
createInstanceSettings()
Returns the builder for the settings used for calls to createInstance.
|
OperationCallSettings.Builder<com.google.cloud.redis.v1beta1.DeleteInstanceRequest,Empty,Any> |
deleteInstanceOperationSettings()
Returns the builder for the settings used for calls to deleteInstance.
|
UnaryCallSettings.Builder<com.google.cloud.redis.v1beta1.DeleteInstanceRequest,Operation> |
deleteInstanceSettings()
Returns the builder for the settings used for calls to deleteInstance.
|
OperationCallSettings.Builder<com.google.cloud.redis.v1beta1.FailoverInstanceRequest,com.google.cloud.redis.v1beta1.Instance,Any> |
failoverInstanceOperationSettings()
Returns the builder for the settings used for calls to failoverInstance.
|
UnaryCallSettings.Builder<com.google.cloud.redis.v1beta1.FailoverInstanceRequest,Operation> |
failoverInstanceSettings()
Returns the builder for the settings used for calls to failoverInstance.
|
UnaryCallSettings.Builder<com.google.cloud.redis.v1beta1.GetInstanceRequest,com.google.cloud.redis.v1beta1.Instance> |
getInstanceSettings()
Returns the builder for the settings used for calls to getInstance.
|
CloudRedisStubSettings.Builder |
getStubSettingsBuilder() |
PagedCallSettings.Builder<com.google.cloud.redis.v1beta1.ListInstancesRequest,com.google.cloud.redis.v1beta1.ListInstancesResponse,CloudRedisClient.ListInstancesPagedResponse> |
listInstancesSettings()
Returns the builder for the settings used for calls to listInstances.
|
OperationCallSettings.Builder<com.google.cloud.redis.v1beta1.UpdateInstanceRequest,com.google.cloud.redis.v1beta1.Instance,Any> |
updateInstanceOperationSettings()
Returns the builder for the settings used for calls to updateInstance.
|
UnaryCallSettings.Builder<com.google.cloud.redis.v1beta1.UpdateInstanceRequest,Operation> |
updateInstanceSettings()
Returns the builder for the settings used for calls to updateInstance.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(CloudRedisSettings settings)
protected Builder(CloudRedisStubSettings.Builder stubSettings)
public CloudRedisStubSettings.Builder getStubSettingsBuilder()
public CloudRedisSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public PagedCallSettings.Builder<com.google.cloud.redis.v1beta1.ListInstancesRequest,com.google.cloud.redis.v1beta1.ListInstancesResponse,CloudRedisClient.ListInstancesPagedResponse> listInstancesSettings()
public UnaryCallSettings.Builder<com.google.cloud.redis.v1beta1.GetInstanceRequest,com.google.cloud.redis.v1beta1.Instance> getInstanceSettings()
public UnaryCallSettings.Builder<com.google.cloud.redis.v1beta1.CreateInstanceRequest,Operation> createInstanceSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.redis.v1beta1.CreateInstanceRequest,com.google.cloud.redis.v1beta1.Instance,Any> createInstanceOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.redis.v1beta1.UpdateInstanceRequest,Operation> updateInstanceSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.redis.v1beta1.UpdateInstanceRequest,com.google.cloud.redis.v1beta1.Instance,Any> updateInstanceOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.redis.v1beta1.DeleteInstanceRequest,Operation> deleteInstanceSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.redis.v1beta1.DeleteInstanceRequest,Empty,Any> deleteInstanceOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.redis.v1beta1.FailoverInstanceRequest,Operation> failoverInstanceSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.redis.v1beta1.FailoverInstanceRequest,com.google.cloud.redis.v1beta1.Instance,Any> failoverInstanceOperationSettings()
public CloudRedisSettings build() throws IOException
build
in class ClientSettings.Builder<CloudRedisSettings,CloudRedisSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.