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 com.google.api.gax.rpc.StubSettings.Builder<CloudMemcacheStubSettings,CloudMemcacheStubSettings.Builder>
Builder for CloudMemcacheStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(CloudMemcacheStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.api.gax.rpc.OperationCallSettings.Builder<ApplyParametersRequest,Instance,OperationMetadata>
applyParametersOperationSettings()
Returns the builder for the settings used for calls to applyParameters.com.google.api.gax.rpc.UnaryCallSettings.Builder<ApplyParametersRequest,com.google.longrunning.Operation>
applyParametersSettings()
Returns the builder for the settings used for calls to applyParameters.com.google.api.gax.rpc.OperationCallSettings.Builder<ApplySoftwareUpdateRequest,Instance,OperationMetadata>
applySoftwareUpdateOperationSettings()
Returns the builder for the settings used for calls to applySoftwareUpdate.com.google.api.gax.rpc.UnaryCallSettings.Builder<ApplySoftwareUpdateRequest,com.google.longrunning.Operation>
applySoftwareUpdateSettings()
Returns the builder for the settings used for calls to applySoftwareUpdate.CloudMemcacheStubSettings.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.CloudMemcacheStubSettings
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,com.google.protobuf.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.UnaryCallSettings.Builder<GetInstanceRequest,Instance>
getInstanceSettings()
Returns the builder for the settings used for calls to getInstance.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.com.google.api.gax.rpc.PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,CloudMemcacheClient.ListInstancesPagedResponse>
listInstancesSettings()
Returns the builder for the settings used for calls to listInstances.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,CloudMemcacheClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.com.google.api.gax.rpc.OperationCallSettings.Builder<RescheduleMaintenanceRequest,Instance,OperationMetadata>
rescheduleMaintenanceOperationSettings()
Returns the builder for the settings used for calls to rescheduleMaintenance.com.google.api.gax.rpc.UnaryCallSettings.Builder<RescheduleMaintenanceRequest,com.google.longrunning.Operation>
rescheduleMaintenanceSettings()
Returns the builder for the settings used for calls to rescheduleMaintenance.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.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateParametersRequest,Instance,OperationMetadata>
updateParametersOperationSettings()
Returns the builder for the settings used for calls to updateParameters.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateParametersRequest,com.google.longrunning.Operation>
updateParametersSettings()
Returns the builder for the settings used for calls to updateParameters.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(CloudMemcacheStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public CloudMemcacheStubSettings.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.Note: This method does not support applying settings to streaming methods.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
listInstancesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,CloudMemcacheClient.ListInstancesPagedResponse> listInstancesSettings()
Returns the builder for the settings used for calls to listInstances.
-
getInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInstanceRequest,Instance> getInstanceSettings()
Returns the builder for the settings used for calls to getInstance.
-
createInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateInstanceRequest,com.google.longrunning.Operation> createInstanceSettings()
Returns the builder for the settings used for calls to createInstance.
-
createInstanceOperationSettings
@BetaApi("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()
Returns the builder for the settings used for calls to createInstance.
-
updateInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateInstanceRequest,com.google.longrunning.Operation> updateInstanceSettings()
Returns the builder for the settings used for calls to updateInstance.
-
updateInstanceOperationSettings
@BetaApi("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()
Returns the builder for the settings used for calls to updateInstance.
-
updateParametersSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateParametersRequest,com.google.longrunning.Operation> updateParametersSettings()
Returns the builder for the settings used for calls to updateParameters.
-
updateParametersOperationSettings
@BetaApi("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<UpdateParametersRequest,Instance,OperationMetadata> updateParametersOperationSettings()
Returns the builder for the settings used for calls to updateParameters.
-
deleteInstanceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteInstanceRequest,com.google.longrunning.Operation> deleteInstanceSettings()
Returns the builder for the settings used for calls to deleteInstance.
-
deleteInstanceOperationSettings
@BetaApi("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,com.google.protobuf.Empty,OperationMetadata> deleteInstanceOperationSettings()
Returns the builder for the settings used for calls to deleteInstance.
-
applyParametersSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ApplyParametersRequest,com.google.longrunning.Operation> applyParametersSettings()
Returns the builder for the settings used for calls to applyParameters.
-
applyParametersOperationSettings
@BetaApi("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<ApplyParametersRequest,Instance,OperationMetadata> applyParametersOperationSettings()
Returns the builder for the settings used for calls to applyParameters.
-
applySoftwareUpdateSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ApplySoftwareUpdateRequest,com.google.longrunning.Operation> applySoftwareUpdateSettings()
Returns the builder for the settings used for calls to applySoftwareUpdate.
-
applySoftwareUpdateOperationSettings
@BetaApi("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<ApplySoftwareUpdateRequest,Instance,OperationMetadata> applySoftwareUpdateOperationSettings()
Returns the builder for the settings used for calls to applySoftwareUpdate.
-
rescheduleMaintenanceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<RescheduleMaintenanceRequest,com.google.longrunning.Operation> rescheduleMaintenanceSettings()
Returns the builder for the settings used for calls to rescheduleMaintenance.
-
rescheduleMaintenanceOperationSettings
@BetaApi("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<RescheduleMaintenanceRequest,Instance,OperationMetadata> rescheduleMaintenanceOperationSettings()
Returns the builder for the settings used for calls to rescheduleMaintenance.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,CloudMemcacheClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
build
public CloudMemcacheStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<CloudMemcacheStubSettings,CloudMemcacheStubSettings.Builder>
- Throws:
IOException
-
-