Class NetAppGrpc.NetAppStub (0.6.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>

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>

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>

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>

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>

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>