Class NetAppGrpc.NetAppFutureStub (0.14.0)

public static final class NetAppGrpc.NetAppFutureStub extends AbstractFutureStub<NetAppGrpc.NetAppFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service NetApp.

NetApp Files Google Cloud Service

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > NetAppGrpc.NetAppFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected NetAppGrpc.NetAppFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
NetAppGrpc.NetAppFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createActiveDirectory(CreateActiveDirectoryRequest request)

public ListenableFuture<Operation> createActiveDirectory(CreateActiveDirectoryRequest request)

CreateActiveDirectory Creates the active directory specified in the request.

Parameter
NameDescription
requestCreateActiveDirectoryRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createBackup(CreateBackupRequest request)

public ListenableFuture<Operation> createBackup(CreateBackupRequest request)

Creates a backup from the volume specified in the request The backup can be created from the given snapshot if specified in the request. If no snapshot specified, there'll be a new snapshot taken to initiate the backup creation.

Parameter
NameDescription
requestCreateBackupRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createBackupPolicy(CreateBackupPolicyRequest request)

public ListenableFuture<Operation> createBackupPolicy(CreateBackupPolicyRequest request)

Creates new backup policy

Parameter
NameDescription
requestCreateBackupPolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createBackupVault(CreateBackupVaultRequest request)

public ListenableFuture<Operation> createBackupVault(CreateBackupVaultRequest request)

Creates new backup vault

Parameter
NameDescription
requestCreateBackupVaultRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createKmsConfig(CreateKmsConfigRequest request)

public ListenableFuture<Operation> createKmsConfig(CreateKmsConfigRequest request)

Creates a new KMS config.

Parameter
NameDescription
requestCreateKmsConfigRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createReplication(CreateReplicationRequest request)

public ListenableFuture<Operation> createReplication(CreateReplicationRequest request)

Create a new replication for a volume.

Parameter
NameDescription
requestCreateReplicationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createSnapshot(CreateSnapshotRequest request)

public ListenableFuture<Operation> createSnapshot(CreateSnapshotRequest request)

Create a new snapshot for a volume.

Parameter
NameDescription
requestCreateSnapshotRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createStoragePool(CreateStoragePoolRequest request)

public ListenableFuture<Operation> createStoragePool(CreateStoragePoolRequest request)

Creates a new storage pool.

Parameter
NameDescription
requestCreateStoragePoolRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

createVolume(CreateVolumeRequest request)

public ListenableFuture<Operation> createVolume(CreateVolumeRequest request)

Creates a new Volume in a given project and location.

Parameter
NameDescription
requestCreateVolumeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteActiveDirectory(DeleteActiveDirectoryRequest request)

public ListenableFuture<Operation> deleteActiveDirectory(DeleteActiveDirectoryRequest request)

Delete the active directory specified in the request.

Parameter
NameDescription
requestDeleteActiveDirectoryRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteBackup(DeleteBackupRequest request)

public ListenableFuture<Operation> deleteBackup(DeleteBackupRequest request)

Warning! This operation will permanently delete the backup.

Parameter
NameDescription
requestDeleteBackupRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteBackupPolicy(DeleteBackupPolicyRequest request)

public ListenableFuture<Operation> deleteBackupPolicy(DeleteBackupPolicyRequest request)

Warning! This operation will permanently delete the backup policy.

Parameter
NameDescription
requestDeleteBackupPolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteBackupVault(DeleteBackupVaultRequest request)

public ListenableFuture<Operation> deleteBackupVault(DeleteBackupVaultRequest request)

Warning! This operation will permanently delete the backup vault.

Parameter
NameDescription
requestDeleteBackupVaultRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteKmsConfig(DeleteKmsConfigRequest request)

public ListenableFuture<Operation> deleteKmsConfig(DeleteKmsConfigRequest request)

Warning! This operation will permanently delete the Kms config.

Parameter
NameDescription
requestDeleteKmsConfigRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteReplication(DeleteReplicationRequest request)

public ListenableFuture<Operation> deleteReplication(DeleteReplicationRequest request)

Deletes a replication.

Parameter
NameDescription
requestDeleteReplicationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteSnapshot(DeleteSnapshotRequest request)

public ListenableFuture<Operation> deleteSnapshot(DeleteSnapshotRequest request)

Deletes a snapshot.

Parameter
NameDescription
requestDeleteSnapshotRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteStoragePool(DeleteStoragePoolRequest request)

public ListenableFuture<Operation> deleteStoragePool(DeleteStoragePoolRequest request)

Warning! This operation will permanently delete the storage pool.

Parameter
NameDescription
requestDeleteStoragePoolRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteVolume(DeleteVolumeRequest request)

public ListenableFuture<Operation> deleteVolume(DeleteVolumeRequest request)

Deletes a single Volume.

Parameter
NameDescription
requestDeleteVolumeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

encryptVolumes(EncryptVolumesRequest request)

public ListenableFuture<Operation> encryptVolumes(EncryptVolumesRequest request)

Encrypt the existing volumes without CMEK encryption with the desired the KMS config for the whole region.

Parameter
NameDescription
requestEncryptVolumesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getActiveDirectory(GetActiveDirectoryRequest request)

public ListenableFuture<ActiveDirectory> getActiveDirectory(GetActiveDirectoryRequest request)

Describes a specified active directory.

Parameter
NameDescription
requestGetActiveDirectoryRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ActiveDirectory>

getBackup(GetBackupRequest request)

public ListenableFuture<Backup> getBackup(GetBackupRequest request)

Returns the description of the specified backup

Parameter
NameDescription
requestGetBackupRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Backup>

getBackupPolicy(GetBackupPolicyRequest request)

public ListenableFuture<BackupPolicy> getBackupPolicy(GetBackupPolicyRequest request)

Returns the description of the specified backup policy by backup_policy_id.

Parameter
NameDescription
requestGetBackupPolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<BackupPolicy>

getBackupVault(GetBackupVaultRequest request)

public ListenableFuture<BackupVault> getBackupVault(GetBackupVaultRequest request)

Returns the description of the specified backup vault

Parameter
NameDescription
requestGetBackupVaultRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<BackupVault>

getKmsConfig(GetKmsConfigRequest request)

public ListenableFuture<KmsConfig> getKmsConfig(GetKmsConfigRequest request)

Returns the description of the specified KMS config by kms_config_id.

Parameter
NameDescription
requestGetKmsConfigRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<KmsConfig>

getReplication(GetReplicationRequest request)

public ListenableFuture<Replication> getReplication(GetReplicationRequest request)

Describe a replication for a volume.

Parameter
NameDescription
requestGetReplicationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Replication>

getSnapshot(GetSnapshotRequest request)

public ListenableFuture<Snapshot> getSnapshot(GetSnapshotRequest request)

Describe a snapshot for a volume.

Parameter
NameDescription
requestGetSnapshotRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Snapshot>

getStoragePool(GetStoragePoolRequest request)

public ListenableFuture<StoragePool> getStoragePool(GetStoragePoolRequest request)

Returns the description of the specified storage pool by poolId.

Parameter
NameDescription
requestGetStoragePoolRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<StoragePool>

getVolume(GetVolumeRequest request)

public ListenableFuture<Volume> getVolume(GetVolumeRequest request)

Gets details of a single Volume.

Parameter
NameDescription
requestGetVolumeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Volume>

listActiveDirectories(ListActiveDirectoriesRequest request)

public ListenableFuture<ListActiveDirectoriesResponse> listActiveDirectories(ListActiveDirectoriesRequest request)

Lists active directories.

Parameter
NameDescription
requestListActiveDirectoriesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListActiveDirectoriesResponse>

listBackupPolicies(ListBackupPoliciesRequest request)

public ListenableFuture<ListBackupPoliciesResponse> listBackupPolicies(ListBackupPoliciesRequest request)

Returns list of all available backup policies.

Parameter
NameDescription
requestListBackupPoliciesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListBackupPoliciesResponse>

listBackupVaults(ListBackupVaultsRequest request)

public ListenableFuture<ListBackupVaultsResponse> listBackupVaults(ListBackupVaultsRequest request)

Returns list of all available backup vaults.

Parameter
NameDescription
requestListBackupVaultsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListBackupVaultsResponse>

listBackups(ListBackupsRequest request)

public ListenableFuture<ListBackupsResponse> listBackups(ListBackupsRequest request)

Returns descriptions of all backups for a backupVault.

Parameter
NameDescription
requestListBackupsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListBackupsResponse>

listKmsConfigs(ListKmsConfigsRequest request)

public ListenableFuture<ListKmsConfigsResponse> listKmsConfigs(ListKmsConfigsRequest request)

Returns descriptions of all KMS configs owned by the caller.

Parameter
NameDescription
requestListKmsConfigsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListKmsConfigsResponse>

listReplications(ListReplicationsRequest request)

public ListenableFuture<ListReplicationsResponse> listReplications(ListReplicationsRequest request)

Returns descriptions of all replications for a volume.

Parameter
NameDescription
requestListReplicationsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListReplicationsResponse>

listSnapshots(ListSnapshotsRequest request)

public ListenableFuture<ListSnapshotsResponse> listSnapshots(ListSnapshotsRequest request)

Returns descriptions of all snapshots for a volume.

Parameter
NameDescription
requestListSnapshotsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListSnapshotsResponse>

listStoragePools(ListStoragePoolsRequest request)

public ListenableFuture<ListStoragePoolsResponse> listStoragePools(ListStoragePoolsRequest request)

Returns descriptions of all storage pools owned by the caller.

Parameter
NameDescription
requestListStoragePoolsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListStoragePoolsResponse>

listVolumes(ListVolumesRequest request)

public ListenableFuture<ListVolumesResponse> listVolumes(ListVolumesRequest request)

Lists Volumes in a given project.

Parameter
NameDescription
requestListVolumesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListVolumesResponse>

resumeReplication(ResumeReplicationRequest request)

public ListenableFuture<Operation> resumeReplication(ResumeReplicationRequest request)

Resume Cross Region Replication.

Parameter
NameDescription
requestResumeReplicationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

reverseReplicationDirection(ReverseReplicationDirectionRequest request)

public ListenableFuture<Operation> reverseReplicationDirection(ReverseReplicationDirectionRequest request)

Reverses direction of replication. Source becomes destination and destination becomes source.

Parameter
NameDescription
requestReverseReplicationDirectionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

revertVolume(RevertVolumeRequest request)

public ListenableFuture<Operation> revertVolume(RevertVolumeRequest request)

Revert an existing volume to a specified snapshot. Warning! This operation will permanently revert all changes made after the snapshot was created.

Parameter
NameDescription
requestRevertVolumeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

stopReplication(StopReplicationRequest request)

public ListenableFuture<Operation> stopReplication(StopReplicationRequest request)

Stop Cross Region Replication.

Parameter
NameDescription
requestStopReplicationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateActiveDirectory(UpdateActiveDirectoryRequest request)

public ListenableFuture<Operation> updateActiveDirectory(UpdateActiveDirectoryRequest request)

Update the parameters of an active directories.

Parameter
NameDescription
requestUpdateActiveDirectoryRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateBackup(UpdateBackupRequest request)

public ListenableFuture<Operation> updateBackup(UpdateBackupRequest request)

Update backup with full spec.

Parameter
NameDescription
requestUpdateBackupRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateBackupPolicy(UpdateBackupPolicyRequest request)

public ListenableFuture<Operation> updateBackupPolicy(UpdateBackupPolicyRequest request)

Updates settings of a specific backup policy.

Parameter
NameDescription
requestUpdateBackupPolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateBackupVault(UpdateBackupVaultRequest request)

public ListenableFuture<Operation> updateBackupVault(UpdateBackupVaultRequest request)

Updates the settings of a specific backup vault.

Parameter
NameDescription
requestUpdateBackupVaultRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateKmsConfig(UpdateKmsConfigRequest request)

public ListenableFuture<Operation> updateKmsConfig(UpdateKmsConfigRequest request)

Updates the Kms config properties with the full spec

Parameter
NameDescription
requestUpdateKmsConfigRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateReplication(UpdateReplicationRequest request)

public ListenableFuture<Operation> updateReplication(UpdateReplicationRequest request)

Updates the settings of a specific replication.

Parameter
NameDescription
requestUpdateReplicationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateSnapshot(UpdateSnapshotRequest request)

public ListenableFuture<Operation> updateSnapshot(UpdateSnapshotRequest request)

Updates the settings of a specific snapshot.

Parameter
NameDescription
requestUpdateSnapshotRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateStoragePool(UpdateStoragePoolRequest request)

public ListenableFuture<Operation> updateStoragePool(UpdateStoragePoolRequest request)

Updates the storage pool properties with the full spec

Parameter
NameDescription
requestUpdateStoragePoolRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateVolume(UpdateVolumeRequest request)

public ListenableFuture<Operation> updateVolume(UpdateVolumeRequest request)

Updates the parameters of a single Volume.

Parameter
NameDescription
requestUpdateVolumeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

verifyKmsConfig(VerifyKmsConfigRequest request)

public ListenableFuture<VerifyKmsConfigResponse> verifyKmsConfig(VerifyKmsConfigRequest request)

Verifies KMS config reachability.

Parameter
NameDescription
requestVerifyKmsConfigRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<VerifyKmsConfigResponse>