Class EnvironmentsGrpc.EnvironmentsStub (0.24.0)

public static final class EnvironmentsGrpc.EnvironmentsStub extends AbstractAsyncStub<EnvironmentsGrpc.EnvironmentsStub>

Service for managing Environments.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > EnvironmentsGrpc.EnvironmentsStub

Methods

build(Channel channel, CallOptions callOptions)

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

createEnvironment(CreateEnvironmentRequest request, StreamObserver<Operation> responseObserver)

public void createEnvironment(CreateEnvironmentRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request CreateEnvironmentRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteEnvironment(DeleteEnvironmentRequest request, StreamObserver<Empty> responseObserver)

public void deleteEnvironment(DeleteEnvironmentRequest request, StreamObserver<Empty> responseObserver)

Deletes the specified Environment.

Parameters
Name Description
request DeleteEnvironmentRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

deployFlow(DeployFlowRequest request, StreamObserver<Operation> responseObserver)

public void deployFlow(DeployFlowRequest request, StreamObserver<Operation> responseObserver)

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
Parameters
Name Description
request DeployFlowRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getEnvironment(GetEnvironmentRequest request, StreamObserver<Environment> responseObserver)

public void getEnvironment(GetEnvironmentRequest request, StreamObserver<Environment> responseObserver)

Retrieves the specified Environment.

Parameters
Name Description
request GetEnvironmentRequest
responseObserver io.grpc.stub.StreamObserver<Environment>

listContinuousTestResults(ListContinuousTestResultsRequest request, StreamObserver<ListContinuousTestResultsResponse> responseObserver)

public void listContinuousTestResults(ListContinuousTestResultsRequest request, StreamObserver<ListContinuousTestResultsResponse> responseObserver)

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

Parameters
Name Description
request ListContinuousTestResultsRequest
responseObserver io.grpc.stub.StreamObserver<ListContinuousTestResultsResponse>

listEnvironments(ListEnvironmentsRequest request, StreamObserver<ListEnvironmentsResponse> responseObserver)

public void listEnvironments(ListEnvironmentsRequest request, StreamObserver<ListEnvironmentsResponse> responseObserver)

Returns the list of all environments in the specified Agent.

Parameters
Name Description
request ListEnvironmentsRequest
responseObserver io.grpc.stub.StreamObserver<ListEnvironmentsResponse>

lookupEnvironmentHistory(LookupEnvironmentHistoryRequest request, StreamObserver<LookupEnvironmentHistoryResponse> responseObserver)

public void lookupEnvironmentHistory(LookupEnvironmentHistoryRequest request, StreamObserver<LookupEnvironmentHistoryResponse> responseObserver)

Looks up the history of the specified Environment.

Parameters
Name Description
request LookupEnvironmentHistoryRequest
responseObserver io.grpc.stub.StreamObserver<LookupEnvironmentHistoryResponse>

runContinuousTest(RunContinuousTestRequest request, StreamObserver<Operation> responseObserver)

public void runContinuousTest(RunContinuousTestRequest request, StreamObserver<Operation> responseObserver)

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
Parameters
Name Description
request RunContinuousTestRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateEnvironment(UpdateEnvironmentRequest request, StreamObserver<Operation> responseObserver)

public void updateEnvironment(UpdateEnvironmentRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
Name Description
request UpdateEnvironmentRequest
responseObserver io.grpc.stub.StreamObserver<Operation>