com.google.cloud.telcoautomation.v1alpha1.TelcoAutomationSettings Maven / Gradle / Ivy
Show all versions of google-cloud-telcoautomation Show documentation
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.google.cloud.telcoautomation.v1alpha1;
import static com.google.cloud.telcoautomation.v1alpha1.TelcoAutomationClient.ListBlueprintRevisionsPagedResponse;
import static com.google.cloud.telcoautomation.v1alpha1.TelcoAutomationClient.ListBlueprintsPagedResponse;
import static com.google.cloud.telcoautomation.v1alpha1.TelcoAutomationClient.ListDeploymentRevisionsPagedResponse;
import static com.google.cloud.telcoautomation.v1alpha1.TelcoAutomationClient.ListDeploymentsPagedResponse;
import static com.google.cloud.telcoautomation.v1alpha1.TelcoAutomationClient.ListEdgeSlmsPagedResponse;
import static com.google.cloud.telcoautomation.v1alpha1.TelcoAutomationClient.ListHydratedDeploymentsPagedResponse;
import static com.google.cloud.telcoautomation.v1alpha1.TelcoAutomationClient.ListLocationsPagedResponse;
import static com.google.cloud.telcoautomation.v1alpha1.TelcoAutomationClient.ListOrchestrationClustersPagedResponse;
import static com.google.cloud.telcoautomation.v1alpha1.TelcoAutomationClient.ListPublicBlueprintsPagedResponse;
import static com.google.cloud.telcoautomation.v1alpha1.TelcoAutomationClient.SearchBlueprintRevisionsPagedResponse;
import static com.google.cloud.telcoautomation.v1alpha1.TelcoAutomationClient.SearchDeploymentRevisionsPagedResponse;
import com.google.api.core.ApiFunction;
import com.google.api.core.BetaApi;
import com.google.api.gax.core.GoogleCredentialsProvider;
import com.google.api.gax.core.InstantiatingExecutorProvider;
import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider;
import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider;
import com.google.api.gax.rpc.ApiClientHeaderProvider;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.OperationCallSettings;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.location.GetLocationRequest;
import com.google.cloud.location.ListLocationsRequest;
import com.google.cloud.location.ListLocationsResponse;
import com.google.cloud.location.Location;
import com.google.cloud.telcoautomation.v1alpha1.stub.TelcoAutomationStubSettings;
import com.google.longrunning.Operation;
import com.google.protobuf.Empty;
import java.io.IOException;
import java.util.List;
import javax.annotation.Generated;
// AUTO-GENERATED DOCUMENTATION AND CLASS.
/**
* Settings class to configure an instance of {@link 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:
*
*
{@code
* // 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://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) 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:
*
*
{@code
* // 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)
* .setMaxRetryDelay(Duration.ofMillis(5000))
* .setTotalTimeoutDuration(Duration.ofHours(24))
* .build());
* telcoAutomationSettingsBuilder
* .createClusterOperationSettings()
* .setPollingAlgorithm(timedRetryAlgorithm)
* .build();
* }
*/
@BetaApi
@Generated("by gapic-generator-java")
public class TelcoAutomationSettings extends ClientSettings {
/** Returns the object with the settings used for calls to listOrchestrationClusters. */
public PagedCallSettings<
ListOrchestrationClustersRequest,
ListOrchestrationClustersResponse,
ListOrchestrationClustersPagedResponse>
listOrchestrationClustersSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).listOrchestrationClustersSettings();
}
/** Returns the object with the settings used for calls to getOrchestrationCluster. */
public UnaryCallSettings
getOrchestrationClusterSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).getOrchestrationClusterSettings();
}
/** Returns the object with the settings used for calls to createOrchestrationCluster. */
public UnaryCallSettings
createOrchestrationClusterSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).createOrchestrationClusterSettings();
}
/** Returns the object with the settings used for calls to createOrchestrationCluster. */
public OperationCallSettings<
CreateOrchestrationClusterRequest, OrchestrationCluster, OperationMetadata>
createOrchestrationClusterOperationSettings() {
return ((TelcoAutomationStubSettings) getStubSettings())
.createOrchestrationClusterOperationSettings();
}
/** Returns the object with the settings used for calls to deleteOrchestrationCluster. */
public UnaryCallSettings
deleteOrchestrationClusterSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).deleteOrchestrationClusterSettings();
}
/** Returns the object with the settings used for calls to deleteOrchestrationCluster. */
public OperationCallSettings
deleteOrchestrationClusterOperationSettings() {
return ((TelcoAutomationStubSettings) getStubSettings())
.deleteOrchestrationClusterOperationSettings();
}
/** Returns the object with the settings used for calls to listEdgeSlms. */
public PagedCallSettings
listEdgeSlmsSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).listEdgeSlmsSettings();
}
/** Returns the object with the settings used for calls to getEdgeSlm. */
public UnaryCallSettings getEdgeSlmSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).getEdgeSlmSettings();
}
/** Returns the object with the settings used for calls to createEdgeSlm. */
public UnaryCallSettings createEdgeSlmSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).createEdgeSlmSettings();
}
/** Returns the object with the settings used for calls to createEdgeSlm. */
public OperationCallSettings
createEdgeSlmOperationSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).createEdgeSlmOperationSettings();
}
/** Returns the object with the settings used for calls to deleteEdgeSlm. */
public UnaryCallSettings deleteEdgeSlmSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).deleteEdgeSlmSettings();
}
/** Returns the object with the settings used for calls to deleteEdgeSlm. */
public OperationCallSettings
deleteEdgeSlmOperationSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).deleteEdgeSlmOperationSettings();
}
/** Returns the object with the settings used for calls to createBlueprint. */
public UnaryCallSettings createBlueprintSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).createBlueprintSettings();
}
/** Returns the object with the settings used for calls to updateBlueprint. */
public UnaryCallSettings updateBlueprintSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).updateBlueprintSettings();
}
/** Returns the object with the settings used for calls to getBlueprint. */
public UnaryCallSettings getBlueprintSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).getBlueprintSettings();
}
/** Returns the object with the settings used for calls to deleteBlueprint. */
public UnaryCallSettings deleteBlueprintSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).deleteBlueprintSettings();
}
/** Returns the object with the settings used for calls to listBlueprints. */
public PagedCallSettings<
ListBlueprintsRequest, ListBlueprintsResponse, ListBlueprintsPagedResponse>
listBlueprintsSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).listBlueprintsSettings();
}
/** Returns the object with the settings used for calls to approveBlueprint. */
public UnaryCallSettings approveBlueprintSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).approveBlueprintSettings();
}
/** Returns the object with the settings used for calls to proposeBlueprint. */
public UnaryCallSettings proposeBlueprintSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).proposeBlueprintSettings();
}
/** Returns the object with the settings used for calls to rejectBlueprint. */
public UnaryCallSettings rejectBlueprintSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).rejectBlueprintSettings();
}
/** Returns the object with the settings used for calls to listBlueprintRevisions. */
public PagedCallSettings<
ListBlueprintRevisionsRequest,
ListBlueprintRevisionsResponse,
ListBlueprintRevisionsPagedResponse>
listBlueprintRevisionsSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).listBlueprintRevisionsSettings();
}
/** Returns the object with the settings used for calls to searchBlueprintRevisions. */
public PagedCallSettings<
SearchBlueprintRevisionsRequest,
SearchBlueprintRevisionsResponse,
SearchBlueprintRevisionsPagedResponse>
searchBlueprintRevisionsSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).searchBlueprintRevisionsSettings();
}
/** Returns the object with the settings used for calls to searchDeploymentRevisions. */
public PagedCallSettings<
SearchDeploymentRevisionsRequest,
SearchDeploymentRevisionsResponse,
SearchDeploymentRevisionsPagedResponse>
searchDeploymentRevisionsSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).searchDeploymentRevisionsSettings();
}
/** Returns the object with the settings used for calls to discardBlueprintChanges. */
public UnaryCallSettings
discardBlueprintChangesSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).discardBlueprintChangesSettings();
}
/** Returns the object with the settings used for calls to listPublicBlueprints. */
public PagedCallSettings<
ListPublicBlueprintsRequest,
ListPublicBlueprintsResponse,
ListPublicBlueprintsPagedResponse>
listPublicBlueprintsSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).listPublicBlueprintsSettings();
}
/** Returns the object with the settings used for calls to getPublicBlueprint. */
public UnaryCallSettings
getPublicBlueprintSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).getPublicBlueprintSettings();
}
/** Returns the object with the settings used for calls to createDeployment. */
public UnaryCallSettings createDeploymentSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).createDeploymentSettings();
}
/** Returns the object with the settings used for calls to updateDeployment. */
public UnaryCallSettings updateDeploymentSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).updateDeploymentSettings();
}
/** Returns the object with the settings used for calls to getDeployment. */
public UnaryCallSettings getDeploymentSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).getDeploymentSettings();
}
/** Returns the object with the settings used for calls to removeDeployment. */
public UnaryCallSettings removeDeploymentSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).removeDeploymentSettings();
}
/** Returns the object with the settings used for calls to listDeployments. */
public PagedCallSettings<
ListDeploymentsRequest, ListDeploymentsResponse, ListDeploymentsPagedResponse>
listDeploymentsSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).listDeploymentsSettings();
}
/** Returns the object with the settings used for calls to listDeploymentRevisions. */
public PagedCallSettings<
ListDeploymentRevisionsRequest,
ListDeploymentRevisionsResponse,
ListDeploymentRevisionsPagedResponse>
listDeploymentRevisionsSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).listDeploymentRevisionsSettings();
}
/** Returns the object with the settings used for calls to discardDeploymentChanges. */
public UnaryCallSettings
discardDeploymentChangesSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).discardDeploymentChangesSettings();
}
/** Returns the object with the settings used for calls to applyDeployment. */
public UnaryCallSettings applyDeploymentSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).applyDeploymentSettings();
}
/** Returns the object with the settings used for calls to computeDeploymentStatus. */
public UnaryCallSettings
computeDeploymentStatusSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).computeDeploymentStatusSettings();
}
/** Returns the object with the settings used for calls to rollbackDeployment. */
public UnaryCallSettings rollbackDeploymentSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).rollbackDeploymentSettings();
}
/** Returns the object with the settings used for calls to getHydratedDeployment. */
public UnaryCallSettings
getHydratedDeploymentSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).getHydratedDeploymentSettings();
}
/** Returns the object with the settings used for calls to listHydratedDeployments. */
public PagedCallSettings<
ListHydratedDeploymentsRequest,
ListHydratedDeploymentsResponse,
ListHydratedDeploymentsPagedResponse>
listHydratedDeploymentsSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).listHydratedDeploymentsSettings();
}
/** Returns the object with the settings used for calls to updateHydratedDeployment. */
public UnaryCallSettings
updateHydratedDeploymentSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).updateHydratedDeploymentSettings();
}
/** Returns the object with the settings used for calls to applyHydratedDeployment. */
public UnaryCallSettings
applyHydratedDeploymentSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).applyHydratedDeploymentSettings();
}
/** Returns the object with the settings used for calls to listLocations. */
public PagedCallSettings
listLocationsSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).listLocationsSettings();
}
/** Returns the object with the settings used for calls to getLocation. */
public UnaryCallSettings getLocationSettings() {
return ((TelcoAutomationStubSettings) getStubSettings()).getLocationSettings();
}
public static final TelcoAutomationSettings create(TelcoAutomationStubSettings stub)
throws IOException {
return new TelcoAutomationSettings.Builder(stub.toBuilder()).build();
}
/** Returns a builder for the default ExecutorProvider for this service. */
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() {
return TelcoAutomationStubSettings.defaultExecutorProviderBuilder();
}
/** Returns the default service endpoint. */
public static String getDefaultEndpoint() {
return TelcoAutomationStubSettings.getDefaultEndpoint();
}
/** Returns the default service scopes. */
public static List getDefaultServiceScopes() {
return TelcoAutomationStubSettings.getDefaultServiceScopes();
}
/** Returns a builder for the default credentials for this service. */
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
return TelcoAutomationStubSettings.defaultCredentialsProviderBuilder();
}
/** Returns a builder for the default gRPC ChannelProvider for this service. */
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() {
return TelcoAutomationStubSettings.defaultGrpcTransportProviderBuilder();
}
/** Returns a builder for the default REST ChannelProvider for this service. */
@BetaApi
public static InstantiatingHttpJsonChannelProvider.Builder
defaultHttpJsonTransportProviderBuilder() {
return TelcoAutomationStubSettings.defaultHttpJsonTransportProviderBuilder();
}
public static TransportChannelProvider defaultTransportChannelProvider() {
return TelcoAutomationStubSettings.defaultTransportChannelProvider();
}
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
return TelcoAutomationStubSettings.defaultApiClientHeaderProviderBuilder();
}
/** Returns a new gRPC builder for this class. */
public static Builder newBuilder() {
return Builder.createDefault();
}
/** Returns a new REST builder for this class. */
public static Builder newHttpJsonBuilder() {
return Builder.createHttpJsonDefault();
}
/** Returns a new builder for this class. */
public static Builder newBuilder(ClientContext clientContext) {
return new Builder(clientContext);
}
/** Returns a builder containing all the values of this settings class. */
public Builder toBuilder() {
return new Builder(this);
}
protected TelcoAutomationSettings(Builder settingsBuilder) throws IOException {
super(settingsBuilder);
}
/** Builder for TelcoAutomationSettings. */
public static class Builder extends ClientSettings.Builder {
protected Builder() throws IOException {
this(((ClientContext) null));
}
protected Builder(ClientContext clientContext) {
super(TelcoAutomationStubSettings.newBuilder(clientContext));
}
protected Builder(TelcoAutomationSettings settings) {
super(settings.getStubSettings().toBuilder());
}
protected Builder(TelcoAutomationStubSettings.Builder stubSettings) {
super(stubSettings);
}
private static Builder createDefault() {
return new Builder(TelcoAutomationStubSettings.newBuilder());
}
private static Builder createHttpJsonDefault() {
return new Builder(TelcoAutomationStubSettings.newHttpJsonBuilder());
}
public TelcoAutomationStubSettings.Builder getStubSettingsBuilder() {
return ((TelcoAutomationStubSettings.Builder) getStubSettings());
}
/**
* Applies the given settings updater function to all of the unary API methods in this service.
*
* Note: This method does not support applying settings to streaming methods.
*/
public Builder applyToAllUnaryMethods(
ApiFunction, Void> settingsUpdater) {
super.applyToAllUnaryMethods(
getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater);
return this;
}
/** Returns the builder for the settings used for calls to listOrchestrationClusters. */
public PagedCallSettings.Builder<
ListOrchestrationClustersRequest,
ListOrchestrationClustersResponse,
ListOrchestrationClustersPagedResponse>
listOrchestrationClustersSettings() {
return getStubSettingsBuilder().listOrchestrationClustersSettings();
}
/** Returns the builder for the settings used for calls to getOrchestrationCluster. */
public UnaryCallSettings.Builder
getOrchestrationClusterSettings() {
return getStubSettingsBuilder().getOrchestrationClusterSettings();
}
/** Returns the builder for the settings used for calls to createOrchestrationCluster. */
public UnaryCallSettings.Builder
createOrchestrationClusterSettings() {
return getStubSettingsBuilder().createOrchestrationClusterSettings();
}
/** Returns the builder for the settings used for calls to createOrchestrationCluster. */
public OperationCallSettings.Builder<
CreateOrchestrationClusterRequest, OrchestrationCluster, OperationMetadata>
createOrchestrationClusterOperationSettings() {
return getStubSettingsBuilder().createOrchestrationClusterOperationSettings();
}
/** Returns the builder for the settings used for calls to deleteOrchestrationCluster. */
public UnaryCallSettings.Builder
deleteOrchestrationClusterSettings() {
return getStubSettingsBuilder().deleteOrchestrationClusterSettings();
}
/** Returns the builder for the settings used for calls to deleteOrchestrationCluster. */
public OperationCallSettings.Builder<
DeleteOrchestrationClusterRequest, Empty, OperationMetadata>
deleteOrchestrationClusterOperationSettings() {
return getStubSettingsBuilder().deleteOrchestrationClusterOperationSettings();
}
/** Returns the builder for the settings used for calls to listEdgeSlms. */
public PagedCallSettings.Builder<
ListEdgeSlmsRequest, ListEdgeSlmsResponse, ListEdgeSlmsPagedResponse>
listEdgeSlmsSettings() {
return getStubSettingsBuilder().listEdgeSlmsSettings();
}
/** Returns the builder for the settings used for calls to getEdgeSlm. */
public UnaryCallSettings.Builder getEdgeSlmSettings() {
return getStubSettingsBuilder().getEdgeSlmSettings();
}
/** Returns the builder for the settings used for calls to createEdgeSlm. */
public UnaryCallSettings.Builder createEdgeSlmSettings() {
return getStubSettingsBuilder().createEdgeSlmSettings();
}
/** Returns the builder for the settings used for calls to createEdgeSlm. */
public OperationCallSettings.Builder
createEdgeSlmOperationSettings() {
return getStubSettingsBuilder().createEdgeSlmOperationSettings();
}
/** Returns the builder for the settings used for calls to deleteEdgeSlm. */
public UnaryCallSettings.Builder deleteEdgeSlmSettings() {
return getStubSettingsBuilder().deleteEdgeSlmSettings();
}
/** Returns the builder for the settings used for calls to deleteEdgeSlm. */
public OperationCallSettings.Builder
deleteEdgeSlmOperationSettings() {
return getStubSettingsBuilder().deleteEdgeSlmOperationSettings();
}
/** Returns the builder for the settings used for calls to createBlueprint. */
public UnaryCallSettings.Builder createBlueprintSettings() {
return getStubSettingsBuilder().createBlueprintSettings();
}
/** Returns the builder for the settings used for calls to updateBlueprint. */
public UnaryCallSettings.Builder updateBlueprintSettings() {
return getStubSettingsBuilder().updateBlueprintSettings();
}
/** Returns the builder for the settings used for calls to getBlueprint. */
public UnaryCallSettings.Builder getBlueprintSettings() {
return getStubSettingsBuilder().getBlueprintSettings();
}
/** Returns the builder for the settings used for calls to deleteBlueprint. */
public UnaryCallSettings.Builder deleteBlueprintSettings() {
return getStubSettingsBuilder().deleteBlueprintSettings();
}
/** Returns the builder for the settings used for calls to listBlueprints. */
public PagedCallSettings.Builder<
ListBlueprintsRequest, ListBlueprintsResponse, ListBlueprintsPagedResponse>
listBlueprintsSettings() {
return getStubSettingsBuilder().listBlueprintsSettings();
}
/** Returns the builder for the settings used for calls to approveBlueprint. */
public UnaryCallSettings.Builder
approveBlueprintSettings() {
return getStubSettingsBuilder().approveBlueprintSettings();
}
/** Returns the builder for the settings used for calls to proposeBlueprint. */
public UnaryCallSettings.Builder
proposeBlueprintSettings() {
return getStubSettingsBuilder().proposeBlueprintSettings();
}
/** Returns the builder for the settings used for calls to rejectBlueprint. */
public UnaryCallSettings.Builder rejectBlueprintSettings() {
return getStubSettingsBuilder().rejectBlueprintSettings();
}
/** Returns the builder for the settings used for calls to listBlueprintRevisions. */
public PagedCallSettings.Builder<
ListBlueprintRevisionsRequest,
ListBlueprintRevisionsResponse,
ListBlueprintRevisionsPagedResponse>
listBlueprintRevisionsSettings() {
return getStubSettingsBuilder().listBlueprintRevisionsSettings();
}
/** Returns the builder for the settings used for calls to searchBlueprintRevisions. */
public PagedCallSettings.Builder<
SearchBlueprintRevisionsRequest,
SearchBlueprintRevisionsResponse,
SearchBlueprintRevisionsPagedResponse>
searchBlueprintRevisionsSettings() {
return getStubSettingsBuilder().searchBlueprintRevisionsSettings();
}
/** Returns the builder for the settings used for calls to searchDeploymentRevisions. */
public PagedCallSettings.Builder<
SearchDeploymentRevisionsRequest,
SearchDeploymentRevisionsResponse,
SearchDeploymentRevisionsPagedResponse>
searchDeploymentRevisionsSettings() {
return getStubSettingsBuilder().searchDeploymentRevisionsSettings();
}
/** Returns the builder for the settings used for calls to discardBlueprintChanges. */
public UnaryCallSettings.Builder<
DiscardBlueprintChangesRequest, DiscardBlueprintChangesResponse>
discardBlueprintChangesSettings() {
return getStubSettingsBuilder().discardBlueprintChangesSettings();
}
/** Returns the builder for the settings used for calls to listPublicBlueprints. */
public PagedCallSettings.Builder<
ListPublicBlueprintsRequest,
ListPublicBlueprintsResponse,
ListPublicBlueprintsPagedResponse>
listPublicBlueprintsSettings() {
return getStubSettingsBuilder().listPublicBlueprintsSettings();
}
/** Returns the builder for the settings used for calls to getPublicBlueprint. */
public UnaryCallSettings.Builder
getPublicBlueprintSettings() {
return getStubSettingsBuilder().getPublicBlueprintSettings();
}
/** Returns the builder for the settings used for calls to createDeployment. */
public UnaryCallSettings.Builder
createDeploymentSettings() {
return getStubSettingsBuilder().createDeploymentSettings();
}
/** Returns the builder for the settings used for calls to updateDeployment. */
public UnaryCallSettings.Builder
updateDeploymentSettings() {
return getStubSettingsBuilder().updateDeploymentSettings();
}
/** Returns the builder for the settings used for calls to getDeployment. */
public UnaryCallSettings.Builder getDeploymentSettings() {
return getStubSettingsBuilder().getDeploymentSettings();
}
/** Returns the builder for the settings used for calls to removeDeployment. */
public UnaryCallSettings.Builder removeDeploymentSettings() {
return getStubSettingsBuilder().removeDeploymentSettings();
}
/** Returns the builder for the settings used for calls to listDeployments. */
public PagedCallSettings.Builder<
ListDeploymentsRequest, ListDeploymentsResponse, ListDeploymentsPagedResponse>
listDeploymentsSettings() {
return getStubSettingsBuilder().listDeploymentsSettings();
}
/** Returns the builder for the settings used for calls to listDeploymentRevisions. */
public PagedCallSettings.Builder<
ListDeploymentRevisionsRequest,
ListDeploymentRevisionsResponse,
ListDeploymentRevisionsPagedResponse>
listDeploymentRevisionsSettings() {
return getStubSettingsBuilder().listDeploymentRevisionsSettings();
}
/** Returns the builder for the settings used for calls to discardDeploymentChanges. */
public UnaryCallSettings.Builder<
DiscardDeploymentChangesRequest, DiscardDeploymentChangesResponse>
discardDeploymentChangesSettings() {
return getStubSettingsBuilder().discardDeploymentChangesSettings();
}
/** Returns the builder for the settings used for calls to applyDeployment. */
public UnaryCallSettings.Builder applyDeploymentSettings() {
return getStubSettingsBuilder().applyDeploymentSettings();
}
/** Returns the builder for the settings used for calls to computeDeploymentStatus. */
public UnaryCallSettings.Builder<
ComputeDeploymentStatusRequest, ComputeDeploymentStatusResponse>
computeDeploymentStatusSettings() {
return getStubSettingsBuilder().computeDeploymentStatusSettings();
}
/** Returns the builder for the settings used for calls to rollbackDeployment. */
public UnaryCallSettings.Builder
rollbackDeploymentSettings() {
return getStubSettingsBuilder().rollbackDeploymentSettings();
}
/** Returns the builder for the settings used for calls to getHydratedDeployment. */
public UnaryCallSettings.Builder
getHydratedDeploymentSettings() {
return getStubSettingsBuilder().getHydratedDeploymentSettings();
}
/** Returns the builder for the settings used for calls to listHydratedDeployments. */
public PagedCallSettings.Builder<
ListHydratedDeploymentsRequest,
ListHydratedDeploymentsResponse,
ListHydratedDeploymentsPagedResponse>
listHydratedDeploymentsSettings() {
return getStubSettingsBuilder().listHydratedDeploymentsSettings();
}
/** Returns the builder for the settings used for calls to updateHydratedDeployment. */
public UnaryCallSettings.Builder
updateHydratedDeploymentSettings() {
return getStubSettingsBuilder().updateHydratedDeploymentSettings();
}
/** Returns the builder for the settings used for calls to applyHydratedDeployment. */
public UnaryCallSettings.Builder
applyHydratedDeploymentSettings() {
return getStubSettingsBuilder().applyHydratedDeploymentSettings();
}
/** Returns the builder for the settings used for calls to listLocations. */
public PagedCallSettings.Builder<
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
listLocationsSettings() {
return getStubSettingsBuilder().listLocationsSettings();
}
/** Returns the builder for the settings used for calls to getLocation. */
public UnaryCallSettings.Builder getLocationSettings() {
return getStubSettingsBuilder().getLocationSettings();
}
@Override
public TelcoAutomationSettings build() throws IOException {
return new TelcoAutomationSettings(this);
}
}
}