Class CloudMemcacheStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<CloudMemcacheStubSettings,CloudMemcacheStubSettings.Builder>
com.google.cloud.memcache.v1beta2.stub.CloudMemcacheStubSettings.Builder
- Enclosing class:
- CloudMemcacheStubSettings
public static class CloudMemcacheStubSettings.Builder
extends StubSettings.Builder<CloudMemcacheStubSettings,CloudMemcacheStubSettings.Builder>
Builder for CloudMemcacheStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(CloudMemcacheStubSettings settings) -
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.Returns the builder for the settings used for calls to applySoftwareUpdate.Returns the builder for the settings used for calls to applySoftwareUpdate.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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> 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.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public CloudMemcacheStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
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. -
applySoftwareUpdateSettings
public UnaryCallSettings.Builder<ApplySoftwareUpdateRequest,Operation> applySoftwareUpdateSettings()Returns the builder for the settings used for calls to applySoftwareUpdate. -
applySoftwareUpdateOperationSettings
public OperationCallSettings.Builder<ApplySoftwareUpdateRequest,Instance, applySoftwareUpdateOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to applySoftwareUpdate. -
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 classStubSettings.Builder<CloudMemcacheStubSettings,CloudMemcacheStubSettings.Builder> - Throws:
IOException
-