Class WorkloadManagerStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<WorkloadManagerStubSettings,WorkloadManagerStubSettings.Builder>
com.google.cloud.workloadmanager.v1.stub.WorkloadManagerStubSettings.Builder
- Enclosing class:
- WorkloadManagerStubSettings
public static class WorkloadManagerStubSettings.Builder
extends StubSettings.Builder<WorkloadManagerStubSettings,WorkloadManagerStubSettings.Builder>
Builder for WorkloadManagerStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(WorkloadManagerStubSettings settings) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()Returns the builder for the settings used for calls to createEvaluation.Returns the builder for the settings used for calls to createEvaluation.OperationCallSettings.Builder<DeleteEvaluationRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteEvaluation.Returns the builder for the settings used for calls to deleteEvaluation.OperationCallSettings.Builder<DeleteExecutionRequest,com.google.protobuf.Empty, OperationMetadata> Returns the builder for the settings used for calls to deleteExecution.Returns the builder for the settings used for calls to deleteExecution.Returns the builder for the settings used for calls to getEvaluation.Returns the builder for the settings used for calls to getExecution.Returns the builder for the settings used for calls to getLocation.PagedCallSettings.Builder<ListEvaluationsRequest,ListEvaluationsResponse, WorkloadManagerClient.ListEvaluationsPagedResponse> Returns the builder for the settings used for calls to listEvaluations.PagedCallSettings.Builder<ListExecutionResultsRequest,ListExecutionResultsResponse, WorkloadManagerClient.ListExecutionResultsPagedResponse> Returns the builder for the settings used for calls to listExecutionResults.PagedCallSettings.Builder<ListExecutionsRequest,ListExecutionsResponse, WorkloadManagerClient.ListExecutionsPagedResponse> Returns the builder for the settings used for calls to listExecutions.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, WorkloadManagerClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.Returns the builder for the settings used for calls to listRules.PagedCallSettings.Builder<ListScannedResourcesRequest,ListScannedResourcesResponse, WorkloadManagerClient.ListScannedResourcesPagedResponse> Returns the builder for the settings used for calls to listScannedResources.Returns the builder for the settings used for calls to runEvaluation.Returns the builder for the settings used for calls to runEvaluation.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> Returns the builder for the settings used for calls to updateEvaluation.Returns the builder for the settings used for calls to updateEvaluation.Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public WorkloadManagerStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
listEvaluationsSettings
public PagedCallSettings.Builder<ListEvaluationsRequest,ListEvaluationsResponse, listEvaluationsSettings()WorkloadManagerClient.ListEvaluationsPagedResponse> Returns the builder for the settings used for calls to listEvaluations. -
getEvaluationSettings
Returns the builder for the settings used for calls to getEvaluation. -
createEvaluationSettings
Returns the builder for the settings used for calls to createEvaluation. -
createEvaluationOperationSettings
public OperationCallSettings.Builder<CreateEvaluationRequest,Evaluation, createEvaluationOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to createEvaluation. -
updateEvaluationSettings
Returns the builder for the settings used for calls to updateEvaluation. -
updateEvaluationOperationSettings
public OperationCallSettings.Builder<UpdateEvaluationRequest,Evaluation, updateEvaluationOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to updateEvaluation. -
deleteEvaluationSettings
Returns the builder for the settings used for calls to deleteEvaluation. -
deleteEvaluationOperationSettings
public OperationCallSettings.Builder<DeleteEvaluationRequest,com.google.protobuf.Empty, deleteEvaluationOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteEvaluation. -
listExecutionsSettings
public PagedCallSettings.Builder<ListExecutionsRequest,ListExecutionsResponse, listExecutionsSettings()WorkloadManagerClient.ListExecutionsPagedResponse> Returns the builder for the settings used for calls to listExecutions. -
getExecutionSettings
Returns the builder for the settings used for calls to getExecution. -
runEvaluationSettings
Returns the builder for the settings used for calls to runEvaluation. -
runEvaluationOperationSettings
public OperationCallSettings.Builder<RunEvaluationRequest,Execution, runEvaluationOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to runEvaluation. -
deleteExecutionSettings
Returns the builder for the settings used for calls to deleteExecution. -
deleteExecutionOperationSettings
public OperationCallSettings.Builder<DeleteExecutionRequest,com.google.protobuf.Empty, deleteExecutionOperationSettings()OperationMetadata> Returns the builder for the settings used for calls to deleteExecution. -
listExecutionResultsSettings
public PagedCallSettings.Builder<ListExecutionResultsRequest,ListExecutionResultsResponse, listExecutionResultsSettings()WorkloadManagerClient.ListExecutionResultsPagedResponse> Returns the builder for the settings used for calls to listExecutionResults. -
listRulesSettings
Returns the builder for the settings used for calls to listRules. -
listScannedResourcesSettings
public PagedCallSettings.Builder<ListScannedResourcesRequest,ListScannedResourcesResponse, listScannedResourcesSettings()WorkloadManagerClient.ListScannedResourcesPagedResponse> Returns the builder for the settings used for calls to listScannedResources. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()WorkloadManagerClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
build
- Specified by:
buildin classStubSettings.Builder<WorkloadManagerStubSettings,WorkloadManagerStubSettings.Builder> - Throws:
IOException
-