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

com.google.cloud.baremetalsolution.v2.BareMetalSolutionSettings Maven / Gradle / Ivy

Go to download

Bare Metal SOlution Bring your Oracle workloads to Google Cloud with Bare Metal Solution and jumpstart your cloud journey with minimal risk.

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.baremetalsolution.v2;

import static com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient.ListInstancesPagedResponse;
import static com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient.ListLocationsPagedResponse;
import static com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient.ListLunsPagedResponse;
import static com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient.ListNetworksPagedResponse;
import static com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient.ListNfsSharesPagedResponse;
import static com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient.ListOSImagesPagedResponse;
import static com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient.ListProvisioningQuotasPagedResponse;
import static com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient.ListSSHKeysPagedResponse;
import static com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient.ListVolumeSnapshotsPagedResponse;
import static com.google.cloud.baremetalsolution.v2.BareMetalSolutionClient.ListVolumesPagedResponse;

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.baremetalsolution.v2.stub.BareMetalSolutionStubSettings;
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 BareMetalSolutionClient}.
 *
 * 

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

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

{@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
 * BareMetalSolutionSettings.Builder bareMetalSolutionSettingsBuilder =
 *     BareMetalSolutionSettings.newBuilder();
 * bareMetalSolutionSettingsBuilder
 *     .getInstanceSettings()
 *     .setRetrySettings(
 *         bareMetalSolutionSettingsBuilder
 *             .getInstanceSettings()
 *             .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());
 * BareMetalSolutionSettings bareMetalSolutionSettings = bareMetalSolutionSettingsBuilder.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 updateInstance: * *

{@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
 * BareMetalSolutionSettings.Builder bareMetalSolutionSettingsBuilder =
 *     BareMetalSolutionSettings.newBuilder();
 * TimedRetryAlgorithm timedRetryAlgorithm =
 *     OperationalTimedPollAlgorithm.create(
 *         RetrySettings.newBuilder()
 *             .setInitialRetryDelayDuration(Duration.ofMillis(500))
 *             .setRetryDelayMultiplier(1.5)
 *             .setMaxRetryDelay(Duration.ofMillis(5000))
 *             .setTotalTimeoutDuration(Duration.ofHours(24))
 *             .build());
 * bareMetalSolutionSettingsBuilder
 *     .createClusterOperationSettings()
 *     .setPollingAlgorithm(timedRetryAlgorithm)
 *     .build();
 * }
*/ @Generated("by gapic-generator-java") public class BareMetalSolutionSettings extends ClientSettings { /** Returns the object with the settings used for calls to listInstances. */ public PagedCallSettings listInstancesSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).listInstancesSettings(); } /** Returns the object with the settings used for calls to getInstance. */ public UnaryCallSettings getInstanceSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).getInstanceSettings(); } /** Returns the object with the settings used for calls to updateInstance. */ public UnaryCallSettings updateInstanceSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).updateInstanceSettings(); } /** Returns the object with the settings used for calls to updateInstance. */ public OperationCallSettings updateInstanceOperationSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).updateInstanceOperationSettings(); } /** Returns the object with the settings used for calls to renameInstance. */ public UnaryCallSettings renameInstanceSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).renameInstanceSettings(); } /** Returns the object with the settings used for calls to resetInstance. */ public UnaryCallSettings resetInstanceSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).resetInstanceSettings(); } /** Returns the object with the settings used for calls to resetInstance. */ public OperationCallSettings resetInstanceOperationSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).resetInstanceOperationSettings(); } /** Returns the object with the settings used for calls to startInstance. */ public UnaryCallSettings startInstanceSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).startInstanceSettings(); } /** Returns the object with the settings used for calls to startInstance. */ public OperationCallSettings startInstanceOperationSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).startInstanceOperationSettings(); } /** Returns the object with the settings used for calls to stopInstance. */ public UnaryCallSettings stopInstanceSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).stopInstanceSettings(); } /** Returns the object with the settings used for calls to stopInstance. */ public OperationCallSettings stopInstanceOperationSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).stopInstanceOperationSettings(); } /** Returns the object with the settings used for calls to enableInteractiveSerialConsole. */ public UnaryCallSettings enableInteractiveSerialConsoleSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()) .enableInteractiveSerialConsoleSettings(); } /** Returns the object with the settings used for calls to enableInteractiveSerialConsole. */ public OperationCallSettings< EnableInteractiveSerialConsoleRequest, EnableInteractiveSerialConsoleResponse, OperationMetadata> enableInteractiveSerialConsoleOperationSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()) .enableInteractiveSerialConsoleOperationSettings(); } /** Returns the object with the settings used for calls to disableInteractiveSerialConsole. */ public UnaryCallSettings disableInteractiveSerialConsoleSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()) .disableInteractiveSerialConsoleSettings(); } /** Returns the object with the settings used for calls to disableInteractiveSerialConsole. */ public OperationCallSettings< DisableInteractiveSerialConsoleRequest, DisableInteractiveSerialConsoleResponse, OperationMetadata> disableInteractiveSerialConsoleOperationSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()) .disableInteractiveSerialConsoleOperationSettings(); } /** Returns the object with the settings used for calls to detachLun. */ public UnaryCallSettings detachLunSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).detachLunSettings(); } /** Returns the object with the settings used for calls to detachLun. */ public OperationCallSettings detachLunOperationSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).detachLunOperationSettings(); } /** Returns the object with the settings used for calls to listSSHKeys. */ public PagedCallSettings listSSHKeysSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).listSSHKeysSettings(); } /** Returns the object with the settings used for calls to createSSHKey. */ public UnaryCallSettings createSSHKeySettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).createSSHKeySettings(); } /** Returns the object with the settings used for calls to deleteSSHKey. */ public UnaryCallSettings deleteSSHKeySettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).deleteSSHKeySettings(); } /** Returns the object with the settings used for calls to listVolumes. */ public PagedCallSettings listVolumesSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).listVolumesSettings(); } /** Returns the object with the settings used for calls to getVolume. */ public UnaryCallSettings getVolumeSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).getVolumeSettings(); } /** Returns the object with the settings used for calls to updateVolume. */ public UnaryCallSettings updateVolumeSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).updateVolumeSettings(); } /** Returns the object with the settings used for calls to updateVolume. */ public OperationCallSettings updateVolumeOperationSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).updateVolumeOperationSettings(); } /** Returns the object with the settings used for calls to renameVolume. */ public UnaryCallSettings renameVolumeSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).renameVolumeSettings(); } /** Returns the object with the settings used for calls to evictVolume. */ public UnaryCallSettings evictVolumeSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).evictVolumeSettings(); } /** Returns the object with the settings used for calls to evictVolume. */ public OperationCallSettings evictVolumeOperationSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).evictVolumeOperationSettings(); } /** Returns the object with the settings used for calls to resizeVolume. */ public UnaryCallSettings resizeVolumeSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).resizeVolumeSettings(); } /** Returns the object with the settings used for calls to resizeVolume. */ public OperationCallSettings resizeVolumeOperationSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).resizeVolumeOperationSettings(); } /** Returns the object with the settings used for calls to listNetworks. */ public PagedCallSettings listNetworksSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).listNetworksSettings(); } /** Returns the object with the settings used for calls to listNetworkUsage. */ public UnaryCallSettings listNetworkUsageSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).listNetworkUsageSettings(); } /** Returns the object with the settings used for calls to getNetwork. */ public UnaryCallSettings getNetworkSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).getNetworkSettings(); } /** Returns the object with the settings used for calls to updateNetwork. */ public UnaryCallSettings updateNetworkSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).updateNetworkSettings(); } /** Returns the object with the settings used for calls to updateNetwork. */ public OperationCallSettings updateNetworkOperationSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).updateNetworkOperationSettings(); } /** Returns the object with the settings used for calls to createVolumeSnapshot. */ public UnaryCallSettings createVolumeSnapshotSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).createVolumeSnapshotSettings(); } /** Returns the object with the settings used for calls to restoreVolumeSnapshot. */ public UnaryCallSettings restoreVolumeSnapshotSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).restoreVolumeSnapshotSettings(); } /** Returns the object with the settings used for calls to restoreVolumeSnapshot. */ public OperationCallSettings restoreVolumeSnapshotOperationSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()) .restoreVolumeSnapshotOperationSettings(); } /** Returns the object with the settings used for calls to deleteVolumeSnapshot. */ public UnaryCallSettings deleteVolumeSnapshotSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).deleteVolumeSnapshotSettings(); } /** Returns the object with the settings used for calls to getVolumeSnapshot. */ public UnaryCallSettings getVolumeSnapshotSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).getVolumeSnapshotSettings(); } /** Returns the object with the settings used for calls to listVolumeSnapshots. */ public PagedCallSettings< ListVolumeSnapshotsRequest, ListVolumeSnapshotsResponse, ListVolumeSnapshotsPagedResponse> listVolumeSnapshotsSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).listVolumeSnapshotsSettings(); } /** Returns the object with the settings used for calls to getLun. */ public UnaryCallSettings getLunSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).getLunSettings(); } /** Returns the object with the settings used for calls to listLuns. */ public PagedCallSettings listLunsSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).listLunsSettings(); } /** Returns the object with the settings used for calls to evictLun. */ public UnaryCallSettings evictLunSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).evictLunSettings(); } /** Returns the object with the settings used for calls to evictLun. */ public OperationCallSettings evictLunOperationSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).evictLunOperationSettings(); } /** Returns the object with the settings used for calls to getNfsShare. */ public UnaryCallSettings getNfsShareSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).getNfsShareSettings(); } /** Returns the object with the settings used for calls to listNfsShares. */ public PagedCallSettings listNfsSharesSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).listNfsSharesSettings(); } /** Returns the object with the settings used for calls to updateNfsShare. */ public UnaryCallSettings updateNfsShareSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).updateNfsShareSettings(); } /** Returns the object with the settings used for calls to updateNfsShare. */ public OperationCallSettings updateNfsShareOperationSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).updateNfsShareOperationSettings(); } /** Returns the object with the settings used for calls to createNfsShare. */ public UnaryCallSettings createNfsShareSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).createNfsShareSettings(); } /** Returns the object with the settings used for calls to createNfsShare. */ public OperationCallSettings createNfsShareOperationSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).createNfsShareOperationSettings(); } /** Returns the object with the settings used for calls to renameNfsShare. */ public UnaryCallSettings renameNfsShareSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).renameNfsShareSettings(); } /** Returns the object with the settings used for calls to deleteNfsShare. */ public UnaryCallSettings deleteNfsShareSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).deleteNfsShareSettings(); } /** Returns the object with the settings used for calls to deleteNfsShare. */ public OperationCallSettings deleteNfsShareOperationSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).deleteNfsShareOperationSettings(); } /** Returns the object with the settings used for calls to listProvisioningQuotas. */ public PagedCallSettings< ListProvisioningQuotasRequest, ListProvisioningQuotasResponse, ListProvisioningQuotasPagedResponse> listProvisioningQuotasSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).listProvisioningQuotasSettings(); } /** Returns the object with the settings used for calls to submitProvisioningConfig. */ public UnaryCallSettings submitProvisioningConfigSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).submitProvisioningConfigSettings(); } /** Returns the object with the settings used for calls to getProvisioningConfig. */ public UnaryCallSettings getProvisioningConfigSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).getProvisioningConfigSettings(); } /** Returns the object with the settings used for calls to createProvisioningConfig. */ public UnaryCallSettings createProvisioningConfigSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).createProvisioningConfigSettings(); } /** Returns the object with the settings used for calls to updateProvisioningConfig. */ public UnaryCallSettings updateProvisioningConfigSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).updateProvisioningConfigSettings(); } /** Returns the object with the settings used for calls to renameNetwork. */ public UnaryCallSettings renameNetworkSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).renameNetworkSettings(); } /** Returns the object with the settings used for calls to listOSImages. */ public PagedCallSettings listOSImagesSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).listOSImagesSettings(); } /** Returns the object with the settings used for calls to listLocations. */ public PagedCallSettings listLocationsSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).listLocationsSettings(); } /** Returns the object with the settings used for calls to getLocation. */ public UnaryCallSettings getLocationSettings() { return ((BareMetalSolutionStubSettings) getStubSettings()).getLocationSettings(); } public static final BareMetalSolutionSettings create(BareMetalSolutionStubSettings stub) throws IOException { return new BareMetalSolutionSettings.Builder(stub.toBuilder()).build(); } /** Returns a builder for the default ExecutorProvider for this service. */ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { return BareMetalSolutionStubSettings.defaultExecutorProviderBuilder(); } /** Returns the default service endpoint. */ public static String getDefaultEndpoint() { return BareMetalSolutionStubSettings.getDefaultEndpoint(); } /** Returns the default service scopes. */ public static List getDefaultServiceScopes() { return BareMetalSolutionStubSettings.getDefaultServiceScopes(); } /** Returns a builder for the default credentials for this service. */ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { return BareMetalSolutionStubSettings.defaultCredentialsProviderBuilder(); } /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return BareMetalSolutionStubSettings.defaultGrpcTransportProviderBuilder(); } /** Returns a builder for the default REST ChannelProvider for this service. */ @BetaApi public static InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder() { return BareMetalSolutionStubSettings.defaultHttpJsonTransportProviderBuilder(); } public static TransportChannelProvider defaultTransportChannelProvider() { return BareMetalSolutionStubSettings.defaultTransportChannelProvider(); } public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { return BareMetalSolutionStubSettings.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 BareMetalSolutionSettings(Builder settingsBuilder) throws IOException { super(settingsBuilder); } /** Builder for BareMetalSolutionSettings. */ public static class Builder extends ClientSettings.Builder { protected Builder() throws IOException { this(((ClientContext) null)); } protected Builder(ClientContext clientContext) { super(BareMetalSolutionStubSettings.newBuilder(clientContext)); } protected Builder(BareMetalSolutionSettings settings) { super(settings.getStubSettings().toBuilder()); } protected Builder(BareMetalSolutionStubSettings.Builder stubSettings) { super(stubSettings); } private static Builder createDefault() { return new Builder(BareMetalSolutionStubSettings.newBuilder()); } private static Builder createHttpJsonDefault() { return new Builder(BareMetalSolutionStubSettings.newHttpJsonBuilder()); } public BareMetalSolutionStubSettings.Builder getStubSettingsBuilder() { return ((BareMetalSolutionStubSettings.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 listInstances. */ public PagedCallSettings.Builder< ListInstancesRequest, ListInstancesResponse, ListInstancesPagedResponse> listInstancesSettings() { return getStubSettingsBuilder().listInstancesSettings(); } /** Returns the builder for the settings used for calls to getInstance. */ public UnaryCallSettings.Builder getInstanceSettings() { return getStubSettingsBuilder().getInstanceSettings(); } /** Returns the builder for the settings used for calls to updateInstance. */ public UnaryCallSettings.Builder updateInstanceSettings() { return getStubSettingsBuilder().updateInstanceSettings(); } /** Returns the builder for the settings used for calls to updateInstance. */ public OperationCallSettings.Builder updateInstanceOperationSettings() { return getStubSettingsBuilder().updateInstanceOperationSettings(); } /** Returns the builder for the settings used for calls to renameInstance. */ public UnaryCallSettings.Builder renameInstanceSettings() { return getStubSettingsBuilder().renameInstanceSettings(); } /** Returns the builder for the settings used for calls to resetInstance. */ public UnaryCallSettings.Builder resetInstanceSettings() { return getStubSettingsBuilder().resetInstanceSettings(); } /** Returns the builder for the settings used for calls to resetInstance. */ public OperationCallSettings.Builder< ResetInstanceRequest, ResetInstanceResponse, OperationMetadata> resetInstanceOperationSettings() { return getStubSettingsBuilder().resetInstanceOperationSettings(); } /** Returns the builder for the settings used for calls to startInstance. */ public UnaryCallSettings.Builder startInstanceSettings() { return getStubSettingsBuilder().startInstanceSettings(); } /** Returns the builder for the settings used for calls to startInstance. */ public OperationCallSettings.Builder< StartInstanceRequest, StartInstanceResponse, OperationMetadata> startInstanceOperationSettings() { return getStubSettingsBuilder().startInstanceOperationSettings(); } /** Returns the builder for the settings used for calls to stopInstance. */ public UnaryCallSettings.Builder stopInstanceSettings() { return getStubSettingsBuilder().stopInstanceSettings(); } /** Returns the builder for the settings used for calls to stopInstance. */ public OperationCallSettings.Builder< StopInstanceRequest, StopInstanceResponse, OperationMetadata> stopInstanceOperationSettings() { return getStubSettingsBuilder().stopInstanceOperationSettings(); } /** Returns the builder for the settings used for calls to enableInteractiveSerialConsole. */ public UnaryCallSettings.Builder enableInteractiveSerialConsoleSettings() { return getStubSettingsBuilder().enableInteractiveSerialConsoleSettings(); } /** Returns the builder for the settings used for calls to enableInteractiveSerialConsole. */ public OperationCallSettings.Builder< EnableInteractiveSerialConsoleRequest, EnableInteractiveSerialConsoleResponse, OperationMetadata> enableInteractiveSerialConsoleOperationSettings() { return getStubSettingsBuilder().enableInteractiveSerialConsoleOperationSettings(); } /** Returns the builder for the settings used for calls to disableInteractiveSerialConsole. */ public UnaryCallSettings.Builder disableInteractiveSerialConsoleSettings() { return getStubSettingsBuilder().disableInteractiveSerialConsoleSettings(); } /** Returns the builder for the settings used for calls to disableInteractiveSerialConsole. */ public OperationCallSettings.Builder< DisableInteractiveSerialConsoleRequest, DisableInteractiveSerialConsoleResponse, OperationMetadata> disableInteractiveSerialConsoleOperationSettings() { return getStubSettingsBuilder().disableInteractiveSerialConsoleOperationSettings(); } /** Returns the builder for the settings used for calls to detachLun. */ public UnaryCallSettings.Builder detachLunSettings() { return getStubSettingsBuilder().detachLunSettings(); } /** Returns the builder for the settings used for calls to detachLun. */ public OperationCallSettings.Builder detachLunOperationSettings() { return getStubSettingsBuilder().detachLunOperationSettings(); } /** Returns the builder for the settings used for calls to listSSHKeys. */ public PagedCallSettings.Builder< ListSSHKeysRequest, ListSSHKeysResponse, ListSSHKeysPagedResponse> listSSHKeysSettings() { return getStubSettingsBuilder().listSSHKeysSettings(); } /** Returns the builder for the settings used for calls to createSSHKey. */ public UnaryCallSettings.Builder createSSHKeySettings() { return getStubSettingsBuilder().createSSHKeySettings(); } /** Returns the builder for the settings used for calls to deleteSSHKey. */ public UnaryCallSettings.Builder deleteSSHKeySettings() { return getStubSettingsBuilder().deleteSSHKeySettings(); } /** Returns the builder for the settings used for calls to listVolumes. */ public PagedCallSettings.Builder< ListVolumesRequest, ListVolumesResponse, ListVolumesPagedResponse> listVolumesSettings() { return getStubSettingsBuilder().listVolumesSettings(); } /** Returns the builder for the settings used for calls to getVolume. */ public UnaryCallSettings.Builder getVolumeSettings() { return getStubSettingsBuilder().getVolumeSettings(); } /** Returns the builder for the settings used for calls to updateVolume. */ public UnaryCallSettings.Builder updateVolumeSettings() { return getStubSettingsBuilder().updateVolumeSettings(); } /** Returns the builder for the settings used for calls to updateVolume. */ public OperationCallSettings.Builder updateVolumeOperationSettings() { return getStubSettingsBuilder().updateVolumeOperationSettings(); } /** Returns the builder for the settings used for calls to renameVolume. */ public UnaryCallSettings.Builder renameVolumeSettings() { return getStubSettingsBuilder().renameVolumeSettings(); } /** Returns the builder for the settings used for calls to evictVolume. */ public UnaryCallSettings.Builder evictVolumeSettings() { return getStubSettingsBuilder().evictVolumeSettings(); } /** Returns the builder for the settings used for calls to evictVolume. */ public OperationCallSettings.Builder evictVolumeOperationSettings() { return getStubSettingsBuilder().evictVolumeOperationSettings(); } /** Returns the builder for the settings used for calls to resizeVolume. */ public UnaryCallSettings.Builder resizeVolumeSettings() { return getStubSettingsBuilder().resizeVolumeSettings(); } /** Returns the builder for the settings used for calls to resizeVolume. */ public OperationCallSettings.Builder resizeVolumeOperationSettings() { return getStubSettingsBuilder().resizeVolumeOperationSettings(); } /** Returns the builder for the settings used for calls to listNetworks. */ public PagedCallSettings.Builder< ListNetworksRequest, ListNetworksResponse, ListNetworksPagedResponse> listNetworksSettings() { return getStubSettingsBuilder().listNetworksSettings(); } /** Returns the builder for the settings used for calls to listNetworkUsage. */ public UnaryCallSettings.Builder listNetworkUsageSettings() { return getStubSettingsBuilder().listNetworkUsageSettings(); } /** Returns the builder for the settings used for calls to getNetwork. */ public UnaryCallSettings.Builder getNetworkSettings() { return getStubSettingsBuilder().getNetworkSettings(); } /** Returns the builder for the settings used for calls to updateNetwork. */ public UnaryCallSettings.Builder updateNetworkSettings() { return getStubSettingsBuilder().updateNetworkSettings(); } /** Returns the builder for the settings used for calls to updateNetwork. */ public OperationCallSettings.Builder updateNetworkOperationSettings() { return getStubSettingsBuilder().updateNetworkOperationSettings(); } /** Returns the builder for the settings used for calls to createVolumeSnapshot. */ public UnaryCallSettings.Builder createVolumeSnapshotSettings() { return getStubSettingsBuilder().createVolumeSnapshotSettings(); } /** Returns the builder for the settings used for calls to restoreVolumeSnapshot. */ public UnaryCallSettings.Builder restoreVolumeSnapshotSettings() { return getStubSettingsBuilder().restoreVolumeSnapshotSettings(); } /** Returns the builder for the settings used for calls to restoreVolumeSnapshot. */ public OperationCallSettings.Builder< RestoreVolumeSnapshotRequest, VolumeSnapshot, OperationMetadata> restoreVolumeSnapshotOperationSettings() { return getStubSettingsBuilder().restoreVolumeSnapshotOperationSettings(); } /** Returns the builder for the settings used for calls to deleteVolumeSnapshot. */ public UnaryCallSettings.Builder deleteVolumeSnapshotSettings() { return getStubSettingsBuilder().deleteVolumeSnapshotSettings(); } /** Returns the builder for the settings used for calls to getVolumeSnapshot. */ public UnaryCallSettings.Builder getVolumeSnapshotSettings() { return getStubSettingsBuilder().getVolumeSnapshotSettings(); } /** Returns the builder for the settings used for calls to listVolumeSnapshots. */ public PagedCallSettings.Builder< ListVolumeSnapshotsRequest, ListVolumeSnapshotsResponse, ListVolumeSnapshotsPagedResponse> listVolumeSnapshotsSettings() { return getStubSettingsBuilder().listVolumeSnapshotsSettings(); } /** Returns the builder for the settings used for calls to getLun. */ public UnaryCallSettings.Builder getLunSettings() { return getStubSettingsBuilder().getLunSettings(); } /** Returns the builder for the settings used for calls to listLuns. */ public PagedCallSettings.Builder listLunsSettings() { return getStubSettingsBuilder().listLunsSettings(); } /** Returns the builder for the settings used for calls to evictLun. */ public UnaryCallSettings.Builder evictLunSettings() { return getStubSettingsBuilder().evictLunSettings(); } /** Returns the builder for the settings used for calls to evictLun. */ public OperationCallSettings.Builder evictLunOperationSettings() { return getStubSettingsBuilder().evictLunOperationSettings(); } /** Returns the builder for the settings used for calls to getNfsShare. */ public UnaryCallSettings.Builder getNfsShareSettings() { return getStubSettingsBuilder().getNfsShareSettings(); } /** Returns the builder for the settings used for calls to listNfsShares. */ public PagedCallSettings.Builder< ListNfsSharesRequest, ListNfsSharesResponse, ListNfsSharesPagedResponse> listNfsSharesSettings() { return getStubSettingsBuilder().listNfsSharesSettings(); } /** Returns the builder for the settings used for calls to updateNfsShare. */ public UnaryCallSettings.Builder updateNfsShareSettings() { return getStubSettingsBuilder().updateNfsShareSettings(); } /** Returns the builder for the settings used for calls to updateNfsShare. */ public OperationCallSettings.Builder updateNfsShareOperationSettings() { return getStubSettingsBuilder().updateNfsShareOperationSettings(); } /** Returns the builder for the settings used for calls to createNfsShare. */ public UnaryCallSettings.Builder createNfsShareSettings() { return getStubSettingsBuilder().createNfsShareSettings(); } /** Returns the builder for the settings used for calls to createNfsShare. */ public OperationCallSettings.Builder createNfsShareOperationSettings() { return getStubSettingsBuilder().createNfsShareOperationSettings(); } /** Returns the builder for the settings used for calls to renameNfsShare. */ public UnaryCallSettings.Builder renameNfsShareSettings() { return getStubSettingsBuilder().renameNfsShareSettings(); } /** Returns the builder for the settings used for calls to deleteNfsShare. */ public UnaryCallSettings.Builder deleteNfsShareSettings() { return getStubSettingsBuilder().deleteNfsShareSettings(); } /** Returns the builder for the settings used for calls to deleteNfsShare. */ public OperationCallSettings.Builder deleteNfsShareOperationSettings() { return getStubSettingsBuilder().deleteNfsShareOperationSettings(); } /** Returns the builder for the settings used for calls to listProvisioningQuotas. */ public PagedCallSettings.Builder< ListProvisioningQuotasRequest, ListProvisioningQuotasResponse, ListProvisioningQuotasPagedResponse> listProvisioningQuotasSettings() { return getStubSettingsBuilder().listProvisioningQuotasSettings(); } /** Returns the builder for the settings used for calls to submitProvisioningConfig. */ public UnaryCallSettings.Builder< SubmitProvisioningConfigRequest, SubmitProvisioningConfigResponse> submitProvisioningConfigSettings() { return getStubSettingsBuilder().submitProvisioningConfigSettings(); } /** Returns the builder for the settings used for calls to getProvisioningConfig. */ public UnaryCallSettings.Builder getProvisioningConfigSettings() { return getStubSettingsBuilder().getProvisioningConfigSettings(); } /** Returns the builder for the settings used for calls to createProvisioningConfig. */ public UnaryCallSettings.Builder createProvisioningConfigSettings() { return getStubSettingsBuilder().createProvisioningConfigSettings(); } /** Returns the builder for the settings used for calls to updateProvisioningConfig. */ public UnaryCallSettings.Builder updateProvisioningConfigSettings() { return getStubSettingsBuilder().updateProvisioningConfigSettings(); } /** Returns the builder for the settings used for calls to renameNetwork. */ public UnaryCallSettings.Builder renameNetworkSettings() { return getStubSettingsBuilder().renameNetworkSettings(); } /** Returns the builder for the settings used for calls to listOSImages. */ public PagedCallSettings.Builder< ListOSImagesRequest, ListOSImagesResponse, ListOSImagesPagedResponse> listOSImagesSettings() { return getStubSettingsBuilder().listOSImagesSettings(); } /** 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 BareMetalSolutionSettings build() throws IOException { return new BareMetalSolutionSettings(this); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy