com.google.cloud.alloydb.v1.AlloyDBAdminSettings Maven / Gradle / Ivy
Show all versions of google-cloud-alloydb Show documentation
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.google.cloud.alloydb.v1;
import static com.google.cloud.alloydb.v1.AlloyDBAdminClient.ListBackupsPagedResponse;
import static com.google.cloud.alloydb.v1.AlloyDBAdminClient.ListClustersPagedResponse;
import static com.google.cloud.alloydb.v1.AlloyDBAdminClient.ListInstancesPagedResponse;
import static com.google.cloud.alloydb.v1.AlloyDBAdminClient.ListLocationsPagedResponse;
import static com.google.cloud.alloydb.v1.AlloyDBAdminClient.ListSupportedDatabaseFlagsPagedResponse;
import static com.google.cloud.alloydb.v1.AlloyDBAdminClient.ListUsersPagedResponse;
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.alloydb.v1.stub.AlloyDBAdminStubSettings;
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 AlloyDBAdminClient}.
*
* The default instance has everything set to sensible defaults:
*
*
* - The default service address (alloydb.googleapis.com) and default port (443) are used.
*
- Credentials are acquired automatically through Application Default Credentials.
*
- Retries are configured for idempotent methods but not for non-idempotent methods.
*
*
* The builder of this class is recursive, so contained classes are themselves builders. When
* build() is called, the tree of builders is called to create the complete settings object.
*
*
For example, to set the total timeout of getCluster to 30 seconds:
*
*
{@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
* AlloyDBAdminSettings.Builder alloyDBAdminSettingsBuilder = AlloyDBAdminSettings.newBuilder();
* alloyDBAdminSettingsBuilder
* .getClusterSettings()
* .setRetrySettings(
* alloyDBAdminSettingsBuilder
* .getClusterSettings()
* .getRetrySettings()
* .toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* AlloyDBAdminSettings alloyDBAdminSettings = alloyDBAdminSettingsBuilder.build();
* }
*/
@Generated("by gapic-generator-java")
public class AlloyDBAdminSettings extends ClientSettings {
/** Returns the object with the settings used for calls to listClusters. */
public PagedCallSettings
listClustersSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).listClustersSettings();
}
/** Returns the object with the settings used for calls to getCluster. */
public UnaryCallSettings getClusterSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).getClusterSettings();
}
/** Returns the object with the settings used for calls to createCluster. */
public UnaryCallSettings createClusterSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).createClusterSettings();
}
/** Returns the object with the settings used for calls to createCluster. */
public OperationCallSettings
createClusterOperationSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).createClusterOperationSettings();
}
/** Returns the object with the settings used for calls to updateCluster. */
public UnaryCallSettings updateClusterSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).updateClusterSettings();
}
/** Returns the object with the settings used for calls to updateCluster. */
public OperationCallSettings
updateClusterOperationSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).updateClusterOperationSettings();
}
/** Returns the object with the settings used for calls to deleteCluster. */
public UnaryCallSettings deleteClusterSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).deleteClusterSettings();
}
/** Returns the object with the settings used for calls to deleteCluster. */
public OperationCallSettings
deleteClusterOperationSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).deleteClusterOperationSettings();
}
/** Returns the object with the settings used for calls to promoteCluster. */
public UnaryCallSettings promoteClusterSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).promoteClusterSettings();
}
/** Returns the object with the settings used for calls to promoteCluster. */
public OperationCallSettings
promoteClusterOperationSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).promoteClusterOperationSettings();
}
/** Returns the object with the settings used for calls to restoreCluster. */
public UnaryCallSettings restoreClusterSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).restoreClusterSettings();
}
/** Returns the object with the settings used for calls to restoreCluster. */
public OperationCallSettings
restoreClusterOperationSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).restoreClusterOperationSettings();
}
/** Returns the object with the settings used for calls to createSecondaryCluster. */
public UnaryCallSettings
createSecondaryClusterSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).createSecondaryClusterSettings();
}
/** Returns the object with the settings used for calls to createSecondaryCluster. */
public OperationCallSettings
createSecondaryClusterOperationSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).createSecondaryClusterOperationSettings();
}
/** Returns the object with the settings used for calls to listInstances. */
public PagedCallSettings
listInstancesSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).listInstancesSettings();
}
/** Returns the object with the settings used for calls to getInstance. */
public UnaryCallSettings getInstanceSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).getInstanceSettings();
}
/** Returns the object with the settings used for calls to createInstance. */
public UnaryCallSettings createInstanceSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).createInstanceSettings();
}
/** Returns the object with the settings used for calls to createInstance. */
public OperationCallSettings
createInstanceOperationSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).createInstanceOperationSettings();
}
/** Returns the object with the settings used for calls to createSecondaryInstance. */
public UnaryCallSettings
createSecondaryInstanceSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).createSecondaryInstanceSettings();
}
/** Returns the object with the settings used for calls to createSecondaryInstance. */
public OperationCallSettings
createSecondaryInstanceOperationSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings())
.createSecondaryInstanceOperationSettings();
}
/** Returns the object with the settings used for calls to batchCreateInstances. */
public UnaryCallSettings batchCreateInstancesSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).batchCreateInstancesSettings();
}
/** Returns the object with the settings used for calls to batchCreateInstances. */
public OperationCallSettings<
BatchCreateInstancesRequest, BatchCreateInstancesResponse, OperationMetadata>
batchCreateInstancesOperationSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).batchCreateInstancesOperationSettings();
}
/** Returns the object with the settings used for calls to updateInstance. */
public UnaryCallSettings updateInstanceSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).updateInstanceSettings();
}
/** Returns the object with the settings used for calls to updateInstance. */
public OperationCallSettings
updateInstanceOperationSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).updateInstanceOperationSettings();
}
/** Returns the object with the settings used for calls to deleteInstance. */
public UnaryCallSettings deleteInstanceSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).deleteInstanceSettings();
}
/** Returns the object with the settings used for calls to deleteInstance. */
public OperationCallSettings
deleteInstanceOperationSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).deleteInstanceOperationSettings();
}
/** Returns the object with the settings used for calls to failoverInstance. */
public UnaryCallSettings failoverInstanceSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).failoverInstanceSettings();
}
/** Returns the object with the settings used for calls to failoverInstance. */
public OperationCallSettings
failoverInstanceOperationSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).failoverInstanceOperationSettings();
}
/** Returns the object with the settings used for calls to injectFault. */
public UnaryCallSettings injectFaultSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).injectFaultSettings();
}
/** Returns the object with the settings used for calls to injectFault. */
public OperationCallSettings
injectFaultOperationSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).injectFaultOperationSettings();
}
/** Returns the object with the settings used for calls to restartInstance. */
public UnaryCallSettings restartInstanceSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).restartInstanceSettings();
}
/** Returns the object with the settings used for calls to restartInstance. */
public OperationCallSettings
restartInstanceOperationSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).restartInstanceOperationSettings();
}
/** Returns the object with the settings used for calls to listBackups. */
public PagedCallSettings
listBackupsSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).listBackupsSettings();
}
/** Returns the object with the settings used for calls to getBackup. */
public UnaryCallSettings getBackupSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).getBackupSettings();
}
/** Returns the object with the settings used for calls to createBackup. */
public UnaryCallSettings createBackupSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).createBackupSettings();
}
/** Returns the object with the settings used for calls to createBackup. */
public OperationCallSettings
createBackupOperationSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).createBackupOperationSettings();
}
/** Returns the object with the settings used for calls to updateBackup. */
public UnaryCallSettings updateBackupSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).updateBackupSettings();
}
/** Returns the object with the settings used for calls to updateBackup. */
public OperationCallSettings
updateBackupOperationSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).updateBackupOperationSettings();
}
/** Returns the object with the settings used for calls to deleteBackup. */
public UnaryCallSettings deleteBackupSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).deleteBackupSettings();
}
/** Returns the object with the settings used for calls to deleteBackup. */
public OperationCallSettings
deleteBackupOperationSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).deleteBackupOperationSettings();
}
/** Returns the object with the settings used for calls to listSupportedDatabaseFlags. */
public PagedCallSettings<
ListSupportedDatabaseFlagsRequest,
ListSupportedDatabaseFlagsResponse,
ListSupportedDatabaseFlagsPagedResponse>
listSupportedDatabaseFlagsSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).listSupportedDatabaseFlagsSettings();
}
/** Returns the object with the settings used for calls to generateClientCertificate. */
public UnaryCallSettings
generateClientCertificateSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).generateClientCertificateSettings();
}
/** Returns the object with the settings used for calls to getConnectionInfo. */
public UnaryCallSettings getConnectionInfoSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).getConnectionInfoSettings();
}
/** Returns the object with the settings used for calls to listUsers. */
public PagedCallSettings
listUsersSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).listUsersSettings();
}
/** Returns the object with the settings used for calls to getUser. */
public UnaryCallSettings getUserSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).getUserSettings();
}
/** Returns the object with the settings used for calls to createUser. */
public UnaryCallSettings createUserSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).createUserSettings();
}
/** Returns the object with the settings used for calls to updateUser. */
public UnaryCallSettings updateUserSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).updateUserSettings();
}
/** Returns the object with the settings used for calls to deleteUser. */
public UnaryCallSettings deleteUserSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).deleteUserSettings();
}
/** Returns the object with the settings used for calls to listLocations. */
public PagedCallSettings
listLocationsSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).listLocationsSettings();
}
/** Returns the object with the settings used for calls to getLocation. */
public UnaryCallSettings getLocationSettings() {
return ((AlloyDBAdminStubSettings) getStubSettings()).getLocationSettings();
}
public static final AlloyDBAdminSettings create(AlloyDBAdminStubSettings stub)
throws IOException {
return new AlloyDBAdminSettings.Builder(stub.toBuilder()).build();
}
/** Returns a builder for the default ExecutorProvider for this service. */
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() {
return AlloyDBAdminStubSettings.defaultExecutorProviderBuilder();
}
/** Returns the default service endpoint. */
public static String getDefaultEndpoint() {
return AlloyDBAdminStubSettings.getDefaultEndpoint();
}
/** Returns the default service scopes. */
public static List getDefaultServiceScopes() {
return AlloyDBAdminStubSettings.getDefaultServiceScopes();
}
/** Returns a builder for the default credentials for this service. */
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
return AlloyDBAdminStubSettings.defaultCredentialsProviderBuilder();
}
/** Returns a builder for the default gRPC ChannelProvider for this service. */
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() {
return AlloyDBAdminStubSettings.defaultGrpcTransportProviderBuilder();
}
/** Returns a builder for the default REST ChannelProvider for this service. */
@BetaApi
public static InstantiatingHttpJsonChannelProvider.Builder
defaultHttpJsonTransportProviderBuilder() {
return AlloyDBAdminStubSettings.defaultHttpJsonTransportProviderBuilder();
}
public static TransportChannelProvider defaultTransportChannelProvider() {
return AlloyDBAdminStubSettings.defaultTransportChannelProvider();
}
public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() {
return AlloyDBAdminStubSettings.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 AlloyDBAdminSettings(Builder settingsBuilder) throws IOException {
super(settingsBuilder);
}
/** Builder for AlloyDBAdminSettings. */
public static class Builder extends ClientSettings.Builder {
protected Builder() throws IOException {
this(((ClientContext) null));
}
protected Builder(ClientContext clientContext) {
super(AlloyDBAdminStubSettings.newBuilder(clientContext));
}
protected Builder(AlloyDBAdminSettings settings) {
super(settings.getStubSettings().toBuilder());
}
protected Builder(AlloyDBAdminStubSettings.Builder stubSettings) {
super(stubSettings);
}
private static Builder createDefault() {
return new Builder(AlloyDBAdminStubSettings.newBuilder());
}
private static Builder createHttpJsonDefault() {
return new Builder(AlloyDBAdminStubSettings.newHttpJsonBuilder());
}
public AlloyDBAdminStubSettings.Builder getStubSettingsBuilder() {
return ((AlloyDBAdminStubSettings.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 listClusters. */
public PagedCallSettings.Builder<
ListClustersRequest, ListClustersResponse, ListClustersPagedResponse>
listClustersSettings() {
return getStubSettingsBuilder().listClustersSettings();
}
/** Returns the builder for the settings used for calls to getCluster. */
public UnaryCallSettings.Builder getClusterSettings() {
return getStubSettingsBuilder().getClusterSettings();
}
/** Returns the builder for the settings used for calls to createCluster. */
public UnaryCallSettings.Builder createClusterSettings() {
return getStubSettingsBuilder().createClusterSettings();
}
/** Returns the builder for the settings used for calls to createCluster. */
public OperationCallSettings.Builder
createClusterOperationSettings() {
return getStubSettingsBuilder().createClusterOperationSettings();
}
/** Returns the builder for the settings used for calls to updateCluster. */
public UnaryCallSettings.Builder updateClusterSettings() {
return getStubSettingsBuilder().updateClusterSettings();
}
/** Returns the builder for the settings used for calls to updateCluster. */
public OperationCallSettings.Builder
updateClusterOperationSettings() {
return getStubSettingsBuilder().updateClusterOperationSettings();
}
/** Returns the builder for the settings used for calls to deleteCluster. */
public UnaryCallSettings.Builder deleteClusterSettings() {
return getStubSettingsBuilder().deleteClusterSettings();
}
/** Returns the builder for the settings used for calls to deleteCluster. */
public OperationCallSettings.Builder
deleteClusterOperationSettings() {
return getStubSettingsBuilder().deleteClusterOperationSettings();
}
/** Returns the builder for the settings used for calls to promoteCluster. */
public UnaryCallSettings.Builder promoteClusterSettings() {
return getStubSettingsBuilder().promoteClusterSettings();
}
/** Returns the builder for the settings used for calls to promoteCluster. */
public OperationCallSettings.Builder
promoteClusterOperationSettings() {
return getStubSettingsBuilder().promoteClusterOperationSettings();
}
/** Returns the builder for the settings used for calls to restoreCluster. */
public UnaryCallSettings.Builder restoreClusterSettings() {
return getStubSettingsBuilder().restoreClusterSettings();
}
/** Returns the builder for the settings used for calls to restoreCluster. */
public OperationCallSettings.Builder
restoreClusterOperationSettings() {
return getStubSettingsBuilder().restoreClusterOperationSettings();
}
/** Returns the builder for the settings used for calls to createSecondaryCluster. */
public UnaryCallSettings.Builder
createSecondaryClusterSettings() {
return getStubSettingsBuilder().createSecondaryClusterSettings();
}
/** Returns the builder for the settings used for calls to createSecondaryCluster. */
public OperationCallSettings.Builder
createSecondaryClusterOperationSettings() {
return getStubSettingsBuilder().createSecondaryClusterOperationSettings();
}
/** 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 createInstance. */
public UnaryCallSettings.Builder createInstanceSettings() {
return getStubSettingsBuilder().createInstanceSettings();
}
/** Returns the builder for the settings used for calls to createInstance. */
public OperationCallSettings.Builder
createInstanceOperationSettings() {
return getStubSettingsBuilder().createInstanceOperationSettings();
}
/** Returns the builder for the settings used for calls to createSecondaryInstance. */
public UnaryCallSettings.Builder
createSecondaryInstanceSettings() {
return getStubSettingsBuilder().createSecondaryInstanceSettings();
}
/** Returns the builder for the settings used for calls to createSecondaryInstance. */
public OperationCallSettings.Builder<
CreateSecondaryInstanceRequest, Instance, OperationMetadata>
createSecondaryInstanceOperationSettings() {
return getStubSettingsBuilder().createSecondaryInstanceOperationSettings();
}
/** Returns the builder for the settings used for calls to batchCreateInstances. */
public UnaryCallSettings.Builder
batchCreateInstancesSettings() {
return getStubSettingsBuilder().batchCreateInstancesSettings();
}
/** Returns the builder for the settings used for calls to batchCreateInstances. */
public OperationCallSettings.Builder<
BatchCreateInstancesRequest, BatchCreateInstancesResponse, OperationMetadata>
batchCreateInstancesOperationSettings() {
return getStubSettingsBuilder().batchCreateInstancesOperationSettings();
}
/** 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 deleteInstance. */
public UnaryCallSettings.Builder deleteInstanceSettings() {
return getStubSettingsBuilder().deleteInstanceSettings();
}
/** Returns the builder for the settings used for calls to deleteInstance. */
public OperationCallSettings.Builder
deleteInstanceOperationSettings() {
return getStubSettingsBuilder().deleteInstanceOperationSettings();
}
/** Returns the builder for the settings used for calls to failoverInstance. */
public UnaryCallSettings.Builder
failoverInstanceSettings() {
return getStubSettingsBuilder().failoverInstanceSettings();
}
/** Returns the builder for the settings used for calls to failoverInstance. */
public OperationCallSettings.Builder
failoverInstanceOperationSettings() {
return getStubSettingsBuilder().failoverInstanceOperationSettings();
}
/** Returns the builder for the settings used for calls to injectFault. */
public UnaryCallSettings.Builder injectFaultSettings() {
return getStubSettingsBuilder().injectFaultSettings();
}
/** Returns the builder for the settings used for calls to injectFault. */
public OperationCallSettings.Builder
injectFaultOperationSettings() {
return getStubSettingsBuilder().injectFaultOperationSettings();
}
/** Returns the builder for the settings used for calls to restartInstance. */
public UnaryCallSettings.Builder restartInstanceSettings() {
return getStubSettingsBuilder().restartInstanceSettings();
}
/** Returns the builder for the settings used for calls to restartInstance. */
public OperationCallSettings.Builder
restartInstanceOperationSettings() {
return getStubSettingsBuilder().restartInstanceOperationSettings();
}
/** Returns the builder for the settings used for calls to listBackups. */
public PagedCallSettings.Builder<
ListBackupsRequest, ListBackupsResponse, ListBackupsPagedResponse>
listBackupsSettings() {
return getStubSettingsBuilder().listBackupsSettings();
}
/** Returns the builder for the settings used for calls to getBackup. */
public UnaryCallSettings.Builder getBackupSettings() {
return getStubSettingsBuilder().getBackupSettings();
}
/** Returns the builder for the settings used for calls to createBackup. */
public UnaryCallSettings.Builder createBackupSettings() {
return getStubSettingsBuilder().createBackupSettings();
}
/** Returns the builder for the settings used for calls to createBackup. */
public OperationCallSettings.Builder
createBackupOperationSettings() {
return getStubSettingsBuilder().createBackupOperationSettings();
}
/** Returns the builder for the settings used for calls to updateBackup. */
public UnaryCallSettings.Builder updateBackupSettings() {
return getStubSettingsBuilder().updateBackupSettings();
}
/** Returns the builder for the settings used for calls to updateBackup. */
public OperationCallSettings.Builder
updateBackupOperationSettings() {
return getStubSettingsBuilder().updateBackupOperationSettings();
}
/** Returns the builder for the settings used for calls to deleteBackup. */
public UnaryCallSettings.Builder deleteBackupSettings() {
return getStubSettingsBuilder().deleteBackupSettings();
}
/** Returns the builder for the settings used for calls to deleteBackup. */
public OperationCallSettings.Builder
deleteBackupOperationSettings() {
return getStubSettingsBuilder().deleteBackupOperationSettings();
}
/** Returns the builder for the settings used for calls to listSupportedDatabaseFlags. */
public PagedCallSettings.Builder<
ListSupportedDatabaseFlagsRequest,
ListSupportedDatabaseFlagsResponse,
ListSupportedDatabaseFlagsPagedResponse>
listSupportedDatabaseFlagsSettings() {
return getStubSettingsBuilder().listSupportedDatabaseFlagsSettings();
}
/** Returns the builder for the settings used for calls to generateClientCertificate. */
public UnaryCallSettings.Builder<
GenerateClientCertificateRequest, GenerateClientCertificateResponse>
generateClientCertificateSettings() {
return getStubSettingsBuilder().generateClientCertificateSettings();
}
/** Returns the builder for the settings used for calls to getConnectionInfo. */
public UnaryCallSettings.Builder
getConnectionInfoSettings() {
return getStubSettingsBuilder().getConnectionInfoSettings();
}
/** Returns the builder for the settings used for calls to listUsers. */
public PagedCallSettings.Builder
listUsersSettings() {
return getStubSettingsBuilder().listUsersSettings();
}
/** Returns the builder for the settings used for calls to getUser. */
public UnaryCallSettings.Builder getUserSettings() {
return getStubSettingsBuilder().getUserSettings();
}
/** Returns the builder for the settings used for calls to createUser. */
public UnaryCallSettings.Builder createUserSettings() {
return getStubSettingsBuilder().createUserSettings();
}
/** Returns the builder for the settings used for calls to updateUser. */
public UnaryCallSettings.Builder updateUserSettings() {
return getStubSettingsBuilder().updateUserSettings();
}
/** Returns the builder for the settings used for calls to deleteUser. */
public UnaryCallSettings.Builder deleteUserSettings() {
return getStubSettingsBuilder().deleteUserSettings();
}
/** 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 AlloyDBAdminSettings build() throws IOException {
return new AlloyDBAdminSettings(this);
}
}
}