Class WorkloadManagerSettings.Builder (0.1.0)
public static class WorkloadManagerSettings.Builder extends ClientSettings.Builder<WorkloadManagerSettings,WorkloadManagerSettings.Builder>
Builder for WorkloadManagerSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(WorkloadManagerSettings settings)
protected Builder(WorkloadManagerSettings settings)
Builder(WorkloadManagerStubSettings.Builder stubSettings)
protected Builder(WorkloadManagerStubSettings.Builder stubSettings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public WorkloadManagerSettings.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.
build()
public WorkloadManagerSettings build()
Overrides
createEvaluationOperationSettings()
public OperationCallSettings.Builder<CreateEvaluationRequest,Evaluation,OperationMetadata> createEvaluationOperationSettings()
Returns the builder for the settings used for calls to createEvaluation.
createEvaluationSettings()
public UnaryCallSettings.Builder<CreateEvaluationRequest,Operation> createEvaluationSettings()
Returns the builder for the settings used for calls to createEvaluation.
deleteEvaluationOperationSettings()
public OperationCallSettings.Builder<DeleteEvaluationRequest,Empty,OperationMetadata> deleteEvaluationOperationSettings()
Returns the builder for the settings used for calls to deleteEvaluation.
deleteEvaluationSettings()
public UnaryCallSettings.Builder<DeleteEvaluationRequest,Operation> deleteEvaluationSettings()
Returns the builder for the settings used for calls to deleteEvaluation.
deleteExecutionOperationSettings()
public OperationCallSettings.Builder<DeleteExecutionRequest,Empty,OperationMetadata> deleteExecutionOperationSettings()
Returns the builder for the settings used for calls to deleteExecution.
deleteExecutionSettings()
public UnaryCallSettings.Builder<DeleteExecutionRequest,Operation> deleteExecutionSettings()
Returns the builder for the settings used for calls to deleteExecution.
getEvaluationSettings()
public UnaryCallSettings.Builder<GetEvaluationRequest,Evaluation> getEvaluationSettings()
Returns the builder for the settings used for calls to getEvaluation.
getExecutionSettings()
public UnaryCallSettings.Builder<GetExecutionRequest,Execution> getExecutionSettings()
Returns the builder for the settings used for calls to getExecution.
getLocationSettings()
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
| Returns |
| Type |
Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
getStubSettingsBuilder()
public WorkloadManagerStubSettings.Builder getStubSettingsBuilder()
listEvaluationsSettings()
public PagedCallSettings.Builder<ListEvaluationsRequest,ListEvaluationsResponse,WorkloadManagerClient.ListEvaluationsPagedResponse> listEvaluationsSettings()
Returns the builder for the settings used for calls to listEvaluations.
listExecutionResultsSettings()
public PagedCallSettings.Builder<ListExecutionResultsRequest,ListExecutionResultsResponse,WorkloadManagerClient.ListExecutionResultsPagedResponse> listExecutionResultsSettings()
Returns the builder for the settings used for calls to listExecutionResults.
listExecutionsSettings()
public PagedCallSettings.Builder<ListExecutionsRequest,ListExecutionsResponse,WorkloadManagerClient.ListExecutionsPagedResponse> listExecutionsSettings()
Returns the builder for the settings used for calls to listExecutions.
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,WorkloadManagerClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
listRulesSettings()
public UnaryCallSettings.Builder<ListRulesRequest,ListRulesResponse> listRulesSettings()
Returns the builder for the settings used for calls to listRules.
listScannedResourcesSettings()
public PagedCallSettings.Builder<ListScannedResourcesRequest,ListScannedResourcesResponse,WorkloadManagerClient.ListScannedResourcesPagedResponse> listScannedResourcesSettings()
Returns the builder for the settings used for calls to listScannedResources.
runEvaluationOperationSettings()
public OperationCallSettings.Builder<RunEvaluationRequest,Execution,OperationMetadata> runEvaluationOperationSettings()
Returns the builder for the settings used for calls to runEvaluation.
runEvaluationSettings()
public UnaryCallSettings.Builder<RunEvaluationRequest,Operation> runEvaluationSettings()
Returns the builder for the settings used for calls to runEvaluation.
updateEvaluationOperationSettings()
public OperationCallSettings.Builder<UpdateEvaluationRequest,Evaluation,OperationMetadata> updateEvaluationOperationSettings()
Returns the builder for the settings used for calls to updateEvaluation.
updateEvaluationSettings()
public UnaryCallSettings.Builder<UpdateEvaluationRequest,Operation> updateEvaluationSettings()
Returns the builder for the settings used for calls to updateEvaluation.
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 2026-02-21 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-02-21 UTC."],[],[]]