Class EnvironmentsGrpc.EnvironmentsBlockingStub (0.59.0)

public static final class EnvironmentsGrpc.EnvironmentsBlockingStub extends AbstractBlockingStub<EnvironmentsGrpc.EnvironmentsBlockingStub>

A stub to allow clients to do synchronous rpc calls to service Environments.

Service for managing Environments.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > EnvironmentsGrpc.EnvironmentsBlockingStub
io.grpc.stub.AbstractBlockingStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractBlockingStub.<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.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()

Methods

build(Channel channel, CallOptions callOptions)

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

createEnvironment(CreateEnvironmentRequest request)

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

deleteEnvironment(DeleteEnvironmentRequest request)

public Empty deleteEnvironment(DeleteEnvironmentRequest request)

Deletes the specified Environment.

Parameter
Name Description
request DeleteEnvironmentRequest
Returns
Type Description
Empty

deployFlow(DeployFlowRequest request)

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

getEnvironment(GetEnvironmentRequest request)

public Environment getEnvironment(GetEnvironmentRequest request)

Retrieves the specified Environment.

Parameter
Name Description
request GetEnvironmentRequest
Returns
Type Description
Environment

listContinuousTestResults(ListContinuousTestResultsRequest request)

public ListContinuousTestResultsResponse listContinuousTestResults(ListContinuousTestResultsRequest request)

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

Parameter
Name Description
request ListContinuousTestResultsRequest
Returns
Type Description
ListContinuousTestResultsResponse

listEnvironments(ListEnvironmentsRequest request)

public ListEnvironmentsResponse listEnvironments(ListEnvironmentsRequest request)

Returns the list of all environments in the specified Agent.

Parameter
Name Description
request ListEnvironmentsRequest
Returns
Type Description
ListEnvironmentsResponse

lookupEnvironmentHistory(LookupEnvironmentHistoryRequest request)

public LookupEnvironmentHistoryResponse lookupEnvironmentHistory(LookupEnvironmentHistoryRequest request)

Looks up the history of the specified Environment.

Parameter
Name Description
request LookupEnvironmentHistoryRequest
Returns
Type Description
LookupEnvironmentHistoryResponse

runContinuousTest(RunContinuousTestRequest request)

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

updateEnvironment(UpdateEnvironmentRequest request)

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