Class HttpJsonCloudDeployStub (1.1.4)

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

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

close()

public final void close()
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

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

getConfigCallable()

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

getDeliveryPipelineCallable()

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

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

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

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