Class CloudBuildStubSettings.Builder (3.22.0)

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

Builder for CloudBuildStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > CloudBuildStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(CloudBuildStubSettings settings)

protected Builder(CloudBuildStubSettings settings)
Parameter
NameDescription
settingsCloudBuildStubSettings

Methods

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

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
CloudBuildStubSettings.Builder

approveBuildOperationSettings()

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

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

Returns
TypeDescription
Builder<ApproveBuildRequest,Build,BuildOperationMetadata>

approveBuildSettings()

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

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

Returns
TypeDescription
Builder<ApproveBuildRequest,Operation>

build()

public CloudBuildStubSettings build()
Returns
TypeDescription
CloudBuildStubSettings
Overrides
Exceptions
TypeDescription
IOException

cancelBuildSettings()

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

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

Returns
TypeDescription
Builder<CancelBuildRequest,Build>

createBuildOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateBuildRequest,Build,BuildOperationMetadata>

createBuildSettings()

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

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

Returns
TypeDescription
Builder<CreateBuildRequest,Operation>

createBuildTriggerSettings()

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

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

Returns
TypeDescription
Builder<CreateBuildTriggerRequest,BuildTrigger>

createWorkerPoolOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateWorkerPoolRequest,WorkerPool,CreateWorkerPoolOperationMetadata>

createWorkerPoolSettings()

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

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

Returns
TypeDescription
Builder<CreateWorkerPoolRequest,Operation>

deleteBuildTriggerSettings()

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

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

Returns
TypeDescription
Builder<DeleteBuildTriggerRequest,Empty>

deleteWorkerPoolOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteWorkerPoolRequest,Empty,DeleteWorkerPoolOperationMetadata>

deleteWorkerPoolSettings()

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

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

Returns
TypeDescription
Builder<DeleteWorkerPoolRequest,Operation>

getBuildSettings()

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

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

Returns
TypeDescription
Builder<GetBuildRequest,Build>

getBuildTriggerSettings()

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

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

Returns
TypeDescription
Builder<GetBuildTriggerRequest,BuildTrigger>

getWorkerPoolSettings()

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

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

Returns
TypeDescription
Builder<GetWorkerPoolRequest,WorkerPool>

listBuildTriggersSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListWorkerPoolsRequest,ListWorkerPoolsResponse,ListWorkerPoolsPagedResponse>

receiveTriggerWebhookSettings()

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

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

Returns
TypeDescription
Builder<ReceiveTriggerWebhookRequest,ReceiveTriggerWebhookResponse>

retryBuildOperationSettings()

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

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

Returns
TypeDescription
Builder<RetryBuildRequest,Build,BuildOperationMetadata>

retryBuildSettings()

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

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

Returns
TypeDescription
Builder<RetryBuildRequest,Operation>

runBuildTriggerOperationSettings()

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

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

Returns
TypeDescription
Builder<RunBuildTriggerRequest,Build,BuildOperationMetadata>

runBuildTriggerSettings()

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

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

Returns
TypeDescription
Builder<RunBuildTriggerRequest,Operation>

unaryMethodSettingsBuilders()

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

updateBuildTriggerSettings()

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

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

Returns
TypeDescription
Builder<UpdateBuildTriggerRequest,BuildTrigger>

updateWorkerPoolOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateWorkerPoolRequest,WorkerPool,UpdateWorkerPoolOperationMetadata>

updateWorkerPoolSettings()

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

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

Returns
TypeDescription
Builder<UpdateWorkerPoolRequest,Operation>