Class TelcoAutomationSettings
java.lang.Object
com.google.api.gax.rpc.ClientSettings<TelcoAutomationSettings>
com.google.cloud.telcoautomation.v1.TelcoAutomationSettings
@Generated("by gapic-generator-java")
public class TelcoAutomationSettings
extends ClientSettings<TelcoAutomationSettings>
Settings class to configure an instance of
TelcoAutomationClient.
The default instance has everything set to sensible defaults:
- The default service address (telcoautomation.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](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings) of getOrchestrationCluster:
// 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
TelcoAutomationSettings.Builder telcoAutomationSettingsBuilder =
TelcoAutomationSettings.newBuilder();
telcoAutomationSettingsBuilder
.getOrchestrationClusterSettings()
.setRetrySettings(
telcoAutomationSettingsBuilder
.getOrchestrationClusterSettings()
.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());
TelcoAutomationSettings telcoAutomationSettings = telcoAutomationSettingsBuilder.build();
Please refer to the [Client Side Retry
Guide](https://docs.cloud.google.com/java/docs/client-retries) for additional support in setting
retries.
To configure the RetrySettings of a Long Running Operation method, create an OperationTimedPollAlgorithm object and update the RPC's polling algorithm. For example, to configure the RetrySettings for createOrchestrationCluster:
// 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
TelcoAutomationSettings.Builder telcoAutomationSettingsBuilder =
TelcoAutomationSettings.newBuilder();
TimedRetryAlgorithm timedRetryAlgorithm =
OperationalTimedPollAlgorithm.create(
RetrySettings.newBuilder()
.setInitialRetryDelayDuration(Duration.ofMillis(500))
.setRetryDelayMultiplier(1.5)
.setMaxRetryDelayDuration(Duration.ofMillis(5000))
.setTotalTimeoutDuration(Duration.ofHours(24))
.build());
telcoAutomationSettingsBuilder
.createClusterOperationSettings()
.setPollingAlgorithm(timedRetryAlgorithm)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for TelcoAutomationSettings. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTelcoAutomationSettings(TelcoAutomationSettings.Builder settingsBuilder) -
Method Summary
Modifier and TypeMethodDescriptionReturns the object with the settings used for calls to applyDeployment.Returns the object with the settings used for calls to applyHydratedDeployment.Returns the object with the settings used for calls to approveBlueprint.Returns the object with the settings used for calls to computeDeploymentStatus.static final TelcoAutomationSettingsReturns the object with the settings used for calls to createBlueprint.Returns the object with the settings used for calls to createDeployment.Returns the object with the settings used for calls to createEdgeSlm.Returns the object with the settings used for calls to createEdgeSlm.Returns the object with the settings used for calls to createOrchestrationCluster.Returns the object with the settings used for calls to createOrchestrationCluster.Returns a builder for the default credentials for this service.Returns a builder for the default ExecutorProvider for this service.Returns a builder for the default gRPC ChannelProvider for this service.Returns a builder for the default REST ChannelProvider for this service.static TransportChannelProviderUnaryCallSettings<DeleteBlueprintRequest,com.google.protobuf.Empty> Returns the object with the settings used for calls to deleteBlueprint.OperationCallSettings<DeleteEdgeSlmRequest,com.google.protobuf.Empty, OperationMetadata> Returns the object with the settings used for calls to deleteEdgeSlm.Returns the object with the settings used for calls to deleteEdgeSlm.OperationCallSettings<DeleteOrchestrationClusterRequest,com.google.protobuf.Empty, OperationMetadata> Returns the object with the settings used for calls to deleteOrchestrationCluster.Returns the object with the settings used for calls to deleteOrchestrationCluster.Returns the object with the settings used for calls to discardBlueprintChanges.Returns the object with the settings used for calls to discardDeploymentChanges.Returns the object with the settings used for calls to getBlueprint.static StringReturns the default service endpoint.Returns the default service scopes.Returns the object with the settings used for calls to getDeployment.Returns the object with the settings used for calls to getEdgeSlm.Returns the object with the settings used for calls to getHydratedDeployment.Returns the object with the settings used for calls to getLocation.Returns the object with the settings used for calls to getOrchestrationCluster.Returns the object with the settings used for calls to getPublicBlueprint.PagedCallSettings<ListBlueprintRevisionsRequest,ListBlueprintRevisionsResponse, TelcoAutomationClient.ListBlueprintRevisionsPagedResponse> Returns the object with the settings used for calls to listBlueprintRevisions.PagedCallSettings<ListBlueprintsRequest,ListBlueprintsResponse, TelcoAutomationClient.ListBlueprintsPagedResponse> Returns the object with the settings used for calls to listBlueprints.PagedCallSettings<ListDeploymentRevisionsRequest,ListDeploymentRevisionsResponse, TelcoAutomationClient.ListDeploymentRevisionsPagedResponse> Returns the object with the settings used for calls to listDeploymentRevisions.PagedCallSettings<ListDeploymentsRequest,ListDeploymentsResponse, TelcoAutomationClient.ListDeploymentsPagedResponse> Returns the object with the settings used for calls to listDeployments.PagedCallSettings<ListEdgeSlmsRequest,ListEdgeSlmsResponse, TelcoAutomationClient.ListEdgeSlmsPagedResponse> Returns the object with the settings used for calls to listEdgeSlms.PagedCallSettings<ListHydratedDeploymentsRequest,ListHydratedDeploymentsResponse, TelcoAutomationClient.ListHydratedDeploymentsPagedResponse> Returns the object with the settings used for calls to listHydratedDeployments.PagedCallSettings<ListLocationsRequest,ListLocationsResponse, TelcoAutomationClient.ListLocationsPagedResponse> Returns the object with the settings used for calls to listLocations.PagedCallSettings<ListOrchestrationClustersRequest,ListOrchestrationClustersResponse, TelcoAutomationClient.ListOrchestrationClustersPagedResponse> Returns the object with the settings used for calls to listOrchestrationClusters.PagedCallSettings<ListPublicBlueprintsRequest,ListPublicBlueprintsResponse, TelcoAutomationClient.ListPublicBlueprintsPagedResponse> Returns the object with the settings used for calls to listPublicBlueprints.Returns a new gRPC builder for this class.newBuilder(ClientContext clientContext) Returns a new builder for this class.Returns a new REST builder for this class.Returns the object with the settings used for calls to proposeBlueprint.Returns the object with the settings used for calls to rejectBlueprint.UnaryCallSettings<RemoveDeploymentRequest,com.google.protobuf.Empty> Returns the object with the settings used for calls to removeDeployment.Returns the object with the settings used for calls to rollbackDeployment.PagedCallSettings<SearchBlueprintRevisionsRequest,SearchBlueprintRevisionsResponse, TelcoAutomationClient.SearchBlueprintRevisionsPagedResponse> Returns the object with the settings used for calls to searchBlueprintRevisions.PagedCallSettings<SearchDeploymentRevisionsRequest,SearchDeploymentRevisionsResponse, TelcoAutomationClient.SearchDeploymentRevisionsPagedResponse> Returns the object with the settings used for calls to searchDeploymentRevisions.Returns a builder containing all the values of this settings class.Returns the object with the settings used for calls to updateBlueprint.Returns the object with the settings used for calls to updateDeployment.Returns the object with the settings used for calls to updateHydratedDeployment.Methods inherited from class com.google.api.gax.rpc.ClientSettings
getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getUniverseDomain, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, toString
-
Constructor Details
-
TelcoAutomationSettings
protected TelcoAutomationSettings(TelcoAutomationSettings.Builder settingsBuilder) throws IOException - Throws:
IOException
-
-
Method Details
-
listOrchestrationClustersSettings
public PagedCallSettings<ListOrchestrationClustersRequest,ListOrchestrationClustersResponse, listOrchestrationClustersSettings()TelcoAutomationClient.ListOrchestrationClustersPagedResponse> Returns the object with the settings used for calls to listOrchestrationClusters. -
getOrchestrationClusterSettings
public UnaryCallSettings<GetOrchestrationClusterRequest,OrchestrationCluster> getOrchestrationClusterSettings()Returns the object with the settings used for calls to getOrchestrationCluster. -
createOrchestrationClusterSettings
public UnaryCallSettings<CreateOrchestrationClusterRequest,Operation> createOrchestrationClusterSettings()Returns the object with the settings used for calls to createOrchestrationCluster. -
createOrchestrationClusterOperationSettings
public OperationCallSettings<CreateOrchestrationClusterRequest,OrchestrationCluster, createOrchestrationClusterOperationSettings()OperationMetadata> Returns the object with the settings used for calls to createOrchestrationCluster. -
deleteOrchestrationClusterSettings
public UnaryCallSettings<DeleteOrchestrationClusterRequest,Operation> deleteOrchestrationClusterSettings()Returns the object with the settings used for calls to deleteOrchestrationCluster. -
deleteOrchestrationClusterOperationSettings
public OperationCallSettings<DeleteOrchestrationClusterRequest,com.google.protobuf.Empty, deleteOrchestrationClusterOperationSettings()OperationMetadata> Returns the object with the settings used for calls to deleteOrchestrationCluster. -
listEdgeSlmsSettings
public PagedCallSettings<ListEdgeSlmsRequest,ListEdgeSlmsResponse, listEdgeSlmsSettings()TelcoAutomationClient.ListEdgeSlmsPagedResponse> Returns the object with the settings used for calls to listEdgeSlms. -
getEdgeSlmSettings
Returns the object with the settings used for calls to getEdgeSlm. -
createEdgeSlmSettings
Returns the object with the settings used for calls to createEdgeSlm. -
createEdgeSlmOperationSettings
public OperationCallSettings<CreateEdgeSlmRequest,EdgeSlm, createEdgeSlmOperationSettings()OperationMetadata> Returns the object with the settings used for calls to createEdgeSlm. -
deleteEdgeSlmSettings
Returns the object with the settings used for calls to deleteEdgeSlm. -
deleteEdgeSlmOperationSettings
public OperationCallSettings<DeleteEdgeSlmRequest,com.google.protobuf.Empty, deleteEdgeSlmOperationSettings()OperationMetadata> Returns the object with the settings used for calls to deleteEdgeSlm. -
createBlueprintSettings
Returns the object with the settings used for calls to createBlueprint. -
updateBlueprintSettings
Returns the object with the settings used for calls to updateBlueprint. -
getBlueprintSettings
Returns the object with the settings used for calls to getBlueprint. -
deleteBlueprintSettings
public UnaryCallSettings<DeleteBlueprintRequest,com.google.protobuf.Empty> deleteBlueprintSettings()Returns the object with the settings used for calls to deleteBlueprint. -
listBlueprintsSettings
public PagedCallSettings<ListBlueprintsRequest,ListBlueprintsResponse, listBlueprintsSettings()TelcoAutomationClient.ListBlueprintsPagedResponse> Returns the object with the settings used for calls to listBlueprints. -
approveBlueprintSettings
Returns the object with the settings used for calls to approveBlueprint. -
proposeBlueprintSettings
Returns the object with the settings used for calls to proposeBlueprint. -
rejectBlueprintSettings
Returns the object with the settings used for calls to rejectBlueprint. -
listBlueprintRevisionsSettings
public PagedCallSettings<ListBlueprintRevisionsRequest,ListBlueprintRevisionsResponse, listBlueprintRevisionsSettings()TelcoAutomationClient.ListBlueprintRevisionsPagedResponse> Returns the object with the settings used for calls to listBlueprintRevisions. -
searchBlueprintRevisionsSettings
public PagedCallSettings<SearchBlueprintRevisionsRequest,SearchBlueprintRevisionsResponse, searchBlueprintRevisionsSettings()TelcoAutomationClient.SearchBlueprintRevisionsPagedResponse> Returns the object with the settings used for calls to searchBlueprintRevisions. -
searchDeploymentRevisionsSettings
public PagedCallSettings<SearchDeploymentRevisionsRequest,SearchDeploymentRevisionsResponse, searchDeploymentRevisionsSettings()TelcoAutomationClient.SearchDeploymentRevisionsPagedResponse> Returns the object with the settings used for calls to searchDeploymentRevisions. -
discardBlueprintChangesSettings
public UnaryCallSettings<DiscardBlueprintChangesRequest,DiscardBlueprintChangesResponse> discardBlueprintChangesSettings()Returns the object with the settings used for calls to discardBlueprintChanges. -
listPublicBlueprintsSettings
public PagedCallSettings<ListPublicBlueprintsRequest,ListPublicBlueprintsResponse, listPublicBlueprintsSettings()TelcoAutomationClient.ListPublicBlueprintsPagedResponse> Returns the object with the settings used for calls to listPublicBlueprints. -
getPublicBlueprintSettings
Returns the object with the settings used for calls to getPublicBlueprint. -
createDeploymentSettings
Returns the object with the settings used for calls to createDeployment. -
updateDeploymentSettings
Returns the object with the settings used for calls to updateDeployment. -
getDeploymentSettings
Returns the object with the settings used for calls to getDeployment. -
removeDeploymentSettings
public UnaryCallSettings<RemoveDeploymentRequest,com.google.protobuf.Empty> removeDeploymentSettings()Returns the object with the settings used for calls to removeDeployment. -
listDeploymentsSettings
public PagedCallSettings<ListDeploymentsRequest,ListDeploymentsResponse, listDeploymentsSettings()TelcoAutomationClient.ListDeploymentsPagedResponse> Returns the object with the settings used for calls to listDeployments. -
listDeploymentRevisionsSettings
public PagedCallSettings<ListDeploymentRevisionsRequest,ListDeploymentRevisionsResponse, listDeploymentRevisionsSettings()TelcoAutomationClient.ListDeploymentRevisionsPagedResponse> Returns the object with the settings used for calls to listDeploymentRevisions. -
discardDeploymentChangesSettings
public UnaryCallSettings<DiscardDeploymentChangesRequest,DiscardDeploymentChangesResponse> discardDeploymentChangesSettings()Returns the object with the settings used for calls to discardDeploymentChanges. -
applyDeploymentSettings
Returns the object with the settings used for calls to applyDeployment. -
computeDeploymentStatusSettings
public UnaryCallSettings<ComputeDeploymentStatusRequest,ComputeDeploymentStatusResponse> computeDeploymentStatusSettings()Returns the object with the settings used for calls to computeDeploymentStatus. -
rollbackDeploymentSettings
Returns the object with the settings used for calls to rollbackDeployment. -
getHydratedDeploymentSettings
public UnaryCallSettings<GetHydratedDeploymentRequest,HydratedDeployment> getHydratedDeploymentSettings()Returns the object with the settings used for calls to getHydratedDeployment. -
listHydratedDeploymentsSettings
public PagedCallSettings<ListHydratedDeploymentsRequest,ListHydratedDeploymentsResponse, listHydratedDeploymentsSettings()TelcoAutomationClient.ListHydratedDeploymentsPagedResponse> Returns the object with the settings used for calls to listHydratedDeployments. -
updateHydratedDeploymentSettings
public UnaryCallSettings<UpdateHydratedDeploymentRequest,HydratedDeployment> updateHydratedDeploymentSettings()Returns the object with the settings used for calls to updateHydratedDeployment. -
applyHydratedDeploymentSettings
public UnaryCallSettings<ApplyHydratedDeploymentRequest,HydratedDeployment> applyHydratedDeploymentSettings()Returns the object with the settings used for calls to applyHydratedDeployment. -
listLocationsSettings
public PagedCallSettings<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()TelcoAutomationClient.ListLocationsPagedResponse> Returns the object with the settings used for calls to listLocations. -
getLocationSettings
Returns the object with the settings used for calls to getLocation. -
create
public static final TelcoAutomationSettings create(TelcoAutomationStubSettings stub) throws IOException - Throws:
IOException
-
defaultExecutorProviderBuilder
Returns a builder for the default ExecutorProvider for this service. -
getDefaultEndpoint
Returns the default service endpoint. -
getDefaultServiceScopes
Returns the default service scopes. -
defaultCredentialsProviderBuilder
Returns a builder for the default credentials for this service. -
defaultGrpcTransportProviderBuilder
Returns a builder for the default gRPC ChannelProvider for this service. -
defaultHttpJsonTransportProviderBuilder
@BetaApi public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()Returns a builder for the default REST ChannelProvider for this service. -
defaultTransportChannelProvider
-
defaultApiClientHeaderProviderBuilder
-
newBuilder
Returns a new gRPC builder for this class. -
newHttpJsonBuilder
Returns a new REST builder for this class. -
newBuilder
Returns a new builder for this class. -
toBuilder
Returns a builder containing all the values of this settings class.- Specified by:
toBuilderin classClientSettings<TelcoAutomationSettings>
-