Class SaasDeploymentsSettings (0.2.0)

public class SaasDeploymentsSettings extends ClientSettings<SaasDeploymentsSettings>

Settings class to configure an instance of SaasDeploymentsClient.

The default instance has everything set to sensible defaults:

  • The default service address (saasservicemgmt.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 RetrySettings of getSaas:


 // 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
 SaasDeploymentsSettings.Builder saasDeploymentsSettingsBuilder =
     SaasDeploymentsSettings.newBuilder();
 saasDeploymentsSettingsBuilder
     .getSaasSettings()
     .setRetrySettings(
         saasDeploymentsSettingsBuilder
             .getSaasSettings()
             .getRetrySettings()
             .toBuilder()
             .setInitialRetryDelayDuration(Duration.ofSeconds(1))
             .setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
             .setMaxAttempts(5)
             .setMaxRetryDelayDuration(Duration.ofSeconds(30))
             .setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
             .setRetryDelayMultiplier(1.3)
             .setRpcTimeoutMultiplier(1.5)
             .setTotalTimeoutDuration(Duration.ofSeconds(300))
             .build());
 SaasDeploymentsSettings saasDeploymentsSettings = saasDeploymentsSettingsBuilder.build();
 

Please refer to the Client Side Retry Guide for additional support in setting retries.

Inheritance

java.lang.Object > ClientSettings > SaasDeploymentsSettings

Static Methods

create(SaasDeploymentsStubSettings stub)

public static final SaasDeploymentsSettings create(SaasDeploymentsStubSettings stub)
Parameter
Name Description
stub SaasDeploymentsStubSettings
Returns
Type Description
SaasDeploymentsSettings
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 SaasDeploymentsSettings.Builder newBuilder()

Returns a new gRPC builder for this class.

Returns
Type Description
SaasDeploymentsSettings.Builder

newBuilder(ClientContext clientContext)

public static SaasDeploymentsSettings.Builder newBuilder(ClientContext clientContext)

Returns a new builder for this class.

Parameter
Name Description
clientContext ClientContext
Returns
Type Description
SaasDeploymentsSettings.Builder

newHttpJsonBuilder()

public static SaasDeploymentsSettings.Builder newHttpJsonBuilder()

Returns a new REST builder for this class.

Returns
Type Description
SaasDeploymentsSettings.Builder

Constructors

SaasDeploymentsSettings(SaasDeploymentsSettings.Builder settingsBuilder)

protected SaasDeploymentsSettings(SaasDeploymentsSettings.Builder settingsBuilder)
Parameter
Name Description
settingsBuilder SaasDeploymentsSettings.Builder

Methods

createReleaseSettings()

public UnaryCallSettings<CreateReleaseRequest,Release> createReleaseSettings()

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

Returns
Type Description
UnaryCallSettings<CreateReleaseRequest,Release>

createSaasSettings()

public UnaryCallSettings<CreateSaasRequest,Saas> createSaasSettings()

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

Returns
Type Description
UnaryCallSettings<CreateSaasRequest,Saas>

createTenantSettings()

public UnaryCallSettings<CreateTenantRequest,Tenant> createTenantSettings()

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

Returns
Type Description
UnaryCallSettings<CreateTenantRequest,Tenant>

createUnitKindSettings()

public UnaryCallSettings<CreateUnitKindRequest,UnitKind> createUnitKindSettings()

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

Returns
Type Description
UnaryCallSettings<CreateUnitKindRequest,UnitKind>

createUnitOperationSettings()

public UnaryCallSettings<CreateUnitOperationRequest,UnitOperation> createUnitOperationSettings()

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

Returns
Type Description
UnaryCallSettings<CreateUnitOperationRequest,UnitOperation>

createUnitSettings()

public UnaryCallSettings<CreateUnitRequest,Unit> createUnitSettings()

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

Returns
Type Description
UnaryCallSettings<CreateUnitRequest,Unit>

deleteReleaseSettings()

public UnaryCallSettings<DeleteReleaseRequest,Empty> deleteReleaseSettings()

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

Returns
Type Description
UnaryCallSettings<DeleteReleaseRequest,Empty>

deleteSaasSettings()

public UnaryCallSettings<DeleteSaasRequest,Empty> deleteSaasSettings()

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

Returns
Type Description
UnaryCallSettings<DeleteSaasRequest,Empty>

deleteTenantSettings()

public UnaryCallSettings<DeleteTenantRequest,Empty> deleteTenantSettings()

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

Returns
Type Description
UnaryCallSettings<DeleteTenantRequest,Empty>

deleteUnitKindSettings()

public UnaryCallSettings<DeleteUnitKindRequest,Empty> deleteUnitKindSettings()

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

Returns
Type Description
UnaryCallSettings<DeleteUnitKindRequest,Empty>

deleteUnitOperationSettings()

public UnaryCallSettings<DeleteUnitOperationRequest,Empty> deleteUnitOperationSettings()

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

Returns
Type Description
UnaryCallSettings<DeleteUnitOperationRequest,Empty>

deleteUnitSettings()

public UnaryCallSettings<DeleteUnitRequest,Empty> deleteUnitSettings()

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

Returns
Type Description
UnaryCallSettings<DeleteUnitRequest,Empty>

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>

getReleaseSettings()

public UnaryCallSettings<GetReleaseRequest,Release> getReleaseSettings()

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

Returns
Type Description
UnaryCallSettings<GetReleaseRequest,Release>

getSaasSettings()

public UnaryCallSettings<GetSaasRequest,Saas> getSaasSettings()

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

Returns
Type Description
UnaryCallSettings<GetSaasRequest,Saas>

getTenantSettings()

public UnaryCallSettings<GetTenantRequest,Tenant> getTenantSettings()

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

Returns
Type Description
UnaryCallSettings<GetTenantRequest,Tenant>

getUnitKindSettings()

public UnaryCallSettings<GetUnitKindRequest,UnitKind> getUnitKindSettings()

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

Returns
Type Description
UnaryCallSettings<GetUnitKindRequest,UnitKind>

getUnitOperationSettings()

public UnaryCallSettings<GetUnitOperationRequest,UnitOperation> getUnitOperationSettings()

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

Returns
Type Description
UnaryCallSettings<GetUnitOperationRequest,UnitOperation>

getUnitSettings()

public UnaryCallSettings<GetUnitRequest,Unit> getUnitSettings()

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

Returns
Type Description
UnaryCallSettings<GetUnitRequest,Unit>

listLocationsSettings()

public PagedCallSettings<ListLocationsRequest,ListLocationsResponse,SaasDeploymentsClient.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>

listReleasesSettings()

public PagedCallSettings<ListReleasesRequest,ListReleasesResponse,SaasDeploymentsClient.ListReleasesPagedResponse> listReleasesSettings()

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

Returns
Type Description
PagedCallSettings<ListReleasesRequest,ListReleasesResponse,ListReleasesPagedResponse>

listSaasSettings()

public PagedCallSettings<ListSaasRequest,ListSaasResponse,SaasDeploymentsClient.ListSaasPagedResponse> listSaasSettings()

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

Returns
Type Description
PagedCallSettings<ListSaasRequest,ListSaasResponse,ListSaasPagedResponse>

listTenantsSettings()

public PagedCallSettings<ListTenantsRequest,ListTenantsResponse,SaasDeploymentsClient.ListTenantsPagedResponse> listTenantsSettings()

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

Returns
Type Description
PagedCallSettings<ListTenantsRequest,ListTenantsResponse,ListTenantsPagedResponse>

listUnitKindsSettings()

public PagedCallSettings<ListUnitKindsRequest,ListUnitKindsResponse,SaasDeploymentsClient.ListUnitKindsPagedResponse> listUnitKindsSettings()

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

Returns
Type Description
PagedCallSettings<ListUnitKindsRequest,ListUnitKindsResponse,ListUnitKindsPagedResponse>

listUnitOperationsSettings()

public PagedCallSettings<ListUnitOperationsRequest,ListUnitOperationsResponse,SaasDeploymentsClient.ListUnitOperationsPagedResponse> listUnitOperationsSettings()

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

Returns
Type Description
PagedCallSettings<ListUnitOperationsRequest,ListUnitOperationsResponse,ListUnitOperationsPagedResponse>

listUnitsSettings()

public PagedCallSettings<ListUnitsRequest,ListUnitsResponse,SaasDeploymentsClient.ListUnitsPagedResponse> listUnitsSettings()

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

Returns
Type Description
PagedCallSettings<ListUnitsRequest,ListUnitsResponse,ListUnitsPagedResponse>

toBuilder()

public SaasDeploymentsSettings.Builder toBuilder()

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

Returns
Type Description
SaasDeploymentsSettings.Builder
Overrides

updateReleaseSettings()

public UnaryCallSettings<UpdateReleaseRequest,Release> updateReleaseSettings()

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

Returns
Type Description
UnaryCallSettings<UpdateReleaseRequest,Release>

updateSaasSettings()

public UnaryCallSettings<UpdateSaasRequest,Saas> updateSaasSettings()

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

Returns
Type Description
UnaryCallSettings<UpdateSaasRequest,Saas>

updateTenantSettings()

public UnaryCallSettings<UpdateTenantRequest,Tenant> updateTenantSettings()

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

Returns
Type Description
UnaryCallSettings<UpdateTenantRequest,Tenant>

updateUnitKindSettings()

public UnaryCallSettings<UpdateUnitKindRequest,UnitKind> updateUnitKindSettings()

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

Returns
Type Description
UnaryCallSettings<UpdateUnitKindRequest,UnitKind>

updateUnitOperationSettings()

public UnaryCallSettings<UpdateUnitOperationRequest,UnitOperation> updateUnitOperationSettings()

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

Returns
Type Description
UnaryCallSettings<UpdateUnitOperationRequest,UnitOperation>

updateUnitSettings()

public UnaryCallSettings<UpdateUnitRequest,Unit> updateUnitSettings()

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

Returns
Type Description
UnaryCallSettings<UpdateUnitRequest,Unit>