Class CloudFilestoreManagerSettings.Builder (1.23.0)

public static class CloudFilestoreManagerSettings.Builder extends ClientSettings.Builder<CloudFilestoreManagerSettings,CloudFilestoreManagerSettings.Builder>

Builder for CloudFilestoreManagerSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > CloudFilestoreManagerSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(CloudFilestoreManagerSettings settings)

protected Builder(CloudFilestoreManagerSettings settings)
Parameter
NameDescription
settingsCloudFilestoreManagerSettings

Builder(CloudFilestoreManagerStubSettings.Builder stubSettings)

protected Builder(CloudFilestoreManagerStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsCloudFilestoreManagerStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public CloudFilestoreManagerSettings.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.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
CloudFilestoreManagerSettings.Builder

build()

public CloudFilestoreManagerSettings build()
Returns
TypeDescription
CloudFilestoreManagerSettings
Overrides
Exceptions
TypeDescription
IOException

createBackupOperationSettings()

public OperationCallSettings.Builder<CreateBackupRequest,Backup,OperationMetadata> createBackupOperationSettings()

Returns the builder for the settings used for calls to createBackup.

Returns
TypeDescription
Builder<CreateBackupRequest,Backup,OperationMetadata>

createBackupSettings()

public UnaryCallSettings.Builder<CreateBackupRequest,Operation> createBackupSettings()

Returns the builder for the settings used for calls to createBackup.

Returns
TypeDescription
Builder<CreateBackupRequest,Operation>

createInstanceOperationSettings()

public OperationCallSettings.Builder<CreateInstanceRequest,Instance,OperationMetadata> createInstanceOperationSettings()

Returns the builder for the settings used for calls to createInstance.

Returns
TypeDescription
Builder<CreateInstanceRequest,Instance,OperationMetadata>

createInstanceSettings()

public UnaryCallSettings.Builder<CreateInstanceRequest,Operation> createInstanceSettings()

Returns the builder for the settings used for calls to createInstance.

Returns
TypeDescription
Builder<CreateInstanceRequest,Operation>

createSnapshotOperationSettings()

public OperationCallSettings.Builder<CreateSnapshotRequest,Snapshot,OperationMetadata> createSnapshotOperationSettings()

Returns the builder for the settings used for calls to createSnapshot.

Returns
TypeDescription
Builder<CreateSnapshotRequest,Snapshot,OperationMetadata>

createSnapshotSettings()

public UnaryCallSettings.Builder<CreateSnapshotRequest,Operation> createSnapshotSettings()

Returns the builder for the settings used for calls to createSnapshot.

Returns
TypeDescription
Builder<CreateSnapshotRequest,Operation>

deleteBackupOperationSettings()

public OperationCallSettings.Builder<DeleteBackupRequest,Empty,OperationMetadata> deleteBackupOperationSettings()

Returns the builder for the settings used for calls to deleteBackup.

Returns
TypeDescription
Builder<DeleteBackupRequest,Empty,OperationMetadata>

deleteBackupSettings()

public UnaryCallSettings.Builder<DeleteBackupRequest,Operation> deleteBackupSettings()

Returns the builder for the settings used for calls to deleteBackup.

Returns
TypeDescription
Builder<DeleteBackupRequest,Operation>

deleteInstanceOperationSettings()

public OperationCallSettings.Builder<DeleteInstanceRequest,Empty,OperationMetadata> deleteInstanceOperationSettings()

Returns the builder for the settings used for calls to deleteInstance.

Returns
TypeDescription
Builder<DeleteInstanceRequest,Empty,OperationMetadata>

deleteInstanceSettings()

public UnaryCallSettings.Builder<DeleteInstanceRequest,Operation> deleteInstanceSettings()

Returns the builder for the settings used for calls to deleteInstance.

Returns
TypeDescription
Builder<DeleteInstanceRequest,Operation>

deleteSnapshotOperationSettings()

public OperationCallSettings.Builder<DeleteSnapshotRequest,Empty,OperationMetadata> deleteSnapshotOperationSettings()

Returns the builder for the settings used for calls to deleteSnapshot.

Returns
TypeDescription
Builder<DeleteSnapshotRequest,Empty,OperationMetadata>

deleteSnapshotSettings()

public UnaryCallSettings.Builder<DeleteSnapshotRequest,Operation> deleteSnapshotSettings()

Returns the builder for the settings used for calls to deleteSnapshot.

Returns
TypeDescription
Builder<DeleteSnapshotRequest,Operation>

getBackupSettings()

public UnaryCallSettings.Builder<GetBackupRequest,Backup> getBackupSettings()

Returns the builder for the settings used for calls to getBackup.

Returns
TypeDescription
Builder<GetBackupRequest,Backup>

getInstanceSettings()

public UnaryCallSettings.Builder<GetInstanceRequest,Instance> getInstanceSettings()

Returns the builder for the settings used for calls to getInstance.

Returns
TypeDescription
Builder<GetInstanceRequest,Instance>

getSnapshotSettings()

public UnaryCallSettings.Builder<GetSnapshotRequest,Snapshot> getSnapshotSettings()

Returns the builder for the settings used for calls to getSnapshot.

Returns
TypeDescription
Builder<GetSnapshotRequest,Snapshot>

getStubSettingsBuilder()

public CloudFilestoreManagerStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
CloudFilestoreManagerStubSettings.Builder

listBackupsSettings()

public PagedCallSettings.Builder<ListBackupsRequest,ListBackupsResponse,CloudFilestoreManagerClient.ListBackupsPagedResponse> listBackupsSettings()

Returns the builder for the settings used for calls to listBackups.

Returns
TypeDescription
Builder<ListBackupsRequest,ListBackupsResponse,ListBackupsPagedResponse>

listInstancesSettings()

public PagedCallSettings.Builder<ListInstancesRequest,ListInstancesResponse,CloudFilestoreManagerClient.ListInstancesPagedResponse> listInstancesSettings()

Returns the builder for the settings used for calls to listInstances.

Returns
TypeDescription
Builder<ListInstancesRequest,ListInstancesResponse,ListInstancesPagedResponse>

listSnapshotsSettings()

public PagedCallSettings.Builder<ListSnapshotsRequest,ListSnapshotsResponse,CloudFilestoreManagerClient.ListSnapshotsPagedResponse> listSnapshotsSettings()

Returns the builder for the settings used for calls to listSnapshots.

Returns
TypeDescription
Builder<ListSnapshotsRequest,ListSnapshotsResponse,ListSnapshotsPagedResponse>

restoreInstanceOperationSettings()

public OperationCallSettings.Builder<RestoreInstanceRequest,Instance,OperationMetadata> restoreInstanceOperationSettings()

Returns the builder for the settings used for calls to restoreInstance.

Returns
TypeDescription
Builder<RestoreInstanceRequest,Instance,OperationMetadata>

restoreInstanceSettings()

public UnaryCallSettings.Builder<RestoreInstanceRequest,Operation> restoreInstanceSettings()

Returns the builder for the settings used for calls to restoreInstance.

Returns
TypeDescription
Builder<RestoreInstanceRequest,Operation>

updateBackupOperationSettings()

public OperationCallSettings.Builder<UpdateBackupRequest,Backup,OperationMetadata> updateBackupOperationSettings()

Returns the builder for the settings used for calls to updateBackup.

Returns
TypeDescription
Builder<UpdateBackupRequest,Backup,OperationMetadata>

updateBackupSettings()

public UnaryCallSettings.Builder<UpdateBackupRequest,Operation> updateBackupSettings()

Returns the builder for the settings used for calls to updateBackup.

Returns
TypeDescription
Builder<UpdateBackupRequest,Operation>

updateInstanceOperationSettings()

public OperationCallSettings.Builder<UpdateInstanceRequest,Instance,OperationMetadata> updateInstanceOperationSettings()

Returns the builder for the settings used for calls to updateInstance.

Returns
TypeDescription
Builder<UpdateInstanceRequest,Instance,OperationMetadata>

updateInstanceSettings()

public UnaryCallSettings.Builder<UpdateInstanceRequest,Operation> updateInstanceSettings()

Returns the builder for the settings used for calls to updateInstance.

Returns
TypeDescription
Builder<UpdateInstanceRequest,Operation>

updateSnapshotOperationSettings()

public OperationCallSettings.Builder<UpdateSnapshotRequest,Snapshot,OperationMetadata> updateSnapshotOperationSettings()

Returns the builder for the settings used for calls to updateSnapshot.

Returns
TypeDescription
Builder<UpdateSnapshotRequest,Snapshot,OperationMetadata>

updateSnapshotSettings()

public UnaryCallSettings.Builder<UpdateSnapshotRequest,Operation> updateSnapshotSettings()

Returns the builder for the settings used for calls to updateSnapshot.

Returns
TypeDescription
Builder<UpdateSnapshotRequest,Operation>