Class GrpcCloudDeployStub (1.39.0)

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.

Inheritance

java.lang.Object > CloudDeployStub > GrpcCloudDeployStub

Static Methods

create(ClientContext clientContext)

public static final GrpcCloudDeployStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcCloudDeployStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcCloudDeployStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcCloudDeployStub
Exceptions
TypeDescription
IOException

create(CloudDeployStubSettings settings)

public static final GrpcCloudDeployStub create(CloudDeployStubSettings settings)
Parameter
NameDescription
settingsCloudDeployStubSettings
Returns
TypeDescription
GrpcCloudDeployStub
Exceptions
TypeDescription
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
NameDescription
settingsCloudDeployStubSettings
clientContextClientContext

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

Methods

abandonReleaseCallable()

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

advanceRolloutCallable()

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

approveRolloutCallable()

public UnaryCallable<ApproveRolloutRequest,ApproveRolloutResponse> approveRolloutCallable()
Returns
TypeDescription
UnaryCallable<ApproveRolloutRequest,ApproveRolloutResponse>
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()
Returns
TypeDescription
UnaryCallable<CancelAutomationRunRequest,CancelAutomationRunResponse>
Overrides

cancelRolloutCallable()

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

close()

public final void close()
Overrides

createAutomationCallable()

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

createAutomationOperationCallable()

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

createCustomTargetTypeCallable()

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

createCustomTargetTypeOperationCallable()

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

createDeliveryPipelineCallable()

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

createDeliveryPipelineOperationCallable()

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

createReleaseCallable()

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

createReleaseOperationCallable()

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

createRolloutCallable()

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

createRolloutOperationCallable()

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

createTargetCallable()

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

createTargetOperationCallable()

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

deleteAutomationCallable()

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

deleteAutomationOperationCallable()

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

deleteCustomTargetTypeCallable()

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

deleteCustomTargetTypeOperationCallable()

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

deleteDeliveryPipelineCallable()

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

deleteDeliveryPipelineOperationCallable()

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

deleteTargetCallable()

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

deleteTargetOperationCallable()

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

getAutomationCallable()

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

getAutomationRunCallable()

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

getConfigCallable()

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

getCustomTargetTypeCallable()

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

getDeliveryPipelineCallable()

public UnaryCallable<GetDeliveryPipelineRequest,DeliveryPipeline> getDeliveryPipelineCallable()
Returns
TypeDescription
UnaryCallable<GetDeliveryPipelineRequest,DeliveryPipeline>
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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
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()
Returns
TypeDescription
UnaryCallable<IgnoreJobRequest,IgnoreJobResponse>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAutomationRunsCallable()

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

listAutomationRunsPagedCallable()

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

listAutomationsCallable()

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

listAutomationsPagedCallable()

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

listCustomTargetTypesCallable()

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

listCustomTargetTypesPagedCallable()

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

listDeliveryPipelinesCallable()

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

listDeliveryPipelinesPagedCallable()

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

listJobRunsCallable()

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

listJobRunsPagedCallable()

public UnaryCallable<ListJobRunsRequest,CloudDeployClient.ListJobRunsPagedResponse> listJobRunsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListJobRunsRequest,ListJobRunsPagedResponse>
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()
Returns
TypeDescription
UnaryCallable<ListReleasesRequest,ListReleasesResponse>
Overrides

listReleasesPagedCallable()

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

listRolloutsCallable()

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

listRolloutsPagedCallable()

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

listTargetsCallable()

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

listTargetsPagedCallable()

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

retryJobCallable()

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

rollbackTargetCallable()

public UnaryCallable<RollbackTargetRequest,RollbackTargetResponse> rollbackTargetCallable()
Returns
TypeDescription
UnaryCallable<RollbackTargetRequest,RollbackTargetResponse>
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()
Returns
TypeDescription
UnaryCallable<TerminateJobRunRequest,TerminateJobRunResponse>
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()
Returns
TypeDescription
UnaryCallable<UpdateAutomationRequest,Operation>
Overrides

updateAutomationOperationCallable()

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

updateCustomTargetTypeCallable()

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

updateCustomTargetTypeOperationCallable()

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

updateDeliveryPipelineCallable()

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

updateDeliveryPipelineOperationCallable()

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

updateTargetCallable()

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

updateTargetOperationCallable()

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