Class HttpJsonNetAppStub (0.7.0)

public class HttpJsonNetAppStub extends NetAppStub

REST stub implementation for the NetApp service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > NetAppStub > HttpJsonNetAppStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonNetAppStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonNetAppStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonNetAppStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonNetAppStub
Exceptions
TypeDescription
IOException

create(NetAppStubSettings settings)

public static final HttpJsonNetAppStub create(NetAppStubSettings settings)
Parameter
NameDescription
settingsNetAppStubSettings
Returns
TypeDescription
HttpJsonNetAppStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonNetAppStub(NetAppStubSettings settings, ClientContext clientContext)

protected HttpJsonNetAppStub(NetAppStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonNetAppStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsNetAppStubSettings
clientContextClientContext

HttpJsonNetAppStub(NetAppStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonNetAppStub(NetAppStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonNetAppStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
NameDescription
settingsNetAppStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createActiveDirectoryCallable()

public UnaryCallable<CreateActiveDirectoryRequest,Operation> createActiveDirectoryCallable()
Returns
TypeDescription
UnaryCallable<CreateActiveDirectoryRequest,Operation>
Overrides

createActiveDirectoryOperationCallable()

public OperationCallable<CreateActiveDirectoryRequest,ActiveDirectory,OperationMetadata> createActiveDirectoryOperationCallable()
Returns
TypeDescription
OperationCallable<CreateActiveDirectoryRequest,ActiveDirectory,OperationMetadata>
Overrides

createKmsConfigCallable()

public UnaryCallable<CreateKmsConfigRequest,Operation> createKmsConfigCallable()
Returns
TypeDescription
UnaryCallable<CreateKmsConfigRequest,Operation>
Overrides

createKmsConfigOperationCallable()

public OperationCallable<CreateKmsConfigRequest,KmsConfig,OperationMetadata> createKmsConfigOperationCallable()
Returns
TypeDescription
OperationCallable<CreateKmsConfigRequest,KmsConfig,OperationMetadata>
Overrides

createReplicationCallable()

public UnaryCallable<CreateReplicationRequest,Operation> createReplicationCallable()
Returns
TypeDescription
UnaryCallable<CreateReplicationRequest,Operation>
Overrides

createReplicationOperationCallable()

public OperationCallable<CreateReplicationRequest,Replication,OperationMetadata> createReplicationOperationCallable()
Returns
TypeDescription
OperationCallable<CreateReplicationRequest,Replication,OperationMetadata>
Overrides

createSnapshotCallable()

public UnaryCallable<CreateSnapshotRequest,Operation> createSnapshotCallable()
Returns
TypeDescription
UnaryCallable<CreateSnapshotRequest,Operation>
Overrides

createSnapshotOperationCallable()

public OperationCallable<CreateSnapshotRequest,Snapshot,OperationMetadata> createSnapshotOperationCallable()
Returns
TypeDescription
OperationCallable<CreateSnapshotRequest,Snapshot,OperationMetadata>
Overrides

createStoragePoolCallable()

public UnaryCallable<CreateStoragePoolRequest,Operation> createStoragePoolCallable()
Returns
TypeDescription
UnaryCallable<CreateStoragePoolRequest,Operation>
Overrides

createStoragePoolOperationCallable()

public OperationCallable<CreateStoragePoolRequest,StoragePool,OperationMetadata> createStoragePoolOperationCallable()
Returns
TypeDescription
OperationCallable<CreateStoragePoolRequest,StoragePool,OperationMetadata>
Overrides

createVolumeCallable()

public UnaryCallable<CreateVolumeRequest,Operation> createVolumeCallable()
Returns
TypeDescription
UnaryCallable<CreateVolumeRequest,Operation>
Overrides

createVolumeOperationCallable()

public OperationCallable<CreateVolumeRequest,Volume,OperationMetadata> createVolumeOperationCallable()
Returns
TypeDescription
OperationCallable<CreateVolumeRequest,Volume,OperationMetadata>
Overrides

deleteActiveDirectoryCallable()

public UnaryCallable<DeleteActiveDirectoryRequest,Operation> deleteActiveDirectoryCallable()
Returns
TypeDescription
UnaryCallable<DeleteActiveDirectoryRequest,Operation>
Overrides

deleteActiveDirectoryOperationCallable()

public OperationCallable<DeleteActiveDirectoryRequest,Empty,OperationMetadata> deleteActiveDirectoryOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteActiveDirectoryRequest,Empty,OperationMetadata>
Overrides

deleteKmsConfigCallable()

public UnaryCallable<DeleteKmsConfigRequest,Operation> deleteKmsConfigCallable()
Returns
TypeDescription
UnaryCallable<DeleteKmsConfigRequest,Operation>
Overrides

deleteKmsConfigOperationCallable()

public OperationCallable<DeleteKmsConfigRequest,Empty,OperationMetadata> deleteKmsConfigOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteKmsConfigRequest,Empty,OperationMetadata>
Overrides

deleteReplicationCallable()

public UnaryCallable<DeleteReplicationRequest,Operation> deleteReplicationCallable()
Returns
TypeDescription
UnaryCallable<DeleteReplicationRequest,Operation>
Overrides

deleteReplicationOperationCallable()

public OperationCallable<DeleteReplicationRequest,Empty,OperationMetadata> deleteReplicationOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteReplicationRequest,Empty,OperationMetadata>
Overrides

deleteSnapshotCallable()

public UnaryCallable<DeleteSnapshotRequest,Operation> deleteSnapshotCallable()
Returns
TypeDescription
UnaryCallable<DeleteSnapshotRequest,Operation>
Overrides

deleteSnapshotOperationCallable()

public OperationCallable<DeleteSnapshotRequest,Empty,OperationMetadata> deleteSnapshotOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteSnapshotRequest,Empty,OperationMetadata>
Overrides

deleteStoragePoolCallable()

public UnaryCallable<DeleteStoragePoolRequest,Operation> deleteStoragePoolCallable()
Returns
TypeDescription
UnaryCallable<DeleteStoragePoolRequest,Operation>
Overrides

deleteStoragePoolOperationCallable()

public OperationCallable<DeleteStoragePoolRequest,Empty,OperationMetadata> deleteStoragePoolOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteStoragePoolRequest,Empty,OperationMetadata>
Overrides

deleteVolumeCallable()

public UnaryCallable<DeleteVolumeRequest,Operation> deleteVolumeCallable()
Returns
TypeDescription
UnaryCallable<DeleteVolumeRequest,Operation>
Overrides

deleteVolumeOperationCallable()

public OperationCallable<DeleteVolumeRequest,Empty,OperationMetadata> deleteVolumeOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteVolumeRequest,Empty,OperationMetadata>
Overrides

encryptVolumesCallable()

public UnaryCallable<EncryptVolumesRequest,Operation> encryptVolumesCallable()
Returns
TypeDescription
UnaryCallable<EncryptVolumesRequest,Operation>
Overrides

encryptVolumesOperationCallable()

public OperationCallable<EncryptVolumesRequest,KmsConfig,OperationMetadata> encryptVolumesOperationCallable()
Returns
TypeDescription
OperationCallable<EncryptVolumesRequest,KmsConfig,OperationMetadata>
Overrides

getActiveDirectoryCallable()

public UnaryCallable<GetActiveDirectoryRequest,ActiveDirectory> getActiveDirectoryCallable()
Returns
TypeDescription
UnaryCallable<GetActiveDirectoryRequest,ActiveDirectory>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

getKmsConfigCallable()

public UnaryCallable<GetKmsConfigRequest,KmsConfig> getKmsConfigCallable()
Returns
TypeDescription
UnaryCallable<GetKmsConfigRequest,KmsConfig>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getReplicationCallable()

public UnaryCallable<GetReplicationRequest,Replication> getReplicationCallable()
Returns
TypeDescription
UnaryCallable<GetReplicationRequest,Replication>
Overrides

getSnapshotCallable()

public UnaryCallable<GetSnapshotRequest,Snapshot> getSnapshotCallable()
Returns
TypeDescription
UnaryCallable<GetSnapshotRequest,Snapshot>
Overrides

getStoragePoolCallable()

public UnaryCallable<GetStoragePoolRequest,StoragePool> getStoragePoolCallable()
Returns
TypeDescription
UnaryCallable<GetStoragePoolRequest,StoragePool>
Overrides

getVolumeCallable()

public UnaryCallable<GetVolumeRequest,Volume> getVolumeCallable()
Returns
TypeDescription
UnaryCallable<GetVolumeRequest,Volume>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listActiveDirectoriesCallable()

public UnaryCallable<ListActiveDirectoriesRequest,ListActiveDirectoriesResponse> listActiveDirectoriesCallable()
Returns
TypeDescription
UnaryCallable<ListActiveDirectoriesRequest,ListActiveDirectoriesResponse>
Overrides

listActiveDirectoriesPagedCallable()

public UnaryCallable<ListActiveDirectoriesRequest,NetAppClient.ListActiveDirectoriesPagedResponse> listActiveDirectoriesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListActiveDirectoriesRequest,ListActiveDirectoriesPagedResponse>
Overrides

listKmsConfigsCallable()

public UnaryCallable<ListKmsConfigsRequest,ListKmsConfigsResponse> listKmsConfigsCallable()
Returns
TypeDescription
UnaryCallable<ListKmsConfigsRequest,ListKmsConfigsResponse>
Overrides

listKmsConfigsPagedCallable()

public UnaryCallable<ListKmsConfigsRequest,NetAppClient.ListKmsConfigsPagedResponse> listKmsConfigsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListKmsConfigsRequest,ListKmsConfigsPagedResponse>
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,NetAppClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listReplicationsCallable()

public UnaryCallable<ListReplicationsRequest,ListReplicationsResponse> listReplicationsCallable()
Returns
TypeDescription
UnaryCallable<ListReplicationsRequest,ListReplicationsResponse>
Overrides

listReplicationsPagedCallable()

public UnaryCallable<ListReplicationsRequest,NetAppClient.ListReplicationsPagedResponse> listReplicationsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListReplicationsRequest,ListReplicationsPagedResponse>
Overrides

listSnapshotsCallable()

public UnaryCallable<ListSnapshotsRequest,ListSnapshotsResponse> listSnapshotsCallable()
Returns
TypeDescription
UnaryCallable<ListSnapshotsRequest,ListSnapshotsResponse>
Overrides

listSnapshotsPagedCallable()

public UnaryCallable<ListSnapshotsRequest,NetAppClient.ListSnapshotsPagedResponse> listSnapshotsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListSnapshotsRequest,ListSnapshotsPagedResponse>
Overrides

listStoragePoolsCallable()

public UnaryCallable<ListStoragePoolsRequest,ListStoragePoolsResponse> listStoragePoolsCallable()
Returns
TypeDescription
UnaryCallable<ListStoragePoolsRequest,ListStoragePoolsResponse>
Overrides

listStoragePoolsPagedCallable()

public UnaryCallable<ListStoragePoolsRequest,NetAppClient.ListStoragePoolsPagedResponse> listStoragePoolsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListStoragePoolsRequest,ListStoragePoolsPagedResponse>
Overrides

listVolumesCallable()

public UnaryCallable<ListVolumesRequest,ListVolumesResponse> listVolumesCallable()
Returns
TypeDescription
UnaryCallable<ListVolumesRequest,ListVolumesResponse>
Overrides

listVolumesPagedCallable()

public UnaryCallable<ListVolumesRequest,NetAppClient.ListVolumesPagedResponse> listVolumesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListVolumesRequest,ListVolumesPagedResponse>
Overrides

resumeReplicationCallable()

public UnaryCallable<ResumeReplicationRequest,Operation> resumeReplicationCallable()
Returns
TypeDescription
UnaryCallable<ResumeReplicationRequest,Operation>
Overrides

resumeReplicationOperationCallable()

public OperationCallable<ResumeReplicationRequest,Replication,OperationMetadata> resumeReplicationOperationCallable()
Returns
TypeDescription
OperationCallable<ResumeReplicationRequest,Replication,OperationMetadata>
Overrides

reverseReplicationDirectionCallable()

public UnaryCallable<ReverseReplicationDirectionRequest,Operation> reverseReplicationDirectionCallable()
Returns
TypeDescription
UnaryCallable<ReverseReplicationDirectionRequest,Operation>
Overrides

reverseReplicationDirectionOperationCallable()

public OperationCallable<ReverseReplicationDirectionRequest,Replication,OperationMetadata> reverseReplicationDirectionOperationCallable()
Returns
TypeDescription
OperationCallable<ReverseReplicationDirectionRequest,Replication,OperationMetadata>
Overrides

revertVolumeCallable()

public UnaryCallable<RevertVolumeRequest,Operation> revertVolumeCallable()
Returns
TypeDescription
UnaryCallable<RevertVolumeRequest,Operation>
Overrides

revertVolumeOperationCallable()

public OperationCallable<RevertVolumeRequest,Volume,OperationMetadata> revertVolumeOperationCallable()
Returns
TypeDescription
OperationCallable<RevertVolumeRequest,Volume,OperationMetadata>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

stopReplicationCallable()

public UnaryCallable<StopReplicationRequest,Operation> stopReplicationCallable()
Returns
TypeDescription
UnaryCallable<StopReplicationRequest,Operation>
Overrides

stopReplicationOperationCallable()

public OperationCallable<StopReplicationRequest,Replication,OperationMetadata> stopReplicationOperationCallable()
Returns
TypeDescription
OperationCallable<StopReplicationRequest,Replication,OperationMetadata>
Overrides

updateActiveDirectoryCallable()

public UnaryCallable<UpdateActiveDirectoryRequest,Operation> updateActiveDirectoryCallable()
Returns
TypeDescription
UnaryCallable<UpdateActiveDirectoryRequest,Operation>
Overrides

updateActiveDirectoryOperationCallable()

public OperationCallable<UpdateActiveDirectoryRequest,ActiveDirectory,OperationMetadata> updateActiveDirectoryOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateActiveDirectoryRequest,ActiveDirectory,OperationMetadata>
Overrides

updateKmsConfigCallable()

public UnaryCallable<UpdateKmsConfigRequest,Operation> updateKmsConfigCallable()
Returns
TypeDescription
UnaryCallable<UpdateKmsConfigRequest,Operation>
Overrides

updateKmsConfigOperationCallable()

public OperationCallable<UpdateKmsConfigRequest,KmsConfig,OperationMetadata> updateKmsConfigOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateKmsConfigRequest,KmsConfig,OperationMetadata>
Overrides

updateReplicationCallable()

public UnaryCallable<UpdateReplicationRequest,Operation> updateReplicationCallable()
Returns
TypeDescription
UnaryCallable<UpdateReplicationRequest,Operation>
Overrides

updateReplicationOperationCallable()

public OperationCallable<UpdateReplicationRequest,Replication,OperationMetadata> updateReplicationOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateReplicationRequest,Replication,OperationMetadata>
Overrides

updateSnapshotCallable()

public UnaryCallable<UpdateSnapshotRequest,Operation> updateSnapshotCallable()
Returns
TypeDescription
UnaryCallable<UpdateSnapshotRequest,Operation>
Overrides

updateSnapshotOperationCallable()

public OperationCallable<UpdateSnapshotRequest,Snapshot,OperationMetadata> updateSnapshotOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateSnapshotRequest,Snapshot,OperationMetadata>
Overrides

updateStoragePoolCallable()

public UnaryCallable<UpdateStoragePoolRequest,Operation> updateStoragePoolCallable()
Returns
TypeDescription
UnaryCallable<UpdateStoragePoolRequest,Operation>
Overrides

updateStoragePoolOperationCallable()

public OperationCallable<UpdateStoragePoolRequest,StoragePool,OperationMetadata> updateStoragePoolOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateStoragePoolRequest,StoragePool,OperationMetadata>
Overrides

updateVolumeCallable()

public UnaryCallable<UpdateVolumeRequest,Operation> updateVolumeCallable()
Returns
TypeDescription
UnaryCallable<UpdateVolumeRequest,Operation>
Overrides

updateVolumeOperationCallable()

public OperationCallable<UpdateVolumeRequest,Volume,OperationMetadata> updateVolumeOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateVolumeRequest,Volume,OperationMetadata>
Overrides

verifyKmsConfigCallable()

public UnaryCallable<VerifyKmsConfigRequest,VerifyKmsConfigResponse> verifyKmsConfigCallable()
Returns
TypeDescription
UnaryCallable<VerifyKmsConfigRequest,VerifyKmsConfigResponse>
Overrides