public static class DatabaseAdminSettings.Builder extends ClientSettings.Builder<DatabaseAdminSettings,DatabaseAdminSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(DatabaseAdminSettings settings) |
protected |
Builder(DatabaseAdminStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
DatabaseAdminSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
DatabaseAdminSettings |
build() |
OperationCallSettings.Builder<com.google.spanner.admin.database.v1.CreateDatabaseRequest,com.google.spanner.admin.database.v1.Database,com.google.spanner.admin.database.v1.CreateDatabaseMetadata> |
createDatabaseOperationSettings()
Returns the builder for the settings used for calls to createDatabase.
|
UnaryCallSettings.Builder<com.google.spanner.admin.database.v1.CreateDatabaseRequest,Operation> |
createDatabaseSettings()
Returns the builder for the settings used for calls to createDatabase.
|
UnaryCallSettings.Builder<com.google.spanner.admin.database.v1.DropDatabaseRequest,Empty> |
dropDatabaseSettings()
Returns the builder for the settings used for calls to dropDatabase.
|
UnaryCallSettings.Builder<com.google.spanner.admin.database.v1.GetDatabaseDdlRequest,com.google.spanner.admin.database.v1.GetDatabaseDdlResponse> |
getDatabaseDdlSettings()
Returns the builder for the settings used for calls to getDatabaseDdl.
|
UnaryCallSettings.Builder<com.google.spanner.admin.database.v1.GetDatabaseRequest,com.google.spanner.admin.database.v1.Database> |
getDatabaseSettings()
Returns the builder for the settings used for calls to getDatabase.
|
UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
|
DatabaseAdminStubSettings.Builder |
getStubSettingsBuilder() |
PagedCallSettings.Builder<com.google.spanner.admin.database.v1.ListDatabasesRequest,com.google.spanner.admin.database.v1.ListDatabasesResponse,DatabaseAdminClient.ListDatabasesPagedResponse> |
listDatabasesSettings()
Returns the builder for the settings used for calls to listDatabases.
|
UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
|
UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
|
OperationCallSettings.Builder<com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest,Empty,com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata> |
updateDatabaseDdlOperationSettings()
Returns the builder for the settings used for calls to updateDatabaseDdl.
|
UnaryCallSettings.Builder<com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest,Operation> |
updateDatabaseDdlSettings()
Returns the builder for the settings used for calls to updateDatabaseDdl.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(DatabaseAdminSettings settings)
protected Builder(DatabaseAdminStubSettings.Builder stubSettings)
public DatabaseAdminStubSettings.Builder getStubSettingsBuilder()
public DatabaseAdminSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public PagedCallSettings.Builder<com.google.spanner.admin.database.v1.ListDatabasesRequest,com.google.spanner.admin.database.v1.ListDatabasesResponse,DatabaseAdminClient.ListDatabasesPagedResponse> listDatabasesSettings()
public UnaryCallSettings.Builder<com.google.spanner.admin.database.v1.CreateDatabaseRequest,Operation> createDatabaseSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.spanner.admin.database.v1.CreateDatabaseRequest,com.google.spanner.admin.database.v1.Database,com.google.spanner.admin.database.v1.CreateDatabaseMetadata> createDatabaseOperationSettings()
public UnaryCallSettings.Builder<com.google.spanner.admin.database.v1.GetDatabaseRequest,com.google.spanner.admin.database.v1.Database> getDatabaseSettings()
public UnaryCallSettings.Builder<com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest,Operation> updateDatabaseDdlSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings.Builder<com.google.spanner.admin.database.v1.UpdateDatabaseDdlRequest,Empty,com.google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata> updateDatabaseDdlOperationSettings()
public UnaryCallSettings.Builder<com.google.spanner.admin.database.v1.DropDatabaseRequest,Empty> dropDatabaseSettings()
public UnaryCallSettings.Builder<com.google.spanner.admin.database.v1.GetDatabaseDdlRequest,com.google.spanner.admin.database.v1.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 DatabaseAdminSettings build() throws IOException
build
in class ClientSettings.Builder<DatabaseAdminSettings,DatabaseAdminSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.