Class EnvironmentsGrpc.EnvironmentsStub (0.14.2)

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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateEnvironmentRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteEnvironment(DeleteEnvironmentRequest request, StreamObserver<Empty> responseObserver)

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

Deletes the specified Environment.

Parameters
NameDescription
requestDeleteEnvironmentRequest
responseObserverio.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
NameDescription
requestDeployFlowRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getEnvironment(GetEnvironmentRequest request, StreamObserver<Environment> responseObserver)

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

Retrieves the specified Environment.

Parameters
NameDescription
requestGetEnvironmentRequest
responseObserverio.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
NameDescription
requestListContinuousTestResultsRequest
responseObserverio.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
NameDescription
requestListEnvironmentsRequest
responseObserverio.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
NameDescription
requestLookupEnvironmentHistoryRequest
responseObserverio.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
NameDescription
requestRunContinuousTestRequest
responseObserverio.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
NameDescription
requestUpdateEnvironmentRequest
responseObserverio.grpc.stub.StreamObserver<Operation>