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) |
Modifier and Type | Method and Description |
---|---|
DatabaseAdminStubSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
DatabaseAdminStubSettings |
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.
|
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.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
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, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(DatabaseAdminStubSettings settings)
public DatabaseAdminStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
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 use by generated code 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 use by generated code 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 DatabaseAdminStubSettings build() throws IOException
build
in class StubSettings.Builder<DatabaseAdminStubSettings,DatabaseAdminStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.