public static class CloudBuildStubSettings.Builder extends StubSettings.Builder<CloudBuildStubSettings,CloudBuildStubSettings.Builder>
Builder for CloudBuildStubSettings.
Constructors
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
protected Builder(CloudBuildStubSettings settings)
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.
public OperationCallSettings.Builder<ApproveBuildRequest,Build,BuildOperationMetadata> approveBuildOperationSettings()
Returns the builder for the settings used for calls to approveBuild.
public UnaryCallSettings.Builder<ApproveBuildRequest,Operation> approveBuildSettings()
Returns the builder for the settings used for calls to approveBuild.
public CloudBuildStubSettings build()
Overrides
public UnaryCallSettings.Builder<CancelBuildRequest,Build> cancelBuildSettings()
Returns the builder for the settings used for calls to cancelBuild.
public OperationCallSettings.Builder<CreateBuildRequest,Build,BuildOperationMetadata> createBuildOperationSettings()
Returns the builder for the settings used for calls to createBuild.
public UnaryCallSettings.Builder<CreateBuildRequest,Operation> createBuildSettings()
Returns the builder for the settings used for calls to createBuild.
public UnaryCallSettings.Builder<CreateBuildTriggerRequest,BuildTrigger> createBuildTriggerSettings()
Returns the builder for the settings used for calls to createBuildTrigger.
public OperationCallSettings.Builder<CreateWorkerPoolRequest,WorkerPool,CreateWorkerPoolOperationMetadata> createWorkerPoolOperationSettings()
Returns the builder for the settings used for calls to createWorkerPool.
public UnaryCallSettings.Builder<CreateWorkerPoolRequest,Operation> createWorkerPoolSettings()
Returns the builder for the settings used for calls to createWorkerPool.
public UnaryCallSettings.Builder<DeleteBuildTriggerRequest,Empty> deleteBuildTriggerSettings()
Returns the builder for the settings used for calls to deleteBuildTrigger.
public OperationCallSettings.Builder<DeleteWorkerPoolRequest,Empty,DeleteWorkerPoolOperationMetadata> deleteWorkerPoolOperationSettings()
Returns the builder for the settings used for calls to deleteWorkerPool.
public UnaryCallSettings.Builder<DeleteWorkerPoolRequest,Operation> deleteWorkerPoolSettings()
Returns the builder for the settings used for calls to deleteWorkerPool.
public UnaryCallSettings.Builder<GetBuildRequest,Build> getBuildSettings()
Returns the builder for the settings used for calls to getBuild.
public UnaryCallSettings.Builder<GetBuildTriggerRequest,BuildTrigger> getBuildTriggerSettings()
Returns the builder for the settings used for calls to getBuildTrigger.
public UnaryCallSettings.Builder<GetWorkerPoolRequest,WorkerPool> getWorkerPoolSettings()
Returns the builder for the settings used for calls to getWorkerPool.
public PagedCallSettings.Builder<ListBuildTriggersRequest,ListBuildTriggersResponse,CloudBuildClient.ListBuildTriggersPagedResponse> listBuildTriggersSettings()
Returns the builder for the settings used for calls to listBuildTriggers.
public PagedCallSettings.Builder<ListBuildsRequest,ListBuildsResponse,CloudBuildClient.ListBuildsPagedResponse> listBuildsSettings()
Returns the builder for the settings used for calls to listBuilds.
public PagedCallSettings.Builder<ListWorkerPoolsRequest,ListWorkerPoolsResponse,CloudBuildClient.ListWorkerPoolsPagedResponse> listWorkerPoolsSettings()
Returns the builder for the settings used for calls to listWorkerPools.
public UnaryCallSettings.Builder<ReceiveTriggerWebhookRequest,ReceiveTriggerWebhookResponse> receiveTriggerWebhookSettings()
Returns the builder for the settings used for calls to receiveTriggerWebhook.
public OperationCallSettings.Builder<RetryBuildRequest,Build,BuildOperationMetadata> retryBuildOperationSettings()
Returns the builder for the settings used for calls to retryBuild.
public UnaryCallSettings.Builder<RetryBuildRequest,Operation> retryBuildSettings()
Returns the builder for the settings used for calls to retryBuild.
public OperationCallSettings.Builder<RunBuildTriggerRequest,Build,BuildOperationMetadata> runBuildTriggerOperationSettings()
Returns the builder for the settings used for calls to runBuildTrigger.
public UnaryCallSettings.Builder<RunBuildTriggerRequest,Operation> runBuildTriggerSettings()
Returns the builder for the settings used for calls to runBuildTrigger.
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.
public OperationCallSettings.Builder<UpdateWorkerPoolRequest,WorkerPool,UpdateWorkerPoolOperationMetadata> updateWorkerPoolOperationSettings()
Returns the builder for the settings used for calls to updateWorkerPool.
public UnaryCallSettings.Builder<UpdateWorkerPoolRequest,Operation> updateWorkerPoolSettings()
Returns the builder for the settings used for calls to updateWorkerPool.