public static class CloudRedisStubSettings.Builder extends StubSettings.Builder<CloudRedisStubSettings,CloudRedisStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(CloudRedisStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
CloudRedisStubSettings.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.
|
CloudRedisStubSettings |
build() |
OperationCallSettings.Builder<com.google.cloud.redis.v1.CreateInstanceRequest,com.google.cloud.redis.v1.Instance,com.google.cloud.redis.v1.OperationMetadata> |
createInstanceOperationSettings()
Returns the builder for the settings used for calls to createInstance.
|
UnaryCallSettings.Builder<com.google.cloud.redis.v1.CreateInstanceRequest,Operation> |
createInstanceSettings()
Returns the builder for the settings used for calls to createInstance.
|
OperationCallSettings.Builder<com.google.cloud.redis.v1.DeleteInstanceRequest,Empty,com.google.cloud.redis.v1.OperationMetadata> |
deleteInstanceOperationSettings()
Returns the builder for the settings used for calls to deleteInstance.
|
UnaryCallSettings.Builder<com.google.cloud.redis.v1.DeleteInstanceRequest,Operation> |
deleteInstanceSettings()
Returns the builder for the settings used for calls to deleteInstance.
|
OperationCallSettings.Builder<com.google.cloud.redis.v1.FailoverInstanceRequest,com.google.cloud.redis.v1.Instance,com.google.cloud.redis.v1.OperationMetadata> |
failoverInstanceOperationSettings()
Returns the builder for the settings used for calls to failoverInstance.
|
UnaryCallSettings.Builder<com.google.cloud.redis.v1.FailoverInstanceRequest,Operation> |
failoverInstanceSettings()
Returns the builder for the settings used for calls to failoverInstance.
|
UnaryCallSettings.Builder<com.google.cloud.redis.v1.GetInstanceRequest,com.google.cloud.redis.v1.Instance> |
getInstanceSettings()
Returns the builder for the settings used for calls to getInstance.
|
PagedCallSettings.Builder<com.google.cloud.redis.v1.ListInstancesRequest,com.google.cloud.redis.v1.ListInstancesResponse,CloudRedisClient.ListInstancesPagedResponse> |
listInstancesSettings()
Returns the builder for the settings used for calls to listInstances.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
OperationCallSettings.Builder<com.google.cloud.redis.v1.UpdateInstanceRequest,com.google.cloud.redis.v1.Instance,com.google.cloud.redis.v1.OperationMetadata> |
updateInstanceOperationSettings()
Returns the builder for the settings used for calls to updateInstance.
|
UnaryCallSettings.Builder<com.google.cloud.redis.v1.UpdateInstanceRequest,Operation> |
updateInstanceSettings()
Returns the builder for the settings used for calls to updateInstance.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(CloudRedisStubSettings settings)
public CloudRedisStubSettings.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 com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public PagedCallSettings.Builder<com.google.cloud.redis.v1.ListInstancesRequest,com.google.cloud.redis.v1.ListInstancesResponse,CloudRedisClient.ListInstancesPagedResponse> listInstancesSettings()
public UnaryCallSettings.Builder<com.google.cloud.redis.v1.GetInstanceRequest,com.google.cloud.redis.v1.Instance> getInstanceSettings()
public UnaryCallSettings.Builder<com.google.cloud.redis.v1.CreateInstanceRequest,Operation> createInstanceSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.redis.v1.CreateInstanceRequest,com.google.cloud.redis.v1.Instance,com.google.cloud.redis.v1.OperationMetadata> createInstanceOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.redis.v1.UpdateInstanceRequest,Operation> updateInstanceSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.redis.v1.UpdateInstanceRequest,com.google.cloud.redis.v1.Instance,com.google.cloud.redis.v1.OperationMetadata> updateInstanceOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.redis.v1.DeleteInstanceRequest,Operation> deleteInstanceSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.redis.v1.DeleteInstanceRequest,Empty,com.google.cloud.redis.v1.OperationMetadata> deleteInstanceOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.redis.v1.FailoverInstanceRequest,Operation> failoverInstanceSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.cloud.redis.v1.FailoverInstanceRequest,com.google.cloud.redis.v1.Instance,com.google.cloud.redis.v1.OperationMetadata> failoverInstanceOperationSettings()
public CloudRedisStubSettings build() throws IOException
build
in class StubSettings.Builder<CloudRedisStubSettings,CloudRedisStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.