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 ()
defaultGrpcTransportProviderBuilder()
public static InstantiatingGrpcChannelProvider . Builder defaultGrpcTransportProviderBuilder ()
Returns a builder for the default gRPC ChannelProvider for this service.
public static ApiClientHeaderProvider . Builder defaultHttpJsonApiClientHeaderProviderBuilder ()
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.
Returns
Type
Description
String
getDefaultMtlsEndpoint()
public static String getDefaultMtlsEndpoint ()
Returns the default mTLS service endpoint.
Returns
Type
Description
String
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.