public static class CloudRedisStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<CloudRedisStubSettings,CloudRedisStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(CloudRedisStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
CloudRedisStubSettings.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.
|
CloudRedisStubSettings |
build() |
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateInstanceRequest,Instance,OperationMetadata> |
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,OperationMetadata> |
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,OperationMetadata> |
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,OperationMetadata> |
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.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<ImportInstanceRequest,Instance,OperationMetadata> |
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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateInstanceRequest,Instance,OperationMetadata> |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(CloudRedisStubSettings settings)
public CloudRedisStubSettings.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateInstanceRequest,com.google.longrunning.Operation> updateInstanceSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateInstanceRequest,Instance,OperationMetadata> updateInstanceOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportInstanceRequest,com.google.longrunning.Operation> importInstanceSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<ImportInstanceRequest,Instance,OperationMetadata> importInstanceOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportInstanceRequest,com.google.longrunning.Operation> exportInstanceSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<ExportInstanceRequest,Instance,OperationMetadata> exportInstanceOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<FailoverInstanceRequest,com.google.longrunning.Operation> failoverInstanceSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<FailoverInstanceRequest,Instance,OperationMetadata> failoverInstanceOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteInstanceRequest,com.google.longrunning.Operation> deleteInstanceSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteInstanceRequest,Empty,OperationMetadata> deleteInstanceOperationSettings()
public CloudRedisStubSettings build() throws IOException
build
in class com.google.api.gax.rpc.StubSettings.Builder<CloudRedisStubSettings,CloudRedisStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.