Class NetAppGrpc.NetAppStub (0.31.0)

public static final class NetAppGrpc.NetAppStub extends AbstractAsyncStub<NetAppGrpc.NetAppStub>

A stub to allow clients to do asynchronous rpc calls to service NetApp.

NetApp Files Google Cloud Service

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > NetAppGrpc.NetAppStub

Methods

build(Channel channel, CallOptions callOptions)

protected NetAppGrpc.NetAppStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
NetAppGrpc.NetAppStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createActiveDirectory(CreateActiveDirectoryRequest request, StreamObserver<Operation> responseObserver)

public void createActiveDirectory(CreateActiveDirectoryRequest request, StreamObserver<Operation> responseObserver)

CreateActiveDirectory Creates the active directory specified in the request.

Parameters
Name Description
request CreateActiveDirectoryRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createBackup(CreateBackupRequest request, StreamObserver<Operation> responseObserver)

public void createBackup(CreateBackupRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
Name Description
request CreateBackupRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createBackupPolicy(CreateBackupPolicyRequest request, StreamObserver<Operation> responseObserver)

public void createBackupPolicy(CreateBackupPolicyRequest request, StreamObserver<Operation> responseObserver)

Creates new backup policy

Parameters
Name Description
request CreateBackupPolicyRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createBackupVault(CreateBackupVaultRequest request, StreamObserver<Operation> responseObserver)

public void createBackupVault(CreateBackupVaultRequest request, StreamObserver<Operation> responseObserver)

Creates new backup vault

Parameters
Name Description
request CreateBackupVaultRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createKmsConfig(CreateKmsConfigRequest request, StreamObserver<Operation> responseObserver)

public void createKmsConfig(CreateKmsConfigRequest request, StreamObserver<Operation> responseObserver)

Creates a new KMS config.

Parameters
Name Description
request CreateKmsConfigRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createReplication(CreateReplicationRequest request, StreamObserver<Operation> responseObserver)

public void createReplication(CreateReplicationRequest request, StreamObserver<Operation> responseObserver)

Create a new replication for a volume.

Parameters
Name Description
request CreateReplicationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createSnapshot(CreateSnapshotRequest request, StreamObserver<Operation> responseObserver)

public void createSnapshot(CreateSnapshotRequest request, StreamObserver<Operation> responseObserver)

Create a new snapshot for a volume.

Parameters
Name Description
request CreateSnapshotRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createStoragePool(CreateStoragePoolRequest request, StreamObserver<Operation> responseObserver)

public void createStoragePool(CreateStoragePoolRequest request, StreamObserver<Operation> responseObserver)

Creates a new storage pool.

Parameters
Name Description
request CreateStoragePoolRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createVolume(CreateVolumeRequest request, StreamObserver<Operation> responseObserver)

public void createVolume(CreateVolumeRequest request, StreamObserver<Operation> responseObserver)

Creates a new Volume in a given project and location.

Parameters
Name Description
request CreateVolumeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteActiveDirectory(DeleteActiveDirectoryRequest request, StreamObserver<Operation> responseObserver)

public void deleteActiveDirectory(DeleteActiveDirectoryRequest request, StreamObserver<Operation> responseObserver)

Delete the active directory specified in the request.

Parameters
Name Description
request DeleteActiveDirectoryRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteBackup(DeleteBackupRequest request, StreamObserver<Operation> responseObserver)

public void deleteBackup(DeleteBackupRequest request, StreamObserver<Operation> responseObserver)

Warning! This operation will permanently delete the backup.

Parameters
Name Description
request DeleteBackupRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteBackupPolicy(DeleteBackupPolicyRequest request, StreamObserver<Operation> responseObserver)

public void deleteBackupPolicy(DeleteBackupPolicyRequest request, StreamObserver<Operation> responseObserver)

Warning! This operation will permanently delete the backup policy.

Parameters
Name Description
request DeleteBackupPolicyRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteBackupVault(DeleteBackupVaultRequest request, StreamObserver<Operation> responseObserver)

public void deleteBackupVault(DeleteBackupVaultRequest request, StreamObserver<Operation> responseObserver)

Warning! This operation will permanently delete the backup vault.

Parameters
Name Description
request DeleteBackupVaultRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteKmsConfig(DeleteKmsConfigRequest request, StreamObserver<Operation> responseObserver)

public void deleteKmsConfig(DeleteKmsConfigRequest request, StreamObserver<Operation> responseObserver)

Warning! This operation will permanently delete the Kms config.

Parameters
Name Description
request DeleteKmsConfigRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteReplication(DeleteReplicationRequest request, StreamObserver<Operation> responseObserver)

public void deleteReplication(DeleteReplicationRequest request, StreamObserver<Operation> responseObserver)

Deletes a replication.

Parameters
Name Description
request DeleteReplicationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteSnapshot(DeleteSnapshotRequest request, StreamObserver<Operation> responseObserver)

public void deleteSnapshot(DeleteSnapshotRequest request, StreamObserver<Operation> responseObserver)

Deletes a snapshot.

Parameters
Name Description
request DeleteSnapshotRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteStoragePool(DeleteStoragePoolRequest request, StreamObserver<Operation> responseObserver)

public void deleteStoragePool(DeleteStoragePoolRequest request, StreamObserver<Operation> responseObserver)

Warning! This operation will permanently delete the storage pool.

Parameters
Name Description
request DeleteStoragePoolRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteVolume(DeleteVolumeRequest request, StreamObserver<Operation> responseObserver)

public void deleteVolume(DeleteVolumeRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Volume.

Parameters
Name Description
request DeleteVolumeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

encryptVolumes(EncryptVolumesRequest request, StreamObserver<Operation> responseObserver)

public void encryptVolumes(EncryptVolumesRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request EncryptVolumesRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getActiveDirectory(GetActiveDirectoryRequest request, StreamObserver<ActiveDirectory> responseObserver)

public void getActiveDirectory(GetActiveDirectoryRequest request, StreamObserver<ActiveDirectory> responseObserver)

Describes a specified active directory.

Parameters
Name Description
request GetActiveDirectoryRequest
responseObserver io.grpc.stub.StreamObserver<ActiveDirectory>

getBackup(GetBackupRequest request, StreamObserver<Backup> responseObserver)

public void getBackup(GetBackupRequest request, StreamObserver<Backup> responseObserver)

Returns the description of the specified backup

Parameters
Name Description
request GetBackupRequest
responseObserver io.grpc.stub.StreamObserver<Backup>

getBackupPolicy(GetBackupPolicyRequest request, StreamObserver<BackupPolicy> responseObserver)

public void getBackupPolicy(GetBackupPolicyRequest request, StreamObserver<BackupPolicy> responseObserver)

Returns the description of the specified backup policy by backup_policy_id.

Parameters
Name Description
request GetBackupPolicyRequest
responseObserver io.grpc.stub.StreamObserver<BackupPolicy>

getBackupVault(GetBackupVaultRequest request, StreamObserver<BackupVault> responseObserver)

public void getBackupVault(GetBackupVaultRequest request, StreamObserver<BackupVault> responseObserver)

Returns the description of the specified backup vault

Parameters
Name Description
request GetBackupVaultRequest
responseObserver io.grpc.stub.StreamObserver<BackupVault>

getKmsConfig(GetKmsConfigRequest request, StreamObserver<KmsConfig> responseObserver)

public void getKmsConfig(GetKmsConfigRequest request, StreamObserver<KmsConfig> responseObserver)

Returns the description of the specified KMS config by kms_config_id.

Parameters
Name Description
request GetKmsConfigRequest
responseObserver io.grpc.stub.StreamObserver<KmsConfig>

getReplication(GetReplicationRequest request, StreamObserver<Replication> responseObserver)

public void getReplication(GetReplicationRequest request, StreamObserver<Replication> responseObserver)

Describe a replication for a volume.

Parameters
Name Description
request GetReplicationRequest
responseObserver io.grpc.stub.StreamObserver<Replication>

getSnapshot(GetSnapshotRequest request, StreamObserver<Snapshot> responseObserver)

public void getSnapshot(GetSnapshotRequest request, StreamObserver<Snapshot> responseObserver)

Describe a snapshot for a volume.

Parameters
Name Description
request GetSnapshotRequest
responseObserver io.grpc.stub.StreamObserver<Snapshot>

getStoragePool(GetStoragePoolRequest request, StreamObserver<StoragePool> responseObserver)

public void getStoragePool(GetStoragePoolRequest request, StreamObserver<StoragePool> responseObserver)

Returns the description of the specified storage pool by poolId.

Parameters
Name Description
request GetStoragePoolRequest
responseObserver io.grpc.stub.StreamObserver<StoragePool>

getVolume(GetVolumeRequest request, StreamObserver<Volume> responseObserver)

public void getVolume(GetVolumeRequest request, StreamObserver<Volume> responseObserver)

Gets details of a single Volume.

Parameters
Name Description
request GetVolumeRequest
responseObserver io.grpc.stub.StreamObserver<Volume>

listActiveDirectories(ListActiveDirectoriesRequest request, StreamObserver<ListActiveDirectoriesResponse> responseObserver)

public void listActiveDirectories(ListActiveDirectoriesRequest request, StreamObserver<ListActiveDirectoriesResponse> responseObserver)

Lists active directories.

Parameters
Name Description
request ListActiveDirectoriesRequest
responseObserver io.grpc.stub.StreamObserver<ListActiveDirectoriesResponse>

listBackupPolicies(ListBackupPoliciesRequest request, StreamObserver<ListBackupPoliciesResponse> responseObserver)

public void listBackupPolicies(ListBackupPoliciesRequest request, StreamObserver<ListBackupPoliciesResponse> responseObserver)

Returns list of all available backup policies.

Parameters
Name Description
request ListBackupPoliciesRequest
responseObserver io.grpc.stub.StreamObserver<ListBackupPoliciesResponse>

listBackupVaults(ListBackupVaultsRequest request, StreamObserver<ListBackupVaultsResponse> responseObserver)

public void listBackupVaults(ListBackupVaultsRequest request, StreamObserver<ListBackupVaultsResponse> responseObserver)

Returns list of all available backup vaults.

Parameters
Name Description
request ListBackupVaultsRequest
responseObserver io.grpc.stub.StreamObserver<ListBackupVaultsResponse>

listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)

public void listBackups(ListBackupsRequest request, StreamObserver<ListBackupsResponse> responseObserver)

Returns descriptions of all backups for a backupVault.

Parameters
Name Description
request ListBackupsRequest
responseObserver io.grpc.stub.StreamObserver<ListBackupsResponse>

listKmsConfigs(ListKmsConfigsRequest request, StreamObserver<ListKmsConfigsResponse> responseObserver)

public void listKmsConfigs(ListKmsConfigsRequest request, StreamObserver<ListKmsConfigsResponse> responseObserver)

Returns descriptions of all KMS configs owned by the caller.

Parameters
Name Description
request ListKmsConfigsRequest
responseObserver io.grpc.stub.StreamObserver<ListKmsConfigsResponse>

listReplications(ListReplicationsRequest request, StreamObserver<ListReplicationsResponse> responseObserver)

public void listReplications(ListReplicationsRequest request, StreamObserver<ListReplicationsResponse> responseObserver)

Returns descriptions of all replications for a volume.

Parameters
Name Description
request ListReplicationsRequest
responseObserver io.grpc.stub.StreamObserver<ListReplicationsResponse>

listSnapshots(ListSnapshotsRequest request, StreamObserver<ListSnapshotsResponse> responseObserver)

public void listSnapshots(ListSnapshotsRequest request, StreamObserver<ListSnapshotsResponse> responseObserver)

Returns descriptions of all snapshots for a volume.

Parameters
Name Description
request ListSnapshotsRequest
responseObserver io.grpc.stub.StreamObserver<ListSnapshotsResponse>

listStoragePools(ListStoragePoolsRequest request, StreamObserver<ListStoragePoolsResponse> responseObserver)

public void listStoragePools(ListStoragePoolsRequest request, StreamObserver<ListStoragePoolsResponse> responseObserver)

Returns descriptions of all storage pools owned by the caller.

Parameters
Name Description
request ListStoragePoolsRequest
responseObserver io.grpc.stub.StreamObserver<ListStoragePoolsResponse>

listVolumes(ListVolumesRequest request, StreamObserver<ListVolumesResponse> responseObserver)

public void listVolumes(ListVolumesRequest request, StreamObserver<ListVolumesResponse> responseObserver)

Lists Volumes in a given project.

Parameters
Name Description
request ListVolumesRequest
responseObserver io.grpc.stub.StreamObserver<ListVolumesResponse>

resumeReplication(ResumeReplicationRequest request, StreamObserver<Operation> responseObserver)

public void resumeReplication(ResumeReplicationRequest request, StreamObserver<Operation> responseObserver)

Resume Cross Region Replication.

Parameters
Name Description
request ResumeReplicationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

reverseReplicationDirection(ReverseReplicationDirectionRequest request, StreamObserver<Operation> responseObserver)

public void reverseReplicationDirection(ReverseReplicationDirectionRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request ReverseReplicationDirectionRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

revertVolume(RevertVolumeRequest request, StreamObserver<Operation> responseObserver)

public void revertVolume(RevertVolumeRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request RevertVolumeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

stopReplication(StopReplicationRequest request, StreamObserver<Operation> responseObserver)

public void stopReplication(StopReplicationRequest request, StreamObserver<Operation> responseObserver)

Stop Cross Region Replication.

Parameters
Name Description
request StopReplicationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

switchActiveReplicaZone(SwitchActiveReplicaZoneRequest request, StreamObserver<Operation> responseObserver)

public void switchActiveReplicaZone(SwitchActiveReplicaZoneRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request SwitchActiveReplicaZoneRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateActiveDirectory(UpdateActiveDirectoryRequest request, StreamObserver<Operation> responseObserver)

public void updateActiveDirectory(UpdateActiveDirectoryRequest request, StreamObserver<Operation> responseObserver)

Update the parameters of an active directories.

Parameters
Name Description
request UpdateActiveDirectoryRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateBackup(UpdateBackupRequest request, StreamObserver<Operation> responseObserver)

public void updateBackup(UpdateBackupRequest request, StreamObserver<Operation> responseObserver)

Update backup with full spec.

Parameters
Name Description
request UpdateBackupRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateBackupPolicy(UpdateBackupPolicyRequest request, StreamObserver<Operation> responseObserver)

public void updateBackupPolicy(UpdateBackupPolicyRequest request, StreamObserver<Operation> responseObserver)

Updates settings of a specific backup policy.

Parameters
Name Description
request UpdateBackupPolicyRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateBackupVault(UpdateBackupVaultRequest request, StreamObserver<Operation> responseObserver)

public void updateBackupVault(UpdateBackupVaultRequest request, StreamObserver<Operation> responseObserver)

Updates the settings of a specific backup vault.

Parameters
Name Description
request UpdateBackupVaultRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateKmsConfig(UpdateKmsConfigRequest request, StreamObserver<Operation> responseObserver)

public void updateKmsConfig(UpdateKmsConfigRequest request, StreamObserver<Operation> responseObserver)

Updates the Kms config properties with the full spec

Parameters
Name Description
request UpdateKmsConfigRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateReplication(UpdateReplicationRequest request, StreamObserver<Operation> responseObserver)

public void updateReplication(UpdateReplicationRequest request, StreamObserver<Operation> responseObserver)

Updates the settings of a specific replication.

Parameters
Name Description
request UpdateReplicationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateSnapshot(UpdateSnapshotRequest request, StreamObserver<Operation> responseObserver)

public void updateSnapshot(UpdateSnapshotRequest request, StreamObserver<Operation> responseObserver)

Updates the settings of a specific snapshot.

Parameters
Name Description
request UpdateSnapshotRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateStoragePool(UpdateStoragePoolRequest request, StreamObserver<Operation> responseObserver)

public void updateStoragePool(UpdateStoragePoolRequest request, StreamObserver<Operation> responseObserver)

Updates the storage pool properties with the full spec

Parameters
Name Description
request UpdateStoragePoolRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateVolume(UpdateVolumeRequest request, StreamObserver<Operation> responseObserver)

public void updateVolume(UpdateVolumeRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single Volume.

Parameters
Name Description
request UpdateVolumeRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

verifyKmsConfig(VerifyKmsConfigRequest request, StreamObserver<VerifyKmsConfigResponse> responseObserver)

public void verifyKmsConfig(VerifyKmsConfigRequest request, StreamObserver<VerifyKmsConfigResponse> responseObserver)

Verifies KMS config reachability.

Parameters
Name Description
request VerifyKmsConfigRequest
responseObserver io.grpc.stub.StreamObserver<VerifyKmsConfigResponse>