public static class CloudRedisSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<CloudRedisSettings,CloudRedisSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.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<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
CloudRedisSettings |
build() |
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateInstanceRequest,Instance,Any> |
createInstanceOperationSettings()
Returns the builder for the settings used for calls to createInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateInstanceRequest,com.google.longrunning.Operation> |
createInstanceSettings()
Returns the builder for the settings used for calls to createInstance.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteInstanceRequest,Empty,Any> |
deleteInstanceOperationSettings()
Returns the builder for the settings used for calls to deleteInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteInstanceRequest,com.google.longrunning.Operation> |
deleteInstanceSettings()
Returns the builder for the settings used for calls to deleteInstance.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<ExportInstanceRequest,Instance,Any> |
exportInstanceOperationSettings()
Returns the builder for the settings used for calls to exportInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportInstanceRequest,com.google.longrunning.Operation> |
exportInstanceSettings()
Returns the builder for the settings used for calls to exportInstance.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<FailoverInstanceRequest,Instance,Any> |
failoverInstanceOperationSettings()
Returns the builder for the settings used for calls to failoverInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<FailoverInstanceRequest,com.google.longrunning.Operation> |
failoverInstanceSettings()
Returns the builder for the settings used for calls to failoverInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInstanceRequest,Instance> |
getInstanceSettings()
Returns the builder for the settings used for calls to getInstance.
|
CloudRedisStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.OperationCallSettings.Builder<ImportInstanceRequest,Instance,Any> |
importInstanceOperationSettings()
Returns the builder for the settings used for calls to importInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportInstanceRequest,com.google.longrunning.Operation> |
importInstanceSettings()
Returns the builder for the settings used for calls to importInstance.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,CloudRedisClient.ListInstancesPagedResponse> |
listInstancesSettings()
Returns the builder for the settings used for calls to listInstances.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateInstanceRequest,Instance,Any> |
updateInstanceOperationSettings()
Returns the builder for the settings used for calls to updateInstance.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateInstanceRequest,com.google.longrunning.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(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(CloudRedisSettings settings)
protected Builder(CloudRedisStubSettings.Builder stubSettings)
public CloudRedisStubSettings.Builder getStubSettingsBuilder()
public CloudRedisSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,CloudRedisClient.ListInstancesPagedResponse> listInstancesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInstanceRequest,Instance> getInstanceSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateInstanceRequest,com.google.longrunning.Operation> createInstanceSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateInstanceRequest,Instance,Any> createInstanceOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateInstanceRequest,com.google.longrunning.Operation> updateInstanceSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateInstanceRequest,Instance,Any> updateInstanceOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportInstanceRequest,com.google.longrunning.Operation> importInstanceSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<ImportInstanceRequest,Instance,Any> importInstanceOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportInstanceRequest,com.google.longrunning.Operation> exportInstanceSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<ExportInstanceRequest,Instance,Any> exportInstanceOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<FailoverInstanceRequest,com.google.longrunning.Operation> failoverInstanceSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<FailoverInstanceRequest,Instance,Any> failoverInstanceOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteInstanceRequest,com.google.longrunning.Operation> deleteInstanceSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteInstanceRequest,Empty,Any> deleteInstanceOperationSettings()
public CloudRedisSettings build() throws IOException
build
in class com.google.api.gax.rpc.ClientSettings.Builder<CloudRedisSettings,CloudRedisSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.