public static class DatabaseAdminStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<DatabaseAdminStubSettings,DatabaseAdminStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(DatabaseAdminStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
DatabaseAdminStubSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
DatabaseAdminStubSettings |
build() |
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateDatabaseRequest,Database,CreateDatabaseMetadata> |
createDatabaseOperationSettings()
Returns the builder for the settings used for calls to createDatabase.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDatabaseRequest,com.google.longrunning.Operation> |
createDatabaseSettings()
Returns the builder for the settings used for calls to createDatabase.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DropDatabaseRequest,Empty> |
dropDatabaseSettings()
Returns the builder for the settings used for calls to dropDatabase.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDatabaseDdlRequest,GetDatabaseDdlResponse> |
getDatabaseDdlSettings()
Returns the builder for the settings used for calls to getDatabaseDdl.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDatabaseRequest,Database> |
getDatabaseSettings()
Returns the builder for the settings used for calls to getDatabase.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatabasesRequest,ListDatabasesResponse,DatabaseAdminClient.ListDatabasesPagedResponse> |
listDatabasesSettings()
Returns the builder for the settings used for calls to listDatabases.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
|
com.google.api.gax.rpc.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<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateDatabaseDdlRequest,Empty,UpdateDatabaseDdlMetadata> |
updateDatabaseDdlOperationSettings()
Returns the builder for the settings used for calls to updateDatabaseDdl.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDatabaseDdlRequest,com.google.longrunning.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(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(DatabaseAdminStubSettings settings)
public DatabaseAdminStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDatabaseRequest,com.google.longrunning.Operation> createDatabaseSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateDatabaseRequest,Database,CreateDatabaseMetadata> createDatabaseOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDatabaseRequest,Database> getDatabaseSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateDatabaseDdlRequest,com.google.longrunning.Operation> updateDatabaseDdlSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateDatabaseDdlRequest,Empty,UpdateDatabaseDdlMetadata> updateDatabaseDdlOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DropDatabaseRequest,Empty> dropDatabaseSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDatabaseDdlRequest,GetDatabaseDdlResponse> getDatabaseDdlSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatabasesRequest,ListDatabasesResponse,DatabaseAdminClient.ListDatabasesPagedResponse> listDatabasesSettings()
public DatabaseAdminStubSettings build() throws IOException
build
in class com.google.api.gax.rpc.StubSettings.Builder<DatabaseAdminStubSettings,DatabaseAdminStubSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.