public static class DatabaseAdminStubSettings.Builder extends StubSettings.Builder<DatabaseAdminStubSettings,DatabaseAdminStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(DatabaseAdminStubSettings settings) |
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(DatabaseAdminStubSettings settings)
public DatabaseAdminStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public PagedCallSettings.Builder<ListDatabasesRequest,ListDatabasesResponse,DatabaseAdminClient.ListDatabasesPagedResponse> listDatabasesSettings()
public UnaryCallSettings.Builder<CreateDatabaseRequest,Operation> createDatabaseSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<CreateDatabaseRequest,Database,CreateDatabaseMetadata> createDatabaseOperationSettings()
public UnaryCallSettings.Builder<GetDatabaseRequest,Database> getDatabaseSettings()
public UnaryCallSettings.Builder<UpdateDatabaseDdlRequest,Operation> updateDatabaseDdlSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<UpdateDatabaseDdlRequest,Empty,UpdateDatabaseDdlMetadata> updateDatabaseDdlOperationSettings()
public UnaryCallSettings.Builder<DropDatabaseRequest,Empty> dropDatabaseSettings()
public UnaryCallSettings.Builder<GetDatabaseDdlRequest,GetDatabaseDdlResponse> getDatabaseDdlSettings()
public UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public UnaryCallSettings.Builder<CreateBackupRequest,Operation> createBackupSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<CreateBackupRequest,Backup,CreateBackupMetadata> createBackupOperationSettings()
public UnaryCallSettings.Builder<CopyBackupRequest,Operation> copyBackupSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<CopyBackupRequest,Backup,CopyBackupMetadata> copyBackupOperationSettings()
public UnaryCallSettings.Builder<GetBackupRequest,Backup> getBackupSettings()
public UnaryCallSettings.Builder<UpdateBackupRequest,Backup> updateBackupSettings()
public UnaryCallSettings.Builder<DeleteBackupRequest,Empty> deleteBackupSettings()
public PagedCallSettings.Builder<ListBackupsRequest,ListBackupsResponse,DatabaseAdminClient.ListBackupsPagedResponse> listBackupsSettings()
public UnaryCallSettings.Builder<RestoreDatabaseRequest,Operation> restoreDatabaseSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public OperationCallSettings.Builder<RestoreDatabaseRequest,Database,RestoreDatabaseMetadata> restoreDatabaseOperationSettings()
public PagedCallSettings.Builder<ListDatabaseOperationsRequest,ListDatabaseOperationsResponse,DatabaseAdminClient.ListDatabaseOperationsPagedResponse> listDatabaseOperationsSettings()
public PagedCallSettings.Builder<ListBackupOperationsRequest,ListBackupOperationsResponse,DatabaseAdminClient.ListBackupOperationsPagedResponse> listBackupOperationsSettings()
public DatabaseAdminStubSettings build() throws IOException
build
in class StubSettings.Builder<DatabaseAdminStubSettings,DatabaseAdminStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.