Class NetAppStubSettings (0.3.0)

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();
 

Inheritance

java.lang.Object > StubSettings > NetAppStubSettings

Static Methods

defaultApiClientHeaderProviderBuilder()

public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
Returns
TypeDescription
Builder

defaultCredentialsProviderBuilder()

public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()

Returns a builder for the default credentials for this service.

Returns
TypeDescription
Builder

defaultExecutorProviderBuilder()

public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()

Returns a builder for the default ExecutorProvider for this service.

Returns
TypeDescription
Builder

defaultGrpcApiClientHeaderProviderBuilder()

public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder()
Returns
TypeDescription
Builder

defaultGrpcTransportProviderBuilder()

public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()

Returns a builder for the default gRPC ChannelProvider for this service.

Returns
TypeDescription
Builder

defaultHttpJsonApiClientHeaderProviderBuilder()

public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder()
Returns
TypeDescription
Builder

defaultHttpJsonTransportProviderBuilder()

public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()

Returns a builder for the default REST ChannelProvider for this service.

Returns
TypeDescription
Builder

defaultTransportChannelProvider()

public static TransportChannelProvider defaultTransportChannelProvider()
Returns
TypeDescription
TransportChannelProvider

getDefaultEndpoint()

public static String getDefaultEndpoint()

Returns the default service endpoint.

Returns
TypeDescription
String

getDefaultMtlsEndpoint()

public static String getDefaultMtlsEndpoint()

Returns the default mTLS service endpoint.

Returns
TypeDescription
String

getDefaultServiceScopes()

public static List<String> getDefaultServiceScopes()

Returns the default service scopes.

Returns
TypeDescription
List<String>

newBuilder()

public static NetAppStubSettings.Builder newBuilder()

Returns a new gRPC builder for this class.

Returns
TypeDescription
NetAppStubSettings.Builder

newBuilder(ClientContext clientContext)

public static NetAppStubSettings.Builder newBuilder(ClientContext clientContext)

Returns a new builder for this class.

Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
NetAppStubSettings.Builder

newHttpJsonBuilder()

public static NetAppStubSettings.Builder newHttpJsonBuilder()

Returns a new REST builder for this class.

Returns
TypeDescription
NetAppStubSettings.Builder

Constructors

NetAppStubSettings(NetAppStubSettings.Builder settingsBuilder)

protected NetAppStubSettings(NetAppStubSettings.Builder settingsBuilder)
Parameter
NameDescription
settingsBuilderNetAppStubSettings.Builder

Methods

createActiveDirectoryOperationSettings()

public OperationCallSettings<CreateActiveDirectoryRequest,ActiveDirectory,OperationMetadata> createActiveDirectoryOperationSettings()

Returns the object with the settings used for calls to createActiveDirectory.

Returns
TypeDescription
OperationCallSettings<CreateActiveDirectoryRequest,ActiveDirectory,OperationMetadata>

createActiveDirectorySettings()

public UnaryCallSettings<CreateActiveDirectoryRequest,Operation> createActiveDirectorySettings()

Returns the object with the settings used for calls to createActiveDirectory.

Returns
TypeDescription
UnaryCallSettings<CreateActiveDirectoryRequest,Operation>

createKmsConfigOperationSettings()

public OperationCallSettings<CreateKmsConfigRequest,KmsConfig,OperationMetadata> createKmsConfigOperationSettings()

Returns the object with the settings used for calls to createKmsConfig.

Returns
TypeDescription
OperationCallSettings<CreateKmsConfigRequest,KmsConfig,OperationMetadata>

createKmsConfigSettings()

public UnaryCallSettings<CreateKmsConfigRequest,Operation> createKmsConfigSettings()

Returns the object with the settings used for calls to createKmsConfig.

Returns
TypeDescription
UnaryCallSettings<CreateKmsConfigRequest,Operation>

createReplicationOperationSettings()

public OperationCallSettings<CreateReplicationRequest,Replication,OperationMetadata> createReplicationOperationSettings()

Returns the object with the settings used for calls to createReplication.

Returns
TypeDescription
OperationCallSettings<CreateReplicationRequest,Replication,OperationMetadata>

createReplicationSettings()

public UnaryCallSettings<CreateReplicationRequest,Operation> createReplicationSettings()

Returns the object with the settings used for calls to createReplication.

Returns
TypeDescription
UnaryCallSettings<CreateReplicationRequest,Operation>

createSnapshotOperationSettings()

public OperationCallSettings<CreateSnapshotRequest,Snapshot,OperationMetadata> createSnapshotOperationSettings()

Returns the object with the settings used for calls to createSnapshot.

Returns
TypeDescription
OperationCallSettings<CreateSnapshotRequest,Snapshot,OperationMetadata>

createSnapshotSettings()

public UnaryCallSettings<CreateSnapshotRequest,Operation> createSnapshotSettings()

Returns the object with the settings used for calls to createSnapshot.

Returns
TypeDescription
UnaryCallSettings<CreateSnapshotRequest,Operation>

createStoragePoolOperationSettings()

public OperationCallSettings<CreateStoragePoolRequest,StoragePool,OperationMetadata> createStoragePoolOperationSettings()

Returns the object with the settings used for calls to createStoragePool.

Returns
TypeDescription
OperationCallSettings<CreateStoragePoolRequest,StoragePool,OperationMetadata>

createStoragePoolSettings()

public UnaryCallSettings<CreateStoragePoolRequest,Operation> createStoragePoolSettings()

Returns the object with the settings used for calls to createStoragePool.

Returns
TypeDescription
UnaryCallSettings<CreateStoragePoolRequest,Operation>

createStub()

public NetAppStub createStub()
Returns
TypeDescription
NetAppStub
Exceptions
TypeDescription
IOException

createVolumeOperationSettings()

public OperationCallSettings<CreateVolumeRequest,Volume,OperationMetadata> createVolumeOperationSettings()

Returns the object with the settings used for calls to createVolume.

Returns
TypeDescription
OperationCallSettings<CreateVolumeRequest,Volume,OperationMetadata>

createVolumeSettings()

public UnaryCallSettings<CreateVolumeRequest,Operation> createVolumeSettings()

Returns the object with the settings used for calls to createVolume.

Returns
TypeDescription
UnaryCallSettings<CreateVolumeRequest,Operation>

deleteActiveDirectoryOperationSettings()

public OperationCallSettings<DeleteActiveDirectoryRequest,Empty,OperationMetadata> deleteActiveDirectoryOperationSettings()

Returns the object with the settings used for calls to deleteActiveDirectory.

Returns
TypeDescription
OperationCallSettings<DeleteActiveDirectoryRequest,Empty,OperationMetadata>

deleteActiveDirectorySettings()

public UnaryCallSettings<DeleteActiveDirectoryRequest,Operation> deleteActiveDirectorySettings()

Returns the object with the settings used for calls to deleteActiveDirectory.

Returns
TypeDescription
UnaryCallSettings<DeleteActiveDirectoryRequest,Operation>

deleteKmsConfigOperationSettings()

public OperationCallSettings<DeleteKmsConfigRequest,Empty,OperationMetadata> deleteKmsConfigOperationSettings()

Returns the object with the settings used for calls to deleteKmsConfig.

Returns
TypeDescription
OperationCallSettings<DeleteKmsConfigRequest,Empty,OperationMetadata>

deleteKmsConfigSettings()

public UnaryCallSettings<DeleteKmsConfigRequest,Operation> deleteKmsConfigSettings()

Returns the object with the settings used for calls to deleteKmsConfig.

Returns
TypeDescription
UnaryCallSettings<DeleteKmsConfigRequest,Operation>

deleteReplicationOperationSettings()

public OperationCallSettings<DeleteReplicationRequest,Empty,OperationMetadata> deleteReplicationOperationSettings()

Returns the object with the settings used for calls to deleteReplication.

Returns
TypeDescription
OperationCallSettings<DeleteReplicationRequest,Empty,OperationMetadata>

deleteReplicationSettings()

public UnaryCallSettings<DeleteReplicationRequest,Operation> deleteReplicationSettings()

Returns the object with the settings used for calls to deleteReplication.

Returns
TypeDescription
UnaryCallSettings<DeleteReplicationRequest,Operation>

deleteSnapshotOperationSettings()

public OperationCallSettings<DeleteSnapshotRequest,Empty,OperationMetadata> deleteSnapshotOperationSettings()

Returns the object with the settings used for calls to deleteSnapshot.

Returns
TypeDescription
OperationCallSettings<DeleteSnapshotRequest,Empty,OperationMetadata>

deleteSnapshotSettings()

public UnaryCallSettings<DeleteSnapshotRequest,Operation> deleteSnapshotSettings()

Returns the object with the settings used for calls to deleteSnapshot.

Returns
TypeDescription
UnaryCallSettings<DeleteSnapshotRequest,Operation>

deleteStoragePoolOperationSettings()

public OperationCallSettings<DeleteStoragePoolRequest,Empty,OperationMetadata> deleteStoragePoolOperationSettings()

Returns the object with the settings used for calls to deleteStoragePool.

Returns
TypeDescription
OperationCallSettings<DeleteStoragePoolRequest,Empty,OperationMetadata>

deleteStoragePoolSettings()

public UnaryCallSettings<DeleteStoragePoolRequest,Operation> deleteStoragePoolSettings()

Returns the object with the settings used for calls to deleteStoragePool.

Returns
TypeDescription
UnaryCallSettings<DeleteStoragePoolRequest,Operation>

deleteVolumeOperationSettings()

public OperationCallSettings<DeleteVolumeRequest,Empty,OperationMetadata> deleteVolumeOperationSettings()

Returns the object with the settings used for calls to deleteVolume.

Returns
TypeDescription
OperationCallSettings<DeleteVolumeRequest,Empty,OperationMetadata>

deleteVolumeSettings()

public UnaryCallSettings<DeleteVolumeRequest,Operation> deleteVolumeSettings()

Returns the object with the settings used for calls to deleteVolume.

Returns
TypeDescription
UnaryCallSettings<DeleteVolumeRequest,Operation>

encryptVolumesOperationSettings()

public OperationCallSettings<EncryptVolumesRequest,KmsConfig,OperationMetadata> encryptVolumesOperationSettings()

Returns the object with the settings used for calls to encryptVolumes.

Returns
TypeDescription
OperationCallSettings<EncryptVolumesRequest,KmsConfig,OperationMetadata>

encryptVolumesSettings()

public UnaryCallSettings<EncryptVolumesRequest,Operation> encryptVolumesSettings()

Returns the object with the settings used for calls to encryptVolumes.

Returns
TypeDescription
UnaryCallSettings<EncryptVolumesRequest,Operation>

getActiveDirectorySettings()

public UnaryCallSettings<GetActiveDirectoryRequest,ActiveDirectory> getActiveDirectorySettings()

Returns the object with the settings used for calls to getActiveDirectory.

Returns
TypeDescription
UnaryCallSettings<GetActiveDirectoryRequest,ActiveDirectory>

getKmsConfigSettings()

public UnaryCallSettings<GetKmsConfigRequest,KmsConfig> getKmsConfigSettings()

Returns the object with the settings used for calls to getKmsConfig.

Returns
TypeDescription
UnaryCallSettings<GetKmsConfigRequest,KmsConfig>

getLocationSettings()

public UnaryCallSettings<GetLocationRequest,Location> getLocationSettings()

Returns the object with the settings used for calls to getLocation.

Returns
TypeDescription
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
TypeDescription
UnaryCallSettings<GetReplicationRequest,Replication>

getSnapshotSettings()

public UnaryCallSettings<GetSnapshotRequest,Snapshot> getSnapshotSettings()

Returns the object with the settings used for calls to getSnapshot.

Returns
TypeDescription
UnaryCallSettings<GetSnapshotRequest,Snapshot>

getStoragePoolSettings()

public UnaryCallSettings<GetStoragePoolRequest,StoragePool> getStoragePoolSettings()

Returns the object with the settings used for calls to getStoragePool.

Returns
TypeDescription
UnaryCallSettings<GetStoragePoolRequest,StoragePool>

getVolumeSettings()

public UnaryCallSettings<GetVolumeRequest,Volume> getVolumeSettings()

Returns the object with the settings used for calls to getVolume.

Returns
TypeDescription
UnaryCallSettings<GetVolumeRequest,Volume>

listActiveDirectoriesSettings()

public PagedCallSettings<ListActiveDirectoriesRequest,ListActiveDirectoriesResponse,NetAppClient.ListActiveDirectoriesPagedResponse> listActiveDirectoriesSettings()

Returns the object with the settings used for calls to listActiveDirectories.

Returns
TypeDescription
PagedCallSettings<ListActiveDirectoriesRequest,ListActiveDirectoriesResponse,ListActiveDirectoriesPagedResponse>

listKmsConfigsSettings()

public PagedCallSettings<ListKmsConfigsRequest,ListKmsConfigsResponse,NetAppClient.ListKmsConfigsPagedResponse> listKmsConfigsSettings()

Returns the object with the settings used for calls to listKmsConfigs.

Returns
TypeDescription
PagedCallSettings<ListKmsConfigsRequest,ListKmsConfigsResponse,ListKmsConfigsPagedResponse>

listLocationsSettings()

public PagedCallSettings<ListLocationsRequest,ListLocationsResponse,NetAppClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the object with the settings used for calls to listLocations.

Returns
TypeDescription
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
TypeDescription
PagedCallSettings<ListReplicationsRequest,ListReplicationsResponse,ListReplicationsPagedResponse>

listSnapshotsSettings()

public PagedCallSettings<ListSnapshotsRequest,ListSnapshotsResponse,NetAppClient.ListSnapshotsPagedResponse> listSnapshotsSettings()

Returns the object with the settings used for calls to listSnapshots.

Returns
TypeDescription
PagedCallSettings<ListSnapshotsRequest,ListSnapshotsResponse,ListSnapshotsPagedResponse>

listStoragePoolsSettings()

public PagedCallSettings<ListStoragePoolsRequest,ListStoragePoolsResponse,NetAppClient.ListStoragePoolsPagedResponse> listStoragePoolsSettings()

Returns the object with the settings used for calls to listStoragePools.

Returns
TypeDescription
PagedCallSettings<ListStoragePoolsRequest,ListStoragePoolsResponse,ListStoragePoolsPagedResponse>

listVolumesSettings()

public PagedCallSettings<ListVolumesRequest,ListVolumesResponse,NetAppClient.ListVolumesPagedResponse> listVolumesSettings()

Returns the object with the settings used for calls to listVolumes.

Returns
TypeDescription
PagedCallSettings<ListVolumesRequest,ListVolumesResponse,ListVolumesPagedResponse>

resumeReplicationOperationSettings()

public OperationCallSettings<ResumeReplicationRequest,Replication,OperationMetadata> resumeReplicationOperationSettings()

Returns the object with the settings used for calls to resumeReplication.

Returns
TypeDescription
OperationCallSettings<ResumeReplicationRequest,Replication,OperationMetadata>

resumeReplicationSettings()

public UnaryCallSettings<ResumeReplicationRequest,Operation> resumeReplicationSettings()

Returns the object with the settings used for calls to resumeReplication.

Returns
TypeDescription
UnaryCallSettings<ResumeReplicationRequest,Operation>

reverseReplicationDirectionOperationSettings()

public OperationCallSettings<ReverseReplicationDirectionRequest,Replication,OperationMetadata> reverseReplicationDirectionOperationSettings()

Returns the object with the settings used for calls to reverseReplicationDirection.

Returns
TypeDescription
OperationCallSettings<ReverseReplicationDirectionRequest,Replication,OperationMetadata>

reverseReplicationDirectionSettings()

public UnaryCallSettings<ReverseReplicationDirectionRequest,Operation> reverseReplicationDirectionSettings()

Returns the object with the settings used for calls to reverseReplicationDirection.

Returns
TypeDescription
UnaryCallSettings<ReverseReplicationDirectionRequest,Operation>

revertVolumeOperationSettings()

public OperationCallSettings<RevertVolumeRequest,Volume,OperationMetadata> revertVolumeOperationSettings()

Returns the object with the settings used for calls to revertVolume.

Returns
TypeDescription
OperationCallSettings<RevertVolumeRequest,Volume,OperationMetadata>

revertVolumeSettings()

public UnaryCallSettings<RevertVolumeRequest,Operation> revertVolumeSettings()

Returns the object with the settings used for calls to revertVolume.

Returns
TypeDescription
UnaryCallSettings<RevertVolumeRequest,Operation>

stopReplicationOperationSettings()

public OperationCallSettings<StopReplicationRequest,Replication,OperationMetadata> stopReplicationOperationSettings()

Returns the object with the settings used for calls to stopReplication.

Returns
TypeDescription
OperationCallSettings<StopReplicationRequest,Replication,OperationMetadata>

stopReplicationSettings()

public UnaryCallSettings<StopReplicationRequest,Operation> stopReplicationSettings()

Returns the object with the settings used for calls to stopReplication.

Returns
TypeDescription
UnaryCallSettings<StopReplicationRequest,Operation>

toBuilder()

public NetAppStubSettings.Builder toBuilder()

Returns a builder containing all the values of this settings class.

Returns
TypeDescription
NetAppStubSettings.Builder
Overrides

updateActiveDirectoryOperationSettings()

public OperationCallSettings<UpdateActiveDirectoryRequest,ActiveDirectory,OperationMetadata> updateActiveDirectoryOperationSettings()

Returns the object with the settings used for calls to updateActiveDirectory.

Returns
TypeDescription
OperationCallSettings<UpdateActiveDirectoryRequest,ActiveDirectory,OperationMetadata>

updateActiveDirectorySettings()

public UnaryCallSettings<UpdateActiveDirectoryRequest,Operation> updateActiveDirectorySettings()

Returns the object with the settings used for calls to updateActiveDirectory.

Returns
TypeDescription
UnaryCallSettings<UpdateActiveDirectoryRequest,Operation>

updateKmsConfigOperationSettings()

public OperationCallSettings<UpdateKmsConfigRequest,KmsConfig,OperationMetadata> updateKmsConfigOperationSettings()

Returns the object with the settings used for calls to updateKmsConfig.

Returns
TypeDescription
OperationCallSettings<UpdateKmsConfigRequest,KmsConfig,OperationMetadata>

updateKmsConfigSettings()

public UnaryCallSettings<UpdateKmsConfigRequest,Operation> updateKmsConfigSettings()

Returns the object with the settings used for calls to updateKmsConfig.

Returns
TypeDescription
UnaryCallSettings<UpdateKmsConfigRequest,Operation>

updateReplicationOperationSettings()

public OperationCallSettings<UpdateReplicationRequest,Replication,OperationMetadata> updateReplicationOperationSettings()

Returns the object with the settings used for calls to updateReplication.

Returns
TypeDescription
OperationCallSettings<UpdateReplicationRequest,Replication,OperationMetadata>

updateReplicationSettings()

public UnaryCallSettings<UpdateReplicationRequest,Operation> updateReplicationSettings()

Returns the object with the settings used for calls to updateReplication.

Returns
TypeDescription
UnaryCallSettings<UpdateReplicationRequest,Operation>

updateSnapshotOperationSettings()

public OperationCallSettings<UpdateSnapshotRequest,Snapshot,OperationMetadata> updateSnapshotOperationSettings()

Returns the object with the settings used for calls to updateSnapshot.

Returns
TypeDescription
OperationCallSettings<UpdateSnapshotRequest,Snapshot,OperationMetadata>

updateSnapshotSettings()

public UnaryCallSettings<UpdateSnapshotRequest,Operation> updateSnapshotSettings()

Returns the object with the settings used for calls to updateSnapshot.

Returns
TypeDescription
UnaryCallSettings<UpdateSnapshotRequest,Operation>

updateStoragePoolOperationSettings()

public OperationCallSettings<UpdateStoragePoolRequest,StoragePool,OperationMetadata> updateStoragePoolOperationSettings()

Returns the object with the settings used for calls to updateStoragePool.

Returns
TypeDescription
OperationCallSettings<UpdateStoragePoolRequest,StoragePool,OperationMetadata>

updateStoragePoolSettings()

public UnaryCallSettings<UpdateStoragePoolRequest,Operation> updateStoragePoolSettings()

Returns the object with the settings used for calls to updateStoragePool.

Returns
TypeDescription
UnaryCallSettings<UpdateStoragePoolRequest,Operation>

updateVolumeOperationSettings()

public OperationCallSettings<UpdateVolumeRequest,Volume,OperationMetadata> updateVolumeOperationSettings()

Returns the object with the settings used for calls to updateVolume.

Returns
TypeDescription
OperationCallSettings<UpdateVolumeRequest,Volume,OperationMetadata>

updateVolumeSettings()

public UnaryCallSettings<UpdateVolumeRequest,Operation> updateVolumeSettings()

Returns the object with the settings used for calls to updateVolume.

Returns
TypeDescription
UnaryCallSettings<UpdateVolumeRequest,Operation>

verifyKmsConfigSettings()

public UnaryCallSettings<VerifyKmsConfigRequest,VerifyKmsConfigResponse> verifyKmsConfigSettings()

Returns the object with the settings used for calls to verifyKmsConfig.

Returns
TypeDescription
UnaryCallSettings<VerifyKmsConfigRequest,VerifyKmsConfigResponse>