Class MemorystoreStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<MemorystoreStubSettings,MemorystoreStubSettings.Builder>
com.google.cloud.memorystore.v1.stub.MemorystoreStubSettings.Builder
- Enclosing class:
- MemorystoreStubSettings
public static class MemorystoreStubSettings.Builder
extends StubSettings.Builder<MemorystoreStubSettings,MemorystoreStubSettings.Builder>
Builder for MemorystoreStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(MemorystoreStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.Returns the builder for the settings used for calls to backupInstance.Returns the builder for the settings used for calls to backupInstance.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<DeleteBackupRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteBackup.Returns the builder for the settings used for calls to deleteBackup.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 exportBackup.Returns the builder for the settings used for calls to exportBackup.Returns the builder for the settings used for calls to getBackupCollection.Returns the builder for the settings used for calls to getBackup.Returns the builder for the settings used for calls to getCertificateAuthority.Returns the builder for the settings used for calls to getInstance.Returns the builder for the settings used for calls to getLocation.UnaryCallSettings.Builder<GetSharedRegionalCertificateAuthorityRequest,SharedRegionalCertificateAuthority> Returns the builder for the settings used for calls to getSharedRegionalCertificateAuthority.PagedCallSettings.Builder<ListBackupCollectionsRequest,ListBackupCollectionsResponse, MemorystoreClient.ListBackupCollectionsPagedResponse> Returns the builder for the settings used for calls to listBackupCollections.PagedCallSettings.Builder<ListBackupsRequest,ListBackupsResponse, MemorystoreClient.ListBackupsPagedResponse> Returns the builder for the settings used for calls to listBackups.PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse, MemorystoreClient.ListInstancesPagedResponse> Returns the builder for the settings used for calls to listInstances.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, MemorystoreClient.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.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 MemorystoreStubSettings.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()MemorystoreClient.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. -
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. -
getCertificateAuthoritySettings
public UnaryCallSettings.Builder<GetCertificateAuthorityRequest,CertificateAuthority> getCertificateAuthoritySettings()Returns the builder for the settings used for calls to getCertificateAuthority. -
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. -
listBackupCollectionsSettings
public PagedCallSettings.Builder<ListBackupCollectionsRequest,ListBackupCollectionsResponse, listBackupCollectionsSettings()MemorystoreClient.ListBackupCollectionsPagedResponse> Returns the builder for the settings used for calls to listBackupCollections. -
getBackupCollectionSettings
public UnaryCallSettings.Builder<GetBackupCollectionRequest,BackupCollection> getBackupCollectionSettings()Returns the builder for the settings used for calls to getBackupCollection. -
listBackupsSettings
public PagedCallSettings.Builder<ListBackupsRequest,ListBackupsResponse, listBackupsSettings()MemorystoreClient.ListBackupsPagedResponse> Returns the builder for the settings used for calls to listBackups. -
getBackupSettings
Returns the builder for the settings used for calls to getBackup. -
deleteBackupSettings
Returns the builder for the settings used for calls to deleteBackup. -
deleteBackupOperationSettings
public OperationCallSettings.Builder<DeleteBackupRequest,com.google.protobuf.Empty, deleteBackupOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteBackup. -
exportBackupSettings
Returns the builder for the settings used for calls to exportBackup. -
exportBackupOperationSettings
public OperationCallSettings.Builder<ExportBackupRequest,Backup, exportBackupOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to exportBackup. -
backupInstanceSettings
Returns the builder for the settings used for calls to backupInstance. -
backupInstanceOperationSettings
public OperationCallSettings.Builder<BackupInstanceRequest,Instance, backupInstanceOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to backupInstance. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()MemorystoreClient.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<MemorystoreStubSettings,MemorystoreStubSettings.Builder> - Throws:
IOException
-