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.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonNetAppStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonNetAppStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonNetAppStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonNetAppStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(NetAppStubSettings settings)
public static final HttpJsonNetAppStub create(NetAppStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | NetAppStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonNetAppStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
settings | NetAppStubSettings |
clientContext | ClientContext |
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 | |
---|---|
Name | Description |
settings | NetAppStubSettings |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters | |
---|---|
Name | Description |
duration | long |
unit | TimeUnit |
Returns | |
---|---|
Type | Description |
boolean |
Exceptions | |
---|---|
Type | Description |
InterruptedException |
close()
public final void close()
createActiveDirectoryCallable()
public UnaryCallable<CreateActiveDirectoryRequest,Operation> createActiveDirectoryCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateActiveDirectoryRequest,Operation> |
createActiveDirectoryOperationCallable()
public OperationCallable<CreateActiveDirectoryRequest,ActiveDirectory,OperationMetadata> createActiveDirectoryOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateActiveDirectoryRequest,ActiveDirectory,OperationMetadata> |
createKmsConfigCallable()
public UnaryCallable<CreateKmsConfigRequest,Operation> createKmsConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateKmsConfigRequest,Operation> |
createKmsConfigOperationCallable()
public OperationCallable<CreateKmsConfigRequest,KmsConfig,OperationMetadata> createKmsConfigOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateKmsConfigRequest,KmsConfig,OperationMetadata> |
createReplicationCallable()
public UnaryCallable<CreateReplicationRequest,Operation> createReplicationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateReplicationRequest,Operation> |
createReplicationOperationCallable()
public OperationCallable<CreateReplicationRequest,Replication,OperationMetadata> createReplicationOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateReplicationRequest,Replication,OperationMetadata> |
createSnapshotCallable()
public UnaryCallable<CreateSnapshotRequest,Operation> createSnapshotCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateSnapshotRequest,Operation> |
createSnapshotOperationCallable()
public OperationCallable<CreateSnapshotRequest,Snapshot,OperationMetadata> createSnapshotOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateSnapshotRequest,Snapshot,OperationMetadata> |
createStoragePoolCallable()
public UnaryCallable<CreateStoragePoolRequest,Operation> createStoragePoolCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateStoragePoolRequest,Operation> |
createStoragePoolOperationCallable()
public OperationCallable<CreateStoragePoolRequest,StoragePool,OperationMetadata> createStoragePoolOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateStoragePoolRequest,StoragePool,OperationMetadata> |
createVolumeCallable()
public UnaryCallable<CreateVolumeRequest,Operation> createVolumeCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateVolumeRequest,Operation> |
createVolumeOperationCallable()
public OperationCallable<CreateVolumeRequest,Volume,OperationMetadata> createVolumeOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateVolumeRequest,Volume,OperationMetadata> |
deleteActiveDirectoryCallable()
public UnaryCallable<DeleteActiveDirectoryRequest,Operation> deleteActiveDirectoryCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteActiveDirectoryRequest,Operation> |
deleteActiveDirectoryOperationCallable()
public OperationCallable<DeleteActiveDirectoryRequest,Empty,OperationMetadata> deleteActiveDirectoryOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteActiveDirectoryRequest,Empty,OperationMetadata> |
deleteKmsConfigCallable()
public UnaryCallable<DeleteKmsConfigRequest,Operation> deleteKmsConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteKmsConfigRequest,Operation> |
deleteKmsConfigOperationCallable()
public OperationCallable<DeleteKmsConfigRequest,Empty,OperationMetadata> deleteKmsConfigOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteKmsConfigRequest,Empty,OperationMetadata> |
deleteReplicationCallable()
public UnaryCallable<DeleteReplicationRequest,Operation> deleteReplicationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteReplicationRequest,Operation> |
deleteReplicationOperationCallable()
public OperationCallable<DeleteReplicationRequest,Empty,OperationMetadata> deleteReplicationOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteReplicationRequest,Empty,OperationMetadata> |
deleteSnapshotCallable()
public UnaryCallable<DeleteSnapshotRequest,Operation> deleteSnapshotCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteSnapshotRequest,Operation> |
deleteSnapshotOperationCallable()
public OperationCallable<DeleteSnapshotRequest,Empty,OperationMetadata> deleteSnapshotOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteSnapshotRequest,Empty,OperationMetadata> |
deleteStoragePoolCallable()
public UnaryCallable<DeleteStoragePoolRequest,Operation> deleteStoragePoolCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteStoragePoolRequest,Operation> |
deleteStoragePoolOperationCallable()
public OperationCallable<DeleteStoragePoolRequest,Empty,OperationMetadata> deleteStoragePoolOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteStoragePoolRequest,Empty,OperationMetadata> |
deleteVolumeCallable()
public UnaryCallable<DeleteVolumeRequest,Operation> deleteVolumeCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteVolumeRequest,Operation> |
deleteVolumeOperationCallable()
public OperationCallable<DeleteVolumeRequest,Empty,OperationMetadata> deleteVolumeOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteVolumeRequest,Empty,OperationMetadata> |
encryptVolumesCallable()
public UnaryCallable<EncryptVolumesRequest,Operation> encryptVolumesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<EncryptVolumesRequest,Operation> |
encryptVolumesOperationCallable()
public OperationCallable<EncryptVolumesRequest,KmsConfig,OperationMetadata> encryptVolumesOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<EncryptVolumesRequest,KmsConfig,OperationMetadata> |
getActiveDirectoryCallable()
public UnaryCallable<GetActiveDirectoryRequest,ActiveDirectory> getActiveDirectoryCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetActiveDirectoryRequest,ActiveDirectory> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
getKmsConfigCallable()
public UnaryCallable<GetKmsConfigRequest,KmsConfig> getKmsConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetKmsConfigRequest,KmsConfig> |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getReplicationCallable()
public UnaryCallable<GetReplicationRequest,Replication> getReplicationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetReplicationRequest,Replication> |
getSnapshotCallable()
public UnaryCallable<GetSnapshotRequest,Snapshot> getSnapshotCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetSnapshotRequest,Snapshot> |
getStoragePoolCallable()
public UnaryCallable<GetStoragePoolRequest,StoragePool> getStoragePoolCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetStoragePoolRequest,StoragePool> |
getVolumeCallable()
public UnaryCallable<GetVolumeRequest,Volume> getVolumeCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetVolumeRequest,Volume> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listActiveDirectoriesCallable()
public UnaryCallable<ListActiveDirectoriesRequest,ListActiveDirectoriesResponse> listActiveDirectoriesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListActiveDirectoriesRequest,ListActiveDirectoriesResponse> |
listActiveDirectoriesPagedCallable()
public UnaryCallable<ListActiveDirectoriesRequest,NetAppClient.ListActiveDirectoriesPagedResponse> listActiveDirectoriesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListActiveDirectoriesRequest,ListActiveDirectoriesPagedResponse> |
listKmsConfigsCallable()
public UnaryCallable<ListKmsConfigsRequest,ListKmsConfigsResponse> listKmsConfigsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListKmsConfigsRequest,ListKmsConfigsResponse> |
listKmsConfigsPagedCallable()
public UnaryCallable<ListKmsConfigsRequest,NetAppClient.ListKmsConfigsPagedResponse> listKmsConfigsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListKmsConfigsRequest,ListKmsConfigsPagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,NetAppClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
listReplicationsCallable()
public UnaryCallable<ListReplicationsRequest,ListReplicationsResponse> listReplicationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListReplicationsRequest,ListReplicationsResponse> |
listReplicationsPagedCallable()
public UnaryCallable<ListReplicationsRequest,NetAppClient.ListReplicationsPagedResponse> listReplicationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListReplicationsRequest,ListReplicationsPagedResponse> |
listSnapshotsCallable()
public UnaryCallable<ListSnapshotsRequest,ListSnapshotsResponse> listSnapshotsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListSnapshotsRequest,ListSnapshotsResponse> |
listSnapshotsPagedCallable()
public UnaryCallable<ListSnapshotsRequest,NetAppClient.ListSnapshotsPagedResponse> listSnapshotsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListSnapshotsRequest,ListSnapshotsPagedResponse> |
listStoragePoolsCallable()
public UnaryCallable<ListStoragePoolsRequest,ListStoragePoolsResponse> listStoragePoolsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListStoragePoolsRequest,ListStoragePoolsResponse> |
listStoragePoolsPagedCallable()
public UnaryCallable<ListStoragePoolsRequest,NetAppClient.ListStoragePoolsPagedResponse> listStoragePoolsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListStoragePoolsRequest,ListStoragePoolsPagedResponse> |
listVolumesCallable()
public UnaryCallable<ListVolumesRequest,ListVolumesResponse> listVolumesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListVolumesRequest,ListVolumesResponse> |
listVolumesPagedCallable()
public UnaryCallable<ListVolumesRequest,NetAppClient.ListVolumesPagedResponse> listVolumesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListVolumesRequest,ListVolumesPagedResponse> |
resumeReplicationCallable()
public UnaryCallable<ResumeReplicationRequest,Operation> resumeReplicationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ResumeReplicationRequest,Operation> |
resumeReplicationOperationCallable()
public OperationCallable<ResumeReplicationRequest,Replication,OperationMetadata> resumeReplicationOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<ResumeReplicationRequest,Replication,OperationMetadata> |
reverseReplicationDirectionCallable()
public UnaryCallable<ReverseReplicationDirectionRequest,Operation> reverseReplicationDirectionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ReverseReplicationDirectionRequest,Operation> |
reverseReplicationDirectionOperationCallable()
public OperationCallable<ReverseReplicationDirectionRequest,Replication,OperationMetadata> reverseReplicationDirectionOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<ReverseReplicationDirectionRequest,Replication,OperationMetadata> |
revertVolumeCallable()
public UnaryCallable<RevertVolumeRequest,Operation> revertVolumeCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RevertVolumeRequest,Operation> |
revertVolumeOperationCallable()
public OperationCallable<RevertVolumeRequest,Volume,OperationMetadata> revertVolumeOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<RevertVolumeRequest,Volume,OperationMetadata> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
stopReplicationCallable()
public UnaryCallable<StopReplicationRequest,Operation> stopReplicationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<StopReplicationRequest,Operation> |
stopReplicationOperationCallable()
public OperationCallable<StopReplicationRequest,Replication,OperationMetadata> stopReplicationOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<StopReplicationRequest,Replication,OperationMetadata> |
updateActiveDirectoryCallable()
public UnaryCallable<UpdateActiveDirectoryRequest,Operation> updateActiveDirectoryCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateActiveDirectoryRequest,Operation> |
updateActiveDirectoryOperationCallable()
public OperationCallable<UpdateActiveDirectoryRequest,ActiveDirectory,OperationMetadata> updateActiveDirectoryOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateActiveDirectoryRequest,ActiveDirectory,OperationMetadata> |
updateKmsConfigCallable()
public UnaryCallable<UpdateKmsConfigRequest,Operation> updateKmsConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateKmsConfigRequest,Operation> |
updateKmsConfigOperationCallable()
public OperationCallable<UpdateKmsConfigRequest,KmsConfig,OperationMetadata> updateKmsConfigOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateKmsConfigRequest,KmsConfig,OperationMetadata> |
updateReplicationCallable()
public UnaryCallable<UpdateReplicationRequest,Operation> updateReplicationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateReplicationRequest,Operation> |
updateReplicationOperationCallable()
public OperationCallable<UpdateReplicationRequest,Replication,OperationMetadata> updateReplicationOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateReplicationRequest,Replication,OperationMetadata> |
updateSnapshotCallable()
public UnaryCallable<UpdateSnapshotRequest,Operation> updateSnapshotCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateSnapshotRequest,Operation> |
updateSnapshotOperationCallable()
public OperationCallable<UpdateSnapshotRequest,Snapshot,OperationMetadata> updateSnapshotOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateSnapshotRequest,Snapshot,OperationMetadata> |
updateStoragePoolCallable()
public UnaryCallable<UpdateStoragePoolRequest,Operation> updateStoragePoolCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateStoragePoolRequest,Operation> |
updateStoragePoolOperationCallable()
public OperationCallable<UpdateStoragePoolRequest,StoragePool,OperationMetadata> updateStoragePoolOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateStoragePoolRequest,StoragePool,OperationMetadata> |
updateVolumeCallable()
public UnaryCallable<UpdateVolumeRequest,Operation> updateVolumeCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateVolumeRequest,Operation> |
updateVolumeOperationCallable()
public OperationCallable<UpdateVolumeRequest,Volume,OperationMetadata> updateVolumeOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateVolumeRequest,Volume,OperationMetadata> |
verifyKmsConfigCallable()
public UnaryCallable<VerifyKmsConfigRequest,VerifyKmsConfigResponse> verifyKmsConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<VerifyKmsConfigRequest,VerifyKmsConfigResponse> |