Package com.google.cloud.memcache.v1
Class CloudMemcacheSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<CloudMemcacheSettings,CloudMemcacheSettings.Builder>
com.google.cloud.memcache.v1.CloudMemcacheSettings.Builder
- Enclosing class:
- CloudMemcacheSettings
public static class CloudMemcacheSettings.Builder
extends ClientSettings.Builder<CloudMemcacheSettings,CloudMemcacheSettings.Builder>
Builder for CloudMemcacheSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(CloudMemcacheSettings settings) protectedBuilder(CloudMemcacheStubSettings.Builder stubSettings) -
Method Summary
Modifier and TypeMethodDescriptionReturns the builder for the settings used for calls to applyParameters.Returns the builder for the settings used for calls to applyParameters.applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createInstance.Returns the builder for the settings used for calls to createInstance.OperationCallSettings.Builder<DeleteInstanceRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteInstance.Returns the builder for the settings used for calls to deleteInstance.Returns the builder for the settings used for calls to getInstance.Returns the builder for the settings used for calls to getLocation.PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse, CloudMemcacheClient.ListInstancesPagedResponse> Returns the builder for the settings used for calls to listInstances.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, CloudMemcacheClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.Returns the builder for the settings used for calls to rescheduleMaintenance.Returns the builder for the settings used for calls to rescheduleMaintenance.Returns the builder for the settings used for calls to updateInstance.Returns the builder for the settings used for calls to updateInstance.Returns the builder for the settings used for calls to updateParameters.Returns the builder for the settings used for calls to updateParameters.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public CloudMemcacheSettings.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.
-
listInstancesSettings
public PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse, listInstancesSettings()CloudMemcacheClient.ListInstancesPagedResponse> Returns the builder for the settings used for calls to listInstances. -
getInstanceSettings
Returns the builder for the settings used for calls to getInstance. -
createInstanceSettings
Returns the builder for the settings used for calls to createInstance. -
createInstanceOperationSettings
public OperationCallSettings.Builder<CreateInstanceRequest,Instance, createInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createInstance. -
updateInstanceSettings
Returns the builder for the settings used for calls to updateInstance. -
updateInstanceOperationSettings
public OperationCallSettings.Builder<UpdateInstanceRequest,Instance, updateInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateInstance. -
updateParametersSettings
Returns the builder for the settings used for calls to updateParameters. -
updateParametersOperationSettings
public OperationCallSettings.Builder<UpdateParametersRequest,Instance, updateParametersOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateParameters. -
deleteInstanceSettings
Returns the builder for the settings used for calls to deleteInstance. -
deleteInstanceOperationSettings
public OperationCallSettings.Builder<DeleteInstanceRequest,com.google.protobuf.Empty, deleteInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteInstance. -
applyParametersSettings
Returns the builder for the settings used for calls to applyParameters. -
applyParametersOperationSettings
public OperationCallSettings.Builder<ApplyParametersRequest,Instance, applyParametersOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to applyParameters. -
rescheduleMaintenanceSettings
public UnaryCallSettings.Builder<RescheduleMaintenanceRequest,Operation> rescheduleMaintenanceSettings()Returns the builder for the settings used for calls to rescheduleMaintenance. -
rescheduleMaintenanceOperationSettings
public OperationCallSettings.Builder<RescheduleMaintenanceRequest,Instance, rescheduleMaintenanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to rescheduleMaintenance. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()CloudMemcacheClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
build
- Specified by:
buildin classClientSettings.Builder<CloudMemcacheSettings,CloudMemcacheSettings.Builder> - Throws:
IOException
-