Class WorkerPoolsSettings.Builder (0.75.0)

publicstaticclass WorkerPoolsSettings.BuilderextendsClientSettings.Builder<WorkerPoolsSettings,WorkerPoolsSettings.Builder>

Builder for WorkerPoolsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > WorkerPoolsSettings.Builder

Inherited Members

Constructors

Builder()

protectedBuilder()

Builder(ClientContext clientContext)

protectedBuilder(ClientContextclientContext)
Parameter
Name Description
clientContext ClientContext

Builder(WorkerPoolsSettings settings)

protectedBuilder(WorkerPoolsSettingssettings)
Parameter
Name Description
settings WorkerPoolsSettings

Builder(WorkerPoolsStubSettings.Builder stubSettings)

protectedBuilder(WorkerPoolsStubSettings.BuilderstubSettings)
Parameter
Name Description
stubSettings WorkerPoolsStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

publicWorkerPoolsSettings.BuilderapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void>settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
WorkerPoolsSettings.Builder

build()

publicWorkerPoolsSettingsbuild()
Returns
Type Description
WorkerPoolsSettings
Overrides
Exceptions
Type Description
IOException

createWorkerPoolOperationSettings()

publicOperationCallSettings.Builder<CreateWorkerPoolRequest,WorkerPool,WorkerPool>createWorkerPoolOperationSettings()

Returns the builder for the settings used for calls to createWorkerPool.

Returns
Type Description
Builder<CreateWorkerPoolRequest,WorkerPool,WorkerPool>

createWorkerPoolSettings()

publicUnaryCallSettings.Builder<CreateWorkerPoolRequest,Operation>createWorkerPoolSettings()

Returns the builder for the settings used for calls to createWorkerPool.

Returns
Type Description
Builder<CreateWorkerPoolRequest,Operation>

deleteWorkerPoolOperationSettings()

publicOperationCallSettings.Builder<DeleteWorkerPoolRequest,WorkerPool,WorkerPool>deleteWorkerPoolOperationSettings()

Returns the builder for the settings used for calls to deleteWorkerPool.

Returns
Type Description
Builder<DeleteWorkerPoolRequest,WorkerPool,WorkerPool>

deleteWorkerPoolSettings()

publicUnaryCallSettings.Builder<DeleteWorkerPoolRequest,Operation>deleteWorkerPoolSettings()

Returns the builder for the settings used for calls to deleteWorkerPool.

Returns
Type Description
Builder<DeleteWorkerPoolRequest,Operation>

getIamPolicySettings()

publicUnaryCallSettings.Builder<GetIamPolicyRequest,Policy>getIamPolicySettings()

Returns the builder for the settings used for calls to getIamPolicy.

Returns
Type Description
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getStubSettingsBuilder()

publicWorkerPoolsStubSettings.BuildergetStubSettingsBuilder()
Returns
Type Description
WorkerPoolsStubSettings.Builder

getWorkerPoolSettings()

publicUnaryCallSettings.Builder<GetWorkerPoolRequest,WorkerPool>getWorkerPoolSettings()

Returns the builder for the settings used for calls to getWorkerPool.

Returns
Type Description
Builder<GetWorkerPoolRequest,WorkerPool>

listWorkerPoolsSettings()

publicPagedCallSettings.Builder<ListWorkerPoolsRequest,ListWorkerPoolsResponse,WorkerPoolsClient.ListWorkerPoolsPagedResponse>listWorkerPoolsSettings()

Returns the builder for the settings used for calls to listWorkerPools.

Returns
Type Description
Builder<ListWorkerPoolsRequest,ListWorkerPoolsResponse,ListWorkerPoolsPagedResponse>

setIamPolicySettings()

publicUnaryCallSettings.Builder<SetIamPolicyRequest,Policy>setIamPolicySettings()

Returns the builder for the settings used for calls to setIamPolicy.

Returns
Type Description
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

publicUnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse>testIamPermissionsSettings()

Returns the builder for the settings used for calls to testIamPermissions.

Returns
Type Description
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updateWorkerPoolOperationSettings()

publicOperationCallSettings.Builder<UpdateWorkerPoolRequest,WorkerPool,WorkerPool>updateWorkerPoolOperationSettings()

Returns the builder for the settings used for calls to updateWorkerPool.

Returns
Type Description
Builder<UpdateWorkerPoolRequest,WorkerPool,WorkerPool>

updateWorkerPoolSettings()

publicUnaryCallSettings.Builder<UpdateWorkerPoolRequest,Operation>updateWorkerPoolSettings()

Returns the builder for the settings used for calls to updateWorkerPool.

Returns
Type Description
Builder<UpdateWorkerPoolRequest,Operation>

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.