Class CloudBuildSettings.Builder (3.47.0)

public static class CloudBuildSettings.Builder extends ClientSettings.Builder<CloudBuildSettings,CloudBuildSettings.Builder>

Builder for CloudBuildSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > CloudBuildSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(CloudBuildSettings settings)

protected Builder(CloudBuildSettings settings)
Parameter
Name Description
settings CloudBuildSettings

Builder(CloudBuildStubSettings.Builder stubSettings)

protected Builder(CloudBuildStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings CloudBuildStubSettings.Builder

Methods

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

public CloudBuildSettings.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
CloudBuildSettings.Builder

approveBuildOperationSettings()

public OperationCallSettings.Builder<ApproveBuildRequest,Build,BuildOperationMetadata> approveBuildOperationSettings()

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

Returns
Type Description
Builder<ApproveBuildRequest,Build,BuildOperationMetadata>

approveBuildSettings()

public UnaryCallSettings.Builder<ApproveBuildRequest,Operation> approveBuildSettings()

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

Returns
Type Description
Builder<ApproveBuildRequest,Operation>

build()

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

cancelBuildSettings()

public UnaryCallSettings.Builder<CancelBuildRequest,Build> cancelBuildSettings()

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

Returns
Type Description
Builder<CancelBuildRequest,Build>

createBuildOperationSettings()

public OperationCallSettings.Builder<CreateBuildRequest,Build,BuildOperationMetadata> createBuildOperationSettings()

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

Returns
Type Description
Builder<CreateBuildRequest,Build,BuildOperationMetadata>

createBuildSettings()

public UnaryCallSettings.Builder<CreateBuildRequest,Operation> createBuildSettings()

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

Returns
Type Description
Builder<CreateBuildRequest,Operation>

createBuildTriggerSettings()

public UnaryCallSettings.Builder<CreateBuildTriggerRequest,BuildTrigger> createBuildTriggerSettings()

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

Returns
Type Description
Builder<CreateBuildTriggerRequest,BuildTrigger>

createWorkerPoolOperationSettings()

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

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

Returns
Type Description
Builder<CreateWorkerPoolRequest,WorkerPool,CreateWorkerPoolOperationMetadata>

createWorkerPoolSettings()

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

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

Returns
Type Description
Builder<CreateWorkerPoolRequest,Operation>

deleteBuildTriggerSettings()

public UnaryCallSettings.Builder<DeleteBuildTriggerRequest,Empty> deleteBuildTriggerSettings()

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

Returns
Type Description
Builder<DeleteBuildTriggerRequest,Empty>

deleteWorkerPoolOperationSettings()

public OperationCallSettings.Builder<DeleteWorkerPoolRequest,Empty,DeleteWorkerPoolOperationMetadata> deleteWorkerPoolOperationSettings()

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

Returns
Type Description
Builder<DeleteWorkerPoolRequest,Empty,DeleteWorkerPoolOperationMetadata>

deleteWorkerPoolSettings()

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

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

Returns
Type Description
Builder<DeleteWorkerPoolRequest,Operation>

getBuildSettings()

public UnaryCallSettings.Builder<GetBuildRequest,Build> getBuildSettings()

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

Returns
Type Description
Builder<GetBuildRequest,Build>

getBuildTriggerSettings()

public UnaryCallSettings.Builder<GetBuildTriggerRequest,BuildTrigger> getBuildTriggerSettings()

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

Returns
Type Description
Builder<GetBuildTriggerRequest,BuildTrigger>

getStubSettingsBuilder()

public CloudBuildStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
CloudBuildStubSettings.Builder

getWorkerPoolSettings()

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

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

Returns
Type Description
Builder<GetWorkerPoolRequest,WorkerPool>

listBuildTriggersSettings()

public PagedCallSettings.Builder<ListBuildTriggersRequest,ListBuildTriggersResponse,CloudBuildClient.ListBuildTriggersPagedResponse> listBuildTriggersSettings()

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

Returns
Type Description
Builder<ListBuildTriggersRequest,ListBuildTriggersResponse,ListBuildTriggersPagedResponse>

listBuildsSettings()

public PagedCallSettings.Builder<ListBuildsRequest,ListBuildsResponse,CloudBuildClient.ListBuildsPagedResponse> listBuildsSettings()

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

Returns
Type Description
Builder<ListBuildsRequest,ListBuildsResponse,ListBuildsPagedResponse>

listWorkerPoolsSettings()

public PagedCallSettings.Builder<ListWorkerPoolsRequest,ListWorkerPoolsResponse,CloudBuildClient.ListWorkerPoolsPagedResponse> listWorkerPoolsSettings()

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

Returns
Type Description
Builder<ListWorkerPoolsRequest,ListWorkerPoolsResponse,ListWorkerPoolsPagedResponse>

receiveTriggerWebhookSettings()

public UnaryCallSettings.Builder<ReceiveTriggerWebhookRequest,ReceiveTriggerWebhookResponse> receiveTriggerWebhookSettings()

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

Returns
Type Description
Builder<ReceiveTriggerWebhookRequest,ReceiveTriggerWebhookResponse>

retryBuildOperationSettings()

public OperationCallSettings.Builder<RetryBuildRequest,Build,BuildOperationMetadata> retryBuildOperationSettings()

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

Returns
Type Description
Builder<RetryBuildRequest,Build,BuildOperationMetadata>

retryBuildSettings()

public UnaryCallSettings.Builder<RetryBuildRequest,Operation> retryBuildSettings()

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

Returns
Type Description
Builder<RetryBuildRequest,Operation>

runBuildTriggerOperationSettings()

public OperationCallSettings.Builder<RunBuildTriggerRequest,Build,BuildOperationMetadata> runBuildTriggerOperationSettings()

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

Returns
Type Description
Builder<RunBuildTriggerRequest,Build,BuildOperationMetadata>

runBuildTriggerSettings()

public UnaryCallSettings.Builder<RunBuildTriggerRequest,Operation> runBuildTriggerSettings()

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

Returns
Type Description
Builder<RunBuildTriggerRequest,Operation>

updateBuildTriggerSettings()

public UnaryCallSettings.Builder<UpdateBuildTriggerRequest,BuildTrigger> updateBuildTriggerSettings()

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

Returns
Type Description
Builder<UpdateBuildTriggerRequest,BuildTrigger>

updateWorkerPoolOperationSettings()

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

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

Returns
Type Description
Builder<UpdateWorkerPoolRequest,WorkerPool,UpdateWorkerPoolOperationMetadata>

updateWorkerPoolSettings()

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

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

Returns
Type Description
Builder<UpdateWorkerPoolRequest,Operation>