Package com.google.cloud.netapp.v1
Class NetAppGrpc.NetAppStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<NetAppGrpc.NetAppStub>
-
- com.google.cloud.netapp.v1.NetAppGrpc.NetAppStub
-
- Enclosing class:
- NetAppGrpc
public static final class NetAppGrpc.NetAppStub extends io.grpc.stub.AbstractAsyncStub<NetAppGrpc.NetAppStub>
A stub to allow clients to do asynchronous rpc calls to service NetApp.NetApp Files Google Cloud Service
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NetAppGrpc.NetAppStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
createActiveDirectory(CreateActiveDirectoryRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
CreateActiveDirectory Creates the active directory specified in the request.void
createKmsConfig(CreateKmsConfigRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new KMS config.void
createReplication(CreateReplicationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Create a new replication for a volume.void
createSnapshot(CreateSnapshotRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Create a new snapshot for a volume.void
createStoragePool(CreateStoragePoolRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new storage pool.void
createVolume(CreateVolumeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new Volume in a given project and location.void
deleteActiveDirectory(DeleteActiveDirectoryRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Delete the active directory specified in the request.void
deleteKmsConfig(DeleteKmsConfigRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Warning! This operation will permanently delete the Kms config.void
deleteReplication(DeleteReplicationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a replication.void
deleteSnapshot(DeleteSnapshotRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a snapshot.void
deleteStoragePool(DeleteStoragePoolRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Warning! This operation will permanently delete the storage pool.void
deleteVolume(DeleteVolumeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a single Volume.void
encryptVolumes(EncryptVolumesRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Encrypt the existing volumes without CMEK encryption with the desired the KMS config for the whole region.void
getActiveDirectory(GetActiveDirectoryRequest request, io.grpc.stub.StreamObserver<ActiveDirectory> responseObserver)
Describes a specified active directory.void
getKmsConfig(GetKmsConfigRequest request, io.grpc.stub.StreamObserver<KmsConfig> responseObserver)
Returns the description of the specified KMS config by kms_config_id.void
getReplication(GetReplicationRequest request, io.grpc.stub.StreamObserver<Replication> responseObserver)
Describe a replication for a volume.void
getSnapshot(GetSnapshotRequest request, io.grpc.stub.StreamObserver<Snapshot> responseObserver)
Describe a snapshot for a volume.void
getStoragePool(GetStoragePoolRequest request, io.grpc.stub.StreamObserver<StoragePool> responseObserver)
Returns the description of the specified storage pool by poolId.void
getVolume(GetVolumeRequest request, io.grpc.stub.StreamObserver<Volume> responseObserver)
Gets details of a single Volume.void
listActiveDirectories(ListActiveDirectoriesRequest request, io.grpc.stub.StreamObserver<ListActiveDirectoriesResponse> responseObserver)
Lists active directories.void
listKmsConfigs(ListKmsConfigsRequest request, io.grpc.stub.StreamObserver<ListKmsConfigsResponse> responseObserver)
Returns descriptions of all KMS configs owned by the caller.void
listReplications(ListReplicationsRequest request, io.grpc.stub.StreamObserver<ListReplicationsResponse> responseObserver)
Returns descriptions of all replications for a volume.void
listSnapshots(ListSnapshotsRequest request, io.grpc.stub.StreamObserver<ListSnapshotsResponse> responseObserver)
Returns descriptions of all snapshots for a volume.void
listStoragePools(ListStoragePoolsRequest request, io.grpc.stub.StreamObserver<ListStoragePoolsResponse> responseObserver)
Returns descriptions of all storage pools owned by the caller.void
listVolumes(ListVolumesRequest request, io.grpc.stub.StreamObserver<ListVolumesResponse> responseObserver)
Lists Volumes in a given project.void
resumeReplication(ResumeReplicationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Resume Cross Region Replication.void
reverseReplicationDirection(ReverseReplicationDirectionRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Reverses direction of replication.void
revertVolume(RevertVolumeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Revert an existing volume to a specified snapshot.void
stopReplication(StopReplicationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Stop Cross Region Replication.void
updateActiveDirectory(UpdateActiveDirectoryRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Update the parameters of an active directories.void
updateKmsConfig(UpdateKmsConfigRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the Kms config properties with the full specvoid
updateReplication(UpdateReplicationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the settings of a specific replication.void
updateSnapshot(UpdateSnapshotRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the settings of a specific snapshot.void
updateStoragePool(UpdateStoragePoolRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the storage pool properties with the full specvoid
updateVolume(UpdateVolumeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the parameters of a single Volume.void
verifyKmsConfig(VerifyKmsConfigRequest request, io.grpc.stub.StreamObserver<VerifyKmsConfigResponse> responseObserver)
Verifies KMS config reachability.
-
-
-
Method Detail
-
build
protected NetAppGrpc.NetAppStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<NetAppGrpc.NetAppStub>
-
listStoragePools
public void listStoragePools(ListStoragePoolsRequest request, io.grpc.stub.StreamObserver<ListStoragePoolsResponse> responseObserver)
Returns descriptions of all storage pools owned by the caller.
-
createStoragePool
public void createStoragePool(CreateStoragePoolRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new storage pool.
-
getStoragePool
public void getStoragePool(GetStoragePoolRequest request, io.grpc.stub.StreamObserver<StoragePool> responseObserver)
Returns the description of the specified storage pool by poolId.
-
updateStoragePool
public void updateStoragePool(UpdateStoragePoolRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the storage pool properties with the full spec
-
deleteStoragePool
public void deleteStoragePool(DeleteStoragePoolRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Warning! This operation will permanently delete the storage pool.
-
listVolumes
public void listVolumes(ListVolumesRequest request, io.grpc.stub.StreamObserver<ListVolumesResponse> responseObserver)
Lists Volumes in a given project.
-
getVolume
public void getVolume(GetVolumeRequest request, io.grpc.stub.StreamObserver<Volume> responseObserver)
Gets details of a single Volume.
-
createVolume
public void createVolume(CreateVolumeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new Volume in a given project and location.
-
updateVolume
public void updateVolume(UpdateVolumeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the parameters of a single Volume.
-
deleteVolume
public void deleteVolume(DeleteVolumeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a single Volume.
-
revertVolume
public void revertVolume(RevertVolumeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Revert an existing volume to a specified snapshot. Warning! This operation will permanently revert all changes made after the snapshot was created.
-
listSnapshots
public void listSnapshots(ListSnapshotsRequest request, io.grpc.stub.StreamObserver<ListSnapshotsResponse> responseObserver)
Returns descriptions of all snapshots for a volume.
-
getSnapshot
public void getSnapshot(GetSnapshotRequest request, io.grpc.stub.StreamObserver<Snapshot> responseObserver)
Describe a snapshot for a volume.
-
createSnapshot
public void createSnapshot(CreateSnapshotRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Create a new snapshot for a volume.
-
deleteSnapshot
public void deleteSnapshot(DeleteSnapshotRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a snapshot.
-
updateSnapshot
public void updateSnapshot(UpdateSnapshotRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the settings of a specific snapshot.
-
listActiveDirectories
public void listActiveDirectories(ListActiveDirectoriesRequest request, io.grpc.stub.StreamObserver<ListActiveDirectoriesResponse> responseObserver)
Lists active directories.
-
getActiveDirectory
public void getActiveDirectory(GetActiveDirectoryRequest request, io.grpc.stub.StreamObserver<ActiveDirectory> responseObserver)
Describes a specified active directory.
-
createActiveDirectory
public void createActiveDirectory(CreateActiveDirectoryRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
CreateActiveDirectory Creates the active directory specified in the request.
-
updateActiveDirectory
public void updateActiveDirectory(UpdateActiveDirectoryRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Update the parameters of an active directories.
-
deleteActiveDirectory
public void deleteActiveDirectory(DeleteActiveDirectoryRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Delete the active directory specified in the request.
-
listKmsConfigs
public void listKmsConfigs(ListKmsConfigsRequest request, io.grpc.stub.StreamObserver<ListKmsConfigsResponse> responseObserver)
Returns descriptions of all KMS configs owned by the caller.
-
createKmsConfig
public void createKmsConfig(CreateKmsConfigRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new KMS config.
-
getKmsConfig
public void getKmsConfig(GetKmsConfigRequest request, io.grpc.stub.StreamObserver<KmsConfig> responseObserver)
Returns the description of the specified KMS config by kms_config_id.
-
updateKmsConfig
public void updateKmsConfig(UpdateKmsConfigRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the Kms config properties with the full spec
-
encryptVolumes
public void encryptVolumes(EncryptVolumesRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Encrypt the existing volumes without CMEK encryption with the desired the KMS config for the whole region.
-
verifyKmsConfig
public void verifyKmsConfig(VerifyKmsConfigRequest request, io.grpc.stub.StreamObserver<VerifyKmsConfigResponse> responseObserver)
Verifies KMS config reachability.
-
deleteKmsConfig
public void deleteKmsConfig(DeleteKmsConfigRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Warning! This operation will permanently delete the Kms config.
-
listReplications
public void listReplications(ListReplicationsRequest request, io.grpc.stub.StreamObserver<ListReplicationsResponse> responseObserver)
Returns descriptions of all replications for a volume.
-
getReplication
public void getReplication(GetReplicationRequest request, io.grpc.stub.StreamObserver<Replication> responseObserver)
Describe a replication for a volume.
-
createReplication
public void createReplication(CreateReplicationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Create a new replication for a volume.
-
deleteReplication
public void deleteReplication(DeleteReplicationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a replication.
-
updateReplication
public void updateReplication(UpdateReplicationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the settings of a specific replication.
-
stopReplication
public void stopReplication(StopReplicationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Stop Cross Region Replication.
-
resumeReplication
public void resumeReplication(ResumeReplicationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Resume Cross Region Replication.
-
reverseReplicationDirection
public void reverseReplicationDirection(ReverseReplicationDirectionRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Reverses direction of replication. Source becomes destination and destination becomes source.
-
-