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

com.google.cloud.workstations.v1beta.WorkstationsSettings Maven / Gradle / Ivy

Go to download

Cloud Workstations Fully managed development environments built to meet the needs of security-sensitive enterprises. It enhances the security of development environments while accelerating developer onboarding and productivity.

The newest version!
/*
 * 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.workstations.v1beta;

import static com.google.cloud.workstations.v1beta.WorkstationsClient.ListUsableWorkstationConfigsPagedResponse;
import static com.google.cloud.workstations.v1beta.WorkstationsClient.ListUsableWorkstationsPagedResponse;
import static com.google.cloud.workstations.v1beta.WorkstationsClient.ListWorkstationClustersPagedResponse;
import static com.google.cloud.workstations.v1beta.WorkstationsClient.ListWorkstationConfigsPagedResponse;
import static com.google.cloud.workstations.v1beta.WorkstationsClient.ListWorkstationsPagedResponse;

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.workstations.v1beta.stub.WorkstationsStubSettings;
import com.google.iam.v1.GetIamPolicyRequest;
import com.google.iam.v1.Policy;
import com.google.iam.v1.SetIamPolicyRequest;
import com.google.iam.v1.TestIamPermissionsRequest;
import com.google.iam.v1.TestIamPermissionsResponse;
import com.google.longrunning.Operation;
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 WorkstationsClient}.
 *
 * 

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

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

{@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
 * WorkstationsSettings.Builder workstationsSettingsBuilder = WorkstationsSettings.newBuilder();
 * workstationsSettingsBuilder
 *     .getWorkstationClusterSettings()
 *     .setRetrySettings(
 *         workstationsSettingsBuilder
 *             .getWorkstationClusterSettings()
 *             .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());
 * WorkstationsSettings workstationsSettings = workstationsSettingsBuilder.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 createWorkstationCluster: * *

{@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
 * WorkstationsSettings.Builder workstationsSettingsBuilder = WorkstationsSettings.newBuilder();
 * TimedRetryAlgorithm timedRetryAlgorithm =
 *     OperationalTimedPollAlgorithm.create(
 *         RetrySettings.newBuilder()
 *             .setInitialRetryDelayDuration(Duration.ofMillis(500))
 *             .setRetryDelayMultiplier(1.5)
 *             .setMaxRetryDelay(Duration.ofMillis(5000))
 *             .setTotalTimeoutDuration(Duration.ofHours(24))
 *             .build());
 * workstationsSettingsBuilder
 *     .createClusterOperationSettings()
 *     .setPollingAlgorithm(timedRetryAlgorithm)
 *     .build();
 * }
*/ @BetaApi @Generated("by gapic-generator-java") public class WorkstationsSettings extends ClientSettings { /** Returns the object with the settings used for calls to getWorkstationCluster. */ public UnaryCallSettings getWorkstationClusterSettings() { return ((WorkstationsStubSettings) getStubSettings()).getWorkstationClusterSettings(); } /** Returns the object with the settings used for calls to listWorkstationClusters. */ public PagedCallSettings< ListWorkstationClustersRequest, ListWorkstationClustersResponse, ListWorkstationClustersPagedResponse> listWorkstationClustersSettings() { return ((WorkstationsStubSettings) getStubSettings()).listWorkstationClustersSettings(); } /** Returns the object with the settings used for calls to createWorkstationCluster. */ public UnaryCallSettings createWorkstationClusterSettings() { return ((WorkstationsStubSettings) getStubSettings()).createWorkstationClusterSettings(); } /** Returns the object with the settings used for calls to createWorkstationCluster. */ public OperationCallSettings< CreateWorkstationClusterRequest, WorkstationCluster, OperationMetadata> createWorkstationClusterOperationSettings() { return ((WorkstationsStubSettings) getStubSettings()) .createWorkstationClusterOperationSettings(); } /** Returns the object with the settings used for calls to updateWorkstationCluster. */ public UnaryCallSettings updateWorkstationClusterSettings() { return ((WorkstationsStubSettings) getStubSettings()).updateWorkstationClusterSettings(); } /** Returns the object with the settings used for calls to updateWorkstationCluster. */ public OperationCallSettings< UpdateWorkstationClusterRequest, WorkstationCluster, OperationMetadata> updateWorkstationClusterOperationSettings() { return ((WorkstationsStubSettings) getStubSettings()) .updateWorkstationClusterOperationSettings(); } /** Returns the object with the settings used for calls to deleteWorkstationCluster. */ public UnaryCallSettings deleteWorkstationClusterSettings() { return ((WorkstationsStubSettings) getStubSettings()).deleteWorkstationClusterSettings(); } /** Returns the object with the settings used for calls to deleteWorkstationCluster. */ public OperationCallSettings< DeleteWorkstationClusterRequest, WorkstationCluster, OperationMetadata> deleteWorkstationClusterOperationSettings() { return ((WorkstationsStubSettings) getStubSettings()) .deleteWorkstationClusterOperationSettings(); } /** Returns the object with the settings used for calls to getWorkstationConfig. */ public UnaryCallSettings getWorkstationConfigSettings() { return ((WorkstationsStubSettings) getStubSettings()).getWorkstationConfigSettings(); } /** Returns the object with the settings used for calls to listWorkstationConfigs. */ public PagedCallSettings< ListWorkstationConfigsRequest, ListWorkstationConfigsResponse, ListWorkstationConfigsPagedResponse> listWorkstationConfigsSettings() { return ((WorkstationsStubSettings) getStubSettings()).listWorkstationConfigsSettings(); } /** Returns the object with the settings used for calls to listUsableWorkstationConfigs. */ public PagedCallSettings< ListUsableWorkstationConfigsRequest, ListUsableWorkstationConfigsResponse, ListUsableWorkstationConfigsPagedResponse> listUsableWorkstationConfigsSettings() { return ((WorkstationsStubSettings) getStubSettings()).listUsableWorkstationConfigsSettings(); } /** Returns the object with the settings used for calls to createWorkstationConfig. */ public UnaryCallSettings createWorkstationConfigSettings() { return ((WorkstationsStubSettings) getStubSettings()).createWorkstationConfigSettings(); } /** Returns the object with the settings used for calls to createWorkstationConfig. */ public OperationCallSettings createWorkstationConfigOperationSettings() { return ((WorkstationsStubSettings) getStubSettings()) .createWorkstationConfigOperationSettings(); } /** Returns the object with the settings used for calls to updateWorkstationConfig. */ public UnaryCallSettings updateWorkstationConfigSettings() { return ((WorkstationsStubSettings) getStubSettings()).updateWorkstationConfigSettings(); } /** Returns the object with the settings used for calls to updateWorkstationConfig. */ public OperationCallSettings updateWorkstationConfigOperationSettings() { return ((WorkstationsStubSettings) getStubSettings()) .updateWorkstationConfigOperationSettings(); } /** Returns the object with the settings used for calls to deleteWorkstationConfig. */ public UnaryCallSettings deleteWorkstationConfigSettings() { return ((WorkstationsStubSettings) getStubSettings()).deleteWorkstationConfigSettings(); } /** Returns the object with the settings used for calls to deleteWorkstationConfig. */ public OperationCallSettings deleteWorkstationConfigOperationSettings() { return ((WorkstationsStubSettings) getStubSettings()) .deleteWorkstationConfigOperationSettings(); } /** Returns the object with the settings used for calls to getWorkstation. */ public UnaryCallSettings getWorkstationSettings() { return ((WorkstationsStubSettings) getStubSettings()).getWorkstationSettings(); } /** Returns the object with the settings used for calls to listWorkstations. */ public PagedCallSettings< ListWorkstationsRequest, ListWorkstationsResponse, ListWorkstationsPagedResponse> listWorkstationsSettings() { return ((WorkstationsStubSettings) getStubSettings()).listWorkstationsSettings(); } /** Returns the object with the settings used for calls to listUsableWorkstations. */ public PagedCallSettings< ListUsableWorkstationsRequest, ListUsableWorkstationsResponse, ListUsableWorkstationsPagedResponse> listUsableWorkstationsSettings() { return ((WorkstationsStubSettings) getStubSettings()).listUsableWorkstationsSettings(); } /** Returns the object with the settings used for calls to createWorkstation. */ public UnaryCallSettings createWorkstationSettings() { return ((WorkstationsStubSettings) getStubSettings()).createWorkstationSettings(); } /** Returns the object with the settings used for calls to createWorkstation. */ public OperationCallSettings createWorkstationOperationSettings() { return ((WorkstationsStubSettings) getStubSettings()).createWorkstationOperationSettings(); } /** Returns the object with the settings used for calls to updateWorkstation. */ public UnaryCallSettings updateWorkstationSettings() { return ((WorkstationsStubSettings) getStubSettings()).updateWorkstationSettings(); } /** Returns the object with the settings used for calls to updateWorkstation. */ public OperationCallSettings updateWorkstationOperationSettings() { return ((WorkstationsStubSettings) getStubSettings()).updateWorkstationOperationSettings(); } /** Returns the object with the settings used for calls to deleteWorkstation. */ public UnaryCallSettings deleteWorkstationSettings() { return ((WorkstationsStubSettings) getStubSettings()).deleteWorkstationSettings(); } /** Returns the object with the settings used for calls to deleteWorkstation. */ public OperationCallSettings deleteWorkstationOperationSettings() { return ((WorkstationsStubSettings) getStubSettings()).deleteWorkstationOperationSettings(); } /** Returns the object with the settings used for calls to startWorkstation. */ public UnaryCallSettings startWorkstationSettings() { return ((WorkstationsStubSettings) getStubSettings()).startWorkstationSettings(); } /** Returns the object with the settings used for calls to startWorkstation. */ public OperationCallSettings startWorkstationOperationSettings() { return ((WorkstationsStubSettings) getStubSettings()).startWorkstationOperationSettings(); } /** Returns the object with the settings used for calls to stopWorkstation. */ public UnaryCallSettings stopWorkstationSettings() { return ((WorkstationsStubSettings) getStubSettings()).stopWorkstationSettings(); } /** Returns the object with the settings used for calls to stopWorkstation. */ public OperationCallSettings stopWorkstationOperationSettings() { return ((WorkstationsStubSettings) getStubSettings()).stopWorkstationOperationSettings(); } /** Returns the object with the settings used for calls to generateAccessToken. */ public UnaryCallSettings generateAccessTokenSettings() { return ((WorkstationsStubSettings) getStubSettings()).generateAccessTokenSettings(); } /** Returns the object with the settings used for calls to setIamPolicy. */ public UnaryCallSettings setIamPolicySettings() { return ((WorkstationsStubSettings) getStubSettings()).setIamPolicySettings(); } /** Returns the object with the settings used for calls to getIamPolicy. */ public UnaryCallSettings getIamPolicySettings() { return ((WorkstationsStubSettings) getStubSettings()).getIamPolicySettings(); } /** Returns the object with the settings used for calls to testIamPermissions. */ public UnaryCallSettings testIamPermissionsSettings() { return ((WorkstationsStubSettings) getStubSettings()).testIamPermissionsSettings(); } public static final WorkstationsSettings create(WorkstationsStubSettings stub) throws IOException { return new WorkstationsSettings.Builder(stub.toBuilder()).build(); } /** Returns a builder for the default ExecutorProvider for this service. */ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { return WorkstationsStubSettings.defaultExecutorProviderBuilder(); } /** Returns the default service endpoint. */ public static String getDefaultEndpoint() { return WorkstationsStubSettings.getDefaultEndpoint(); } /** Returns the default service scopes. */ public static List getDefaultServiceScopes() { return WorkstationsStubSettings.getDefaultServiceScopes(); } /** Returns a builder for the default credentials for this service. */ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { return WorkstationsStubSettings.defaultCredentialsProviderBuilder(); } /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return WorkstationsStubSettings.defaultGrpcTransportProviderBuilder(); } /** Returns a builder for the default REST ChannelProvider for this service. */ @BetaApi public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder() { return WorkstationsStubSettings.defaultHttpJsonTransportProviderBuilder(); } public static TransportChannelProvider defaultTransportChannelProvider() { return WorkstationsStubSettings.defaultTransportChannelProvider(); } public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { return WorkstationsStubSettings.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 WorkstationsSettings(Builder settingsBuilder) throws IOException { super(settingsBuilder); } /** Builder for WorkstationsSettings. */ public static class Builder extends ClientSettings.Builder { protected Builder() throws IOException { this(((ClientContext) null)); } protected Builder(ClientContext clientContext) { super(WorkstationsStubSettings.newBuilder(clientContext)); } protected Builder(WorkstationsSettings settings) { super(settings.getStubSettings().toBuilder()); } protected Builder(WorkstationsStubSettings.Builder stubSettings) { super(stubSettings); } private static Builder createDefault() { return new Builder(WorkstationsStubSettings.newBuilder()); } private static Builder createHttpJsonDefault() { return new Builder(WorkstationsStubSettings.newHttpJsonBuilder()); } public WorkstationsStubSettings.Builder getStubSettingsBuilder() { return ((WorkstationsStubSettings.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 getWorkstationCluster. */ public UnaryCallSettings.Builder getWorkstationClusterSettings() { return getStubSettingsBuilder().getWorkstationClusterSettings(); } /** Returns the builder for the settings used for calls to listWorkstationClusters. */ public PagedCallSettings.Builder< ListWorkstationClustersRequest, ListWorkstationClustersResponse, ListWorkstationClustersPagedResponse> listWorkstationClustersSettings() { return getStubSettingsBuilder().listWorkstationClustersSettings(); } /** Returns the builder for the settings used for calls to createWorkstationCluster. */ public UnaryCallSettings.Builder createWorkstationClusterSettings() { return getStubSettingsBuilder().createWorkstationClusterSettings(); } /** Returns the builder for the settings used for calls to createWorkstationCluster. */ public OperationCallSettings.Builder< CreateWorkstationClusterRequest, WorkstationCluster, OperationMetadata> createWorkstationClusterOperationSettings() { return getStubSettingsBuilder().createWorkstationClusterOperationSettings(); } /** Returns the builder for the settings used for calls to updateWorkstationCluster. */ public UnaryCallSettings.Builder updateWorkstationClusterSettings() { return getStubSettingsBuilder().updateWorkstationClusterSettings(); } /** Returns the builder for the settings used for calls to updateWorkstationCluster. */ public OperationCallSettings.Builder< UpdateWorkstationClusterRequest, WorkstationCluster, OperationMetadata> updateWorkstationClusterOperationSettings() { return getStubSettingsBuilder().updateWorkstationClusterOperationSettings(); } /** Returns the builder for the settings used for calls to deleteWorkstationCluster. */ public UnaryCallSettings.Builder deleteWorkstationClusterSettings() { return getStubSettingsBuilder().deleteWorkstationClusterSettings(); } /** Returns the builder for the settings used for calls to deleteWorkstationCluster. */ public OperationCallSettings.Builder< DeleteWorkstationClusterRequest, WorkstationCluster, OperationMetadata> deleteWorkstationClusterOperationSettings() { return getStubSettingsBuilder().deleteWorkstationClusterOperationSettings(); } /** Returns the builder for the settings used for calls to getWorkstationConfig. */ public UnaryCallSettings.Builder getWorkstationConfigSettings() { return getStubSettingsBuilder().getWorkstationConfigSettings(); } /** Returns the builder for the settings used for calls to listWorkstationConfigs. */ public PagedCallSettings.Builder< ListWorkstationConfigsRequest, ListWorkstationConfigsResponse, ListWorkstationConfigsPagedResponse> listWorkstationConfigsSettings() { return getStubSettingsBuilder().listWorkstationConfigsSettings(); } /** Returns the builder for the settings used for calls to listUsableWorkstationConfigs. */ public PagedCallSettings.Builder< ListUsableWorkstationConfigsRequest, ListUsableWorkstationConfigsResponse, ListUsableWorkstationConfigsPagedResponse> listUsableWorkstationConfigsSettings() { return getStubSettingsBuilder().listUsableWorkstationConfigsSettings(); } /** Returns the builder for the settings used for calls to createWorkstationConfig. */ public UnaryCallSettings.Builder createWorkstationConfigSettings() { return getStubSettingsBuilder().createWorkstationConfigSettings(); } /** Returns the builder for the settings used for calls to createWorkstationConfig. */ public OperationCallSettings.Builder< CreateWorkstationConfigRequest, WorkstationConfig, OperationMetadata> createWorkstationConfigOperationSettings() { return getStubSettingsBuilder().createWorkstationConfigOperationSettings(); } /** Returns the builder for the settings used for calls to updateWorkstationConfig. */ public UnaryCallSettings.Builder updateWorkstationConfigSettings() { return getStubSettingsBuilder().updateWorkstationConfigSettings(); } /** Returns the builder for the settings used for calls to updateWorkstationConfig. */ public OperationCallSettings.Builder< UpdateWorkstationConfigRequest, WorkstationConfig, OperationMetadata> updateWorkstationConfigOperationSettings() { return getStubSettingsBuilder().updateWorkstationConfigOperationSettings(); } /** Returns the builder for the settings used for calls to deleteWorkstationConfig. */ public UnaryCallSettings.Builder deleteWorkstationConfigSettings() { return getStubSettingsBuilder().deleteWorkstationConfigSettings(); } /** Returns the builder for the settings used for calls to deleteWorkstationConfig. */ public OperationCallSettings.Builder< DeleteWorkstationConfigRequest, WorkstationConfig, OperationMetadata> deleteWorkstationConfigOperationSettings() { return getStubSettingsBuilder().deleteWorkstationConfigOperationSettings(); } /** Returns the builder for the settings used for calls to getWorkstation. */ public UnaryCallSettings.Builder getWorkstationSettings() { return getStubSettingsBuilder().getWorkstationSettings(); } /** Returns the builder for the settings used for calls to listWorkstations. */ public PagedCallSettings.Builder< ListWorkstationsRequest, ListWorkstationsResponse, ListWorkstationsPagedResponse> listWorkstationsSettings() { return getStubSettingsBuilder().listWorkstationsSettings(); } /** Returns the builder for the settings used for calls to listUsableWorkstations. */ public PagedCallSettings.Builder< ListUsableWorkstationsRequest, ListUsableWorkstationsResponse, ListUsableWorkstationsPagedResponse> listUsableWorkstationsSettings() { return getStubSettingsBuilder().listUsableWorkstationsSettings(); } /** Returns the builder for the settings used for calls to createWorkstation. */ public UnaryCallSettings.Builder createWorkstationSettings() { return getStubSettingsBuilder().createWorkstationSettings(); } /** Returns the builder for the settings used for calls to createWorkstation. */ public OperationCallSettings.Builder createWorkstationOperationSettings() { return getStubSettingsBuilder().createWorkstationOperationSettings(); } /** Returns the builder for the settings used for calls to updateWorkstation. */ public UnaryCallSettings.Builder updateWorkstationSettings() { return getStubSettingsBuilder().updateWorkstationSettings(); } /** Returns the builder for the settings used for calls to updateWorkstation. */ public OperationCallSettings.Builder updateWorkstationOperationSettings() { return getStubSettingsBuilder().updateWorkstationOperationSettings(); } /** Returns the builder for the settings used for calls to deleteWorkstation. */ public UnaryCallSettings.Builder deleteWorkstationSettings() { return getStubSettingsBuilder().deleteWorkstationSettings(); } /** Returns the builder for the settings used for calls to deleteWorkstation. */ public OperationCallSettings.Builder deleteWorkstationOperationSettings() { return getStubSettingsBuilder().deleteWorkstationOperationSettings(); } /** Returns the builder for the settings used for calls to startWorkstation. */ public UnaryCallSettings.Builder startWorkstationSettings() { return getStubSettingsBuilder().startWorkstationSettings(); } /** Returns the builder for the settings used for calls to startWorkstation. */ public OperationCallSettings.Builder startWorkstationOperationSettings() { return getStubSettingsBuilder().startWorkstationOperationSettings(); } /** Returns the builder for the settings used for calls to stopWorkstation. */ public UnaryCallSettings.Builder stopWorkstationSettings() { return getStubSettingsBuilder().stopWorkstationSettings(); } /** Returns the builder for the settings used for calls to stopWorkstation. */ public OperationCallSettings.Builder stopWorkstationOperationSettings() { return getStubSettingsBuilder().stopWorkstationOperationSettings(); } /** Returns the builder for the settings used for calls to generateAccessToken. */ public UnaryCallSettings.Builder generateAccessTokenSettings() { return getStubSettingsBuilder().generateAccessTokenSettings(); } /** Returns the builder for the settings used for calls to setIamPolicy. */ public UnaryCallSettings.Builder setIamPolicySettings() { return getStubSettingsBuilder().setIamPolicySettings(); } /** Returns the builder for the settings used for calls to getIamPolicy. */ public UnaryCallSettings.Builder getIamPolicySettings() { return getStubSettingsBuilder().getIamPolicySettings(); } /** Returns the builder for the settings used for calls to testIamPermissions. */ public UnaryCallSettings.Builder testIamPermissionsSettings() { return getStubSettingsBuilder().testIamPermissionsSettings(); } @Override public WorkstationsSettings build() throws IOException { return new WorkstationsSettings(this); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy