Class CloudDeploySettings.Builder (1.42.0)

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

Builder for CloudDeploySettings.

Inheritance

java.lang.Object > ClientSettings.Builder > CloudDeploySettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(CloudDeploySettings settings)

protected Builder(CloudDeploySettings settings)
Parameter
Name Description
settings CloudDeploySettings

Builder(CloudDeployStubSettings.Builder stubSettings)

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

Methods

abandonReleaseSettings()

public UnaryCallSettings.Builder<AbandonReleaseRequest,AbandonReleaseResponse> abandonReleaseSettings()

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

Returns
Type Description
Builder<AbandonReleaseRequest,AbandonReleaseResponse>

advanceRolloutSettings()

public UnaryCallSettings.Builder<AdvanceRolloutRequest,AdvanceRolloutResponse> advanceRolloutSettings()

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

Returns
Type Description
Builder<AdvanceRolloutRequest,AdvanceRolloutResponse>

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

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

approveRolloutSettings()

public UnaryCallSettings.Builder<ApproveRolloutRequest,ApproveRolloutResponse> approveRolloutSettings()

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

Returns
Type Description
Builder<ApproveRolloutRequest,ApproveRolloutResponse>

build()

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

cancelAutomationRunSettings()

public UnaryCallSettings.Builder<CancelAutomationRunRequest,CancelAutomationRunResponse> cancelAutomationRunSettings()

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

Returns
Type Description
Builder<CancelAutomationRunRequest,CancelAutomationRunResponse>

cancelRolloutSettings()

public UnaryCallSettings.Builder<CancelRolloutRequest,CancelRolloutResponse> cancelRolloutSettings()

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

Returns
Type Description
Builder<CancelRolloutRequest,CancelRolloutResponse>

createAutomationOperationSettings()

public OperationCallSettings.Builder<CreateAutomationRequest,Automation,OperationMetadata> createAutomationOperationSettings()

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

Returns
Type Description
Builder<CreateAutomationRequest,Automation,OperationMetadata>

createAutomationSettings()

public UnaryCallSettings.Builder<CreateAutomationRequest,Operation> createAutomationSettings()

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

Returns
Type Description
Builder<CreateAutomationRequest,Operation>

createCustomTargetTypeOperationSettings()

public OperationCallSettings.Builder<CreateCustomTargetTypeRequest,CustomTargetType,OperationMetadata> createCustomTargetTypeOperationSettings()

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

Returns
Type Description
Builder<CreateCustomTargetTypeRequest,CustomTargetType,OperationMetadata>

createCustomTargetTypeSettings()

public UnaryCallSettings.Builder<CreateCustomTargetTypeRequest,Operation> createCustomTargetTypeSettings()

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

Returns
Type Description
Builder<CreateCustomTargetTypeRequest,Operation>

createDeliveryPipelineOperationSettings()

public OperationCallSettings.Builder<CreateDeliveryPipelineRequest,DeliveryPipeline,OperationMetadata> createDeliveryPipelineOperationSettings()

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

Returns
Type Description
Builder<CreateDeliveryPipelineRequest,DeliveryPipeline,OperationMetadata>

createDeliveryPipelineSettings()

public UnaryCallSettings.Builder<CreateDeliveryPipelineRequest,Operation> createDeliveryPipelineSettings()

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

Returns
Type Description
Builder<CreateDeliveryPipelineRequest,Operation>

createReleaseOperationSettings()

public OperationCallSettings.Builder<CreateReleaseRequest,Release,OperationMetadata> createReleaseOperationSettings()

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

Returns
Type Description
Builder<CreateReleaseRequest,Release,OperationMetadata>

createReleaseSettings()

public UnaryCallSettings.Builder<CreateReleaseRequest,Operation> createReleaseSettings()

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

Returns
Type Description
Builder<CreateReleaseRequest,Operation>

createRolloutOperationSettings()

public OperationCallSettings.Builder<CreateRolloutRequest,Rollout,OperationMetadata> createRolloutOperationSettings()

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

Returns
Type Description
Builder<CreateRolloutRequest,Rollout,OperationMetadata>

createRolloutSettings()

public UnaryCallSettings.Builder<CreateRolloutRequest,Operation> createRolloutSettings()

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

Returns
Type Description
Builder<CreateRolloutRequest,Operation>

createTargetOperationSettings()

public OperationCallSettings.Builder<CreateTargetRequest,Target,OperationMetadata> createTargetOperationSettings()

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

Returns
Type Description
Builder<CreateTargetRequest,Target,OperationMetadata>

createTargetSettings()

public UnaryCallSettings.Builder<CreateTargetRequest,Operation> createTargetSettings()

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

Returns
Type Description
Builder<CreateTargetRequest,Operation>

deleteAutomationOperationSettings()

public OperationCallSettings.Builder<DeleteAutomationRequest,Empty,OperationMetadata> deleteAutomationOperationSettings()

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

Returns
Type Description
Builder<DeleteAutomationRequest,Empty,OperationMetadata>

deleteAutomationSettings()

public UnaryCallSettings.Builder<DeleteAutomationRequest,Operation> deleteAutomationSettings()

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

Returns
Type Description
Builder<DeleteAutomationRequest,Operation>

deleteCustomTargetTypeOperationSettings()

public OperationCallSettings.Builder<DeleteCustomTargetTypeRequest,Empty,OperationMetadata> deleteCustomTargetTypeOperationSettings()

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

Returns
Type Description
Builder<DeleteCustomTargetTypeRequest,Empty,OperationMetadata>

deleteCustomTargetTypeSettings()

public UnaryCallSettings.Builder<DeleteCustomTargetTypeRequest,Operation> deleteCustomTargetTypeSettings()

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

Returns
Type Description
Builder<DeleteCustomTargetTypeRequest,Operation>

deleteDeliveryPipelineOperationSettings()

public OperationCallSettings.Builder<DeleteDeliveryPipelineRequest,Empty,OperationMetadata> deleteDeliveryPipelineOperationSettings()

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

Returns
Type Description
Builder<DeleteDeliveryPipelineRequest,Empty,OperationMetadata>

deleteDeliveryPipelineSettings()

public UnaryCallSettings.Builder<DeleteDeliveryPipelineRequest,Operation> deleteDeliveryPipelineSettings()

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

Returns
Type Description
Builder<DeleteDeliveryPipelineRequest,Operation>

deleteTargetOperationSettings()

public OperationCallSettings.Builder<DeleteTargetRequest,Empty,OperationMetadata> deleteTargetOperationSettings()

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

Returns
Type Description
Builder<DeleteTargetRequest,Empty,OperationMetadata>

deleteTargetSettings()

public UnaryCallSettings.Builder<DeleteTargetRequest,Operation> deleteTargetSettings()

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

Returns
Type Description
Builder<DeleteTargetRequest,Operation>

getAutomationRunSettings()

public UnaryCallSettings.Builder<GetAutomationRunRequest,AutomationRun> getAutomationRunSettings()

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

Returns
Type Description
Builder<GetAutomationRunRequest,AutomationRun>

getAutomationSettings()

public UnaryCallSettings.Builder<GetAutomationRequest,Automation> getAutomationSettings()

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

Returns
Type Description
Builder<GetAutomationRequest,Automation>

getConfigSettings()

public UnaryCallSettings.Builder<GetConfigRequest,Config> getConfigSettings()

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

Returns
Type Description
Builder<GetConfigRequest,Config>

getCustomTargetTypeSettings()

public UnaryCallSettings.Builder<GetCustomTargetTypeRequest,CustomTargetType> getCustomTargetTypeSettings()

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

Returns
Type Description
Builder<GetCustomTargetTypeRequest,CustomTargetType>

getDeliveryPipelineSettings()

public UnaryCallSettings.Builder<GetDeliveryPipelineRequest,DeliveryPipeline> getDeliveryPipelineSettings()

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

Returns
Type Description
Builder<GetDeliveryPipelineRequest,DeliveryPipeline>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getJobRunSettings()

public UnaryCallSettings.Builder<GetJobRunRequest,JobRun> getJobRunSettings()

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

Returns
Type Description
Builder<GetJobRunRequest,JobRun>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getReleaseSettings()

public UnaryCallSettings.Builder<GetReleaseRequest,Release> getReleaseSettings()

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

Returns
Type Description
Builder<GetReleaseRequest,Release>

getRolloutSettings()

public UnaryCallSettings.Builder<GetRolloutRequest,Rollout> getRolloutSettings()

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

Returns
Type Description
Builder<GetRolloutRequest,Rollout>

getStubSettingsBuilder()

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

getTargetSettings()

public UnaryCallSettings.Builder<GetTargetRequest,Target> getTargetSettings()

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

Returns
Type Description
Builder<GetTargetRequest,Target>

ignoreJobSettings()

public UnaryCallSettings.Builder<IgnoreJobRequest,IgnoreJobResponse> ignoreJobSettings()

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

Returns
Type Description
Builder<IgnoreJobRequest,IgnoreJobResponse>

listAutomationRunsSettings()

public PagedCallSettings.Builder<ListAutomationRunsRequest,ListAutomationRunsResponse,CloudDeployClient.ListAutomationRunsPagedResponse> listAutomationRunsSettings()

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

Returns
Type Description
Builder<ListAutomationRunsRequest,ListAutomationRunsResponse,ListAutomationRunsPagedResponse>

listAutomationsSettings()

public PagedCallSettings.Builder<ListAutomationsRequest,ListAutomationsResponse,CloudDeployClient.ListAutomationsPagedResponse> listAutomationsSettings()

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

Returns
Type Description
Builder<ListAutomationsRequest,ListAutomationsResponse,ListAutomationsPagedResponse>

listCustomTargetTypesSettings()

public PagedCallSettings.Builder<ListCustomTargetTypesRequest,ListCustomTargetTypesResponse,CloudDeployClient.ListCustomTargetTypesPagedResponse> listCustomTargetTypesSettings()

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

Returns
Type Description
Builder<ListCustomTargetTypesRequest,ListCustomTargetTypesResponse,ListCustomTargetTypesPagedResponse>

listDeliveryPipelinesSettings()

public PagedCallSettings.Builder<ListDeliveryPipelinesRequest,ListDeliveryPipelinesResponse,CloudDeployClient.ListDeliveryPipelinesPagedResponse> listDeliveryPipelinesSettings()

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

Returns
Type Description
Builder<ListDeliveryPipelinesRequest,ListDeliveryPipelinesResponse,ListDeliveryPipelinesPagedResponse>

listJobRunsSettings()

public PagedCallSettings.Builder<ListJobRunsRequest,ListJobRunsResponse,CloudDeployClient.ListJobRunsPagedResponse> listJobRunsSettings()

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

Returns
Type Description
Builder<ListJobRunsRequest,ListJobRunsResponse,ListJobRunsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,CloudDeployClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

listReleasesSettings()

public PagedCallSettings.Builder<ListReleasesRequest,ListReleasesResponse,CloudDeployClient.ListReleasesPagedResponse> listReleasesSettings()

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

Returns
Type Description
Builder<ListReleasesRequest,ListReleasesResponse,ListReleasesPagedResponse>

listRolloutsSettings()

public PagedCallSettings.Builder<ListRolloutsRequest,ListRolloutsResponse,CloudDeployClient.ListRolloutsPagedResponse> listRolloutsSettings()

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

Returns
Type Description
Builder<ListRolloutsRequest,ListRolloutsResponse,ListRolloutsPagedResponse>

listTargetsSettings()

public PagedCallSettings.Builder<ListTargetsRequest,ListTargetsResponse,CloudDeployClient.ListTargetsPagedResponse> listTargetsSettings()

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

Returns
Type Description
Builder<ListTargetsRequest,ListTargetsResponse,ListTargetsPagedResponse>

retryJobSettings()

public UnaryCallSettings.Builder<RetryJobRequest,RetryJobResponse> retryJobSettings()

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

Returns
Type Description
Builder<RetryJobRequest,RetryJobResponse>

rollbackTargetSettings()

public UnaryCallSettings.Builder<RollbackTargetRequest,RollbackTargetResponse> rollbackTargetSettings()

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

Returns
Type Description
Builder<RollbackTargetRequest,RollbackTargetResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
Type Description
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

terminateJobRunSettings()

public UnaryCallSettings.Builder<TerminateJobRunRequest,TerminateJobRunResponse> terminateJobRunSettings()

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

Returns
Type Description
Builder<TerminateJobRunRequest,TerminateJobRunResponse>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

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

Returns
Type Description
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

updateAutomationOperationSettings()

public OperationCallSettings.Builder<UpdateAutomationRequest,Automation,OperationMetadata> updateAutomationOperationSettings()

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

Returns
Type Description
Builder<UpdateAutomationRequest,Automation,OperationMetadata>

updateAutomationSettings()

public UnaryCallSettings.Builder<UpdateAutomationRequest,Operation> updateAutomationSettings()

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

Returns
Type Description
Builder<UpdateAutomationRequest,Operation>

updateCustomTargetTypeOperationSettings()

public OperationCallSettings.Builder<UpdateCustomTargetTypeRequest,CustomTargetType,OperationMetadata> updateCustomTargetTypeOperationSettings()

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

Returns
Type Description
Builder<UpdateCustomTargetTypeRequest,CustomTargetType,OperationMetadata>

updateCustomTargetTypeSettings()

public UnaryCallSettings.Builder<UpdateCustomTargetTypeRequest,Operation> updateCustomTargetTypeSettings()

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

Returns
Type Description
Builder<UpdateCustomTargetTypeRequest,Operation>

updateDeliveryPipelineOperationSettings()

public OperationCallSettings.Builder<UpdateDeliveryPipelineRequest,DeliveryPipeline,OperationMetadata> updateDeliveryPipelineOperationSettings()

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

Returns
Type Description
Builder<UpdateDeliveryPipelineRequest,DeliveryPipeline,OperationMetadata>

updateDeliveryPipelineSettings()

public UnaryCallSettings.Builder<UpdateDeliveryPipelineRequest,Operation> updateDeliveryPipelineSettings()

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

Returns
Type Description
Builder<UpdateDeliveryPipelineRequest,Operation>

updateTargetOperationSettings()

public OperationCallSettings.Builder<UpdateTargetRequest,Target,OperationMetadata> updateTargetOperationSettings()

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

Returns
Type Description
Builder<UpdateTargetRequest,Target,OperationMetadata>

updateTargetSettings()

public UnaryCallSettings.Builder<UpdateTargetRequest,Operation> updateTargetSettings()

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

Returns
Type Description
Builder<UpdateTargetRequest,Operation>