Class CloudDeploySettings.Builder (1.3.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
NameDescription
clientContextClientContext

Builder(CloudDeploySettings settings)

protected Builder(CloudDeploySettings settings)
Parameter
NameDescription
settingsCloudDeploySettings

Builder(CloudDeployStubSettings.Builder stubSettings)

protected Builder(CloudDeployStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsCloudDeployStubSettings.Builder

Methods

abandonReleaseSettings()

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

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

Returns
TypeDescription
Builder<AbandonReleaseRequest,AbandonReleaseResponse>

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

approveRolloutSettings()

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

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

Returns
TypeDescription
Builder<ApproveRolloutRequest,ApproveRolloutResponse>

build()

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

createDeliveryPipelineOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateDeliveryPipelineRequest,DeliveryPipeline,OperationMetadata>

createDeliveryPipelineSettings()

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

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

Returns
TypeDescription
Builder<CreateDeliveryPipelineRequest,Operation>

createReleaseOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateReleaseRequest,Release,OperationMetadata>

createReleaseSettings()

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

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

Returns
TypeDescription
Builder<CreateReleaseRequest,Operation>

createRolloutOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateRolloutRequest,Rollout,OperationMetadata>

createRolloutSettings()

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

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

Returns
TypeDescription
Builder<CreateRolloutRequest,Operation>

createTargetOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateTargetRequest,Target,OperationMetadata>

createTargetSettings()

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

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

Returns
TypeDescription
Builder<CreateTargetRequest,Operation>

deleteDeliveryPipelineOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteDeliveryPipelineRequest,Empty,OperationMetadata>

deleteDeliveryPipelineSettings()

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

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

Returns
TypeDescription
Builder<DeleteDeliveryPipelineRequest,Operation>

deleteTargetOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteTargetRequest,Empty,OperationMetadata>

deleteTargetSettings()

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

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

Returns
TypeDescription
Builder<DeleteTargetRequest,Operation>

getConfigSettings()

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

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

Returns
TypeDescription
Builder<GetConfigRequest,Config>

getDeliveryPipelineSettings()

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

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

Returns
TypeDescription
Builder<GetDeliveryPipelineRequest,DeliveryPipeline>

getIamPolicySettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<GetJobRunRequest,JobRun>

getLocationSettings()

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

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

Returns
TypeDescription
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
TypeDescription
Builder<GetReleaseRequest,Release>

getRolloutSettings()

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

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

Returns
TypeDescription
Builder<GetRolloutRequest,Rollout>

getStubSettingsBuilder()

public CloudDeployStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
CloudDeployStubSettings.Builder

getTargetSettings()

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

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

Returns
TypeDescription
Builder<GetTargetRequest,Target>

listDeliveryPipelinesSettings()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Builder<ListTargetsRequest,ListTargetsResponse,ListTargetsPagedResponse>

retryJobSettings()

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

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

Returns
TypeDescription
Builder<RetryJobRequest,RetryJobResponse>

setIamPolicySettings()

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

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

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

testIamPermissionsSettings()

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

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

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

updateDeliveryPipelineOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateDeliveryPipelineRequest,DeliveryPipeline,OperationMetadata>

updateDeliveryPipelineSettings()

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

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

Returns
TypeDescription
Builder<UpdateDeliveryPipelineRequest,Operation>

updateTargetOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateTargetRequest,Target,OperationMetadata>

updateTargetSettings()

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

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

Returns
TypeDescription
Builder<UpdateTargetRequest,Operation>