Class NetAppGrpc.NetAppStub (0.18.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateActiveDirectoryRequest
responseObserverio.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
NameDescription
requestCreateBackupRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createBackupPolicy(CreateBackupPolicyRequest request, StreamObserver<Operation> responseObserver)

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

Creates new backup policy

Parameters
NameDescription
requestCreateBackupPolicyRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createBackupVault(CreateBackupVaultRequest request, StreamObserver<Operation> responseObserver)

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

Creates new backup vault

Parameters
NameDescription
requestCreateBackupVaultRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createKmsConfig(CreateKmsConfigRequest request, StreamObserver<Operation> responseObserver)

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

Creates a new KMS config.

Parameters
NameDescription
requestCreateKmsConfigRequest
responseObserverio.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
NameDescription
requestCreateReplicationRequest
responseObserverio.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
NameDescription
requestCreateSnapshotRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createStoragePool(CreateStoragePoolRequest request, StreamObserver<Operation> responseObserver)

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

Creates a new storage pool.

Parameters
NameDescription
requestCreateStoragePoolRequest
responseObserverio.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
NameDescription
requestCreateVolumeRequest
responseObserverio.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
NameDescription
requestDeleteActiveDirectoryRequest
responseObserverio.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
NameDescription
requestDeleteBackupRequest
responseObserverio.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
NameDescription
requestDeleteBackupPolicyRequest
responseObserverio.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
NameDescription
requestDeleteBackupVaultRequest
responseObserverio.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
NameDescription
requestDeleteKmsConfigRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteReplication(DeleteReplicationRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a replication.

Parameters
NameDescription
requestDeleteReplicationRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteSnapshot(DeleteSnapshotRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a snapshot.

Parameters
NameDescription
requestDeleteSnapshotRequest
responseObserverio.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
NameDescription
requestDeleteStoragePoolRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteVolume(DeleteVolumeRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a single Volume.

Parameters
NameDescription
requestDeleteVolumeRequest
responseObserverio.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
NameDescription
requestEncryptVolumesRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getActiveDirectory(GetActiveDirectoryRequest request, StreamObserver<ActiveDirectory> responseObserver)

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

Describes a specified active directory.

Parameters
NameDescription
requestGetActiveDirectoryRequest
responseObserverio.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
NameDescription
requestGetBackupRequest
responseObserverio.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
NameDescription
requestGetBackupPolicyRequest
responseObserverio.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
NameDescription
requestGetBackupVaultRequest
responseObserverio.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
NameDescription
requestGetKmsConfigRequest
responseObserverio.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
NameDescription
requestGetReplicationRequest
responseObserverio.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
NameDescription
requestGetSnapshotRequest
responseObserverio.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
NameDescription
requestGetStoragePoolRequest
responseObserverio.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
NameDescription
requestGetVolumeRequest
responseObserverio.grpc.stub.StreamObserver<Volume>

listActiveDirectories(ListActiveDirectoriesRequest request, StreamObserver<ListActiveDirectoriesResponse> responseObserver)

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

Lists active directories.

Parameters
NameDescription
requestListActiveDirectoriesRequest
responseObserverio.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
NameDescription
requestListBackupPoliciesRequest
responseObserverio.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
NameDescription
requestListBackupVaultsRequest
responseObserverio.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
NameDescription
requestListBackupsRequest
responseObserverio.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
NameDescription
requestListKmsConfigsRequest
responseObserverio.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
NameDescription
requestListReplicationsRequest
responseObserverio.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
NameDescription
requestListSnapshotsRequest
responseObserverio.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
NameDescription
requestListStoragePoolsRequest
responseObserverio.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
NameDescription
requestListVolumesRequest
responseObserverio.grpc.stub.StreamObserver<ListVolumesResponse>

resumeReplication(ResumeReplicationRequest request, StreamObserver<Operation> responseObserver)

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

Resume Cross Region Replication.

Parameters
NameDescription
requestResumeReplicationRequest
responseObserverio.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
NameDescription
requestReverseReplicationDirectionRequest
responseObserverio.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
NameDescription
requestRevertVolumeRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

stopReplication(StopReplicationRequest request, StreamObserver<Operation> responseObserver)

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

Stop Cross Region Replication.

Parameters
NameDescription
requestStopReplicationRequest
responseObserverio.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
NameDescription
requestUpdateActiveDirectoryRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateBackup(UpdateBackupRequest request, StreamObserver<Operation> responseObserver)

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

Update backup with full spec.

Parameters
NameDescription
requestUpdateBackupRequest
responseObserverio.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
NameDescription
requestUpdateBackupPolicyRequest
responseObserverio.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
NameDescription
requestUpdateBackupVaultRequest
responseObserverio.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
NameDescription
requestUpdateKmsConfigRequest
responseObserverio.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
NameDescription
requestUpdateReplicationRequest
responseObserverio.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
NameDescription
requestUpdateSnapshotRequest
responseObserverio.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
NameDescription
requestUpdateStoragePoolRequest
responseObserverio.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
NameDescription
requestUpdateVolumeRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

verifyKmsConfig(VerifyKmsConfigRequest request, StreamObserver<VerifyKmsConfigResponse> responseObserver)

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

Verifies KMS config reachability.

Parameters
NameDescription
requestVerifyKmsConfigRequest
responseObserverio.grpc.stub.StreamObserver<VerifyKmsConfigResponse>