Class EnvironmentsGrpc.EnvironmentsFutureStub (0.14.1)

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

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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateEnvironmentRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteEnvironment(DeleteEnvironmentRequest request)

public ListenableFuture<Empty> deleteEnvironment(DeleteEnvironmentRequest request)

Deletes the specified Environment.

Parameter
NameDescription
requestDeleteEnvironmentRequest
Returns
TypeDescription
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
NameDescription
requestDeployFlowRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getEnvironment(GetEnvironmentRequest request)

public ListenableFuture<Environment> getEnvironment(GetEnvironmentRequest request)

Retrieves the specified Environment.

Parameter
NameDescription
requestGetEnvironmentRequest
Returns
TypeDescription
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
NameDescription
requestListContinuousTestResultsRequest
Returns
TypeDescription
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
NameDescription
requestListEnvironmentsRequest
Returns
TypeDescription
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
NameDescription
requestLookupEnvironmentHistoryRequest
Returns
TypeDescription
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
NameDescription
requestRunContinuousTestRequest
Returns
TypeDescription
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
NameDescription
requestUpdateEnvironmentRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>