public class GrpcCloudDeployStub extends CloudDeployStub
gRPC 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 GrpcCloudDeployStub create(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Returns | |
---|---|
Type | Description |
GrpcCloudDeployStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcCloudDeployStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext | ClientContext |
callableFactory | GrpcStubCallableFactory |
Returns | |
---|---|
Type | Description |
GrpcCloudDeployStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(CloudDeployStubSettings settings)
public static final GrpcCloudDeployStub create(CloudDeployStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | CloudDeployStubSettings |
Returns | |
---|---|
Type | Description |
GrpcCloudDeployStub |
Exceptions | |
---|---|
Type | Description |
IOException |
Constructors
GrpcCloudDeployStub(CloudDeployStubSettings settings, ClientContext clientContext)
protected GrpcCloudDeployStub(CloudDeployStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcCloudDeployStub, 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 |
GrpcCloudDeployStub(CloudDeployStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcCloudDeployStub(CloudDeployStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcCloudDeployStub, 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 | GrpcStubCallableFactory |
Methods
abandonReleaseCallable()
public UnaryCallable<AbandonReleaseRequest,AbandonReleaseResponse> abandonReleaseCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<AbandonReleaseRequest,AbandonReleaseResponse> |
advanceRolloutCallable()
public UnaryCallable<AdvanceRolloutRequest,AdvanceRolloutResponse> advanceRolloutCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<AdvanceRolloutRequest,AdvanceRolloutResponse> |
approveRolloutCallable()
public UnaryCallable<ApproveRolloutRequest,ApproveRolloutResponse> approveRolloutCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ApproveRolloutRequest,ApproveRolloutResponse> |
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 |
cancelRolloutCallable()
public UnaryCallable<CancelRolloutRequest,CancelRolloutResponse> cancelRolloutCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CancelRolloutRequest,CancelRolloutResponse> |
close()
public final void close()
createDeliveryPipelineCallable()
public UnaryCallable<CreateDeliveryPipelineRequest,Operation> createDeliveryPipelineCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateDeliveryPipelineRequest,Operation> |
createDeliveryPipelineOperationCallable()
public OperationCallable<CreateDeliveryPipelineRequest,DeliveryPipeline,OperationMetadata> createDeliveryPipelineOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateDeliveryPipelineRequest,DeliveryPipeline,OperationMetadata> |
createReleaseCallable()
public UnaryCallable<CreateReleaseRequest,Operation> createReleaseCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateReleaseRequest,Operation> |
createReleaseOperationCallable()
public OperationCallable<CreateReleaseRequest,Release,OperationMetadata> createReleaseOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateReleaseRequest,Release,OperationMetadata> |
createRolloutCallable()
public UnaryCallable<CreateRolloutRequest,Operation> createRolloutCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateRolloutRequest,Operation> |
createRolloutOperationCallable()
public OperationCallable<CreateRolloutRequest,Rollout,OperationMetadata> createRolloutOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateRolloutRequest,Rollout,OperationMetadata> |
createTargetCallable()
public UnaryCallable<CreateTargetRequest,Operation> createTargetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateTargetRequest,Operation> |
createTargetOperationCallable()
public OperationCallable<CreateTargetRequest,Target,OperationMetadata> createTargetOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateTargetRequest,Target,OperationMetadata> |
deleteDeliveryPipelineCallable()
public UnaryCallable<DeleteDeliveryPipelineRequest,Operation> deleteDeliveryPipelineCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteDeliveryPipelineRequest,Operation> |
deleteDeliveryPipelineOperationCallable()
public OperationCallable<DeleteDeliveryPipelineRequest,Empty,OperationMetadata> deleteDeliveryPipelineOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteDeliveryPipelineRequest,Empty,OperationMetadata> |
deleteTargetCallable()
public UnaryCallable<DeleteTargetRequest,Operation> deleteTargetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteTargetRequest,Operation> |
deleteTargetOperationCallable()
public OperationCallable<DeleteTargetRequest,Empty,OperationMetadata> deleteTargetOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteTargetRequest,Empty,OperationMetadata> |
getConfigCallable()
public UnaryCallable<GetConfigRequest,Config> getConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetConfigRequest,Config> |
getDeliveryPipelineCallable()
public UnaryCallable<GetDeliveryPipelineRequest,DeliveryPipeline> getDeliveryPipelineCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetDeliveryPipelineRequest,DeliveryPipeline> |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getJobRunCallable()
public UnaryCallable<GetJobRunRequest,JobRun> getJobRunCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetJobRunRequest,JobRun> |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns | |
---|---|
Type | Description |
GrpcOperationsStub |
getReleaseCallable()
public UnaryCallable<GetReleaseRequest,Release> getReleaseCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetReleaseRequest,Release> |
getRolloutCallable()
public UnaryCallable<GetRolloutRequest,Rollout> getRolloutCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetRolloutRequest,Rollout> |
getTargetCallable()
public UnaryCallable<GetTargetRequest,Target> getTargetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetTargetRequest,Target> |
ignoreJobCallable()
public UnaryCallable<IgnoreJobRequest,IgnoreJobResponse> ignoreJobCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<IgnoreJobRequest,IgnoreJobResponse> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listDeliveryPipelinesCallable()
public UnaryCallable<ListDeliveryPipelinesRequest,ListDeliveryPipelinesResponse> listDeliveryPipelinesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListDeliveryPipelinesRequest,ListDeliveryPipelinesResponse> |
listDeliveryPipelinesPagedCallable()
public UnaryCallable<ListDeliveryPipelinesRequest,CloudDeployClient.ListDeliveryPipelinesPagedResponse> listDeliveryPipelinesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListDeliveryPipelinesRequest,ListDeliveryPipelinesPagedResponse> |
listJobRunsCallable()
public UnaryCallable<ListJobRunsRequest,ListJobRunsResponse> listJobRunsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListJobRunsRequest,ListJobRunsResponse> |
listJobRunsPagedCallable()
public UnaryCallable<ListJobRunsRequest,CloudDeployClient.ListJobRunsPagedResponse> listJobRunsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListJobRunsRequest,ListJobRunsPagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,CloudDeployClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
listReleasesCallable()
public UnaryCallable<ListReleasesRequest,ListReleasesResponse> listReleasesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListReleasesRequest,ListReleasesResponse> |
listReleasesPagedCallable()
public UnaryCallable<ListReleasesRequest,CloudDeployClient.ListReleasesPagedResponse> listReleasesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListReleasesRequest,ListReleasesPagedResponse> |
listRolloutsCallable()
public UnaryCallable<ListRolloutsRequest,ListRolloutsResponse> listRolloutsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRolloutsRequest,ListRolloutsResponse> |
listRolloutsPagedCallable()
public UnaryCallable<ListRolloutsRequest,CloudDeployClient.ListRolloutsPagedResponse> listRolloutsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListRolloutsRequest,ListRolloutsPagedResponse> |
listTargetsCallable()
public UnaryCallable<ListTargetsRequest,ListTargetsResponse> listTargetsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListTargetsRequest,ListTargetsResponse> |
listTargetsPagedCallable()
public UnaryCallable<ListTargetsRequest,CloudDeployClient.ListTargetsPagedResponse> listTargetsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListTargetsRequest,ListTargetsPagedResponse> |
retryJobCallable()
public UnaryCallable<RetryJobRequest,RetryJobResponse> retryJobCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<RetryJobRequest,RetryJobResponse> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
terminateJobRunCallable()
public UnaryCallable<TerminateJobRunRequest,TerminateJobRunResponse> terminateJobRunCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<TerminateJobRunRequest,TerminateJobRunResponse> |
testIamPermissionsCallable()
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
updateDeliveryPipelineCallable()
public UnaryCallable<UpdateDeliveryPipelineRequest,Operation> updateDeliveryPipelineCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateDeliveryPipelineRequest,Operation> |
updateDeliveryPipelineOperationCallable()
public OperationCallable<UpdateDeliveryPipelineRequest,DeliveryPipeline,OperationMetadata> updateDeliveryPipelineOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateDeliveryPipelineRequest,DeliveryPipeline,OperationMetadata> |
updateTargetCallable()
public UnaryCallable<UpdateTargetRequest,Operation> updateTargetCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateTargetRequest,Operation> |
updateTargetOperationCallable()
public OperationCallable<UpdateTargetRequest,Target,OperationMetadata> updateTargetOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateTargetRequest,Target,OperationMetadata> |