Class ExperimentsGrpc.ExperimentsBlockingStub (0.33.0)

public static final class ExperimentsGrpc.ExperimentsBlockingStub extends AbstractBlockingStub<ExperimentsGrpc.ExperimentsBlockingStub>

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

Service for managing Experiments.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > ExperimentsGrpc.ExperimentsBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

createExperiment(CreateExperimentRequest request)

public Experiment createExperiment(CreateExperimentRequest request)

Creates an Experiment in the specified Environment.

Parameter
Name Description
request CreateExperimentRequest
Returns
Type Description
Experiment

deleteExperiment(DeleteExperimentRequest request)

public Empty deleteExperiment(DeleteExperimentRequest request)

Deletes the specified Experiment.

Parameter
Name Description
request DeleteExperimentRequest
Returns
Type Description
Empty

getExperiment(GetExperimentRequest request)

public Experiment getExperiment(GetExperimentRequest request)

Retrieves the specified Experiment.

Parameter
Name Description
request GetExperimentRequest
Returns
Type Description
Experiment

listExperiments(ListExperimentsRequest request)

public ListExperimentsResponse listExperiments(ListExperimentsRequest request)

Returns the list of all experiments in the specified Environment.

Parameter
Name Description
request ListExperimentsRequest
Returns
Type Description
ListExperimentsResponse

startExperiment(StartExperimentRequest request)

public Experiment startExperiment(StartExperimentRequest request)

Starts the specified Experiment. This rpc only changes the state of experiment from PENDING to RUNNING.

Parameter
Name Description
request StartExperimentRequest
Returns
Type Description
Experiment

stopExperiment(StopExperimentRequest request)

public Experiment stopExperiment(StopExperimentRequest request)

Stops the specified Experiment. This rpc only changes the state of experiment from RUNNING to DONE.

Parameter
Name Description
request StopExperimentRequest
Returns
Type Description
Experiment

updateExperiment(UpdateExperimentRequest request)

public Experiment updateExperiment(UpdateExperimentRequest request)

Updates the specified Experiment.

Parameter
Name Description
request UpdateExperimentRequest
Returns
Type Description
Experiment