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.NetAppStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voidcreateActiveDirectory(CreateActiveDirectoryRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)CreateActiveDirectory Creates the active directory specified in the request.voidcreateKmsConfig(CreateKmsConfigRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Creates a new KMS config.voidcreateReplication(CreateReplicationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Create a new replication for a volume.voidcreateSnapshot(CreateSnapshotRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Create a new snapshot for a volume.voidcreateStoragePool(CreateStoragePoolRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Creates a new storage pool.voidcreateVolume(CreateVolumeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Creates a new Volume in a given project and location.voiddeleteActiveDirectory(DeleteActiveDirectoryRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Delete the active directory specified in the request.voiddeleteKmsConfig(DeleteKmsConfigRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Warning! This operation will permanently delete the Kms config.voiddeleteReplication(DeleteReplicationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Deletes a replication.voiddeleteSnapshot(DeleteSnapshotRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Deletes a snapshot.voiddeleteStoragePool(DeleteStoragePoolRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Warning! This operation will permanently delete the storage pool.voiddeleteVolume(DeleteVolumeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Deletes a single Volume.voidencryptVolumes(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.voidgetActiveDirectory(GetActiveDirectoryRequest request, io.grpc.stub.StreamObserver<ActiveDirectory> responseObserver)Describes a specified active directory.voidgetKmsConfig(GetKmsConfigRequest request, io.grpc.stub.StreamObserver<KmsConfig> responseObserver)Returns the description of the specified KMS config by kms_config_id.voidgetReplication(GetReplicationRequest request, io.grpc.stub.StreamObserver<Replication> responseObserver)Describe a replication for a volume.voidgetSnapshot(GetSnapshotRequest request, io.grpc.stub.StreamObserver<Snapshot> responseObserver)Describe a snapshot for a volume.voidgetStoragePool(GetStoragePoolRequest request, io.grpc.stub.StreamObserver<StoragePool> responseObserver)Returns the description of the specified storage pool by poolId.voidgetVolume(GetVolumeRequest request, io.grpc.stub.StreamObserver<Volume> responseObserver)Gets details of a single Volume.voidlistActiveDirectories(ListActiveDirectoriesRequest request, io.grpc.stub.StreamObserver<ListActiveDirectoriesResponse> responseObserver)Lists active directories.voidlistKmsConfigs(ListKmsConfigsRequest request, io.grpc.stub.StreamObserver<ListKmsConfigsResponse> responseObserver)Returns descriptions of all KMS configs owned by the caller.voidlistReplications(ListReplicationsRequest request, io.grpc.stub.StreamObserver<ListReplicationsResponse> responseObserver)Returns descriptions of all replications for a volume.voidlistSnapshots(ListSnapshotsRequest request, io.grpc.stub.StreamObserver<ListSnapshotsResponse> responseObserver)Returns descriptions of all snapshots for a volume.voidlistStoragePools(ListStoragePoolsRequest request, io.grpc.stub.StreamObserver<ListStoragePoolsResponse> responseObserver)Returns descriptions of all storage pools owned by the caller.voidlistVolumes(ListVolumesRequest request, io.grpc.stub.StreamObserver<ListVolumesResponse> responseObserver)Lists Volumes in a given project.voidresumeReplication(ResumeReplicationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Resume Cross Region Replication.voidreverseReplicationDirection(ReverseReplicationDirectionRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Reverses direction of replication.voidrevertVolume(RevertVolumeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Revert an existing volume to a specified snapshot.voidstopReplication(StopReplicationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Stop Cross Region Replication.voidupdateActiveDirectory(UpdateActiveDirectoryRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Update the parameters of an active directories.voidupdateKmsConfig(UpdateKmsConfigRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Updates the Kms config properties with the full specvoidupdateReplication(UpdateReplicationRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Updates the settings of a specific replication.voidupdateSnapshot(UpdateSnapshotRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Updates the settings of a specific snapshot.voidupdateStoragePool(UpdateStoragePoolRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Updates the storage pool properties with the full specvoidupdateVolume(UpdateVolumeRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Updates the parameters of a single Volume.voidverifyKmsConfig(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:
buildin 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.
-
-