Class NetAppGrpc.NetAppFutureStub (0.1.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>

createKmsConfig(CreateKmsConfigRequest request)

public ListenableFuture<Operation> createKmsConfig(CreateKmsConfigRequest request)

CreateKmsConfig 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)

CreateStoragePool 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)

CreateVolume 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)

DeleteActiveDirectory Delete the active directory specified in the request.

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

deleteKmsConfig(DeleteKmsConfigRequest request)

public ListenableFuture<Operation> deleteKmsConfig(DeleteKmsConfigRequest request)

DeleteKmsConfig 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)

DeleteStoragePool 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)

DeleteVolume 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)

EncryptVolumes 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)

DescribeActiveDirectory Describes a specified active directory.

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

getKmsConfig(GetKmsConfigRequest request)

public ListenableFuture<KmsConfig> getKmsConfig(GetKmsConfigRequest request)

GetKmsConfig 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)

GetStoragePool 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)

GetVolume 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)

ListActiveDirectories Lists active directories.

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

listKmsConfigs(ListKmsConfigsRequest request)

public ListenableFuture<ListKmsConfigsResponse> listKmsConfigs(ListKmsConfigsRequest request)

ListKmsConfigs 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)

ListStoragePools 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)

ListVolumes 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)

ReverseReplicationDirection 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)

UpdateActiveDirectory Update the parameters of an active directories.

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

updateKmsConfig(UpdateKmsConfigRequest request)

public ListenableFuture<Operation> updateKmsConfig(UpdateKmsConfigRequest request)

UpdateKmsConfig 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)

UpdateStoragePool 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)

UpdateVolume 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)

VerifyKmsConfigRequest Verifies KMS config reachability.

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