Class NetAppSettings.Builder (0.1.0)

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

Builder for NetAppSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > NetAppSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(NetAppSettings settings)

protected Builder(NetAppSettings settings)
Parameter
NameDescription
settingsNetAppSettings

Builder(NetAppStubSettings.Builder stubSettings)

protected Builder(NetAppStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsNetAppStubSettings.Builder

Methods

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

public NetAppSettings.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
NetAppSettings.Builder

build()

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

createActiveDirectoryOperationSettings()

public OperationCallSettings.Builder<CreateActiveDirectoryRequest,ActiveDirectory,OperationMetadata> createActiveDirectoryOperationSettings()

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

Returns
TypeDescription
Builder<CreateActiveDirectoryRequest,ActiveDirectory,OperationMetadata>

createActiveDirectorySettings()

public UnaryCallSettings.Builder<CreateActiveDirectoryRequest,Operation> createActiveDirectorySettings()

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

Returns
TypeDescription
Builder<CreateActiveDirectoryRequest,Operation>

createKmsConfigOperationSettings()

public OperationCallSettings.Builder<CreateKmsConfigRequest,KmsConfig,OperationMetadata> createKmsConfigOperationSettings()

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

Returns
TypeDescription
Builder<CreateKmsConfigRequest,KmsConfig,OperationMetadata>

createKmsConfigSettings()

public UnaryCallSettings.Builder<CreateKmsConfigRequest,Operation> createKmsConfigSettings()

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

Returns
TypeDescription
Builder<CreateKmsConfigRequest,Operation>

createReplicationOperationSettings()

public OperationCallSettings.Builder<CreateReplicationRequest,Replication,OperationMetadata> createReplicationOperationSettings()

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

Returns
TypeDescription
Builder<CreateReplicationRequest,Replication,OperationMetadata>

createReplicationSettings()

public UnaryCallSettings.Builder<CreateReplicationRequest,Operation> createReplicationSettings()

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

Returns
TypeDescription
Builder<CreateReplicationRequest,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>

createStoragePoolOperationSettings()

public OperationCallSettings.Builder<CreateStoragePoolRequest,StoragePool,OperationMetadata> createStoragePoolOperationSettings()

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

Returns
TypeDescription
Builder<CreateStoragePoolRequest,StoragePool,OperationMetadata>

createStoragePoolSettings()

public UnaryCallSettings.Builder<CreateStoragePoolRequest,Operation> createStoragePoolSettings()

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

Returns
TypeDescription
Builder<CreateStoragePoolRequest,Operation>

createVolumeOperationSettings()

public OperationCallSettings.Builder<CreateVolumeRequest,Volume,OperationMetadata> createVolumeOperationSettings()

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

Returns
TypeDescription
Builder<CreateVolumeRequest,Volume,OperationMetadata>

createVolumeSettings()

public UnaryCallSettings.Builder<CreateVolumeRequest,Operation> createVolumeSettings()

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

Returns
TypeDescription
Builder<CreateVolumeRequest,Operation>

deleteActiveDirectoryOperationSettings()

public OperationCallSettings.Builder<DeleteActiveDirectoryRequest,Empty,OperationMetadata> deleteActiveDirectoryOperationSettings()

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

Returns
TypeDescription
Builder<DeleteActiveDirectoryRequest,Empty,OperationMetadata>

deleteActiveDirectorySettings()

public UnaryCallSettings.Builder<DeleteActiveDirectoryRequest,Operation> deleteActiveDirectorySettings()

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

Returns
TypeDescription
Builder<DeleteActiveDirectoryRequest,Operation>

deleteKmsConfigOperationSettings()

public OperationCallSettings.Builder<DeleteKmsConfigRequest,Empty,OperationMetadata> deleteKmsConfigOperationSettings()

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

Returns
TypeDescription
Builder<DeleteKmsConfigRequest,Empty,OperationMetadata>

deleteKmsConfigSettings()

public UnaryCallSettings.Builder<DeleteKmsConfigRequest,Operation> deleteKmsConfigSettings()

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

Returns
TypeDescription
Builder<DeleteKmsConfigRequest,Operation>

deleteReplicationOperationSettings()

public OperationCallSettings.Builder<DeleteReplicationRequest,Empty,OperationMetadata> deleteReplicationOperationSettings()

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

Returns
TypeDescription
Builder<DeleteReplicationRequest,Empty,OperationMetadata>

deleteReplicationSettings()

public UnaryCallSettings.Builder<DeleteReplicationRequest,Operation> deleteReplicationSettings()

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

Returns
TypeDescription
Builder<DeleteReplicationRequest,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>

deleteStoragePoolOperationSettings()

public OperationCallSettings.Builder<DeleteStoragePoolRequest,Empty,OperationMetadata> deleteStoragePoolOperationSettings()

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

Returns
TypeDescription
Builder<DeleteStoragePoolRequest,Empty,OperationMetadata>

deleteStoragePoolSettings()

public UnaryCallSettings.Builder<DeleteStoragePoolRequest,Operation> deleteStoragePoolSettings()

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

Returns
TypeDescription
Builder<DeleteStoragePoolRequest,Operation>

deleteVolumeOperationSettings()

public OperationCallSettings.Builder<DeleteVolumeRequest,Empty,OperationMetadata> deleteVolumeOperationSettings()

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

Returns
TypeDescription
Builder<DeleteVolumeRequest,Empty,OperationMetadata>

deleteVolumeSettings()

public UnaryCallSettings.Builder<DeleteVolumeRequest,Operation> deleteVolumeSettings()

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

Returns
TypeDescription
Builder<DeleteVolumeRequest,Operation>

encryptVolumesOperationSettings()

public OperationCallSettings.Builder<EncryptVolumesRequest,KmsConfig,OperationMetadata> encryptVolumesOperationSettings()

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

Returns
TypeDescription
Builder<EncryptVolumesRequest,KmsConfig,OperationMetadata>

encryptVolumesSettings()

public UnaryCallSettings.Builder<EncryptVolumesRequest,Operation> encryptVolumesSettings()

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

Returns
TypeDescription
Builder<EncryptVolumesRequest,Operation>

getActiveDirectorySettings()

public UnaryCallSettings.Builder<GetActiveDirectoryRequest,ActiveDirectory> getActiveDirectorySettings()

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

Returns
TypeDescription
Builder<GetActiveDirectoryRequest,ActiveDirectory>

getKmsConfigSettings()

public UnaryCallSettings.Builder<GetKmsConfigRequest,KmsConfig> getKmsConfigSettings()

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

Returns
TypeDescription
Builder<GetKmsConfigRequest,KmsConfig>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getReplicationSettings()

public UnaryCallSettings.Builder<GetReplicationRequest,Replication> getReplicationSettings()

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

Returns
TypeDescription
Builder<GetReplicationRequest,Replication>

getSnapshotSettings()

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

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

Returns
TypeDescription
Builder<GetSnapshotRequest,Snapshot>

getStoragePoolSettings()

public UnaryCallSettings.Builder<GetStoragePoolRequest,StoragePool> getStoragePoolSettings()

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

Returns
TypeDescription
Builder<GetStoragePoolRequest,StoragePool>

getStubSettingsBuilder()

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

getVolumeSettings()

public UnaryCallSettings.Builder<GetVolumeRequest,Volume> getVolumeSettings()

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

Returns
TypeDescription
Builder<GetVolumeRequest,Volume>

listActiveDirectoriesSettings()

public PagedCallSettings.Builder<ListActiveDirectoriesRequest,ListActiveDirectoriesResponse,NetAppClient.ListActiveDirectoriesPagedResponse> listActiveDirectoriesSettings()

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

Returns
TypeDescription
Builder<ListActiveDirectoriesRequest,ListActiveDirectoriesResponse,ListActiveDirectoriesPagedResponse>

listKmsConfigsSettings()

public PagedCallSettings.Builder<ListKmsConfigsRequest,ListKmsConfigsResponse,NetAppClient.ListKmsConfigsPagedResponse> listKmsConfigsSettings()

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

Returns
TypeDescription
Builder<ListKmsConfigsRequest,ListKmsConfigsResponse,ListKmsConfigsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,NetAppClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listReplicationsSettings()

public PagedCallSettings.Builder<ListReplicationsRequest,ListReplicationsResponse,NetAppClient.ListReplicationsPagedResponse> listReplicationsSettings()

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

Returns
TypeDescription
Builder<ListReplicationsRequest,ListReplicationsResponse,ListReplicationsPagedResponse>

listSnapshotsSettings()

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

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

Returns
TypeDescription
Builder<ListSnapshotsRequest,ListSnapshotsResponse,ListSnapshotsPagedResponse>

listStoragePoolsSettings()

public PagedCallSettings.Builder<ListStoragePoolsRequest,ListStoragePoolsResponse,NetAppClient.ListStoragePoolsPagedResponse> listStoragePoolsSettings()

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

Returns
TypeDescription
Builder<ListStoragePoolsRequest,ListStoragePoolsResponse,ListStoragePoolsPagedResponse>

listVolumesSettings()

public PagedCallSettings.Builder<ListVolumesRequest,ListVolumesResponse,NetAppClient.ListVolumesPagedResponse> listVolumesSettings()

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

Returns
TypeDescription
Builder<ListVolumesRequest,ListVolumesResponse,ListVolumesPagedResponse>

resumeReplicationOperationSettings()

public OperationCallSettings.Builder<ResumeReplicationRequest,Replication,OperationMetadata> resumeReplicationOperationSettings()

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

Returns
TypeDescription
Builder<ResumeReplicationRequest,Replication,OperationMetadata>

resumeReplicationSettings()

public UnaryCallSettings.Builder<ResumeReplicationRequest,Operation> resumeReplicationSettings()

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

Returns
TypeDescription
Builder<ResumeReplicationRequest,Operation>

reverseReplicationDirectionOperationSettings()

public OperationCallSettings.Builder<ReverseReplicationDirectionRequest,Replication,OperationMetadata> reverseReplicationDirectionOperationSettings()

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

Returns
TypeDescription
Builder<ReverseReplicationDirectionRequest,Replication,OperationMetadata>

reverseReplicationDirectionSettings()

public UnaryCallSettings.Builder<ReverseReplicationDirectionRequest,Operation> reverseReplicationDirectionSettings()

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

Returns
TypeDescription
Builder<ReverseReplicationDirectionRequest,Operation>

revertVolumeOperationSettings()

public OperationCallSettings.Builder<RevertVolumeRequest,Volume,OperationMetadata> revertVolumeOperationSettings()

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

Returns
TypeDescription
Builder<RevertVolumeRequest,Volume,OperationMetadata>

revertVolumeSettings()

public UnaryCallSettings.Builder<RevertVolumeRequest,Operation> revertVolumeSettings()

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

Returns
TypeDescription
Builder<RevertVolumeRequest,Operation>

stopReplicationOperationSettings()

public OperationCallSettings.Builder<StopReplicationRequest,Replication,OperationMetadata> stopReplicationOperationSettings()

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

Returns
TypeDescription
Builder<StopReplicationRequest,Replication,OperationMetadata>

stopReplicationSettings()

public UnaryCallSettings.Builder<StopReplicationRequest,Operation> stopReplicationSettings()

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

Returns
TypeDescription
Builder<StopReplicationRequest,Operation>

updateActiveDirectoryOperationSettings()

public OperationCallSettings.Builder<UpdateActiveDirectoryRequest,ActiveDirectory,OperationMetadata> updateActiveDirectoryOperationSettings()

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

Returns
TypeDescription
Builder<UpdateActiveDirectoryRequest,ActiveDirectory,OperationMetadata>

updateActiveDirectorySettings()

public UnaryCallSettings.Builder<UpdateActiveDirectoryRequest,Operation> updateActiveDirectorySettings()

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

Returns
TypeDescription
Builder<UpdateActiveDirectoryRequest,Operation>

updateKmsConfigOperationSettings()

public OperationCallSettings.Builder<UpdateKmsConfigRequest,KmsConfig,OperationMetadata> updateKmsConfigOperationSettings()

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

Returns
TypeDescription
Builder<UpdateKmsConfigRequest,KmsConfig,OperationMetadata>

updateKmsConfigSettings()

public UnaryCallSettings.Builder<UpdateKmsConfigRequest,Operation> updateKmsConfigSettings()

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

Returns
TypeDescription
Builder<UpdateKmsConfigRequest,Operation>

updateReplicationOperationSettings()

public OperationCallSettings.Builder<UpdateReplicationRequest,Replication,OperationMetadata> updateReplicationOperationSettings()

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

Returns
TypeDescription
Builder<UpdateReplicationRequest,Replication,OperationMetadata>

updateReplicationSettings()

public UnaryCallSettings.Builder<UpdateReplicationRequest,Operation> updateReplicationSettings()

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

Returns
TypeDescription
Builder<UpdateReplicationRequest,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>

updateStoragePoolOperationSettings()

public OperationCallSettings.Builder<UpdateStoragePoolRequest,StoragePool,OperationMetadata> updateStoragePoolOperationSettings()

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

Returns
TypeDescription
Builder<UpdateStoragePoolRequest,StoragePool,OperationMetadata>

updateStoragePoolSettings()

public UnaryCallSettings.Builder<UpdateStoragePoolRequest,Operation> updateStoragePoolSettings()

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

Returns
TypeDescription
Builder<UpdateStoragePoolRequest,Operation>

updateVolumeOperationSettings()

public OperationCallSettings.Builder<UpdateVolumeRequest,Volume,OperationMetadata> updateVolumeOperationSettings()

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

Returns
TypeDescription
Builder<UpdateVolumeRequest,Volume,OperationMetadata>

updateVolumeSettings()

public UnaryCallSettings.Builder<UpdateVolumeRequest,Operation> updateVolumeSettings()

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

Returns
TypeDescription
Builder<UpdateVolumeRequest,Operation>

verifyKmsConfigSettings()

public UnaryCallSettings.Builder<VerifyKmsConfigRequest,VerifyKmsConfigResponse> verifyKmsConfigSettings()

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

Returns
TypeDescription
Builder<VerifyKmsConfigRequest,VerifyKmsConfigResponse>