Class DeploymentsGrpc.DeploymentsFutureStub (0.52.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestGetDeploymentRequest
Returns
TypeDescription
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
NameDescription
requestListDeploymentsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListDeploymentsResponse>