public class TelcoAutomationStubSettings extends StubSettings<TelcoAutomationStubSettings>
Settings class to configure an instance of TelcoAutomationStub .
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
TelcoAutomationStubSettings . Builder telcoAutomationSettingsBuilder =
TelcoAutomationStubSettings . newBuilder ();
telcoAutomationSettingsBuilder
. getOrchestrationClusterSettings ()
. setRetrySettings (
telcoAutomationSettingsBuilder
. getOrchestrationClusterSettings ()
. getRetrySettings ()
. toBuilder ()
. setTotalTimeout ( Duration . ofSeconds ( 30 ))
. build ());
TelcoAutomationStubSettings telcoAutomationSettings = telcoAutomationSettingsBuilder . build ();
Static Methods
public static ApiClientHeaderProvider . Builder defaultApiClientHeaderProviderBuilder ()
defaultCredentialsProviderBuilder()
public static GoogleCredentialsProvider . Builder defaultCredentialsProviderBuilder ()
Returns a builder for the default credentials for this service.
defaultExecutorProviderBuilder()
public static InstantiatingExecutorProvider . Builder defaultExecutorProviderBuilder ()
Returns a builder for the default ExecutorProvider for this service.
public static ApiClientHeaderProvider . Builder defaultGrpcApiClientHeaderProviderBuilder ()
Beta
The surface for customizing headers is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
defaultGrpcTransportProviderBuilder()
public static InstantiatingGrpcChannelProvider . Builder defaultGrpcTransportProviderBuilder ()
Returns a builder for the default gRPC ChannelProvider for this service.
public static ApiClientHeaderProvider . Builder defaultHttpJsonApiClientHeaderProviderBuilder ()
Beta
The surface for customizing headers is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
defaultHttpJsonTransportProviderBuilder()
public static InstantiatingHttpJsonChannelProvider . Builder defaultHttpJsonTransportProviderBuilder ()
Beta
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns a builder for the default REST ChannelProvider for this service.
defaultTransportChannelProvider()
public static TransportChannelProvider defaultTransportChannelProvider ()
getDefaultEndpoint()
public static String getDefaultEndpoint ()
Returns the default service endpoint.
getDefaultMtlsEndpoint()
public static String getDefaultMtlsEndpoint ()
Returns the default mTLS service endpoint.
getDefaultServiceScopes()
public static List<String> getDefaultServiceScopes ()
Returns the default service scopes.
newBuilder()
public static TelcoAutomationStubSettings . Builder newBuilder ()
Returns a new gRPC builder for this class.
newBuilder(ClientContext clientContext)
public static TelcoAutomationStubSettings . Builder newBuilder ( ClientContext clientContext )
Returns a new builder for this class.
newHttpJsonBuilder()
public static TelcoAutomationStubSettings . Builder newHttpJsonBuilder ()
Returns a new REST builder for this class.
Constructors
TelcoAutomationStubSettings(TelcoAutomationStubSettings.Builder settingsBuilder)
protected TelcoAutomationStubSettings ( TelcoAutomationStubSettings . Builder settingsBuilder )
Methods
applyDeploymentSettings()
public UnaryCallSettings<ApplyDeploymentRequest , Deployment > applyDeploymentSettings ()
Returns the object with the settings used for calls to applyDeployment.
applyHydratedDeploymentSettings()
public UnaryCallSettings<ApplyHydratedDeploymentRequest , HydratedDeployment > applyHydratedDeploymentSettings ()
Returns the object with the settings used for calls to applyHydratedDeployment.
approveBlueprintSettings()
public UnaryCallSettings<ApproveBlueprintRequest , Blueprint > approveBlueprintSettings ()
Returns the object with the settings used for calls to approveBlueprint.
computeDeploymentStatusSettings()
public UnaryCallSettings<ComputeDeploymentStatusRequest , ComputeDeploymentStatusResponse > computeDeploymentStatusSettings ()
Returns the object with the settings used for calls to computeDeploymentStatus.
createBlueprintSettings()
public UnaryCallSettings<CreateBlueprintRequest , Blueprint > createBlueprintSettings ()
Returns the object with the settings used for calls to createBlueprint.
createDeploymentSettings()
public UnaryCallSettings<CreateDeploymentRequest , Deployment > createDeploymentSettings ()
Returns the object with the settings used for calls to createDeployment.
createEdgeSlmOperationSettings()
public OperationCallSettings<CreateEdgeSlmRequest , EdgeSlm , OperationMetadata > createEdgeSlmOperationSettings ()
Returns the object with the settings used for calls to createEdgeSlm.
createEdgeSlmSettings()
public UnaryCallSettings<CreateEdgeSlmRequest , Operation > createEdgeSlmSettings ()
Returns the object with the settings used for calls to createEdgeSlm.
createOrchestrationClusterOperationSettings()
public OperationCallSettings<CreateOrchestrationClusterRequest , OrchestrationCluster , OperationMetadata > createOrchestrationClusterOperationSettings ()
Returns the object with the settings used for calls to createOrchestrationCluster.
createOrchestrationClusterSettings()
public UnaryCallSettings<CreateOrchestrationClusterRequest , Operation > createOrchestrationClusterSettings ()
Returns the object with the settings used for calls to createOrchestrationCluster.
createStub()
public TelcoAutomationStub createStub ()
deleteBlueprintSettings()
public UnaryCallSettings<DeleteBlueprintRequest , Empty > deleteBlueprintSettings ()
Returns the object with the settings used for calls to deleteBlueprint.
deleteEdgeSlmOperationSettings()
public OperationCallSettings<DeleteEdgeSlmRequest , Empty , OperationMetadata > deleteEdgeSlmOperationSettings ()
Returns the object with the settings used for calls to deleteEdgeSlm.
deleteEdgeSlmSettings()
public UnaryCallSettings<DeleteEdgeSlmRequest , Operation > deleteEdgeSlmSettings ()
Returns the object with the settings used for calls to deleteEdgeSlm.
deleteOrchestrationClusterOperationSettings()
public OperationCallSettings<DeleteOrchestrationClusterRequest , Empty , OperationMetadata > deleteOrchestrationClusterOperationSettings ()
Returns the object with the settings used for calls to deleteOrchestrationCluster.
deleteOrchestrationClusterSettings()
public UnaryCallSettings<DeleteOrchestrationClusterRequest , Operation > deleteOrchestrationClusterSettings ()
Returns the object with the settings used for calls to deleteOrchestrationCluster.
discardBlueprintChangesSettings()
public UnaryCallSettings<DiscardBlueprintChangesRequest , DiscardBlueprintChangesResponse > discardBlueprintChangesSettings ()
Returns the object with the settings used for calls to discardBlueprintChanges.
discardDeploymentChangesSettings()
public UnaryCallSettings<DiscardDeploymentChangesRequest , DiscardDeploymentChangesResponse > discardDeploymentChangesSettings ()
Returns the object with the settings used for calls to discardDeploymentChanges.
getBlueprintSettings()
public UnaryCallSettings<GetBlueprintRequest , Blueprint > getBlueprintSettings ()
Returns the object with the settings used for calls to getBlueprint.
getDeploymentSettings()
public UnaryCallSettings<GetDeploymentRequest , Deployment > getDeploymentSettings ()
Returns the object with the settings used for calls to getDeployment.
getEdgeSlmSettings()
public UnaryCallSettings<GetEdgeSlmRequest , EdgeSlm > getEdgeSlmSettings ()
Returns the object with the settings used for calls to getEdgeSlm.
getEndpoint()
public String getEndpoint ()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getHydratedDeploymentSettings()
public UnaryCallSettings<GetHydratedDeploymentRequest , HydratedDeployment > getHydratedDeploymentSettings ()
Returns the object with the settings used for calls to getHydratedDeployment.
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 >
getOrchestrationClusterSettings()
public UnaryCallSettings<GetOrchestrationClusterRequest , OrchestrationCluster > getOrchestrationClusterSettings ()
Returns the object with the settings used for calls to getOrchestrationCluster.
getPublicBlueprintSettings()
public UnaryCallSettings<GetPublicBlueprintRequest , PublicBlueprint > getPublicBlueprintSettings ()
Returns the object with the settings used for calls to getPublicBlueprint.
getServiceName()
public String getServiceName ()
Returns the default service name.
Overrides
listBlueprintRevisionsSettings()
public PagedCallSettings<ListBlueprintRevisionsRequest , ListBlueprintRevisionsResponse , TelcoAutomationClient . ListBlueprintRevisionsPagedResponse > listBlueprintRevisionsSettings ()
Returns the object with the settings used for calls to listBlueprintRevisions.
listBlueprintsSettings()
public PagedCallSettings<ListBlueprintsRequest , ListBlueprintsResponse , TelcoAutomationClient . ListBlueprintsPagedResponse > listBlueprintsSettings ()
Returns the object with the settings used for calls to listBlueprints.
listDeploymentRevisionsSettings()
public PagedCallSettings<ListDeploymentRevisionsRequest , ListDeploymentRevisionsResponse , TelcoAutomationClient . ListDeploymentRevisionsPagedResponse > listDeploymentRevisionsSettings ()
Returns the object with the settings used for calls to listDeploymentRevisions.
listDeploymentsSettings()
public PagedCallSettings<ListDeploymentsRequest , ListDeploymentsResponse , TelcoAutomationClient . ListDeploymentsPagedResponse > listDeploymentsSettings ()
Returns the object with the settings used for calls to listDeployments.
listEdgeSlmsSettings()
public PagedCallSettings<ListEdgeSlmsRequest , ListEdgeSlmsResponse , TelcoAutomationClient . ListEdgeSlmsPagedResponse > listEdgeSlmsSettings ()
Returns the object with the settings used for calls to listEdgeSlms.
listHydratedDeploymentsSettings()
public PagedCallSettings<ListHydratedDeploymentsRequest , ListHydratedDeploymentsResponse , TelcoAutomationClient . ListHydratedDeploymentsPagedResponse > listHydratedDeploymentsSettings ()
Returns the object with the settings used for calls to listHydratedDeployments.
listLocationsSettings()
public PagedCallSettings<ListLocationsRequest , ListLocationsResponse , TelcoAutomationClient . ListLocationsPagedResponse > listLocationsSettings ()
Returns the object with the settings used for calls to listLocations.
public PagedCallSettings<ListOrchestrationClustersRequest , ListOrchestrationClustersResponse , TelcoAutomationClient . ListOrchestrationClustersPagedResponse > listOrchestrationClustersSettings ()
Returns the object with the settings used for calls to listOrchestrationClusters.
listPublicBlueprintsSettings()
public PagedCallSettings<ListPublicBlueprintsRequest , ListPublicBlueprintsResponse , TelcoAutomationClient . ListPublicBlueprintsPagedResponse > listPublicBlueprintsSettings ()
Returns the object with the settings used for calls to listPublicBlueprints.
proposeBlueprintSettings()
public UnaryCallSettings<ProposeBlueprintRequest , Blueprint > proposeBlueprintSettings ()
Returns the object with the settings used for calls to proposeBlueprint.
rejectBlueprintSettings()
public UnaryCallSettings<RejectBlueprintRequest , Blueprint > rejectBlueprintSettings ()
Returns the object with the settings used for calls to rejectBlueprint.
removeDeploymentSettings()
public UnaryCallSettings<RemoveDeploymentRequest , Empty > removeDeploymentSettings ()
Returns the object with the settings used for calls to removeDeployment.
rollbackDeploymentSettings()
public UnaryCallSettings<RollbackDeploymentRequest , Deployment > rollbackDeploymentSettings ()
Returns the object with the settings used for calls to rollbackDeployment.
searchBlueprintRevisionsSettings()
public PagedCallSettings<SearchBlueprintRevisionsRequest , SearchBlueprintRevisionsResponse , TelcoAutomationClient . SearchBlueprintRevisionsPagedResponse > searchBlueprintRevisionsSettings ()
Returns the object with the settings used for calls to searchBlueprintRevisions.
searchDeploymentRevisionsSettings()
public PagedCallSettings<SearchDeploymentRevisionsRequest , SearchDeploymentRevisionsResponse , TelcoAutomationClient . SearchDeploymentRevisionsPagedResponse > searchDeploymentRevisionsSettings ()
Returns the object with the settings used for calls to searchDeploymentRevisions.
toBuilder()
public TelcoAutomationStubSettings . Builder toBuilder ()
Returns a builder containing all the values of this settings class.
Overrides
updateBlueprintSettings()
public UnaryCallSettings<UpdateBlueprintRequest , Blueprint > updateBlueprintSettings ()
Returns the object with the settings used for calls to updateBlueprint.
updateDeploymentSettings()
public UnaryCallSettings<UpdateDeploymentRequest , Deployment > updateDeploymentSettings ()
Returns the object with the settings used for calls to updateDeployment.
updateHydratedDeploymentSettings()
public UnaryCallSettings<UpdateHydratedDeploymentRequest , HydratedDeployment > updateHydratedDeploymentSettings ()
Returns the object with the settings used for calls to updateHydratedDeployment.