public class NetAppStubSettings extends StubSettings<NetAppStubSettings>
Settings class to configure an instance of NetAppStub .
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
NetAppStubSettings . Builder netAppSettingsBuilder = NetAppStubSettings . newBuilder ();
netAppSettingsBuilder
. getStoragePoolSettings ()
. setRetrySettings (
netAppSettingsBuilder
. getStoragePoolSettings ()
. getRetrySettings ()
. toBuilder ()
. setTotalTimeout ( Duration . ofSeconds ( 30 ))
. build ());
NetAppStubSettings netAppSettings = netAppSettingsBuilder . build ();
Static Methods
public static ApiClientHeaderProvider . Builder defaultApiClientHeaderProviderBuilder ()
defaultCredentialsProviderBuilder()
public static GoogleCredentialsProvider . Builder defaultCredentialsProviderBuilder ()
Returns a builder for the default credentials for this service.
defaultExecutorProviderBuilder()
public static InstantiatingExecutorProvider . Builder defaultExecutorProviderBuilder ()
Returns a builder for the default ExecutorProvider for this service.
public static ApiClientHeaderProvider . Builder defaultGrpcApiClientHeaderProviderBuilder ()
Beta
The surface for customizing headers is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
defaultGrpcTransportProviderBuilder()
public static InstantiatingGrpcChannelProvider . Builder defaultGrpcTransportProviderBuilder ()
Returns a builder for the default gRPC ChannelProvider for this service.
public static ApiClientHeaderProvider . Builder defaultHttpJsonApiClientHeaderProviderBuilder ()
Beta
The surface for customizing headers is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
defaultHttpJsonTransportProviderBuilder()
public static InstantiatingHttpJsonChannelProvider . Builder defaultHttpJsonTransportProviderBuilder ()
Beta
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns a builder for the default REST ChannelProvider for this service.
defaultTransportChannelProvider()
public static TransportChannelProvider defaultTransportChannelProvider ()
getDefaultEndpoint()
public static String getDefaultEndpoint ()
Returns the default service endpoint.
getDefaultMtlsEndpoint()
public static String getDefaultMtlsEndpoint ()
Returns the default mTLS service endpoint.
getDefaultServiceScopes()
public static List<String> getDefaultServiceScopes ()
Returns the default service scopes.
newBuilder()
public static NetAppStubSettings . Builder newBuilder ()
Returns a new gRPC builder for this class.
newBuilder(ClientContext clientContext)
public static NetAppStubSettings . Builder newBuilder ( ClientContext clientContext )
Returns a new builder for this class.
newHttpJsonBuilder()
public static NetAppStubSettings . Builder newHttpJsonBuilder ()
Returns a new REST builder for this class.
Constructors
NetAppStubSettings(NetAppStubSettings.Builder settingsBuilder)
protected NetAppStubSettings ( NetAppStubSettings . Builder settingsBuilder )
Methods
createActiveDirectoryOperationSettings()
public OperationCallSettings<CreateActiveDirectoryRequest , ActiveDirectory , OperationMetadata > createActiveDirectoryOperationSettings ()
Returns the object with the settings used for calls to createActiveDirectory.
createActiveDirectorySettings()
public UnaryCallSettings<CreateActiveDirectoryRequest , Operation > createActiveDirectorySettings ()
Returns the object with the settings used for calls to createActiveDirectory.
createBackupOperationSettings()
public OperationCallSettings<CreateBackupRequest , Backup , OperationMetadata > createBackupOperationSettings ()
Returns the object with the settings used for calls to createBackup.
createBackupPolicyOperationSettings()
public OperationCallSettings<CreateBackupPolicyRequest , BackupPolicy , OperationMetadata > createBackupPolicyOperationSettings ()
Returns the object with the settings used for calls to createBackupPolicy.
createBackupPolicySettings()
public UnaryCallSettings<CreateBackupPolicyRequest , Operation > createBackupPolicySettings ()
Returns the object with the settings used for calls to createBackupPolicy.
createBackupSettings()
public UnaryCallSettings<CreateBackupRequest , Operation > createBackupSettings ()
Returns the object with the settings used for calls to createBackup.
createBackupVaultOperationSettings()
public OperationCallSettings<CreateBackupVaultRequest , BackupVault , OperationMetadata > createBackupVaultOperationSettings ()
Returns the object with the settings used for calls to createBackupVault.
createBackupVaultSettings()
public UnaryCallSettings<CreateBackupVaultRequest , Operation > createBackupVaultSettings ()
Returns the object with the settings used for calls to createBackupVault.
createKmsConfigOperationSettings()
public OperationCallSettings<CreateKmsConfigRequest , KmsConfig , OperationMetadata > createKmsConfigOperationSettings ()
Returns the object with the settings used for calls to createKmsConfig.
createKmsConfigSettings()
public UnaryCallSettings<CreateKmsConfigRequest , Operation > createKmsConfigSettings ()
Returns the object with the settings used for calls to createKmsConfig.
createReplicationOperationSettings()
public OperationCallSettings<CreateReplicationRequest , Replication , OperationMetadata > createReplicationOperationSettings ()
Returns the object with the settings used for calls to createReplication.
createReplicationSettings()
public UnaryCallSettings<CreateReplicationRequest , Operation > createReplicationSettings ()
Returns the object with the settings used for calls to createReplication.
createSnapshotOperationSettings()
public OperationCallSettings<CreateSnapshotRequest , Snapshot , OperationMetadata > createSnapshotOperationSettings ()
Returns the object with the settings used for calls to createSnapshot.
createSnapshotSettings()
public UnaryCallSettings<CreateSnapshotRequest , Operation > createSnapshotSettings ()
Returns the object with the settings used for calls to createSnapshot.
createStoragePoolOperationSettings()
public OperationCallSettings<CreateStoragePoolRequest , StoragePool , OperationMetadata > createStoragePoolOperationSettings ()
Returns the object with the settings used for calls to createStoragePool.
createStoragePoolSettings()
public UnaryCallSettings<CreateStoragePoolRequest , Operation > createStoragePoolSettings ()
Returns the object with the settings used for calls to createStoragePool.
createStub()
public NetAppStub createStub ()
createVolumeOperationSettings()
public OperationCallSettings<CreateVolumeRequest , Volume , OperationMetadata > createVolumeOperationSettings ()
Returns the object with the settings used for calls to createVolume.
createVolumeSettings()
public UnaryCallSettings<CreateVolumeRequest , Operation > createVolumeSettings ()
Returns the object with the settings used for calls to createVolume.
deleteActiveDirectoryOperationSettings()
public OperationCallSettings<DeleteActiveDirectoryRequest , Empty , OperationMetadata > deleteActiveDirectoryOperationSettings ()
Returns the object with the settings used for calls to deleteActiveDirectory.
deleteActiveDirectorySettings()
public UnaryCallSettings<DeleteActiveDirectoryRequest , Operation > deleteActiveDirectorySettings ()
Returns the object with the settings used for calls to deleteActiveDirectory.
deleteBackupOperationSettings()
public OperationCallSettings<DeleteBackupRequest , Empty , OperationMetadata > deleteBackupOperationSettings ()
Returns the object with the settings used for calls to deleteBackup.
deleteBackupPolicyOperationSettings()
public OperationCallSettings<DeleteBackupPolicyRequest , Empty , OperationMetadata > deleteBackupPolicyOperationSettings ()
Returns the object with the settings used for calls to deleteBackupPolicy.
deleteBackupPolicySettings()
public UnaryCallSettings<DeleteBackupPolicyRequest , Operation > deleteBackupPolicySettings ()
Returns the object with the settings used for calls to deleteBackupPolicy.
deleteBackupSettings()
public UnaryCallSettings<DeleteBackupRequest , Operation > deleteBackupSettings ()
Returns the object with the settings used for calls to deleteBackup.
deleteBackupVaultOperationSettings()
public OperationCallSettings<DeleteBackupVaultRequest , Empty , OperationMetadata > deleteBackupVaultOperationSettings ()
Returns the object with the settings used for calls to deleteBackupVault.
deleteBackupVaultSettings()
public UnaryCallSettings<DeleteBackupVaultRequest , Operation > deleteBackupVaultSettings ()
Returns the object with the settings used for calls to deleteBackupVault.
deleteKmsConfigOperationSettings()
public OperationCallSettings<DeleteKmsConfigRequest , Empty , OperationMetadata > deleteKmsConfigOperationSettings ()
Returns the object with the settings used for calls to deleteKmsConfig.
deleteKmsConfigSettings()
public UnaryCallSettings<DeleteKmsConfigRequest , Operation > deleteKmsConfigSettings ()
Returns the object with the settings used for calls to deleteKmsConfig.
deleteReplicationOperationSettings()
public OperationCallSettings<DeleteReplicationRequest , Empty , OperationMetadata > deleteReplicationOperationSettings ()
Returns the object with the settings used for calls to deleteReplication.
deleteReplicationSettings()
public UnaryCallSettings<DeleteReplicationRequest , Operation > deleteReplicationSettings ()
Returns the object with the settings used for calls to deleteReplication.
deleteSnapshotOperationSettings()
public OperationCallSettings<DeleteSnapshotRequest , Empty , OperationMetadata > deleteSnapshotOperationSettings ()
Returns the object with the settings used for calls to deleteSnapshot.
deleteSnapshotSettings()
public UnaryCallSettings<DeleteSnapshotRequest , Operation > deleteSnapshotSettings ()
Returns the object with the settings used for calls to deleteSnapshot.
deleteStoragePoolOperationSettings()
public OperationCallSettings<DeleteStoragePoolRequest , Empty , OperationMetadata > deleteStoragePoolOperationSettings ()
Returns the object with the settings used for calls to deleteStoragePool.
deleteStoragePoolSettings()
public UnaryCallSettings<DeleteStoragePoolRequest , Operation > deleteStoragePoolSettings ()
Returns the object with the settings used for calls to deleteStoragePool.
deleteVolumeOperationSettings()
public OperationCallSettings<DeleteVolumeRequest , Empty , OperationMetadata > deleteVolumeOperationSettings ()
Returns the object with the settings used for calls to deleteVolume.
deleteVolumeSettings()
public UnaryCallSettings<DeleteVolumeRequest , Operation > deleteVolumeSettings ()
Returns the object with the settings used for calls to deleteVolume.
encryptVolumesOperationSettings()
public OperationCallSettings<EncryptVolumesRequest , KmsConfig , OperationMetadata > encryptVolumesOperationSettings ()
Returns the object with the settings used for calls to encryptVolumes.
encryptVolumesSettings()
public UnaryCallSettings<EncryptVolumesRequest , Operation > encryptVolumesSettings ()
Returns the object with the settings used for calls to encryptVolumes.
getActiveDirectorySettings()
public UnaryCallSettings<GetActiveDirectoryRequest , ActiveDirectory > getActiveDirectorySettings ()
Returns the object with the settings used for calls to getActiveDirectory.
getBackupPolicySettings()
public UnaryCallSettings<GetBackupPolicyRequest , BackupPolicy > getBackupPolicySettings ()
Returns the object with the settings used for calls to getBackupPolicy.
getBackupSettings()
public UnaryCallSettings<GetBackupRequest , Backup > getBackupSettings ()
Returns the object with the settings used for calls to getBackup.
getBackupVaultSettings()
public UnaryCallSettings<GetBackupVaultRequest , BackupVault > getBackupVaultSettings ()
Returns the object with the settings used for calls to getBackupVault.
getKmsConfigSettings()
public UnaryCallSettings<GetKmsConfigRequest , KmsConfig > getKmsConfigSettings ()
Returns the object with the settings used for calls to getKmsConfig.
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.
getServiceName()
public String getServiceName ()
Returns the default service name.
Overrides
getSnapshotSettings()
public UnaryCallSettings<GetSnapshotRequest , Snapshot > getSnapshotSettings ()
Returns the object with the settings used for calls to getSnapshot.
getStoragePoolSettings()
public UnaryCallSettings<GetStoragePoolRequest , StoragePool > getStoragePoolSettings ()
Returns the object with the settings used for calls to getStoragePool.
getVolumeSettings()
public UnaryCallSettings<GetVolumeRequest , Volume > getVolumeSettings ()
Returns the object with the settings used for calls to getVolume.
listActiveDirectoriesSettings()
public PagedCallSettings<ListActiveDirectoriesRequest , ListActiveDirectoriesResponse , NetAppClient . ListActiveDirectoriesPagedResponse > listActiveDirectoriesSettings ()
Returns the object with the settings used for calls to listActiveDirectories.
listBackupPoliciesSettings()
public PagedCallSettings<ListBackupPoliciesRequest , ListBackupPoliciesResponse , NetAppClient . ListBackupPoliciesPagedResponse > listBackupPoliciesSettings ()
Returns the object with the settings used for calls to listBackupPolicies.
listBackupVaultsSettings()
public PagedCallSettings<ListBackupVaultsRequest , ListBackupVaultsResponse , NetAppClient . ListBackupVaultsPagedResponse > listBackupVaultsSettings ()
Returns the object with the settings used for calls to listBackupVaults.
listBackupsSettings()
public PagedCallSettings<ListBackupsRequest , ListBackupsResponse , NetAppClient . ListBackupsPagedResponse > listBackupsSettings ()
Returns the object with the settings used for calls to listBackups.
listKmsConfigsSettings()
public PagedCallSettings<ListKmsConfigsRequest , ListKmsConfigsResponse , NetAppClient . ListKmsConfigsPagedResponse > listKmsConfigsSettings ()
Returns the object with the settings used for calls to listKmsConfigs.
listLocationsSettings()
public PagedCallSettings<ListLocationsRequest , ListLocationsResponse , NetAppClient . ListLocationsPagedResponse > listLocationsSettings ()
Returns the object with the settings used for calls to listLocations.
listReplicationsSettings()
public PagedCallSettings<ListReplicationsRequest , ListReplicationsResponse , NetAppClient . ListReplicationsPagedResponse > listReplicationsSettings ()
Returns the object with the settings used for calls to listReplications.
listSnapshotsSettings()
public PagedCallSettings<ListSnapshotsRequest , ListSnapshotsResponse , NetAppClient . ListSnapshotsPagedResponse > listSnapshotsSettings ()
Returns the object with the settings used for calls to listSnapshots.
listStoragePoolsSettings()
public PagedCallSettings<ListStoragePoolsRequest , ListStoragePoolsResponse , NetAppClient . ListStoragePoolsPagedResponse > listStoragePoolsSettings ()
Returns the object with the settings used for calls to listStoragePools.
listVolumesSettings()
public PagedCallSettings<ListVolumesRequest , ListVolumesResponse , NetAppClient . ListVolumesPagedResponse > listVolumesSettings ()
Returns the object with the settings used for calls to listVolumes.
resumeReplicationOperationSettings()
public OperationCallSettings<ResumeReplicationRequest , Replication , OperationMetadata > resumeReplicationOperationSettings ()
Returns the object with the settings used for calls to resumeReplication.
resumeReplicationSettings()
public UnaryCallSettings<ResumeReplicationRequest , Operation > resumeReplicationSettings ()
Returns the object with the settings used for calls to resumeReplication.
reverseReplicationDirectionOperationSettings()
public OperationCallSettings<ReverseReplicationDirectionRequest , Replication , OperationMetadata > reverseReplicationDirectionOperationSettings ()
Returns the object with the settings used for calls to reverseReplicationDirection.
reverseReplicationDirectionSettings()
public UnaryCallSettings<ReverseReplicationDirectionRequest , Operation > reverseReplicationDirectionSettings ()
Returns the object with the settings used for calls to reverseReplicationDirection.
revertVolumeOperationSettings()
public OperationCallSettings<RevertVolumeRequest , Volume , OperationMetadata > revertVolumeOperationSettings ()
Returns the object with the settings used for calls to revertVolume.
revertVolumeSettings()
public UnaryCallSettings<RevertVolumeRequest , Operation > revertVolumeSettings ()
Returns the object with the settings used for calls to revertVolume.
stopReplicationOperationSettings()
public OperationCallSettings<StopReplicationRequest , Replication , OperationMetadata > stopReplicationOperationSettings ()
Returns the object with the settings used for calls to stopReplication.
stopReplicationSettings()
public UnaryCallSettings<StopReplicationRequest , Operation > stopReplicationSettings ()
Returns the object with the settings used for calls to stopReplication.
toBuilder()
public NetAppStubSettings . Builder toBuilder ()
Returns a builder containing all the values of this settings class.
Overrides
updateActiveDirectoryOperationSettings()
public OperationCallSettings<UpdateActiveDirectoryRequest , ActiveDirectory , OperationMetadata > updateActiveDirectoryOperationSettings ()
Returns the object with the settings used for calls to updateActiveDirectory.
updateActiveDirectorySettings()
public UnaryCallSettings<UpdateActiveDirectoryRequest , Operation > updateActiveDirectorySettings ()
Returns the object with the settings used for calls to updateActiveDirectory.
updateBackupOperationSettings()
public OperationCallSettings<UpdateBackupRequest , Backup , OperationMetadata > updateBackupOperationSettings ()
Returns the object with the settings used for calls to updateBackup.
updateBackupPolicyOperationSettings()
public OperationCallSettings<UpdateBackupPolicyRequest , BackupPolicy , OperationMetadata > updateBackupPolicyOperationSettings ()
Returns the object with the settings used for calls to updateBackupPolicy.
updateBackupPolicySettings()
public UnaryCallSettings<UpdateBackupPolicyRequest , Operation > updateBackupPolicySettings ()
Returns the object with the settings used for calls to updateBackupPolicy.
updateBackupSettings()
public UnaryCallSettings<UpdateBackupRequest , Operation > updateBackupSettings ()
Returns the object with the settings used for calls to updateBackup.
updateBackupVaultOperationSettings()
public OperationCallSettings<UpdateBackupVaultRequest , BackupVault , OperationMetadata > updateBackupVaultOperationSettings ()
Returns the object with the settings used for calls to updateBackupVault.
updateBackupVaultSettings()
public UnaryCallSettings<UpdateBackupVaultRequest , Operation > updateBackupVaultSettings ()
Returns the object with the settings used for calls to updateBackupVault.
updateKmsConfigOperationSettings()
public OperationCallSettings<UpdateKmsConfigRequest , KmsConfig , OperationMetadata > updateKmsConfigOperationSettings ()
Returns the object with the settings used for calls to updateKmsConfig.
updateKmsConfigSettings()
public UnaryCallSettings<UpdateKmsConfigRequest , Operation > updateKmsConfigSettings ()
Returns the object with the settings used for calls to updateKmsConfig.
updateReplicationOperationSettings()
public OperationCallSettings<UpdateReplicationRequest , Replication , OperationMetadata > updateReplicationOperationSettings ()
Returns the object with the settings used for calls to updateReplication.
updateReplicationSettings()
public UnaryCallSettings<UpdateReplicationRequest , Operation > updateReplicationSettings ()
Returns the object with the settings used for calls to updateReplication.
updateSnapshotOperationSettings()
public OperationCallSettings<UpdateSnapshotRequest , Snapshot , OperationMetadata > updateSnapshotOperationSettings ()
Returns the object with the settings used for calls to updateSnapshot.
updateSnapshotSettings()
public UnaryCallSettings<UpdateSnapshotRequest , Operation > updateSnapshotSettings ()
Returns the object with the settings used for calls to updateSnapshot.
updateStoragePoolOperationSettings()
public OperationCallSettings<UpdateStoragePoolRequest , StoragePool , OperationMetadata > updateStoragePoolOperationSettings ()
Returns the object with the settings used for calls to updateStoragePool.
updateStoragePoolSettings()
public UnaryCallSettings<UpdateStoragePoolRequest , Operation > updateStoragePoolSettings ()
Returns the object with the settings used for calls to updateStoragePool.
updateVolumeOperationSettings()
public OperationCallSettings<UpdateVolumeRequest , Volume , OperationMetadata > updateVolumeOperationSettings ()
Returns the object with the settings used for calls to updateVolume.
updateVolumeSettings()
public UnaryCallSettings<UpdateVolumeRequest , Operation > updateVolumeSettings ()
Returns the object with the settings used for calls to updateVolume.
verifyKmsConfigSettings()
public UnaryCallSettings<VerifyKmsConfigRequest , VerifyKmsConfigResponse > verifyKmsConfigSettings ()
Returns the object with the settings used for calls to verifyKmsConfig.