public static class WorkerPoolsSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<WorkerPoolsSettings,WorkerPoolsSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(WorkerPoolsSettings settings) |
protected |
Builder(WorkerPoolsStubSettings.Builder stubSettings) |
| Modifier and Type | Method and Description |
|---|---|
WorkerPoolsSettings.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.
|
WorkerPoolsSettings |
build() |
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateWorkerPoolRequest,WorkerPool,WorkerPool> |
createWorkerPoolOperationSettings()
Returns the builder for the settings used for calls to createWorkerPool.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateWorkerPoolRequest,com.google.longrunning.Operation> |
createWorkerPoolSettings()
Returns the builder for the settings used for calls to createWorkerPool.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteWorkerPoolRequest,WorkerPool,WorkerPool> |
deleteWorkerPoolOperationSettings()
Returns the builder for the settings used for calls to deleteWorkerPool.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteWorkerPoolRequest,com.google.longrunning.Operation> |
deleteWorkerPoolSettings()
Returns the builder for the settings used for calls to deleteWorkerPool.
|
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.
|
WorkerPoolsStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetWorkerPoolRequest,WorkerPool> |
getWorkerPoolSettings()
Returns the builder for the settings used for calls to getWorkerPool.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListWorkerPoolsRequest,ListWorkerPoolsResponse,WorkerPoolsClient.ListWorkerPoolsPagedResponse> |
listWorkerPoolsSettings()
Returns the builder for the settings used for calls to listWorkerPools.
|
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.api.gax.rpc.OperationCallSettings.Builder<UpdateWorkerPoolRequest,WorkerPool,WorkerPool> |
updateWorkerPoolOperationSettings()
Returns the builder for the settings used for calls to updateWorkerPool.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateWorkerPoolRequest,com.google.longrunning.Operation> |
updateWorkerPoolSettings()
Returns the builder for the settings used for calls to updateWorkerPool.
|
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toStringprotected Builder()
throws IOException
IOExceptionprotected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(WorkerPoolsSettings settings)
protected Builder(WorkerPoolsStubSettings.Builder stubSettings)
public WorkerPoolsStubSettings.Builder getStubSettingsBuilder()
public WorkerPoolsSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateWorkerPoolRequest,com.google.longrunning.Operation> createWorkerPoolSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateWorkerPoolRequest,WorkerPool,WorkerPool> createWorkerPoolOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetWorkerPoolRequest,WorkerPool> getWorkerPoolSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListWorkerPoolsRequest,ListWorkerPoolsResponse,WorkerPoolsClient.ListWorkerPoolsPagedResponse> listWorkerPoolsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateWorkerPoolRequest,com.google.longrunning.Operation> updateWorkerPoolSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateWorkerPoolRequest,WorkerPool,WorkerPool> updateWorkerPoolOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteWorkerPoolRequest,com.google.longrunning.Operation> deleteWorkerPoolSettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteWorkerPoolRequest,WorkerPool,WorkerPool> deleteWorkerPoolOperationSettings()
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.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
public WorkerPoolsSettings build() throws IOException
build in class com.google.api.gax.rpc.ClientSettings.Builder<WorkerPoolsSettings,WorkerPoolsSettings.Builder>IOExceptionCopyright © 2025 Google LLC. All rights reserved.