Class HttpJsonCloudDeployStub (1.51.0)

public class HttpJsonCloudDeployStub extends CloudDeployStub

REST stub implementation for the CloudDeploy service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > CloudDeployStub > HttpJsonCloudDeployStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonCloudDeployStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonCloudDeployStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonCloudDeployStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonCloudDeployStub
Exceptions
Type Description
IOException

create(CloudDeployStubSettings settings)

public static final HttpJsonCloudDeployStub create(CloudDeployStubSettings settings)
Parameter
Name Description
settings CloudDeployStubSettings
Returns
Type Description
HttpJsonCloudDeployStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonCloudDeployStub(CloudDeployStubSettings settings, ClientContext clientContext)

protected HttpJsonCloudDeployStub(CloudDeployStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonCloudDeployStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings CloudDeployStubSettings
clientContext ClientContext

HttpJsonCloudDeployStub(CloudDeployStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonCloudDeployStub(CloudDeployStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonCloudDeployStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings CloudDeployStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

abandonReleaseCallable()

public UnaryCallable<AbandonReleaseRequest,AbandonReleaseResponse> abandonReleaseCallable()
Returns
Type Description
UnaryCallable<AbandonReleaseRequest,AbandonReleaseResponse>
Overrides

advanceRolloutCallable()

public UnaryCallable<AdvanceRolloutRequest,AdvanceRolloutResponse> advanceRolloutCallable()
Returns
Type Description
UnaryCallable<AdvanceRolloutRequest,AdvanceRolloutResponse>
Overrides

approveRolloutCallable()

public UnaryCallable<ApproveRolloutRequest,ApproveRolloutResponse> approveRolloutCallable()
Returns
Type Description
UnaryCallable<ApproveRolloutRequest,ApproveRolloutResponse>
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

cancelAutomationRunCallable()

public UnaryCallable<CancelAutomationRunRequest,CancelAutomationRunResponse> cancelAutomationRunCallable()
Returns
Type Description
UnaryCallable<CancelAutomationRunRequest,CancelAutomationRunResponse>
Overrides

cancelRolloutCallable()

public UnaryCallable<CancelRolloutRequest,CancelRolloutResponse> cancelRolloutCallable()
Returns
Type Description
UnaryCallable<CancelRolloutRequest,CancelRolloutResponse>
Overrides

close()

public final void close()
Overrides

createAutomationCallable()

public UnaryCallable<CreateAutomationRequest,Operation> createAutomationCallable()
Returns
Type Description
UnaryCallable<CreateAutomationRequest,Operation>
Overrides

createAutomationOperationCallable()

public OperationCallable<CreateAutomationRequest,Automation,OperationMetadata> createAutomationOperationCallable()
Returns
Type Description
OperationCallable<CreateAutomationRequest,Automation,OperationMetadata>
Overrides

createCustomTargetTypeCallable()

public UnaryCallable<CreateCustomTargetTypeRequest,Operation> createCustomTargetTypeCallable()
Returns
Type Description
UnaryCallable<CreateCustomTargetTypeRequest,Operation>
Overrides

createCustomTargetTypeOperationCallable()

public OperationCallable<CreateCustomTargetTypeRequest,CustomTargetType,OperationMetadata> createCustomTargetTypeOperationCallable()
Returns
Type Description
OperationCallable<CreateCustomTargetTypeRequest,CustomTargetType,OperationMetadata>
Overrides

createDeliveryPipelineCallable()

public UnaryCallable<CreateDeliveryPipelineRequest,Operation> createDeliveryPipelineCallable()
Returns
Type Description
UnaryCallable<CreateDeliveryPipelineRequest,Operation>
Overrides

createDeliveryPipelineOperationCallable()

public OperationCallable<CreateDeliveryPipelineRequest,DeliveryPipeline,OperationMetadata> createDeliveryPipelineOperationCallable()
Returns
Type Description
OperationCallable<CreateDeliveryPipelineRequest,DeliveryPipeline,OperationMetadata>
Overrides

createDeployPolicyCallable()

public UnaryCallable<CreateDeployPolicyRequest,Operation> createDeployPolicyCallable()
Returns
Type Description
UnaryCallable<CreateDeployPolicyRequest,Operation>
Overrides

createDeployPolicyOperationCallable()

public OperationCallable<CreateDeployPolicyRequest,DeployPolicy,OperationMetadata> createDeployPolicyOperationCallable()
Returns
Type Description
OperationCallable<CreateDeployPolicyRequest,DeployPolicy,OperationMetadata>
Overrides

createReleaseCallable()

public UnaryCallable<CreateReleaseRequest,Operation> createReleaseCallable()
Returns
Type Description
UnaryCallable<CreateReleaseRequest,Operation>
Overrides

createReleaseOperationCallable()

public OperationCallable<CreateReleaseRequest,Release,OperationMetadata> createReleaseOperationCallable()
Returns
Type Description
OperationCallable<CreateReleaseRequest,Release,OperationMetadata>
Overrides

createRolloutCallable()

public UnaryCallable<CreateRolloutRequest,Operation> createRolloutCallable()
Returns
Type Description
UnaryCallable<CreateRolloutRequest,Operation>
Overrides

createRolloutOperationCallable()

public OperationCallable<CreateRolloutRequest,Rollout,OperationMetadata> createRolloutOperationCallable()
Returns
Type Description
OperationCallable<CreateRolloutRequest,Rollout,OperationMetadata>
Overrides

createTargetCallable()

public UnaryCallable<CreateTargetRequest,Operation> createTargetCallable()
Returns
Type Description
UnaryCallable<CreateTargetRequest,Operation>
Overrides

createTargetOperationCallable()

public OperationCallable<CreateTargetRequest,Target,OperationMetadata> createTargetOperationCallable()
Returns
Type Description
OperationCallable<CreateTargetRequest,Target,OperationMetadata>
Overrides

deleteAutomationCallable()

public UnaryCallable<DeleteAutomationRequest,Operation> deleteAutomationCallable()
Returns
Type Description
UnaryCallable<DeleteAutomationRequest,Operation>
Overrides

deleteAutomationOperationCallable()

public OperationCallable<DeleteAutomationRequest,Empty,OperationMetadata> deleteAutomationOperationCallable()
Returns
Type Description
OperationCallable<DeleteAutomationRequest,Empty,OperationMetadata>
Overrides

deleteCustomTargetTypeCallable()

public UnaryCallable<DeleteCustomTargetTypeRequest,Operation> deleteCustomTargetTypeCallable()
Returns
Type Description
UnaryCallable<DeleteCustomTargetTypeRequest,Operation>
Overrides

deleteCustomTargetTypeOperationCallable()

public OperationCallable<DeleteCustomTargetTypeRequest,Empty,OperationMetadata> deleteCustomTargetTypeOperationCallable()
Returns
Type Description
OperationCallable<DeleteCustomTargetTypeRequest,Empty,OperationMetadata>
Overrides

deleteDeliveryPipelineCallable()

public UnaryCallable<DeleteDeliveryPipelineRequest,Operation> deleteDeliveryPipelineCallable()
Returns
Type Description
UnaryCallable<DeleteDeliveryPipelineRequest,Operation>
Overrides

deleteDeliveryPipelineOperationCallable()

public OperationCallable<DeleteDeliveryPipelineRequest,Empty,OperationMetadata> deleteDeliveryPipelineOperationCallable()
Returns
Type Description
OperationCallable<DeleteDeliveryPipelineRequest,Empty,OperationMetadata>
Overrides

deleteDeployPolicyCallable()

public UnaryCallable<DeleteDeployPolicyRequest,Operation> deleteDeployPolicyCallable()
Returns
Type Description
UnaryCallable<DeleteDeployPolicyRequest,Operation>
Overrides

deleteDeployPolicyOperationCallable()

public OperationCallable<DeleteDeployPolicyRequest,Empty,OperationMetadata> deleteDeployPolicyOperationCallable()
Returns
Type Description
OperationCallable<DeleteDeployPolicyRequest,Empty,OperationMetadata>
Overrides

deleteTargetCallable()

public UnaryCallable<DeleteTargetRequest,Operation> deleteTargetCallable()
Returns
Type Description
UnaryCallable<DeleteTargetRequest,Operation>
Overrides

deleteTargetOperationCallable()

public OperationCallable<DeleteTargetRequest,Empty,OperationMetadata> deleteTargetOperationCallable()
Returns
Type Description
OperationCallable<DeleteTargetRequest,Empty,OperationMetadata>
Overrides

getAutomationCallable()

public UnaryCallable<GetAutomationRequest,Automation> getAutomationCallable()
Returns
Type Description
UnaryCallable<GetAutomationRequest,Automation>
Overrides

getAutomationRunCallable()

public UnaryCallable<GetAutomationRunRequest,AutomationRun> getAutomationRunCallable()
Returns
Type Description
UnaryCallable<GetAutomationRunRequest,AutomationRun>
Overrides

getConfigCallable()

public UnaryCallable<GetConfigRequest,Config> getConfigCallable()
Returns
Type Description
UnaryCallable<GetConfigRequest,Config>
Overrides

getCustomTargetTypeCallable()

public UnaryCallable<GetCustomTargetTypeRequest,CustomTargetType> getCustomTargetTypeCallable()
Returns
Type Description
UnaryCallable<GetCustomTargetTypeRequest,CustomTargetType>
Overrides

getDeliveryPipelineCallable()

public UnaryCallable<GetDeliveryPipelineRequest,DeliveryPipeline> getDeliveryPipelineCallable()
Returns
Type Description
UnaryCallable<GetDeliveryPipelineRequest,DeliveryPipeline>
Overrides

getDeployPolicyCallable()

public UnaryCallable<GetDeployPolicyRequest,DeployPolicy> getDeployPolicyCallable()
Returns
Type Description
UnaryCallable<GetDeployPolicyRequest,DeployPolicy>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getJobRunCallable()

public UnaryCallable<GetJobRunRequest,JobRun> getJobRunCallable()
Returns
Type Description
UnaryCallable<GetJobRunRequest,JobRun>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getReleaseCallable()

public UnaryCallable<GetReleaseRequest,Release> getReleaseCallable()
Returns
Type Description
UnaryCallable<GetReleaseRequest,Release>
Overrides

getRolloutCallable()

public UnaryCallable<GetRolloutRequest,Rollout> getRolloutCallable()
Returns
Type Description
UnaryCallable<GetRolloutRequest,Rollout>
Overrides

getTargetCallable()

public UnaryCallable<GetTargetRequest,Target> getTargetCallable()
Returns
Type Description
UnaryCallable<GetTargetRequest,Target>
Overrides

ignoreJobCallable()

public UnaryCallable<IgnoreJobRequest,IgnoreJobResponse> ignoreJobCallable()
Returns
Type Description
UnaryCallable<IgnoreJobRequest,IgnoreJobResponse>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listAutomationRunsCallable()

public UnaryCallable<ListAutomationRunsRequest,ListAutomationRunsResponse> listAutomationRunsCallable()
Returns
Type Description
UnaryCallable<ListAutomationRunsRequest,ListAutomationRunsResponse>
Overrides

listAutomationRunsPagedCallable()

public UnaryCallable<ListAutomationRunsRequest,CloudDeployClient.ListAutomationRunsPagedResponse> listAutomationRunsPagedCallable()
Returns
Type Description
UnaryCallable<ListAutomationRunsRequest,ListAutomationRunsPagedResponse>
Overrides

listAutomationsCallable()

public UnaryCallable<ListAutomationsRequest,ListAutomationsResponse> listAutomationsCallable()
Returns
Type Description
UnaryCallable<ListAutomationsRequest,ListAutomationsResponse>
Overrides

listAutomationsPagedCallable()

public UnaryCallable<ListAutomationsRequest,CloudDeployClient.ListAutomationsPagedResponse> listAutomationsPagedCallable()
Returns
Type Description
UnaryCallable<ListAutomationsRequest,ListAutomationsPagedResponse>
Overrides

listCustomTargetTypesCallable()

public UnaryCallable<ListCustomTargetTypesRequest,ListCustomTargetTypesResponse> listCustomTargetTypesCallable()
Returns
Type Description
UnaryCallable<ListCustomTargetTypesRequest,ListCustomTargetTypesResponse>
Overrides

listCustomTargetTypesPagedCallable()

public UnaryCallable<ListCustomTargetTypesRequest,CloudDeployClient.ListCustomTargetTypesPagedResponse> listCustomTargetTypesPagedCallable()
Returns
Type Description
UnaryCallable<ListCustomTargetTypesRequest,ListCustomTargetTypesPagedResponse>
Overrides

listDeliveryPipelinesCallable()

public UnaryCallable<ListDeliveryPipelinesRequest,ListDeliveryPipelinesResponse> listDeliveryPipelinesCallable()
Returns
Type Description
UnaryCallable<ListDeliveryPipelinesRequest,ListDeliveryPipelinesResponse>
Overrides

listDeliveryPipelinesPagedCallable()

public UnaryCallable<ListDeliveryPipelinesRequest,CloudDeployClient.ListDeliveryPipelinesPagedResponse> listDeliveryPipelinesPagedCallable()
Returns
Type Description
UnaryCallable<ListDeliveryPipelinesRequest,ListDeliveryPipelinesPagedResponse>
Overrides

listDeployPoliciesCallable()

public UnaryCallable<ListDeployPoliciesRequest,ListDeployPoliciesResponse> listDeployPoliciesCallable()
Returns
Type Description
UnaryCallable<ListDeployPoliciesRequest,ListDeployPoliciesResponse>
Overrides

listDeployPoliciesPagedCallable()

public UnaryCallable<ListDeployPoliciesRequest,CloudDeployClient.ListDeployPoliciesPagedResponse> listDeployPoliciesPagedCallable()
Returns
Type Description
UnaryCallable<ListDeployPoliciesRequest,ListDeployPoliciesPagedResponse>
Overrides

listJobRunsCallable()

public UnaryCallable<ListJobRunsRequest,ListJobRunsResponse> listJobRunsCallable()
Returns
Type Description
UnaryCallable<ListJobRunsRequest,ListJobRunsResponse>
Overrides

listJobRunsPagedCallable()

public UnaryCallable<ListJobRunsRequest,CloudDeployClient.ListJobRunsPagedResponse> listJobRunsPagedCallable()
Returns
Type Description
UnaryCallable<ListJobRunsRequest,ListJobRunsPagedResponse>
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,CloudDeployClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listReleasesCallable()

public UnaryCallable<ListReleasesRequest,ListReleasesResponse> listReleasesCallable()
Returns
Type Description
UnaryCallable<ListReleasesRequest,ListReleasesResponse>
Overrides

listReleasesPagedCallable()

public UnaryCallable<ListReleasesRequest,CloudDeployClient.ListReleasesPagedResponse> listReleasesPagedCallable()
Returns
Type Description
UnaryCallable<ListReleasesRequest,ListReleasesPagedResponse>
Overrides

listRolloutsCallable()

public UnaryCallable<ListRolloutsRequest,ListRolloutsResponse> listRolloutsCallable()
Returns
Type Description
UnaryCallable<ListRolloutsRequest,ListRolloutsResponse>
Overrides

listRolloutsPagedCallable()

public UnaryCallable<ListRolloutsRequest,CloudDeployClient.ListRolloutsPagedResponse> listRolloutsPagedCallable()
Returns
Type Description
UnaryCallable<ListRolloutsRequest,ListRolloutsPagedResponse>
Overrides

listTargetsCallable()

public UnaryCallable<ListTargetsRequest,ListTargetsResponse> listTargetsCallable()
Returns
Type Description
UnaryCallable<ListTargetsRequest,ListTargetsResponse>
Overrides

listTargetsPagedCallable()

public UnaryCallable<ListTargetsRequest,CloudDeployClient.ListTargetsPagedResponse> listTargetsPagedCallable()
Returns
Type Description
UnaryCallable<ListTargetsRequest,ListTargetsPagedResponse>
Overrides

retryJobCallable()

public UnaryCallable<RetryJobRequest,RetryJobResponse> retryJobCallable()
Returns
Type Description
UnaryCallable<RetryJobRequest,RetryJobResponse>
Overrides

rollbackTargetCallable()

public UnaryCallable<RollbackTargetRequest,RollbackTargetResponse> rollbackTargetCallable()
Returns
Type Description
UnaryCallable<RollbackTargetRequest,RollbackTargetResponse>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

terminateJobRunCallable()

public UnaryCallable<TerminateJobRunRequest,TerminateJobRunResponse> terminateJobRunCallable()
Returns
Type Description
UnaryCallable<TerminateJobRunRequest,TerminateJobRunResponse>
Overrides

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateAutomationCallable()

public UnaryCallable<UpdateAutomationRequest,Operation> updateAutomationCallable()
Returns
Type Description
UnaryCallable<UpdateAutomationRequest,Operation>
Overrides

updateAutomationOperationCallable()

public OperationCallable<UpdateAutomationRequest,Automation,OperationMetadata> updateAutomationOperationCallable()
Returns
Type Description
OperationCallable<UpdateAutomationRequest,Automation,OperationMetadata>
Overrides

updateCustomTargetTypeCallable()

public UnaryCallable<UpdateCustomTargetTypeRequest,Operation> updateCustomTargetTypeCallable()
Returns
Type Description
UnaryCallable<UpdateCustomTargetTypeRequest,Operation>
Overrides

updateCustomTargetTypeOperationCallable()

public OperationCallable<UpdateCustomTargetTypeRequest,CustomTargetType,OperationMetadata> updateCustomTargetTypeOperationCallable()
Returns
Type Description
OperationCallable<UpdateCustomTargetTypeRequest,CustomTargetType,OperationMetadata>
Overrides

updateDeliveryPipelineCallable()

public UnaryCallable<UpdateDeliveryPipelineRequest,Operation> updateDeliveryPipelineCallable()
Returns
Type Description
UnaryCallable<UpdateDeliveryPipelineRequest,Operation>
Overrides

updateDeliveryPipelineOperationCallable()

public OperationCallable<UpdateDeliveryPipelineRequest,DeliveryPipeline,OperationMetadata> updateDeliveryPipelineOperationCallable()
Returns
Type Description
OperationCallable<UpdateDeliveryPipelineRequest,DeliveryPipeline,OperationMetadata>
Overrides

updateDeployPolicyCallable()

public UnaryCallable<UpdateDeployPolicyRequest,Operation> updateDeployPolicyCallable()
Returns
Type Description
UnaryCallable<UpdateDeployPolicyRequest,Operation>
Overrides

updateDeployPolicyOperationCallable()

public OperationCallable<UpdateDeployPolicyRequest,DeployPolicy,OperationMetadata> updateDeployPolicyOperationCallable()
Returns
Type Description
OperationCallable<UpdateDeployPolicyRequest,DeployPolicy,OperationMetadata>
Overrides

updateTargetCallable()

public UnaryCallable<UpdateTargetRequest,Operation> updateTargetCallable()
Returns
Type Description
UnaryCallable<UpdateTargetRequest,Operation>
Overrides

updateTargetOperationCallable()

public OperationCallable<UpdateTargetRequest,Target,OperationMetadata> updateTargetOperationCallable()
Returns
Type Description
OperationCallable<UpdateTargetRequest,Target,OperationMetadata>
Overrides