Class EnvironmentsGrpc.EnvironmentsFutureStub (0.28.0)

public static final class EnvironmentsGrpc.EnvironmentsFutureStub extends AbstractFutureStub<EnvironmentsGrpc.EnvironmentsFutureStub>

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

Service for managing Environments.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > EnvironmentsGrpc.EnvironmentsFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createEnvironment(CreateEnvironmentRequest request)

public ListenableFuture<Operation> createEnvironment(CreateEnvironmentRequest request)

Creates an Environment in the specified Agent. This method is a long-running operation. The returned Operation type has the following method-specific fields:

Parameter
Name Description
request CreateEnvironmentRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteEnvironment(DeleteEnvironmentRequest request)

public ListenableFuture<Empty> deleteEnvironment(DeleteEnvironmentRequest request)

Deletes the specified Environment.

Parameter
Name Description
request DeleteEnvironmentRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

deployFlow(DeployFlowRequest request)

public ListenableFuture<Operation> deployFlow(DeployFlowRequest request)

Deploys a flow to the specified Environment. This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: DeployFlowMetadata
  • response: DeployFlowResponse
Parameter
Name Description
request DeployFlowRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getEnvironment(GetEnvironmentRequest request)

public ListenableFuture<Environment> getEnvironment(GetEnvironmentRequest request)

Retrieves the specified Environment.

Parameter
Name Description
request GetEnvironmentRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Environment>

listContinuousTestResults(ListContinuousTestResultsRequest request)

public ListenableFuture<ListContinuousTestResultsResponse> listContinuousTestResults(ListContinuousTestResultsRequest request)

Fetches a list of continuous test results for a given environment.

Parameter
Name Description
request ListContinuousTestResultsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListContinuousTestResultsResponse>

listEnvironments(ListEnvironmentsRequest request)

public ListenableFuture<ListEnvironmentsResponse> listEnvironments(ListEnvironmentsRequest request)

Returns the list of all environments in the specified Agent.

Parameter
Name Description
request ListEnvironmentsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListEnvironmentsResponse>

lookupEnvironmentHistory(LookupEnvironmentHistoryRequest request)

public ListenableFuture<LookupEnvironmentHistoryResponse> lookupEnvironmentHistory(LookupEnvironmentHistoryRequest request)

Looks up the history of the specified Environment.

Parameter
Name Description
request LookupEnvironmentHistoryRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<LookupEnvironmentHistoryResponse>

runContinuousTest(RunContinuousTestRequest request)

public ListenableFuture<Operation> runContinuousTest(RunContinuousTestRequest request)

Kicks off a continuous test under the specified Environment. This method is a long-running operation. The returned Operation type has the following method-specific fields:

  • metadata: RunContinuousTestMetadata
  • response: RunContinuousTestResponse
Parameter
Name Description
request RunContinuousTestRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateEnvironment(UpdateEnvironmentRequest request)

public ListenableFuture<Operation> updateEnvironment(UpdateEnvironmentRequest request)

Updates the specified Environment. This method is a long-running operation. The returned Operation type has the following method-specific fields:

Parameter
Name Description
request UpdateEnvironmentRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>