Class TelcoAutomationSettings (0.11.0)

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 total timeout of getOrchestrationCluster 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
 TelcoAutomationSettings.Builder telcoAutomationSettingsBuilder =
     TelcoAutomationSettings.newBuilder();
 telcoAutomationSettingsBuilder
     .getOrchestrationClusterSettings()
     .setRetrySettings(
         telcoAutomationSettingsBuilder
             .getOrchestrationClusterSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 TelcoAutomationSettings telcoAutomationSettings = telcoAutomationSettingsBuilder.build();
 

Inheritance

java.lang.Object > ClientSettings > TelcoAutomationSettings

Static Methods

create(TelcoAutomationStubSettings stub)

public static final TelcoAutomationSettings create(TelcoAutomationStubSettings stub)
Parameter
NameDescription
stubTelcoAutomationStubSettings
Returns
TypeDescription
TelcoAutomationSettings
Exceptions
TypeDescription
IOException

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

defaultGrpcTransportProviderBuilder()

public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()

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

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

getDefaultServiceScopes()

public static List<String> getDefaultServiceScopes()

Returns the default service scopes.

Returns
TypeDescription
List<String>

newBuilder()

public static TelcoAutomationSettings.Builder newBuilder()

Returns a new gRPC builder for this class.

Returns
TypeDescription
TelcoAutomationSettings.Builder

newBuilder(ClientContext clientContext)

public static TelcoAutomationSettings.Builder newBuilder(ClientContext clientContext)

Returns a new builder for this class.

Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
TelcoAutomationSettings.Builder

newHttpJsonBuilder()

public static TelcoAutomationSettings.Builder newHttpJsonBuilder()

Returns a new REST builder for this class.

Returns
TypeDescription
TelcoAutomationSettings.Builder

Constructors

TelcoAutomationSettings(TelcoAutomationSettings.Builder settingsBuilder)

protected TelcoAutomationSettings(TelcoAutomationSettings.Builder settingsBuilder)
Parameter
NameDescription
settingsBuilderTelcoAutomationSettings.Builder

Methods

applyDeploymentSettings()

public UnaryCallSettings<ApplyDeploymentRequest,Deployment> applyDeploymentSettings()

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

Returns
TypeDescription
UnaryCallSettings<ApplyDeploymentRequest,Deployment>

applyHydratedDeploymentSettings()

public UnaryCallSettings<ApplyHydratedDeploymentRequest,HydratedDeployment> applyHydratedDeploymentSettings()

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

Returns
TypeDescription
UnaryCallSettings<ApplyHydratedDeploymentRequest,HydratedDeployment>

approveBlueprintSettings()

public UnaryCallSettings<ApproveBlueprintRequest,Blueprint> approveBlueprintSettings()

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

Returns
TypeDescription
UnaryCallSettings<ApproveBlueprintRequest,Blueprint>

computeDeploymentStatusSettings()

public UnaryCallSettings<ComputeDeploymentStatusRequest,ComputeDeploymentStatusResponse> computeDeploymentStatusSettings()

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

Returns
TypeDescription
UnaryCallSettings<ComputeDeploymentStatusRequest,ComputeDeploymentStatusResponse>

createBlueprintSettings()

public UnaryCallSettings<CreateBlueprintRequest,Blueprint> createBlueprintSettings()

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

Returns
TypeDescription
UnaryCallSettings<CreateBlueprintRequest,Blueprint>

createDeploymentSettings()

public UnaryCallSettings<CreateDeploymentRequest,Deployment> createDeploymentSettings()

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

Returns
TypeDescription
UnaryCallSettings<CreateDeploymentRequest,Deployment>

createEdgeSlmOperationSettings()

public OperationCallSettings<CreateEdgeSlmRequest,EdgeSlm,OperationMetadata> createEdgeSlmOperationSettings()

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

Returns
TypeDescription
OperationCallSettings<CreateEdgeSlmRequest,EdgeSlm,OperationMetadata>

createEdgeSlmSettings()

public UnaryCallSettings<CreateEdgeSlmRequest,Operation> createEdgeSlmSettings()

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

Returns
TypeDescription
UnaryCallSettings<CreateEdgeSlmRequest,Operation>

createOrchestrationClusterOperationSettings()

public OperationCallSettings<CreateOrchestrationClusterRequest,OrchestrationCluster,OperationMetadata> createOrchestrationClusterOperationSettings()

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

Returns
TypeDescription
OperationCallSettings<CreateOrchestrationClusterRequest,OrchestrationCluster,OperationMetadata>

createOrchestrationClusterSettings()

public UnaryCallSettings<CreateOrchestrationClusterRequest,Operation> createOrchestrationClusterSettings()

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

Returns
TypeDescription
UnaryCallSettings<CreateOrchestrationClusterRequest,Operation>

deleteBlueprintSettings()

public UnaryCallSettings<DeleteBlueprintRequest,Empty> deleteBlueprintSettings()

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

Returns
TypeDescription
UnaryCallSettings<DeleteBlueprintRequest,Empty>

deleteEdgeSlmOperationSettings()

public OperationCallSettings<DeleteEdgeSlmRequest,Empty,OperationMetadata> deleteEdgeSlmOperationSettings()

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

Returns
TypeDescription
OperationCallSettings<DeleteEdgeSlmRequest,Empty,OperationMetadata>

deleteEdgeSlmSettings()

public UnaryCallSettings<DeleteEdgeSlmRequest,Operation> deleteEdgeSlmSettings()

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

Returns
TypeDescription
UnaryCallSettings<DeleteEdgeSlmRequest,Operation>

deleteOrchestrationClusterOperationSettings()

public OperationCallSettings<DeleteOrchestrationClusterRequest,Empty,OperationMetadata> deleteOrchestrationClusterOperationSettings()

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

Returns
TypeDescription
OperationCallSettings<DeleteOrchestrationClusterRequest,Empty,OperationMetadata>

deleteOrchestrationClusterSettings()

public UnaryCallSettings<DeleteOrchestrationClusterRequest,Operation> deleteOrchestrationClusterSettings()

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

Returns
TypeDescription
UnaryCallSettings<DeleteOrchestrationClusterRequest,Operation>

discardBlueprintChangesSettings()

public UnaryCallSettings<DiscardBlueprintChangesRequest,DiscardBlueprintChangesResponse> discardBlueprintChangesSettings()

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

Returns
TypeDescription
UnaryCallSettings<DiscardBlueprintChangesRequest,DiscardBlueprintChangesResponse>

discardDeploymentChangesSettings()

public UnaryCallSettings<DiscardDeploymentChangesRequest,DiscardDeploymentChangesResponse> discardDeploymentChangesSettings()

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

Returns
TypeDescription
UnaryCallSettings<DiscardDeploymentChangesRequest,DiscardDeploymentChangesResponse>

getBlueprintSettings()

public UnaryCallSettings<GetBlueprintRequest,Blueprint> getBlueprintSettings()

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

Returns
TypeDescription
UnaryCallSettings<GetBlueprintRequest,Blueprint>

getDeploymentSettings()

public UnaryCallSettings<GetDeploymentRequest,Deployment> getDeploymentSettings()

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

Returns
TypeDescription
UnaryCallSettings<GetDeploymentRequest,Deployment>

getEdgeSlmSettings()

public UnaryCallSettings<GetEdgeSlmRequest,EdgeSlm> getEdgeSlmSettings()

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

Returns
TypeDescription
UnaryCallSettings<GetEdgeSlmRequest,EdgeSlm>

getHydratedDeploymentSettings()

public UnaryCallSettings<GetHydratedDeploymentRequest,HydratedDeployment> getHydratedDeploymentSettings()

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

Returns
TypeDescription
UnaryCallSettings<GetHydratedDeploymentRequest,HydratedDeployment>

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>

getOrchestrationClusterSettings()

public UnaryCallSettings<GetOrchestrationClusterRequest,OrchestrationCluster> getOrchestrationClusterSettings()

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

Returns
TypeDescription
UnaryCallSettings<GetOrchestrationClusterRequest,OrchestrationCluster>

getPublicBlueprintSettings()

public UnaryCallSettings<GetPublicBlueprintRequest,PublicBlueprint> getPublicBlueprintSettings()

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

Returns
TypeDescription
UnaryCallSettings<GetPublicBlueprintRequest,PublicBlueprint>

listBlueprintRevisionsSettings()

public PagedCallSettings<ListBlueprintRevisionsRequest,ListBlueprintRevisionsResponse,TelcoAutomationClient.ListBlueprintRevisionsPagedResponse> listBlueprintRevisionsSettings()

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

Returns
TypeDescription
PagedCallSettings<ListBlueprintRevisionsRequest,ListBlueprintRevisionsResponse,ListBlueprintRevisionsPagedResponse>

listBlueprintsSettings()

public PagedCallSettings<ListBlueprintsRequest,ListBlueprintsResponse,TelcoAutomationClient.ListBlueprintsPagedResponse> listBlueprintsSettings()

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

Returns
TypeDescription
PagedCallSettings<ListBlueprintsRequest,ListBlueprintsResponse,ListBlueprintsPagedResponse>

listDeploymentRevisionsSettings()

public PagedCallSettings<ListDeploymentRevisionsRequest,ListDeploymentRevisionsResponse,TelcoAutomationClient.ListDeploymentRevisionsPagedResponse> listDeploymentRevisionsSettings()

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

Returns
TypeDescription
PagedCallSettings<ListDeploymentRevisionsRequest,ListDeploymentRevisionsResponse,ListDeploymentRevisionsPagedResponse>

listDeploymentsSettings()

public PagedCallSettings<ListDeploymentsRequest,ListDeploymentsResponse,TelcoAutomationClient.ListDeploymentsPagedResponse> listDeploymentsSettings()

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

Returns
TypeDescription
PagedCallSettings<ListDeploymentsRequest,ListDeploymentsResponse,ListDeploymentsPagedResponse>

listEdgeSlmsSettings()

public PagedCallSettings<ListEdgeSlmsRequest,ListEdgeSlmsResponse,TelcoAutomationClient.ListEdgeSlmsPagedResponse> listEdgeSlmsSettings()

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

Returns
TypeDescription
PagedCallSettings<ListEdgeSlmsRequest,ListEdgeSlmsResponse,ListEdgeSlmsPagedResponse>

listHydratedDeploymentsSettings()

public PagedCallSettings<ListHydratedDeploymentsRequest,ListHydratedDeploymentsResponse,TelcoAutomationClient.ListHydratedDeploymentsPagedResponse> listHydratedDeploymentsSettings()

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

Returns
TypeDescription
PagedCallSettings<ListHydratedDeploymentsRequest,ListHydratedDeploymentsResponse,ListHydratedDeploymentsPagedResponse>

listLocationsSettings()

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

listOrchestrationClustersSettings()

public PagedCallSettings<ListOrchestrationClustersRequest,ListOrchestrationClustersResponse,TelcoAutomationClient.ListOrchestrationClustersPagedResponse> listOrchestrationClustersSettings()

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

Returns
TypeDescription
PagedCallSettings<ListOrchestrationClustersRequest,ListOrchestrationClustersResponse,ListOrchestrationClustersPagedResponse>

listPublicBlueprintsSettings()

public PagedCallSettings<ListPublicBlueprintsRequest,ListPublicBlueprintsResponse,TelcoAutomationClient.ListPublicBlueprintsPagedResponse> listPublicBlueprintsSettings()

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

Returns
TypeDescription
PagedCallSettings<ListPublicBlueprintsRequest,ListPublicBlueprintsResponse,ListPublicBlueprintsPagedResponse>

proposeBlueprintSettings()

public UnaryCallSettings<ProposeBlueprintRequest,Blueprint> proposeBlueprintSettings()

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

Returns
TypeDescription
UnaryCallSettings<ProposeBlueprintRequest,Blueprint>

rejectBlueprintSettings()

public UnaryCallSettings<RejectBlueprintRequest,Blueprint> rejectBlueprintSettings()

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

Returns
TypeDescription
UnaryCallSettings<RejectBlueprintRequest,Blueprint>

removeDeploymentSettings()

public UnaryCallSettings<RemoveDeploymentRequest,Empty> removeDeploymentSettings()

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

Returns
TypeDescription
UnaryCallSettings<RemoveDeploymentRequest,Empty>

rollbackDeploymentSettings()

public UnaryCallSettings<RollbackDeploymentRequest,Deployment> rollbackDeploymentSettings()

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

Returns
TypeDescription
UnaryCallSettings<RollbackDeploymentRequest,Deployment>

searchBlueprintRevisionsSettings()

public PagedCallSettings<SearchBlueprintRevisionsRequest,SearchBlueprintRevisionsResponse,TelcoAutomationClient.SearchBlueprintRevisionsPagedResponse> searchBlueprintRevisionsSettings()

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

Returns
TypeDescription
PagedCallSettings<SearchBlueprintRevisionsRequest,SearchBlueprintRevisionsResponse,SearchBlueprintRevisionsPagedResponse>

searchDeploymentRevisionsSettings()

public PagedCallSettings<SearchDeploymentRevisionsRequest,SearchDeploymentRevisionsResponse,TelcoAutomationClient.SearchDeploymentRevisionsPagedResponse> searchDeploymentRevisionsSettings()

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

Returns
TypeDescription
PagedCallSettings<SearchDeploymentRevisionsRequest,SearchDeploymentRevisionsResponse,SearchDeploymentRevisionsPagedResponse>

toBuilder()

public TelcoAutomationSettings.Builder toBuilder()

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

Returns
TypeDescription
TelcoAutomationSettings.Builder
Overrides

updateBlueprintSettings()

public UnaryCallSettings<UpdateBlueprintRequest,Blueprint> updateBlueprintSettings()

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

Returns
TypeDescription
UnaryCallSettings<UpdateBlueprintRequest,Blueprint>

updateDeploymentSettings()

public UnaryCallSettings<UpdateDeploymentRequest,Deployment> updateDeploymentSettings()

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

Returns
TypeDescription
UnaryCallSettings<UpdateDeploymentRequest,Deployment>

updateHydratedDeploymentSettings()

public UnaryCallSettings<UpdateHydratedDeploymentRequest,HydratedDeployment> updateHydratedDeploymentSettings()

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

Returns
TypeDescription
UnaryCallSettings<UpdateHydratedDeploymentRequest,HydratedDeployment>