Class NetAppGrpc.NetAppFutureStub (0.33.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateActiveDirectoryRequest
Returns
Type Description
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
Name Description
request CreateBackupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createBackupPolicy(CreateBackupPolicyRequest request)

public ListenableFuture<Operation> createBackupPolicy(CreateBackupPolicyRequest request)

Creates new backup policy

Parameter
Name Description
request CreateBackupPolicyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createBackupVault(CreateBackupVaultRequest request)

public ListenableFuture<Operation> createBackupVault(CreateBackupVaultRequest request)

Creates new backup vault

Parameter
Name Description
request CreateBackupVaultRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createKmsConfig(CreateKmsConfigRequest request)

public ListenableFuture<Operation> createKmsConfig(CreateKmsConfigRequest request)

Creates a new KMS config.

Parameter
Name Description
request CreateKmsConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createReplication(CreateReplicationRequest request)

public ListenableFuture<Operation> createReplication(CreateReplicationRequest request)

Create a new replication for a volume.

Parameter
Name Description
request CreateReplicationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createSnapshot(CreateSnapshotRequest request)

public ListenableFuture<Operation> createSnapshot(CreateSnapshotRequest request)

Create a new snapshot for a volume.

Parameter
Name Description
request CreateSnapshotRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createStoragePool(CreateStoragePoolRequest request)

public ListenableFuture<Operation> createStoragePool(CreateStoragePoolRequest request)

Creates a new storage pool.

Parameter
Name Description
request CreateStoragePoolRequest
Returns
Type Description
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
Name Description
request CreateVolumeRequest
Returns
Type Description
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
Name Description
request DeleteActiveDirectoryRequest
Returns
Type Description
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
Name Description
request DeleteBackupRequest
Returns
Type Description
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
Name Description
request DeleteBackupPolicyRequest
Returns
Type Description
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
Name Description
request DeleteBackupVaultRequest
Returns
Type Description
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
Name Description
request DeleteKmsConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteReplication(DeleteReplicationRequest request)

public ListenableFuture<Operation> deleteReplication(DeleteReplicationRequest request)

Deletes a replication.

Parameter
Name Description
request DeleteReplicationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteSnapshot(DeleteSnapshotRequest request)

public ListenableFuture<Operation> deleteSnapshot(DeleteSnapshotRequest request)

Deletes a snapshot.

Parameter
Name Description
request DeleteSnapshotRequest
Returns
Type Description
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
Name Description
request DeleteStoragePoolRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteVolume(DeleteVolumeRequest request)

public ListenableFuture<Operation> deleteVolume(DeleteVolumeRequest request)

Deletes a single Volume.

Parameter
Name Description
request DeleteVolumeRequest
Returns
Type Description
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
Name Description
request EncryptVolumesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getActiveDirectory(GetActiveDirectoryRequest request)

public ListenableFuture<ActiveDirectory> getActiveDirectory(GetActiveDirectoryRequest request)

Describes a specified active directory.

Parameter
Name Description
request GetActiveDirectoryRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ActiveDirectory>

getBackup(GetBackupRequest request)

public ListenableFuture<Backup> getBackup(GetBackupRequest request)

Returns the description of the specified backup

Parameter
Name Description
request GetBackupRequest
Returns
Type Description
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
Name Description
request GetBackupPolicyRequest
Returns
Type Description
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
Name Description
request GetBackupVaultRequest
Returns
Type Description
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
Name Description
request GetKmsConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<KmsConfig>

getReplication(GetReplicationRequest request)

public ListenableFuture<Replication> getReplication(GetReplicationRequest request)

Describe a replication for a volume.

Parameter
Name Description
request GetReplicationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Replication>

getSnapshot(GetSnapshotRequest request)

public ListenableFuture<Snapshot> getSnapshot(GetSnapshotRequest request)

Describe a snapshot for a volume.

Parameter
Name Description
request GetSnapshotRequest
Returns
Type Description
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
Name Description
request GetStoragePoolRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<StoragePool>

getVolume(GetVolumeRequest request)

public ListenableFuture<Volume> getVolume(GetVolumeRequest request)

Gets details of a single Volume.

Parameter
Name Description
request GetVolumeRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Volume>

listActiveDirectories(ListActiveDirectoriesRequest request)

public ListenableFuture<ListActiveDirectoriesResponse> listActiveDirectories(ListActiveDirectoriesRequest request)

Lists active directories.

Parameter
Name Description
request ListActiveDirectoriesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListActiveDirectoriesResponse>

listBackupPolicies(ListBackupPoliciesRequest request)

public ListenableFuture<ListBackupPoliciesResponse> listBackupPolicies(ListBackupPoliciesRequest request)

Returns list of all available backup policies.

Parameter
Name Description
request ListBackupPoliciesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListBackupPoliciesResponse>

listBackupVaults(ListBackupVaultsRequest request)

public ListenableFuture<ListBackupVaultsResponse> listBackupVaults(ListBackupVaultsRequest request)

Returns list of all available backup vaults.

Parameter
Name Description
request ListBackupVaultsRequest
Returns
Type Description
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
Name Description
request ListBackupsRequest
Returns
Type Description
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
Name Description
request ListKmsConfigsRequest
Returns
Type Description
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
Name Description
request ListReplicationsRequest
Returns
Type Description
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
Name Description
request ListSnapshotsRequest
Returns
Type Description
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
Name Description
request ListStoragePoolsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListStoragePoolsResponse>

listVolumes(ListVolumesRequest request)

public ListenableFuture<ListVolumesResponse> listVolumes(ListVolumesRequest request)

Lists Volumes in a given project.

Parameter
Name Description
request ListVolumesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListVolumesResponse>

resumeReplication(ResumeReplicationRequest request)

public ListenableFuture<Operation> resumeReplication(ResumeReplicationRequest request)

Resume Cross Region Replication.

Parameter
Name Description
request ResumeReplicationRequest
Returns
Type Description
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
Name Description
request ReverseReplicationDirectionRequest
Returns
Type Description
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
Name Description
request RevertVolumeRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

stopReplication(StopReplicationRequest request)

public ListenableFuture<Operation> stopReplication(StopReplicationRequest request)

Stop Cross Region Replication.

Parameter
Name Description
request StopReplicationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

switchActiveReplicaZone(SwitchActiveReplicaZoneRequest request)

public ListenableFuture<Operation> switchActiveReplicaZone(SwitchActiveReplicaZoneRequest request)

This operation will switch the active/replica zone for a regional storagePool.

Parameter
Name Description
request SwitchActiveReplicaZoneRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateActiveDirectory(UpdateActiveDirectoryRequest request)

public ListenableFuture<Operation> updateActiveDirectory(UpdateActiveDirectoryRequest request)

Update the parameters of an active directories.

Parameter
Name Description
request UpdateActiveDirectoryRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateBackup(UpdateBackupRequest request)

public ListenableFuture<Operation> updateBackup(UpdateBackupRequest request)

Update backup with full spec.

Parameter
Name Description
request UpdateBackupRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateBackupPolicy(UpdateBackupPolicyRequest request)

public ListenableFuture<Operation> updateBackupPolicy(UpdateBackupPolicyRequest request)

Updates settings of a specific backup policy.

Parameter
Name Description
request UpdateBackupPolicyRequest
Returns
Type Description
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
Name Description
request UpdateBackupVaultRequest
Returns
Type Description
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
Name Description
request UpdateKmsConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateReplication(UpdateReplicationRequest request)

public ListenableFuture<Operation> updateReplication(UpdateReplicationRequest request)

Updates the settings of a specific replication.

Parameter
Name Description
request UpdateReplicationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateSnapshot(UpdateSnapshotRequest request)

public ListenableFuture<Operation> updateSnapshot(UpdateSnapshotRequest request)

Updates the settings of a specific snapshot.

Parameter
Name Description
request UpdateSnapshotRequest
Returns
Type Description
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
Name Description
request UpdateStoragePoolRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateVolume(UpdateVolumeRequest request)

public ListenableFuture<Operation> updateVolume(UpdateVolumeRequest request)

Updates the parameters of a single Volume.

Parameter
Name Description
request UpdateVolumeRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

verifyKmsConfig(VerifyKmsConfigRequest request)

public ListenableFuture<VerifyKmsConfigResponse> verifyKmsConfig(VerifyKmsConfigRequest request)

Verifies KMS config reachability.

Parameter
Name Description
request VerifyKmsConfigRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<VerifyKmsConfigResponse>