All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.dataplex.v1.DataplexServiceSettings Maven / Gradle / Ivy

/*
 * 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.dataplex.v1;

import static com.google.cloud.dataplex.v1.DataplexServiceClient.ListAssetActionsPagedResponse;
import static com.google.cloud.dataplex.v1.DataplexServiceClient.ListAssetsPagedResponse;
import static com.google.cloud.dataplex.v1.DataplexServiceClient.ListEnvironmentsPagedResponse;
import static com.google.cloud.dataplex.v1.DataplexServiceClient.ListJobsPagedResponse;
import static com.google.cloud.dataplex.v1.DataplexServiceClient.ListLakeActionsPagedResponse;
import static com.google.cloud.dataplex.v1.DataplexServiceClient.ListLakesPagedResponse;
import static com.google.cloud.dataplex.v1.DataplexServiceClient.ListLocationsPagedResponse;
import static com.google.cloud.dataplex.v1.DataplexServiceClient.ListSessionsPagedResponse;
import static com.google.cloud.dataplex.v1.DataplexServiceClient.ListTasksPagedResponse;
import static com.google.cloud.dataplex.v1.DataplexServiceClient.ListZoneActionsPagedResponse;
import static com.google.cloud.dataplex.v1.DataplexServiceClient.ListZonesPagedResponse;

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.dataplex.v1.stub.DataplexServiceStubSettings;
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.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 DataplexServiceClient}.
 *
 * 

The default instance has everything set to sensible defaults: * *

    *
  • The default service address (dataplex.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 getLake: * *

{@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
 * DataplexServiceSettings.Builder dataplexServiceSettingsBuilder =
 *     DataplexServiceSettings.newBuilder();
 * dataplexServiceSettingsBuilder
 *     .getLakeSettings()
 *     .setRetrySettings(
 *         dataplexServiceSettingsBuilder
 *             .getLakeSettings()
 *             .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());
 * DataplexServiceSettings dataplexServiceSettings = dataplexServiceSettingsBuilder.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 createLake: * *

{@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
 * DataplexServiceSettings.Builder dataplexServiceSettingsBuilder =
 *     DataplexServiceSettings.newBuilder();
 * TimedRetryAlgorithm timedRetryAlgorithm =
 *     OperationalTimedPollAlgorithm.create(
 *         RetrySettings.newBuilder()
 *             .setInitialRetryDelayDuration(Duration.ofMillis(500))
 *             .setRetryDelayMultiplier(1.5)
 *             .setMaxRetryDelay(Duration.ofMillis(5000))
 *             .setTotalTimeoutDuration(Duration.ofHours(24))
 *             .build());
 * dataplexServiceSettingsBuilder
 *     .createClusterOperationSettings()
 *     .setPollingAlgorithm(timedRetryAlgorithm)
 *     .build();
 * }
*/ @Generated("by gapic-generator-java") public class DataplexServiceSettings extends ClientSettings { /** Returns the object with the settings used for calls to createLake. */ public UnaryCallSettings createLakeSettings() { return ((DataplexServiceStubSettings) getStubSettings()).createLakeSettings(); } /** Returns the object with the settings used for calls to createLake. */ public OperationCallSettings createLakeOperationSettings() { return ((DataplexServiceStubSettings) getStubSettings()).createLakeOperationSettings(); } /** Returns the object with the settings used for calls to updateLake. */ public UnaryCallSettings updateLakeSettings() { return ((DataplexServiceStubSettings) getStubSettings()).updateLakeSettings(); } /** Returns the object with the settings used for calls to updateLake. */ public OperationCallSettings updateLakeOperationSettings() { return ((DataplexServiceStubSettings) getStubSettings()).updateLakeOperationSettings(); } /** Returns the object with the settings used for calls to deleteLake. */ public UnaryCallSettings deleteLakeSettings() { return ((DataplexServiceStubSettings) getStubSettings()).deleteLakeSettings(); } /** Returns the object with the settings used for calls to deleteLake. */ public OperationCallSettings deleteLakeOperationSettings() { return ((DataplexServiceStubSettings) getStubSettings()).deleteLakeOperationSettings(); } /** Returns the object with the settings used for calls to listLakes. */ public PagedCallSettings listLakesSettings() { return ((DataplexServiceStubSettings) getStubSettings()).listLakesSettings(); } /** Returns the object with the settings used for calls to getLake. */ public UnaryCallSettings getLakeSettings() { return ((DataplexServiceStubSettings) getStubSettings()).getLakeSettings(); } /** Returns the object with the settings used for calls to listLakeActions. */ public PagedCallSettings< ListLakeActionsRequest, ListActionsResponse, ListLakeActionsPagedResponse> listLakeActionsSettings() { return ((DataplexServiceStubSettings) getStubSettings()).listLakeActionsSettings(); } /** Returns the object with the settings used for calls to createZone. */ public UnaryCallSettings createZoneSettings() { return ((DataplexServiceStubSettings) getStubSettings()).createZoneSettings(); } /** Returns the object with the settings used for calls to createZone. */ public OperationCallSettings createZoneOperationSettings() { return ((DataplexServiceStubSettings) getStubSettings()).createZoneOperationSettings(); } /** Returns the object with the settings used for calls to updateZone. */ public UnaryCallSettings updateZoneSettings() { return ((DataplexServiceStubSettings) getStubSettings()).updateZoneSettings(); } /** Returns the object with the settings used for calls to updateZone. */ public OperationCallSettings updateZoneOperationSettings() { return ((DataplexServiceStubSettings) getStubSettings()).updateZoneOperationSettings(); } /** Returns the object with the settings used for calls to deleteZone. */ public UnaryCallSettings deleteZoneSettings() { return ((DataplexServiceStubSettings) getStubSettings()).deleteZoneSettings(); } /** Returns the object with the settings used for calls to deleteZone. */ public OperationCallSettings deleteZoneOperationSettings() { return ((DataplexServiceStubSettings) getStubSettings()).deleteZoneOperationSettings(); } /** Returns the object with the settings used for calls to listZones. */ public PagedCallSettings listZonesSettings() { return ((DataplexServiceStubSettings) getStubSettings()).listZonesSettings(); } /** Returns the object with the settings used for calls to getZone. */ public UnaryCallSettings getZoneSettings() { return ((DataplexServiceStubSettings) getStubSettings()).getZoneSettings(); } /** Returns the object with the settings used for calls to listZoneActions. */ public PagedCallSettings< ListZoneActionsRequest, ListActionsResponse, ListZoneActionsPagedResponse> listZoneActionsSettings() { return ((DataplexServiceStubSettings) getStubSettings()).listZoneActionsSettings(); } /** Returns the object with the settings used for calls to createAsset. */ public UnaryCallSettings createAssetSettings() { return ((DataplexServiceStubSettings) getStubSettings()).createAssetSettings(); } /** Returns the object with the settings used for calls to createAsset. */ public OperationCallSettings createAssetOperationSettings() { return ((DataplexServiceStubSettings) getStubSettings()).createAssetOperationSettings(); } /** Returns the object with the settings used for calls to updateAsset. */ public UnaryCallSettings updateAssetSettings() { return ((DataplexServiceStubSettings) getStubSettings()).updateAssetSettings(); } /** Returns the object with the settings used for calls to updateAsset. */ public OperationCallSettings updateAssetOperationSettings() { return ((DataplexServiceStubSettings) getStubSettings()).updateAssetOperationSettings(); } /** Returns the object with the settings used for calls to deleteAsset. */ public UnaryCallSettings deleteAssetSettings() { return ((DataplexServiceStubSettings) getStubSettings()).deleteAssetSettings(); } /** Returns the object with the settings used for calls to deleteAsset. */ public OperationCallSettings deleteAssetOperationSettings() { return ((DataplexServiceStubSettings) getStubSettings()).deleteAssetOperationSettings(); } /** Returns the object with the settings used for calls to listAssets. */ public PagedCallSettings listAssetsSettings() { return ((DataplexServiceStubSettings) getStubSettings()).listAssetsSettings(); } /** Returns the object with the settings used for calls to getAsset. */ public UnaryCallSettings getAssetSettings() { return ((DataplexServiceStubSettings) getStubSettings()).getAssetSettings(); } /** Returns the object with the settings used for calls to listAssetActions. */ public PagedCallSettings< ListAssetActionsRequest, ListActionsResponse, ListAssetActionsPagedResponse> listAssetActionsSettings() { return ((DataplexServiceStubSettings) getStubSettings()).listAssetActionsSettings(); } /** Returns the object with the settings used for calls to createTask. */ public UnaryCallSettings createTaskSettings() { return ((DataplexServiceStubSettings) getStubSettings()).createTaskSettings(); } /** Returns the object with the settings used for calls to createTask. */ public OperationCallSettings createTaskOperationSettings() { return ((DataplexServiceStubSettings) getStubSettings()).createTaskOperationSettings(); } /** Returns the object with the settings used for calls to updateTask. */ public UnaryCallSettings updateTaskSettings() { return ((DataplexServiceStubSettings) getStubSettings()).updateTaskSettings(); } /** Returns the object with the settings used for calls to updateTask. */ public OperationCallSettings updateTaskOperationSettings() { return ((DataplexServiceStubSettings) getStubSettings()).updateTaskOperationSettings(); } /** Returns the object with the settings used for calls to deleteTask. */ public UnaryCallSettings deleteTaskSettings() { return ((DataplexServiceStubSettings) getStubSettings()).deleteTaskSettings(); } /** Returns the object with the settings used for calls to deleteTask. */ public OperationCallSettings deleteTaskOperationSettings() { return ((DataplexServiceStubSettings) getStubSettings()).deleteTaskOperationSettings(); } /** Returns the object with the settings used for calls to listTasks. */ public PagedCallSettings listTasksSettings() { return ((DataplexServiceStubSettings) getStubSettings()).listTasksSettings(); } /** Returns the object with the settings used for calls to getTask. */ public UnaryCallSettings getTaskSettings() { return ((DataplexServiceStubSettings) getStubSettings()).getTaskSettings(); } /** Returns the object with the settings used for calls to listJobs. */ public PagedCallSettings listJobsSettings() { return ((DataplexServiceStubSettings) getStubSettings()).listJobsSettings(); } /** Returns the object with the settings used for calls to runTask. */ public UnaryCallSettings runTaskSettings() { return ((DataplexServiceStubSettings) getStubSettings()).runTaskSettings(); } /** Returns the object with the settings used for calls to getJob. */ public UnaryCallSettings getJobSettings() { return ((DataplexServiceStubSettings) getStubSettings()).getJobSettings(); } /** Returns the object with the settings used for calls to cancelJob. */ public UnaryCallSettings cancelJobSettings() { return ((DataplexServiceStubSettings) getStubSettings()).cancelJobSettings(); } /** Returns the object with the settings used for calls to createEnvironment. */ public UnaryCallSettings createEnvironmentSettings() { return ((DataplexServiceStubSettings) getStubSettings()).createEnvironmentSettings(); } /** Returns the object with the settings used for calls to createEnvironment. */ public OperationCallSettings createEnvironmentOperationSettings() { return ((DataplexServiceStubSettings) getStubSettings()).createEnvironmentOperationSettings(); } /** Returns the object with the settings used for calls to updateEnvironment. */ public UnaryCallSettings updateEnvironmentSettings() { return ((DataplexServiceStubSettings) getStubSettings()).updateEnvironmentSettings(); } /** Returns the object with the settings used for calls to updateEnvironment. */ public OperationCallSettings updateEnvironmentOperationSettings() { return ((DataplexServiceStubSettings) getStubSettings()).updateEnvironmentOperationSettings(); } /** Returns the object with the settings used for calls to deleteEnvironment. */ public UnaryCallSettings deleteEnvironmentSettings() { return ((DataplexServiceStubSettings) getStubSettings()).deleteEnvironmentSettings(); } /** Returns the object with the settings used for calls to deleteEnvironment. */ public OperationCallSettings deleteEnvironmentOperationSettings() { return ((DataplexServiceStubSettings) getStubSettings()).deleteEnvironmentOperationSettings(); } /** Returns the object with the settings used for calls to listEnvironments. */ public PagedCallSettings< ListEnvironmentsRequest, ListEnvironmentsResponse, ListEnvironmentsPagedResponse> listEnvironmentsSettings() { return ((DataplexServiceStubSettings) getStubSettings()).listEnvironmentsSettings(); } /** Returns the object with the settings used for calls to getEnvironment. */ public UnaryCallSettings getEnvironmentSettings() { return ((DataplexServiceStubSettings) getStubSettings()).getEnvironmentSettings(); } /** Returns the object with the settings used for calls to listSessions. */ public PagedCallSettings listSessionsSettings() { return ((DataplexServiceStubSettings) getStubSettings()).listSessionsSettings(); } /** Returns the object with the settings used for calls to listLocations. */ public PagedCallSettings listLocationsSettings() { return ((DataplexServiceStubSettings) getStubSettings()).listLocationsSettings(); } /** Returns the object with the settings used for calls to getLocation. */ public UnaryCallSettings getLocationSettings() { return ((DataplexServiceStubSettings) getStubSettings()).getLocationSettings(); } public static final DataplexServiceSettings create(DataplexServiceStubSettings stub) throws IOException { return new DataplexServiceSettings.Builder(stub.toBuilder()).build(); } /** Returns a builder for the default ExecutorProvider for this service. */ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { return DataplexServiceStubSettings.defaultExecutorProviderBuilder(); } /** Returns the default service endpoint. */ public static String getDefaultEndpoint() { return DataplexServiceStubSettings.getDefaultEndpoint(); } /** Returns the default service scopes. */ public static List getDefaultServiceScopes() { return DataplexServiceStubSettings.getDefaultServiceScopes(); } /** Returns a builder for the default credentials for this service. */ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { return DataplexServiceStubSettings.defaultCredentialsProviderBuilder(); } /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return DataplexServiceStubSettings.defaultGrpcTransportProviderBuilder(); } /** Returns a builder for the default REST ChannelProvider for this service. */ @BetaApi public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder() { return DataplexServiceStubSettings.defaultHttpJsonTransportProviderBuilder(); } public static TransportChannelProvider defaultTransportChannelProvider() { return DataplexServiceStubSettings.defaultTransportChannelProvider(); } public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { return DataplexServiceStubSettings.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 DataplexServiceSettings(Builder settingsBuilder) throws IOException { super(settingsBuilder); } /** Builder for DataplexServiceSettings. */ public static class Builder extends ClientSettings.Builder { protected Builder() throws IOException { this(((ClientContext) null)); } protected Builder(ClientContext clientContext) { super(DataplexServiceStubSettings.newBuilder(clientContext)); } protected Builder(DataplexServiceSettings settings) { super(settings.getStubSettings().toBuilder()); } protected Builder(DataplexServiceStubSettings.Builder stubSettings) { super(stubSettings); } private static Builder createDefault() { return new Builder(DataplexServiceStubSettings.newBuilder()); } private static Builder createHttpJsonDefault() { return new Builder(DataplexServiceStubSettings.newHttpJsonBuilder()); } public DataplexServiceStubSettings.Builder getStubSettingsBuilder() { return ((DataplexServiceStubSettings.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 createLake. */ public UnaryCallSettings.Builder createLakeSettings() { return getStubSettingsBuilder().createLakeSettings(); } /** Returns the builder for the settings used for calls to createLake. */ public OperationCallSettings.Builder createLakeOperationSettings() { return getStubSettingsBuilder().createLakeOperationSettings(); } /** Returns the builder for the settings used for calls to updateLake. */ public UnaryCallSettings.Builder updateLakeSettings() { return getStubSettingsBuilder().updateLakeSettings(); } /** Returns the builder for the settings used for calls to updateLake. */ public OperationCallSettings.Builder updateLakeOperationSettings() { return getStubSettingsBuilder().updateLakeOperationSettings(); } /** Returns the builder for the settings used for calls to deleteLake. */ public UnaryCallSettings.Builder deleteLakeSettings() { return getStubSettingsBuilder().deleteLakeSettings(); } /** Returns the builder for the settings used for calls to deleteLake. */ public OperationCallSettings.Builder deleteLakeOperationSettings() { return getStubSettingsBuilder().deleteLakeOperationSettings(); } /** Returns the builder for the settings used for calls to listLakes. */ public PagedCallSettings.Builder listLakesSettings() { return getStubSettingsBuilder().listLakesSettings(); } /** Returns the builder for the settings used for calls to getLake. */ public UnaryCallSettings.Builder getLakeSettings() { return getStubSettingsBuilder().getLakeSettings(); } /** Returns the builder for the settings used for calls to listLakeActions. */ public PagedCallSettings.Builder< ListLakeActionsRequest, ListActionsResponse, ListLakeActionsPagedResponse> listLakeActionsSettings() { return getStubSettingsBuilder().listLakeActionsSettings(); } /** Returns the builder for the settings used for calls to createZone. */ public UnaryCallSettings.Builder createZoneSettings() { return getStubSettingsBuilder().createZoneSettings(); } /** Returns the builder for the settings used for calls to createZone. */ public OperationCallSettings.Builder createZoneOperationSettings() { return getStubSettingsBuilder().createZoneOperationSettings(); } /** Returns the builder for the settings used for calls to updateZone. */ public UnaryCallSettings.Builder updateZoneSettings() { return getStubSettingsBuilder().updateZoneSettings(); } /** Returns the builder for the settings used for calls to updateZone. */ public OperationCallSettings.Builder updateZoneOperationSettings() { return getStubSettingsBuilder().updateZoneOperationSettings(); } /** Returns the builder for the settings used for calls to deleteZone. */ public UnaryCallSettings.Builder deleteZoneSettings() { return getStubSettingsBuilder().deleteZoneSettings(); } /** Returns the builder for the settings used for calls to deleteZone. */ public OperationCallSettings.Builder deleteZoneOperationSettings() { return getStubSettingsBuilder().deleteZoneOperationSettings(); } /** Returns the builder for the settings used for calls to listZones. */ public PagedCallSettings.Builder listZonesSettings() { return getStubSettingsBuilder().listZonesSettings(); } /** Returns the builder for the settings used for calls to getZone. */ public UnaryCallSettings.Builder getZoneSettings() { return getStubSettingsBuilder().getZoneSettings(); } /** Returns the builder for the settings used for calls to listZoneActions. */ public PagedCallSettings.Builder< ListZoneActionsRequest, ListActionsResponse, ListZoneActionsPagedResponse> listZoneActionsSettings() { return getStubSettingsBuilder().listZoneActionsSettings(); } /** Returns the builder for the settings used for calls to createAsset. */ public UnaryCallSettings.Builder createAssetSettings() { return getStubSettingsBuilder().createAssetSettings(); } /** Returns the builder for the settings used for calls to createAsset. */ public OperationCallSettings.Builder createAssetOperationSettings() { return getStubSettingsBuilder().createAssetOperationSettings(); } /** Returns the builder for the settings used for calls to updateAsset. */ public UnaryCallSettings.Builder updateAssetSettings() { return getStubSettingsBuilder().updateAssetSettings(); } /** Returns the builder for the settings used for calls to updateAsset. */ public OperationCallSettings.Builder updateAssetOperationSettings() { return getStubSettingsBuilder().updateAssetOperationSettings(); } /** Returns the builder for the settings used for calls to deleteAsset. */ public UnaryCallSettings.Builder deleteAssetSettings() { return getStubSettingsBuilder().deleteAssetSettings(); } /** Returns the builder for the settings used for calls to deleteAsset. */ public OperationCallSettings.Builder deleteAssetOperationSettings() { return getStubSettingsBuilder().deleteAssetOperationSettings(); } /** Returns the builder for the settings used for calls to listAssets. */ public PagedCallSettings.Builder listAssetsSettings() { return getStubSettingsBuilder().listAssetsSettings(); } /** Returns the builder for the settings used for calls to getAsset. */ public UnaryCallSettings.Builder getAssetSettings() { return getStubSettingsBuilder().getAssetSettings(); } /** Returns the builder for the settings used for calls to listAssetActions. */ public PagedCallSettings.Builder< ListAssetActionsRequest, ListActionsResponse, ListAssetActionsPagedResponse> listAssetActionsSettings() { return getStubSettingsBuilder().listAssetActionsSettings(); } /** Returns the builder for the settings used for calls to createTask. */ public UnaryCallSettings.Builder createTaskSettings() { return getStubSettingsBuilder().createTaskSettings(); } /** Returns the builder for the settings used for calls to createTask. */ public OperationCallSettings.Builder createTaskOperationSettings() { return getStubSettingsBuilder().createTaskOperationSettings(); } /** Returns the builder for the settings used for calls to updateTask. */ public UnaryCallSettings.Builder updateTaskSettings() { return getStubSettingsBuilder().updateTaskSettings(); } /** Returns the builder for the settings used for calls to updateTask. */ public OperationCallSettings.Builder updateTaskOperationSettings() { return getStubSettingsBuilder().updateTaskOperationSettings(); } /** Returns the builder for the settings used for calls to deleteTask. */ public UnaryCallSettings.Builder deleteTaskSettings() { return getStubSettingsBuilder().deleteTaskSettings(); } /** Returns the builder for the settings used for calls to deleteTask. */ public OperationCallSettings.Builder deleteTaskOperationSettings() { return getStubSettingsBuilder().deleteTaskOperationSettings(); } /** Returns the builder for the settings used for calls to listTasks. */ public PagedCallSettings.Builder listTasksSettings() { return getStubSettingsBuilder().listTasksSettings(); } /** Returns the builder for the settings used for calls to getTask. */ public UnaryCallSettings.Builder getTaskSettings() { return getStubSettingsBuilder().getTaskSettings(); } /** Returns the builder for the settings used for calls to listJobs. */ public PagedCallSettings.Builder listJobsSettings() { return getStubSettingsBuilder().listJobsSettings(); } /** Returns the builder for the settings used for calls to runTask. */ public UnaryCallSettings.Builder runTaskSettings() { return getStubSettingsBuilder().runTaskSettings(); } /** Returns the builder for the settings used for calls to getJob. */ public UnaryCallSettings.Builder getJobSettings() { return getStubSettingsBuilder().getJobSettings(); } /** Returns the builder for the settings used for calls to cancelJob. */ public UnaryCallSettings.Builder cancelJobSettings() { return getStubSettingsBuilder().cancelJobSettings(); } /** Returns the builder for the settings used for calls to createEnvironment. */ public UnaryCallSettings.Builder createEnvironmentSettings() { return getStubSettingsBuilder().createEnvironmentSettings(); } /** Returns the builder for the settings used for calls to createEnvironment. */ public OperationCallSettings.Builder createEnvironmentOperationSettings() { return getStubSettingsBuilder().createEnvironmentOperationSettings(); } /** Returns the builder for the settings used for calls to updateEnvironment. */ public UnaryCallSettings.Builder updateEnvironmentSettings() { return getStubSettingsBuilder().updateEnvironmentSettings(); } /** Returns the builder for the settings used for calls to updateEnvironment. */ public OperationCallSettings.Builder updateEnvironmentOperationSettings() { return getStubSettingsBuilder().updateEnvironmentOperationSettings(); } /** Returns the builder for the settings used for calls to deleteEnvironment. */ public UnaryCallSettings.Builder deleteEnvironmentSettings() { return getStubSettingsBuilder().deleteEnvironmentSettings(); } /** Returns the builder for the settings used for calls to deleteEnvironment. */ public OperationCallSettings.Builder deleteEnvironmentOperationSettings() { return getStubSettingsBuilder().deleteEnvironmentOperationSettings(); } /** Returns the builder for the settings used for calls to listEnvironments. */ public PagedCallSettings.Builder< ListEnvironmentsRequest, ListEnvironmentsResponse, ListEnvironmentsPagedResponse> listEnvironmentsSettings() { return getStubSettingsBuilder().listEnvironmentsSettings(); } /** Returns the builder for the settings used for calls to getEnvironment. */ public UnaryCallSettings.Builder getEnvironmentSettings() { return getStubSettingsBuilder().getEnvironmentSettings(); } /** Returns the builder for the settings used for calls to listSessions. */ public PagedCallSettings.Builder< ListSessionsRequest, ListSessionsResponse, ListSessionsPagedResponse> listSessionsSettings() { return getStubSettingsBuilder().listSessionsSettings(); } /** 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 DataplexServiceSettings build() throws IOException { return new DataplexServiceSettings(this); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy