Class HttpJsonCloudDeployStub (1.33.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
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonCloudDeployStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonCloudDeployStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonCloudDeployStub
Exceptions
TypeDescription
IOException

create(CloudDeployStubSettings settings)

public static final HttpJsonCloudDeployStub create(CloudDeployStubSettings settings)
Parameter
NameDescription
settingsCloudDeployStubSettings
Returns
TypeDescription
HttpJsonCloudDeployStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsCloudDeployStubSettings
clientContextClientContext

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
NameDescription
settingsCloudDeployStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

abandonReleaseCallable()

public UnaryCallable<AbandonReleaseRequest,AbandonReleaseResponse> abandonReleaseCallable()
Overrides

advanceRolloutCallable()

public UnaryCallable<AdvanceRolloutRequest,AdvanceRolloutResponse> advanceRolloutCallable()
Overrides

approveRolloutCallable()

public UnaryCallable<ApproveRolloutRequest,ApproveRolloutResponse> approveRolloutCallable()
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

cancelAutomationRunCallable()

public UnaryCallable<CancelAutomationRunRequest,CancelAutomationRunResponse> cancelAutomationRunCallable()
Overrides

cancelRolloutCallable()

public UnaryCallable<CancelRolloutRequest,CancelRolloutResponse> cancelRolloutCallable()
Overrides

close()

public final void close()
Overrides

createAutomationCallable()

public UnaryCallable<CreateAutomationRequest,Operation> createAutomationCallable()
Overrides

createAutomationOperationCallable()

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

createCustomTargetTypeCallable()

public UnaryCallable<CreateCustomTargetTypeRequest,Operation> createCustomTargetTypeCallable()
Overrides

createCustomTargetTypeOperationCallable()

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

createDeliveryPipelineCallable()

public UnaryCallable<CreateDeliveryPipelineRequest,Operation> createDeliveryPipelineCallable()
Overrides

createDeliveryPipelineOperationCallable()

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

createReleaseCallable()

public UnaryCallable<CreateReleaseRequest,Operation> createReleaseCallable()
Overrides

createReleaseOperationCallable()

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

createRolloutCallable()

public UnaryCallable<CreateRolloutRequest,Operation> createRolloutCallable()
Overrides

createRolloutOperationCallable()

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

createTargetCallable()

public UnaryCallable<CreateTargetRequest,Operation> createTargetCallable()
Overrides

createTargetOperationCallable()

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

deleteAutomationCallable()

public UnaryCallable<DeleteAutomationRequest,Operation> deleteAutomationCallable()
Overrides

deleteAutomationOperationCallable()

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

deleteCustomTargetTypeCallable()

public UnaryCallable<DeleteCustomTargetTypeRequest,Operation> deleteCustomTargetTypeCallable()
Overrides

deleteCustomTargetTypeOperationCallable()

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

deleteDeliveryPipelineCallable()

public UnaryCallable<DeleteDeliveryPipelineRequest,Operation> deleteDeliveryPipelineCallable()
Overrides

deleteDeliveryPipelineOperationCallable()

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

deleteTargetCallable()

public UnaryCallable<DeleteTargetRequest,Operation> deleteTargetCallable()
Overrides

deleteTargetOperationCallable()

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

getAutomationCallable()

public UnaryCallable<GetAutomationRequest,Automation> getAutomationCallable()
Overrides

getAutomationRunCallable()

public UnaryCallable<GetAutomationRunRequest,AutomationRun> getAutomationRunCallable()
Overrides

getConfigCallable()

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

getCustomTargetTypeCallable()

public UnaryCallable<GetCustomTargetTypeRequest,CustomTargetType> getCustomTargetTypeCallable()
Overrides

getDeliveryPipelineCallable()

public UnaryCallable<GetDeliveryPipelineRequest,DeliveryPipeline> getDeliveryPipelineCallable()
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

getIamPolicyCallable()

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

getJobRunCallable()

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

getLocationCallable()

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

getReleaseCallable()

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

getRolloutCallable()

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

getTargetCallable()

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

ignoreJobCallable()

public UnaryCallable<IgnoreJobRequest,IgnoreJobResponse> ignoreJobCallable()
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAutomationRunsCallable()

public UnaryCallable<ListAutomationRunsRequest,ListAutomationRunsResponse> listAutomationRunsCallable()
Overrides

listAutomationRunsPagedCallable()

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

listAutomationsCallable()

public UnaryCallable<ListAutomationsRequest,ListAutomationsResponse> listAutomationsCallable()
Overrides

listAutomationsPagedCallable()

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

listCustomTargetTypesCallable()

public UnaryCallable<ListCustomTargetTypesRequest,ListCustomTargetTypesResponse> listCustomTargetTypesCallable()
Overrides

listCustomTargetTypesPagedCallable()

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

listDeliveryPipelinesCallable()

public UnaryCallable<ListDeliveryPipelinesRequest,ListDeliveryPipelinesResponse> listDeliveryPipelinesCallable()
Overrides

listDeliveryPipelinesPagedCallable()

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

listJobRunsCallable()

public UnaryCallable<ListJobRunsRequest,ListJobRunsResponse> listJobRunsCallable()
Overrides

listJobRunsPagedCallable()

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

listLocationsCallable()

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

listLocationsPagedCallable()

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

listReleasesCallable()

public UnaryCallable<ListReleasesRequest,ListReleasesResponse> listReleasesCallable()
Overrides

listReleasesPagedCallable()

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

listRolloutsCallable()

public UnaryCallable<ListRolloutsRequest,ListRolloutsResponse> listRolloutsCallable()
Overrides

listRolloutsPagedCallable()

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

listTargetsCallable()

public UnaryCallable<ListTargetsRequest,ListTargetsResponse> listTargetsCallable()
Overrides

listTargetsPagedCallable()

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

retryJobCallable()

public UnaryCallable<RetryJobRequest,RetryJobResponse> retryJobCallable()
Overrides

rollbackTargetCallable()

public UnaryCallable<RollbackTargetRequest,RollbackTargetResponse> rollbackTargetCallable()
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
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()
Overrides

testIamPermissionsCallable()

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

updateAutomationCallable()

public UnaryCallable<UpdateAutomationRequest,Operation> updateAutomationCallable()
Overrides

updateAutomationOperationCallable()

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

updateCustomTargetTypeCallable()

public UnaryCallable<UpdateCustomTargetTypeRequest,Operation> updateCustomTargetTypeCallable()
Overrides

updateCustomTargetTypeOperationCallable()

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

updateDeliveryPipelineCallable()

public UnaryCallable<UpdateDeliveryPipelineRequest,Operation> updateDeliveryPipelineCallable()
Overrides

updateDeliveryPipelineOperationCallable()

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

updateTargetCallable()

public UnaryCallable<UpdateTargetRequest,Operation> updateTargetCallable()
Overrides

updateTargetOperationCallable()

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