Class DeploymentsGrpc.DeploymentsFutureStub (0.31.0)

public static final class DeploymentsGrpc.DeploymentsFutureStub extends AbstractFutureStub<DeploymentsGrpc.DeploymentsFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service Deployments.

Service for managing Deployments.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > DeploymentsGrpc.DeploymentsFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected DeploymentsGrpc.DeploymentsFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
DeploymentsGrpc.DeploymentsFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getDeployment(GetDeploymentRequest request)

public ListenableFuture<Deployment> getDeployment(GetDeploymentRequest request)

Retrieves the specified Deployment.

Parameter
Name Description
request GetDeploymentRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Deployment>

listDeployments(ListDeploymentsRequest request)

public ListenableFuture<ListDeploymentsResponse> listDeployments(ListDeploymentsRequest request)

Returns the list of all deployments in the specified Environment.

Parameter
Name Description
request ListDeploymentsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListDeploymentsResponse>