Class NetAppSettings


  • @Generated("by gapic-generator-java")
    public class NetAppSettings
    extends com.google.api.gax.rpc.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();
     
    • Method Detail

      • createStoragePoolSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateStoragePoolRequest,​com.google.longrunning.Operation> createStoragePoolSettings()
        Returns the object with the settings used for calls to createStoragePool.
      • createStoragePoolOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<CreateStoragePoolRequest,​StoragePool,​OperationMetadata> createStoragePoolOperationSettings()
        Returns the object with the settings used for calls to createStoragePool.
      • getStoragePoolSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetStoragePoolRequest,​StoragePool> getStoragePoolSettings()
        Returns the object with the settings used for calls to getStoragePool.
      • updateStoragePoolSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateStoragePoolRequest,​com.google.longrunning.Operation> updateStoragePoolSettings()
        Returns the object with the settings used for calls to updateStoragePool.
      • updateStoragePoolOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<UpdateStoragePoolRequest,​StoragePool,​OperationMetadata> updateStoragePoolOperationSettings()
        Returns the object with the settings used for calls to updateStoragePool.
      • deleteStoragePoolSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteStoragePoolRequest,​com.google.longrunning.Operation> deleteStoragePoolSettings()
        Returns the object with the settings used for calls to deleteStoragePool.
      • deleteStoragePoolOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteStoragePoolRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteStoragePoolOperationSettings()
        Returns the object with the settings used for calls to deleteStoragePool.
      • getVolumeSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetVolumeRequest,​Volume> getVolumeSettings()
        Returns the object with the settings used for calls to getVolume.
      • createVolumeSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateVolumeRequest,​com.google.longrunning.Operation> createVolumeSettings()
        Returns the object with the settings used for calls to createVolume.
      • createVolumeOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<CreateVolumeRequest,​Volume,​OperationMetadata> createVolumeOperationSettings()
        Returns the object with the settings used for calls to createVolume.
      • updateVolumeSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateVolumeRequest,​com.google.longrunning.Operation> updateVolumeSettings()
        Returns the object with the settings used for calls to updateVolume.
      • updateVolumeOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<UpdateVolumeRequest,​Volume,​OperationMetadata> updateVolumeOperationSettings()
        Returns the object with the settings used for calls to updateVolume.
      • deleteVolumeSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteVolumeRequest,​com.google.longrunning.Operation> deleteVolumeSettings()
        Returns the object with the settings used for calls to deleteVolume.
      • deleteVolumeOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteVolumeRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteVolumeOperationSettings()
        Returns the object with the settings used for calls to deleteVolume.
      • revertVolumeSettings

        public com.google.api.gax.rpc.UnaryCallSettings<RevertVolumeRequest,​com.google.longrunning.Operation> revertVolumeSettings()
        Returns the object with the settings used for calls to revertVolume.
      • revertVolumeOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<RevertVolumeRequest,​Volume,​OperationMetadata> revertVolumeOperationSettings()
        Returns the object with the settings used for calls to revertVolume.
      • getSnapshotSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetSnapshotRequest,​Snapshot> getSnapshotSettings()
        Returns the object with the settings used for calls to getSnapshot.
      • createSnapshotSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateSnapshotRequest,​com.google.longrunning.Operation> createSnapshotSettings()
        Returns the object with the settings used for calls to createSnapshot.
      • createSnapshotOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<CreateSnapshotRequest,​Snapshot,​OperationMetadata> createSnapshotOperationSettings()
        Returns the object with the settings used for calls to createSnapshot.
      • deleteSnapshotSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteSnapshotRequest,​com.google.longrunning.Operation> deleteSnapshotSettings()
        Returns the object with the settings used for calls to deleteSnapshot.
      • deleteSnapshotOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteSnapshotRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteSnapshotOperationSettings()
        Returns the object with the settings used for calls to deleteSnapshot.
      • updateSnapshotSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateSnapshotRequest,​com.google.longrunning.Operation> updateSnapshotSettings()
        Returns the object with the settings used for calls to updateSnapshot.
      • updateSnapshotOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<UpdateSnapshotRequest,​Snapshot,​OperationMetadata> updateSnapshotOperationSettings()
        Returns the object with the settings used for calls to updateSnapshot.
      • getActiveDirectorySettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetActiveDirectoryRequest,​ActiveDirectory> getActiveDirectorySettings()
        Returns the object with the settings used for calls to getActiveDirectory.
      • createActiveDirectorySettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateActiveDirectoryRequest,​com.google.longrunning.Operation> createActiveDirectorySettings()
        Returns the object with the settings used for calls to createActiveDirectory.
      • updateActiveDirectorySettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateActiveDirectoryRequest,​com.google.longrunning.Operation> updateActiveDirectorySettings()
        Returns the object with the settings used for calls to updateActiveDirectory.
      • deleteActiveDirectorySettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteActiveDirectoryRequest,​com.google.longrunning.Operation> deleteActiveDirectorySettings()
        Returns the object with the settings used for calls to deleteActiveDirectory.
      • deleteActiveDirectoryOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteActiveDirectoryRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteActiveDirectoryOperationSettings()
        Returns the object with the settings used for calls to deleteActiveDirectory.
      • createKmsConfigSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateKmsConfigRequest,​com.google.longrunning.Operation> createKmsConfigSettings()
        Returns the object with the settings used for calls to createKmsConfig.
      • createKmsConfigOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<CreateKmsConfigRequest,​KmsConfig,​OperationMetadata> createKmsConfigOperationSettings()
        Returns the object with the settings used for calls to createKmsConfig.
      • getKmsConfigSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetKmsConfigRequest,​KmsConfig> getKmsConfigSettings()
        Returns the object with the settings used for calls to getKmsConfig.
      • updateKmsConfigSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateKmsConfigRequest,​com.google.longrunning.Operation> updateKmsConfigSettings()
        Returns the object with the settings used for calls to updateKmsConfig.
      • updateKmsConfigOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<UpdateKmsConfigRequest,​KmsConfig,​OperationMetadata> updateKmsConfigOperationSettings()
        Returns the object with the settings used for calls to updateKmsConfig.
      • encryptVolumesSettings

        public com.google.api.gax.rpc.UnaryCallSettings<EncryptVolumesRequest,​com.google.longrunning.Operation> encryptVolumesSettings()
        Returns the object with the settings used for calls to encryptVolumes.
      • encryptVolumesOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<EncryptVolumesRequest,​KmsConfig,​OperationMetadata> encryptVolumesOperationSettings()
        Returns the object with the settings used for calls to encryptVolumes.
      • deleteKmsConfigSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteKmsConfigRequest,​com.google.longrunning.Operation> deleteKmsConfigSettings()
        Returns the object with the settings used for calls to deleteKmsConfig.
      • deleteKmsConfigOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteKmsConfigRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteKmsConfigOperationSettings()
        Returns the object with the settings used for calls to deleteKmsConfig.
      • getReplicationSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetReplicationRequest,​Replication> getReplicationSettings()
        Returns the object with the settings used for calls to getReplication.
      • createReplicationSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateReplicationRequest,​com.google.longrunning.Operation> createReplicationSettings()
        Returns the object with the settings used for calls to createReplication.
      • createReplicationOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<CreateReplicationRequest,​Replication,​OperationMetadata> createReplicationOperationSettings()
        Returns the object with the settings used for calls to createReplication.
      • deleteReplicationSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteReplicationRequest,​com.google.longrunning.Operation> deleteReplicationSettings()
        Returns the object with the settings used for calls to deleteReplication.
      • deleteReplicationOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteReplicationRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteReplicationOperationSettings()
        Returns the object with the settings used for calls to deleteReplication.
      • updateReplicationSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateReplicationRequest,​com.google.longrunning.Operation> updateReplicationSettings()
        Returns the object with the settings used for calls to updateReplication.
      • updateReplicationOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<UpdateReplicationRequest,​Replication,​OperationMetadata> updateReplicationOperationSettings()
        Returns the object with the settings used for calls to updateReplication.
      • stopReplicationSettings

        public com.google.api.gax.rpc.UnaryCallSettings<StopReplicationRequest,​com.google.longrunning.Operation> stopReplicationSettings()
        Returns the object with the settings used for calls to stopReplication.
      • stopReplicationOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<StopReplicationRequest,​Replication,​OperationMetadata> stopReplicationOperationSettings()
        Returns the object with the settings used for calls to stopReplication.
      • resumeReplicationSettings

        public com.google.api.gax.rpc.UnaryCallSettings<ResumeReplicationRequest,​com.google.longrunning.Operation> resumeReplicationSettings()
        Returns the object with the settings used for calls to resumeReplication.
      • resumeReplicationOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<ResumeReplicationRequest,​Replication,​OperationMetadata> resumeReplicationOperationSettings()
        Returns the object with the settings used for calls to resumeReplication.
      • reverseReplicationDirectionSettings

        public com.google.api.gax.rpc.UnaryCallSettings<ReverseReplicationDirectionRequest,​com.google.longrunning.Operation> reverseReplicationDirectionSettings()
        Returns the object with the settings used for calls to reverseReplicationDirection.
      • listLocationsSettings

        public com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,​com.google.cloud.location.ListLocationsResponse,​NetAppClient.ListLocationsPagedResponse> listLocationsSettings()
        Returns the object with the settings used for calls to listLocations.
      • getLocationSettings

        public com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.location.GetLocationRequest,​com.google.cloud.location.Location> getLocationSettings()
        Returns the object with the settings used for calls to getLocation.
      • defaultExecutorProviderBuilder

        public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
        Returns a builder for the default ExecutorProvider for this service.
      • getDefaultEndpoint

        public static String getDefaultEndpoint()
        Returns the default service endpoint.
      • getDefaultServiceScopes

        public static List<String> getDefaultServiceScopes()
        Returns the default service scopes.
      • defaultCredentialsProviderBuilder

        public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
        Returns a builder for the default credentials for this service.
      • defaultGrpcTransportProviderBuilder

        public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
        Returns a builder for the default gRPC ChannelProvider for this service.
      • defaultHttpJsonTransportProviderBuilder

        @BetaApi
        public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
        Returns a builder for the default REST ChannelProvider for this service.
      • defaultTransportChannelProvider

        public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
      • defaultApiClientHeaderProviderBuilder

        @BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
        public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
      • newHttpJsonBuilder

        @BetaApi
        public static NetAppSettings.Builder newHttpJsonBuilder()
        Returns a new REST builder for this class.
      • newBuilder

        public static NetAppSettings.Builder newBuilder​(com.google.api.gax.rpc.ClientContext clientContext)
        Returns a new builder for this class.
      • toBuilder

        public NetAppSettings.Builder toBuilder()
        Returns a builder containing all the values of this settings class.
        Specified by:
        toBuilder in class com.google.api.gax.rpc.ClientSettings<NetAppSettings>