Class WorkerPoolsStubSettings.Builder (0.72.0)

public static class WorkerPoolsStubSettings.Builder extends StubSettings.Builder<WorkerPoolsStubSettings,WorkerPoolsStubSettings.Builder>

Builder for WorkerPoolsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > WorkerPoolsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(WorkerPoolsStubSettings settings)

protected Builder(WorkerPoolsStubSettings settings)
Parameter
Name Description
settings WorkerPoolsStubSettings

Methods

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

public WorkerPoolsStubSettings.Builder applyToAllUnaryMethods(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
WorkerPoolsStubSettings.Builder

build()

public WorkerPoolsStubSettings build()
Returns
Type Description
WorkerPoolsStubSettings
Overrides
Exceptions
Type Description
IOException

createWorkerPoolOperationSettings()

public OperationCallSettings.Builder<CreateWorkerPoolRequest,WorkerPool,WorkerPool> createWorkerPoolOperationSettings()

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

Returns
Type Description
Builder<CreateWorkerPoolRequest,WorkerPool,WorkerPool>

createWorkerPoolSettings()

public UnaryCallSettings.Builder<CreateWorkerPoolRequest,Operation> createWorkerPoolSettings()

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

Returns
Type Description
Builder<CreateWorkerPoolRequest,Operation>

deleteWorkerPoolOperationSettings()

public OperationCallSettings.Builder<DeleteWorkerPoolRequest,WorkerPool,WorkerPool> deleteWorkerPoolOperationSettings()

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

Returns
Type Description
Builder<DeleteWorkerPoolRequest,WorkerPool,WorkerPool>

deleteWorkerPoolSettings()

public UnaryCallSettings.Builder<DeleteWorkerPoolRequest,Operation> deleteWorkerPoolSettings()

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

Returns
Type Description
Builder<DeleteWorkerPoolRequest,Operation>

getIamPolicySettings()

public UnaryCallSettings.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>

getWorkerPoolSettings()

public UnaryCallSettings.Builder<GetWorkerPoolRequest,WorkerPool> getWorkerPoolSettings()

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

Returns
Type Description
Builder<GetWorkerPoolRequest,WorkerPool>

listWorkerPoolsSettings()

public PagedCallSettings.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()

public UnaryCallSettings.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()

public UnaryCallSettings.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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updateWorkerPoolOperationSettings()

public OperationCallSettings.Builder<UpdateWorkerPoolRequest,WorkerPool,WorkerPool> updateWorkerPoolOperationSettings()

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

Returns
Type Description
Builder<UpdateWorkerPoolRequest,WorkerPool,WorkerPool>

updateWorkerPoolSettings()

public UnaryCallSettings.Builder<UpdateWorkerPoolRequest,Operation> updateWorkerPoolSettings()

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

Returns
Type Description
Builder<UpdateWorkerPoolRequest,Operation>