Class EnvironmentsGrpc.EnvironmentsStub (0.12.1)

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

Service for managing Environments.

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > EnvironmentsGrpc.EnvironmentsStub
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()

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 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>