Send feedback
Class CloudBuildStubSettings.Builder (3.5.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.5.1 keyboard_arrow_down
public static class CloudBuildStubSettings . Builder extends StubSettings . Builder<CloudBuildStubSettings , CloudBuildStubSettings . Builder >
Builder for CloudBuildStubSettings.
Constructors
Builder(ClientContext clientContext)
protected Builder ( ClientContext clientContext )
Parameter
protected Builder ( CloudBuildStubSettings settings )
Parameter
Methods
public CloudBuildStubSettings . 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
Returns
public OperationCallSettings . Builder<ApproveBuildRequest , Build , BuildOperationMetadata > approveBuildOperationSettings ()
Returns the builder for the settings used for calls to approveBuild.
Returns
public UnaryCallSettings . Builder<ApproveBuildRequest , Operation > approveBuildSettings ()
Returns the builder for the settings used for calls to approveBuild.
Returns
public CloudBuildStubSettings build ()
Returns
Overrides
Exceptions
public UnaryCallSettings . Builder<CancelBuildRequest , Build > cancelBuildSettings ()
Returns the builder for the settings used for calls to cancelBuild.
Returns
public OperationCallSettings . Builder<CreateBuildRequest , Build , BuildOperationMetadata > createBuildOperationSettings ()
Returns the builder for the settings used for calls to createBuild.
Returns
public UnaryCallSettings . Builder<CreateBuildRequest , Operation > createBuildSettings ()
Returns the builder for the settings used for calls to createBuild.
Returns
public UnaryCallSettings . Builder<CreateBuildTriggerRequest , BuildTrigger > createBuildTriggerSettings ()
Returns the builder for the settings used for calls to createBuildTrigger.
Returns
public OperationCallSettings . Builder<CreateWorkerPoolRequest , WorkerPool , CreateWorkerPoolOperationMetadata > createWorkerPoolOperationSettings ()
Returns the builder for the settings used for calls to createWorkerPool.
Returns
public UnaryCallSettings . Builder<CreateWorkerPoolRequest , Operation > createWorkerPoolSettings ()
Returns the builder for the settings used for calls to createWorkerPool.
Returns
public UnaryCallSettings . Builder<DeleteBuildTriggerRequest , Empty > deleteBuildTriggerSettings ()
Returns the builder for the settings used for calls to deleteBuildTrigger.
Returns
public OperationCallSettings . Builder<DeleteWorkerPoolRequest , Empty , DeleteWorkerPoolOperationMetadata > deleteWorkerPoolOperationSettings ()
Returns the builder for the settings used for calls to deleteWorkerPool.
Returns
public UnaryCallSettings . Builder<DeleteWorkerPoolRequest , Operation > deleteWorkerPoolSettings ()
Returns the builder for the settings used for calls to deleteWorkerPool.
Returns
public UnaryCallSettings . Builder<GetBuildRequest , Build > getBuildSettings ()
Returns the builder for the settings used for calls to getBuild.
Returns
public UnaryCallSettings . Builder<GetBuildTriggerRequest , BuildTrigger > getBuildTriggerSettings ()
Returns the builder for the settings used for calls to getBuildTrigger.
Returns
public UnaryCallSettings . Builder<GetWorkerPoolRequest , WorkerPool > getWorkerPoolSettings ()
Returns the builder for the settings used for calls to getWorkerPool.
Returns
public PagedCallSettings . Builder<ListBuildTriggersRequest , ListBuildTriggersResponse , CloudBuildClient . ListBuildTriggersPagedResponse > listBuildTriggersSettings ()
Returns the builder for the settings used for calls to listBuildTriggers.
Returns
public PagedCallSettings . Builder<ListBuildsRequest , ListBuildsResponse , CloudBuildClient . ListBuildsPagedResponse > listBuildsSettings ()
Returns the builder for the settings used for calls to listBuilds.
Returns
public PagedCallSettings . Builder<ListWorkerPoolsRequest , ListWorkerPoolsResponse , CloudBuildClient . ListWorkerPoolsPagedResponse > listWorkerPoolsSettings ()
Returns the builder for the settings used for calls to listWorkerPools.
Returns
public UnaryCallSettings . Builder<ReceiveTriggerWebhookRequest , ReceiveTriggerWebhookResponse > receiveTriggerWebhookSettings ()
Returns the builder for the settings used for calls to receiveTriggerWebhook.
Returns
public OperationCallSettings . Builder<RetryBuildRequest , Build , BuildOperationMetadata > retryBuildOperationSettings ()
Returns the builder for the settings used for calls to retryBuild.
Returns
public UnaryCallSettings . Builder<RetryBuildRequest , Operation > retryBuildSettings ()
Returns the builder for the settings used for calls to retryBuild.
Returns
public OperationCallSettings . Builder<RunBuildTriggerRequest , Build , BuildOperationMetadata > runBuildTriggerOperationSettings ()
Returns the builder for the settings used for calls to runBuildTrigger.
Returns
public UnaryCallSettings . Builder<RunBuildTriggerRequest , Operation > runBuildTriggerSettings ()
Returns the builder for the settings used for calls to runBuildTrigger.
Returns
public ImmutableList<UnaryCallSettings . Builder <? , ? >> unaryMethodSettingsBuilders ()
Returns
Type Description com.google.common.collect.ImmutableList <Builder <? ,? >>
public UnaryCallSettings . Builder<UpdateBuildTriggerRequest , BuildTrigger > updateBuildTriggerSettings ()
Returns the builder for the settings used for calls to updateBuildTrigger.
Returns
public OperationCallSettings . Builder<UpdateWorkerPoolRequest , WorkerPool , UpdateWorkerPoolOperationMetadata > updateWorkerPoolOperationSettings ()
Returns the builder for the settings used for calls to updateWorkerPool.
Returns
public UnaryCallSettings . Builder<UpdateWorkerPoolRequest , Operation > updateWorkerPoolSettings ()
Returns the builder for the settings used for calls to updateWorkerPool.
Returns
Send feedback
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-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]