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.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonCloudDeployStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonCloudDeployStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(CloudDeployStubSettings settings)
public static final HttpJsonCloudDeployStub create(CloudDeployStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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
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
Methods
abandonReleaseCallable()
public UnaryCallable<AbandonReleaseRequest,AbandonReleaseResponse> abandonReleaseCallable()
Returns
Overrides
approveRolloutCallable()
public UnaryCallable<ApproveRolloutRequest,ApproveRolloutResponse> approveRolloutCallable()
Returns
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createDeliveryPipelineCallable()
public UnaryCallable<CreateDeliveryPipelineRequest,Operation> createDeliveryPipelineCallable()
Returns
Overrides
createDeliveryPipelineOperationCallable()
public OperationCallable<CreateDeliveryPipelineRequest,DeliveryPipeline,OperationMetadata> createDeliveryPipelineOperationCallable()
Returns
Overrides
createReleaseCallable()
public UnaryCallable<CreateReleaseRequest,Operation> createReleaseCallable()
Returns
Overrides
createReleaseOperationCallable()
public OperationCallable<CreateReleaseRequest,Release,OperationMetadata> createReleaseOperationCallable()
Returns
Overrides
createRolloutCallable()
public UnaryCallable<CreateRolloutRequest,Operation> createRolloutCallable()
Returns
Overrides
createRolloutOperationCallable()
public OperationCallable<CreateRolloutRequest,Rollout,OperationMetadata> createRolloutOperationCallable()
Returns
Overrides
createTargetCallable()
public UnaryCallable<CreateTargetRequest,Operation> createTargetCallable()
Returns
Overrides
createTargetOperationCallable()
public OperationCallable<CreateTargetRequest,Target,OperationMetadata> createTargetOperationCallable()
Returns
Overrides
deleteDeliveryPipelineCallable()
public UnaryCallable<DeleteDeliveryPipelineRequest,Operation> deleteDeliveryPipelineCallable()
Returns
Overrides
deleteDeliveryPipelineOperationCallable()
public OperationCallable<DeleteDeliveryPipelineRequest,Empty,OperationMetadata> deleteDeliveryPipelineOperationCallable()
Returns
Overrides
deleteTargetCallable()
public UnaryCallable<DeleteTargetRequest,Operation> deleteTargetCallable()
Returns
Overrides
deleteTargetOperationCallable()
public OperationCallable<DeleteTargetRequest,Empty,OperationMetadata> deleteTargetOperationCallable()
Returns
Overrides
getConfigCallable()
public UnaryCallable<GetConfigRequest,Config> getConfigCallable()
Returns
Overrides
getDeliveryPipelineCallable()
public UnaryCallable<GetDeliveryPipelineRequest,DeliveryPipeline> getDeliveryPipelineCallable()
Returns
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
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
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
Overrides
getRolloutCallable()
public UnaryCallable<GetRolloutRequest,Rollout> getRolloutCallable()
Returns
Overrides
getTargetCallable()
public UnaryCallable<GetTargetRequest,Target> getTargetCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listDeliveryPipelinesCallable()
public UnaryCallable<ListDeliveryPipelinesRequest,ListDeliveryPipelinesResponse> listDeliveryPipelinesCallable()
Returns
Overrides
listDeliveryPipelinesPagedCallable()
public UnaryCallable<ListDeliveryPipelinesRequest,CloudDeployClient.ListDeliveryPipelinesPagedResponse> listDeliveryPipelinesPagedCallable()
Returns
Overrides
listJobRunsCallable()
public UnaryCallable<ListJobRunsRequest,ListJobRunsResponse> listJobRunsCallable()
Returns
Overrides
listJobRunsPagedCallable()
public UnaryCallable<ListJobRunsRequest,CloudDeployClient.ListJobRunsPagedResponse> listJobRunsPagedCallable()
Returns
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
Overrides
listReleasesCallable()
public UnaryCallable<ListReleasesRequest,ListReleasesResponse> listReleasesCallable()
Returns
Overrides
listReleasesPagedCallable()
public UnaryCallable<ListReleasesRequest,CloudDeployClient.ListReleasesPagedResponse> listReleasesPagedCallable()
Returns
Overrides
listRolloutsCallable()
public UnaryCallable<ListRolloutsRequest,ListRolloutsResponse> listRolloutsCallable()
Returns
Overrides
listRolloutsPagedCallable()
public UnaryCallable<ListRolloutsRequest,CloudDeployClient.ListRolloutsPagedResponse> listRolloutsPagedCallable()
Returns
Overrides
listTargetsCallable()
public UnaryCallable<ListTargetsRequest,ListTargetsResponse> listTargetsCallable()
Returns
Overrides
listTargetsPagedCallable()
public UnaryCallable<ListTargetsRequest,CloudDeployClient.ListTargetsPagedResponse> listTargetsPagedCallable()
Returns
Overrides
retryJobCallable()
public UnaryCallable<RetryJobRequest,RetryJobResponse> retryJobCallable()
Returns
Overrides
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> | |
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> | |
Overrides
updateDeliveryPipelineCallable()
public UnaryCallable<UpdateDeliveryPipelineRequest,Operation> updateDeliveryPipelineCallable()
Returns
Overrides
updateDeliveryPipelineOperationCallable()
public OperationCallable<UpdateDeliveryPipelineRequest,DeliveryPipeline,OperationMetadata> updateDeliveryPipelineOperationCallable()
Returns
Overrides
updateTargetCallable()
public UnaryCallable<UpdateTargetRequest,Operation> updateTargetCallable()
Returns
Overrides
updateTargetOperationCallable()
public OperationCallable<UpdateTargetRequest,Target,OperationMetadata> updateTargetOperationCallable()
Returns
Overrides