public class NetAppSettings extends ClientSettings<NetAppSettings>
Settings class to configure an instance of NetAppClient.
The default instance has everything set to sensible defaults:
- The default service address (netapp.googleapis.com) and default port (443) are used.
- Credentials are acquired automatically through Application Default Credentials.
- Retries are configured for idempotent methods but not for non-idempotent methods.
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
For example, to set the total timeout of getStoragePool to 30 seconds:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
NetAppSettings.Builder netAppSettingsBuilder = NetAppSettings.newBuilder();
netAppSettingsBuilder
.getStoragePoolSettings()
.setRetrySettings(
netAppSettingsBuilder
.getStoragePoolSettings()
.getRetrySettings()
.toBuilder()
.setTotalTimeout(Duration.ofSeconds(30))
.build());
NetAppSettings netAppSettings = netAppSettingsBuilder.build();
Static Methods
create(NetAppStubSettings stub)
public static final NetAppSettings create(NetAppStubSettings stub)
Parameter | |
---|---|
Name | Description |
stub | NetAppStubSettings |
Returns | |
---|---|
Type | Description |
NetAppSettings |
Exceptions | |
---|---|
Type | Description |
IOException |
defaultApiClientHeaderProviderBuilder()
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Returns | |
---|---|
Type | Description |
Builder |
defaultCredentialsProviderBuilder()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
Returns | |
---|---|
Type | Description |
Builder |
defaultExecutorProviderBuilder()
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
Returns | |
---|---|
Type | Description |
Builder |
defaultGrpcTransportProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
Returns a builder for the default gRPC ChannelProvider for this service.
Returns | |
---|---|
Type | Description |
Builder |
defaultHttpJsonTransportProviderBuilder()
public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
Returns a builder for the default REST ChannelProvider for this service.
Returns | |
---|---|
Type | Description |
Builder |
defaultTransportChannelProvider()
public static TransportChannelProvider defaultTransportChannelProvider()
Returns | |
---|---|
Type | Description |
TransportChannelProvider |
getDefaultEndpoint()
public static String getDefaultEndpoint()
Returns the default service endpoint.
Returns | |
---|---|
Type | Description |
String |
getDefaultServiceScopes()
public static List<String> getDefaultServiceScopes()
Returns the default service scopes.
Returns | |
---|---|
Type | Description |
List<String> |
newBuilder()
public static NetAppSettings.Builder newBuilder()
Returns a new gRPC builder for this class.
Returns | |
---|---|
Type | Description |
NetAppSettings.Builder |
newBuilder(ClientContext clientContext)
public static NetAppSettings.Builder newBuilder(ClientContext clientContext)
Returns a new builder for this class.
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Returns | |
---|---|
Type | Description |
NetAppSettings.Builder |
newHttpJsonBuilder()
public static NetAppSettings.Builder newHttpJsonBuilder()
Returns a new REST builder for this class.
Returns | |
---|---|
Type | Description |
NetAppSettings.Builder |
Constructors
NetAppSettings(NetAppSettings.Builder settingsBuilder)
protected NetAppSettings(NetAppSettings.Builder settingsBuilder)
Parameter | |
---|---|
Name | Description |
settingsBuilder | NetAppSettings.Builder |
Methods
createActiveDirectoryOperationSettings()
public OperationCallSettings<CreateActiveDirectoryRequest,ActiveDirectory,OperationMetadata> createActiveDirectoryOperationSettings()
Returns the object with the settings used for calls to createActiveDirectory.
Returns | |
---|---|
Type | Description |
OperationCallSettings<CreateActiveDirectoryRequest,ActiveDirectory,OperationMetadata> |
createActiveDirectorySettings()
public UnaryCallSettings<CreateActiveDirectoryRequest,Operation> createActiveDirectorySettings()
Returns the object with the settings used for calls to createActiveDirectory.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<CreateActiveDirectoryRequest,Operation> |
createKmsConfigOperationSettings()
public OperationCallSettings<CreateKmsConfigRequest,KmsConfig,OperationMetadata> createKmsConfigOperationSettings()
Returns the object with the settings used for calls to createKmsConfig.
Returns | |
---|---|
Type | Description |
OperationCallSettings<CreateKmsConfigRequest,KmsConfig,OperationMetadata> |
createKmsConfigSettings()
public UnaryCallSettings<CreateKmsConfigRequest,Operation> createKmsConfigSettings()
Returns the object with the settings used for calls to createKmsConfig.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<CreateKmsConfigRequest,Operation> |
createReplicationOperationSettings()
public OperationCallSettings<CreateReplicationRequest,Replication,OperationMetadata> createReplicationOperationSettings()
Returns the object with the settings used for calls to createReplication.
Returns | |
---|---|
Type | Description |
OperationCallSettings<CreateReplicationRequest,Replication,OperationMetadata> |
createReplicationSettings()
public UnaryCallSettings<CreateReplicationRequest,Operation> createReplicationSettings()
Returns the object with the settings used for calls to createReplication.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<CreateReplicationRequest,Operation> |
createSnapshotOperationSettings()
public OperationCallSettings<CreateSnapshotRequest,Snapshot,OperationMetadata> createSnapshotOperationSettings()
Returns the object with the settings used for calls to createSnapshot.
Returns | |
---|---|
Type | Description |
OperationCallSettings<CreateSnapshotRequest,Snapshot,OperationMetadata> |
createSnapshotSettings()
public UnaryCallSettings<CreateSnapshotRequest,Operation> createSnapshotSettings()
Returns the object with the settings used for calls to createSnapshot.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<CreateSnapshotRequest,Operation> |
createStoragePoolOperationSettings()
public OperationCallSettings<CreateStoragePoolRequest,StoragePool,OperationMetadata> createStoragePoolOperationSettings()
Returns the object with the settings used for calls to createStoragePool.
Returns | |
---|---|
Type | Description |
OperationCallSettings<CreateStoragePoolRequest,StoragePool,OperationMetadata> |
createStoragePoolSettings()
public UnaryCallSettings<CreateStoragePoolRequest,Operation> createStoragePoolSettings()
Returns the object with the settings used for calls to createStoragePool.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<CreateStoragePoolRequest,Operation> |
createVolumeOperationSettings()
public OperationCallSettings<CreateVolumeRequest,Volume,OperationMetadata> createVolumeOperationSettings()
Returns the object with the settings used for calls to createVolume.
Returns | |
---|---|
Type | Description |
OperationCallSettings<CreateVolumeRequest,Volume,OperationMetadata> |
createVolumeSettings()
public UnaryCallSettings<CreateVolumeRequest,Operation> createVolumeSettings()
Returns the object with the settings used for calls to createVolume.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<CreateVolumeRequest,Operation> |
deleteActiveDirectoryOperationSettings()
public OperationCallSettings<DeleteActiveDirectoryRequest,Empty,OperationMetadata> deleteActiveDirectoryOperationSettings()
Returns the object with the settings used for calls to deleteActiveDirectory.
Returns | |
---|---|
Type | Description |
OperationCallSettings<DeleteActiveDirectoryRequest,Empty,OperationMetadata> |
deleteActiveDirectorySettings()
public UnaryCallSettings<DeleteActiveDirectoryRequest,Operation> deleteActiveDirectorySettings()
Returns the object with the settings used for calls to deleteActiveDirectory.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<DeleteActiveDirectoryRequest,Operation> |
deleteKmsConfigOperationSettings()
public OperationCallSettings<DeleteKmsConfigRequest,Empty,OperationMetadata> deleteKmsConfigOperationSettings()
Returns the object with the settings used for calls to deleteKmsConfig.
Returns | |
---|---|
Type | Description |
OperationCallSettings<DeleteKmsConfigRequest,Empty,OperationMetadata> |
deleteKmsConfigSettings()
public UnaryCallSettings<DeleteKmsConfigRequest,Operation> deleteKmsConfigSettings()
Returns the object with the settings used for calls to deleteKmsConfig.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<DeleteKmsConfigRequest,Operation> |
deleteReplicationOperationSettings()
public OperationCallSettings<DeleteReplicationRequest,Empty,OperationMetadata> deleteReplicationOperationSettings()
Returns the object with the settings used for calls to deleteReplication.
Returns | |
---|---|
Type | Description |
OperationCallSettings<DeleteReplicationRequest,Empty,OperationMetadata> |
deleteReplicationSettings()
public UnaryCallSettings<DeleteReplicationRequest,Operation> deleteReplicationSettings()
Returns the object with the settings used for calls to deleteReplication.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<DeleteReplicationRequest,Operation> |
deleteSnapshotOperationSettings()
public OperationCallSettings<DeleteSnapshotRequest,Empty,OperationMetadata> deleteSnapshotOperationSettings()
Returns the object with the settings used for calls to deleteSnapshot.
Returns | |
---|---|
Type | Description |
OperationCallSettings<DeleteSnapshotRequest,Empty,OperationMetadata> |
deleteSnapshotSettings()
public UnaryCallSettings<DeleteSnapshotRequest,Operation> deleteSnapshotSettings()
Returns the object with the settings used for calls to deleteSnapshot.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<DeleteSnapshotRequest,Operation> |
deleteStoragePoolOperationSettings()
public OperationCallSettings<DeleteStoragePoolRequest,Empty,OperationMetadata> deleteStoragePoolOperationSettings()
Returns the object with the settings used for calls to deleteStoragePool.
Returns | |
---|---|
Type | Description |
OperationCallSettings<DeleteStoragePoolRequest,Empty,OperationMetadata> |
deleteStoragePoolSettings()
public UnaryCallSettings<DeleteStoragePoolRequest,Operation> deleteStoragePoolSettings()
Returns the object with the settings used for calls to deleteStoragePool.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<DeleteStoragePoolRequest,Operation> |
deleteVolumeOperationSettings()
public OperationCallSettings<DeleteVolumeRequest,Empty,OperationMetadata> deleteVolumeOperationSettings()
Returns the object with the settings used for calls to deleteVolume.
Returns | |
---|---|
Type | Description |
OperationCallSettings<DeleteVolumeRequest,Empty,OperationMetadata> |
deleteVolumeSettings()
public UnaryCallSettings<DeleteVolumeRequest,Operation> deleteVolumeSettings()
Returns the object with the settings used for calls to deleteVolume.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<DeleteVolumeRequest,Operation> |
encryptVolumesOperationSettings()
public OperationCallSettings<EncryptVolumesRequest,KmsConfig,OperationMetadata> encryptVolumesOperationSettings()
Returns the object with the settings used for calls to encryptVolumes.
Returns | |
---|---|
Type | Description |
OperationCallSettings<EncryptVolumesRequest,KmsConfig,OperationMetadata> |
encryptVolumesSettings()
public UnaryCallSettings<EncryptVolumesRequest,Operation> encryptVolumesSettings()
Returns the object with the settings used for calls to encryptVolumes.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<EncryptVolumesRequest,Operation> |
getActiveDirectorySettings()
public UnaryCallSettings<GetActiveDirectoryRequest,ActiveDirectory> getActiveDirectorySettings()
Returns the object with the settings used for calls to getActiveDirectory.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<GetActiveDirectoryRequest,ActiveDirectory> |
getKmsConfigSettings()
public UnaryCallSettings<GetKmsConfigRequest,KmsConfig> getKmsConfigSettings()
Returns the object with the settings used for calls to getKmsConfig.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<GetKmsConfigRequest,KmsConfig> |
getLocationSettings()
public UnaryCallSettings<GetLocationRequest,Location> getLocationSettings()
Returns the object with the settings used for calls to getLocation.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getReplicationSettings()
public UnaryCallSettings<GetReplicationRequest,Replication> getReplicationSettings()
Returns the object with the settings used for calls to getReplication.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<GetReplicationRequest,Replication> |
getSnapshotSettings()
public UnaryCallSettings<GetSnapshotRequest,Snapshot> getSnapshotSettings()
Returns the object with the settings used for calls to getSnapshot.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<GetSnapshotRequest,Snapshot> |
getStoragePoolSettings()
public UnaryCallSettings<GetStoragePoolRequest,StoragePool> getStoragePoolSettings()
Returns the object with the settings used for calls to getStoragePool.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<GetStoragePoolRequest,StoragePool> |
getVolumeSettings()
public UnaryCallSettings<GetVolumeRequest,Volume> getVolumeSettings()
Returns the object with the settings used for calls to getVolume.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<GetVolumeRequest,Volume> |
listActiveDirectoriesSettings()
public PagedCallSettings<ListActiveDirectoriesRequest,ListActiveDirectoriesResponse,NetAppClient.ListActiveDirectoriesPagedResponse> listActiveDirectoriesSettings()
Returns the object with the settings used for calls to listActiveDirectories.
Returns | |
---|---|
Type | Description |
PagedCallSettings<ListActiveDirectoriesRequest,ListActiveDirectoriesResponse,ListActiveDirectoriesPagedResponse> |
listKmsConfigsSettings()
public PagedCallSettings<ListKmsConfigsRequest,ListKmsConfigsResponse,NetAppClient.ListKmsConfigsPagedResponse> listKmsConfigsSettings()
Returns the object with the settings used for calls to listKmsConfigs.
Returns | |
---|---|
Type | Description |
PagedCallSettings<ListKmsConfigsRequest,ListKmsConfigsResponse,ListKmsConfigsPagedResponse> |
listLocationsSettings()
public PagedCallSettings<ListLocationsRequest,ListLocationsResponse,NetAppClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the object with the settings used for calls to listLocations.
Returns | |
---|---|
Type | Description |
PagedCallSettings<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse> |
listReplicationsSettings()
public PagedCallSettings<ListReplicationsRequest,ListReplicationsResponse,NetAppClient.ListReplicationsPagedResponse> listReplicationsSettings()
Returns the object with the settings used for calls to listReplications.
Returns | |
---|---|
Type | Description |
PagedCallSettings<ListReplicationsRequest,ListReplicationsResponse,ListReplicationsPagedResponse> |
listSnapshotsSettings()
public PagedCallSettings<ListSnapshotsRequest,ListSnapshotsResponse,NetAppClient.ListSnapshotsPagedResponse> listSnapshotsSettings()
Returns the object with the settings used for calls to listSnapshots.
Returns | |
---|---|
Type | Description |
PagedCallSettings<ListSnapshotsRequest,ListSnapshotsResponse,ListSnapshotsPagedResponse> |
listStoragePoolsSettings()
public PagedCallSettings<ListStoragePoolsRequest,ListStoragePoolsResponse,NetAppClient.ListStoragePoolsPagedResponse> listStoragePoolsSettings()
Returns the object with the settings used for calls to listStoragePools.
Returns | |
---|---|
Type | Description |
PagedCallSettings<ListStoragePoolsRequest,ListStoragePoolsResponse,ListStoragePoolsPagedResponse> |
listVolumesSettings()
public PagedCallSettings<ListVolumesRequest,ListVolumesResponse,NetAppClient.ListVolumesPagedResponse> listVolumesSettings()
Returns the object with the settings used for calls to listVolumes.
Returns | |
---|---|
Type | Description |
PagedCallSettings<ListVolumesRequest,ListVolumesResponse,ListVolumesPagedResponse> |
resumeReplicationOperationSettings()
public OperationCallSettings<ResumeReplicationRequest,Replication,OperationMetadata> resumeReplicationOperationSettings()
Returns the object with the settings used for calls to resumeReplication.
Returns | |
---|---|
Type | Description |
OperationCallSettings<ResumeReplicationRequest,Replication,OperationMetadata> |
resumeReplicationSettings()
public UnaryCallSettings<ResumeReplicationRequest,Operation> resumeReplicationSettings()
Returns the object with the settings used for calls to resumeReplication.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<ResumeReplicationRequest,Operation> |
reverseReplicationDirectionOperationSettings()
public OperationCallSettings<ReverseReplicationDirectionRequest,Replication,OperationMetadata> reverseReplicationDirectionOperationSettings()
Returns the object with the settings used for calls to reverseReplicationDirection.
Returns | |
---|---|
Type | Description |
OperationCallSettings<ReverseReplicationDirectionRequest,Replication,OperationMetadata> |
reverseReplicationDirectionSettings()
public UnaryCallSettings<ReverseReplicationDirectionRequest,Operation> reverseReplicationDirectionSettings()
Returns the object with the settings used for calls to reverseReplicationDirection.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<ReverseReplicationDirectionRequest,Operation> |
revertVolumeOperationSettings()
public OperationCallSettings<RevertVolumeRequest,Volume,OperationMetadata> revertVolumeOperationSettings()
Returns the object with the settings used for calls to revertVolume.
Returns | |
---|---|
Type | Description |
OperationCallSettings<RevertVolumeRequest,Volume,OperationMetadata> |
revertVolumeSettings()
public UnaryCallSettings<RevertVolumeRequest,Operation> revertVolumeSettings()
Returns the object with the settings used for calls to revertVolume.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<RevertVolumeRequest,Operation> |
stopReplicationOperationSettings()
public OperationCallSettings<StopReplicationRequest,Replication,OperationMetadata> stopReplicationOperationSettings()
Returns the object with the settings used for calls to stopReplication.
Returns | |
---|---|
Type | Description |
OperationCallSettings<StopReplicationRequest,Replication,OperationMetadata> |
stopReplicationSettings()
public UnaryCallSettings<StopReplicationRequest,Operation> stopReplicationSettings()
Returns the object with the settings used for calls to stopReplication.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<StopReplicationRequest,Operation> |
toBuilder()
public NetAppSettings.Builder toBuilder()
Returns a builder containing all the values of this settings class.
Returns | |
---|---|
Type | Description |
NetAppSettings.Builder |
updateActiveDirectoryOperationSettings()
public OperationCallSettings<UpdateActiveDirectoryRequest,ActiveDirectory,OperationMetadata> updateActiveDirectoryOperationSettings()
Returns the object with the settings used for calls to updateActiveDirectory.
Returns | |
---|---|
Type | Description |
OperationCallSettings<UpdateActiveDirectoryRequest,ActiveDirectory,OperationMetadata> |
updateActiveDirectorySettings()
public UnaryCallSettings<UpdateActiveDirectoryRequest,Operation> updateActiveDirectorySettings()
Returns the object with the settings used for calls to updateActiveDirectory.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<UpdateActiveDirectoryRequest,Operation> |
updateKmsConfigOperationSettings()
public OperationCallSettings<UpdateKmsConfigRequest,KmsConfig,OperationMetadata> updateKmsConfigOperationSettings()
Returns the object with the settings used for calls to updateKmsConfig.
Returns | |
---|---|
Type | Description |
OperationCallSettings<UpdateKmsConfigRequest,KmsConfig,OperationMetadata> |
updateKmsConfigSettings()
public UnaryCallSettings<UpdateKmsConfigRequest,Operation> updateKmsConfigSettings()
Returns the object with the settings used for calls to updateKmsConfig.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<UpdateKmsConfigRequest,Operation> |
updateReplicationOperationSettings()
public OperationCallSettings<UpdateReplicationRequest,Replication,OperationMetadata> updateReplicationOperationSettings()
Returns the object with the settings used for calls to updateReplication.
Returns | |
---|---|
Type | Description |
OperationCallSettings<UpdateReplicationRequest,Replication,OperationMetadata> |
updateReplicationSettings()
public UnaryCallSettings<UpdateReplicationRequest,Operation> updateReplicationSettings()
Returns the object with the settings used for calls to updateReplication.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<UpdateReplicationRequest,Operation> |
updateSnapshotOperationSettings()
public OperationCallSettings<UpdateSnapshotRequest,Snapshot,OperationMetadata> updateSnapshotOperationSettings()
Returns the object with the settings used for calls to updateSnapshot.
Returns | |
---|---|
Type | Description |
OperationCallSettings<UpdateSnapshotRequest,Snapshot,OperationMetadata> |
updateSnapshotSettings()
public UnaryCallSettings<UpdateSnapshotRequest,Operation> updateSnapshotSettings()
Returns the object with the settings used for calls to updateSnapshot.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<UpdateSnapshotRequest,Operation> |
updateStoragePoolOperationSettings()
public OperationCallSettings<UpdateStoragePoolRequest,StoragePool,OperationMetadata> updateStoragePoolOperationSettings()
Returns the object with the settings used for calls to updateStoragePool.
Returns | |
---|---|
Type | Description |
OperationCallSettings<UpdateStoragePoolRequest,StoragePool,OperationMetadata> |
updateStoragePoolSettings()
public UnaryCallSettings<UpdateStoragePoolRequest,Operation> updateStoragePoolSettings()
Returns the object with the settings used for calls to updateStoragePool.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<UpdateStoragePoolRequest,Operation> |
updateVolumeOperationSettings()
public OperationCallSettings<UpdateVolumeRequest,Volume,OperationMetadata> updateVolumeOperationSettings()
Returns the object with the settings used for calls to updateVolume.
Returns | |
---|---|
Type | Description |
OperationCallSettings<UpdateVolumeRequest,Volume,OperationMetadata> |
updateVolumeSettings()
public UnaryCallSettings<UpdateVolumeRequest,Operation> updateVolumeSettings()
Returns the object with the settings used for calls to updateVolume.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<UpdateVolumeRequest,Operation> |
verifyKmsConfigSettings()
public UnaryCallSettings<VerifyKmsConfigRequest,VerifyKmsConfigResponse> verifyKmsConfigSettings()
Returns the object with the settings used for calls to verifyKmsConfig.
Returns | |
---|---|
Type | Description |
UnaryCallSettings<VerifyKmsConfigRequest,VerifyKmsConfigResponse> |