Class ExperimentsGrpc.ExperimentsBlockingStub (0.14.0)

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

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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateExperimentRequest
Returns
TypeDescription
Experiment

deleteExperiment(DeleteExperimentRequest request)

public Empty deleteExperiment(DeleteExperimentRequest request)

Deletes the specified Experiment.

Parameter
NameDescription
requestDeleteExperimentRequest
Returns
TypeDescription
Empty

getExperiment(GetExperimentRequest request)

public Experiment getExperiment(GetExperimentRequest request)

Retrieves the specified Experiment.

Parameter
NameDescription
requestGetExperimentRequest
Returns
TypeDescription
Experiment

listExperiments(ListExperimentsRequest request)

public ListExperimentsResponse listExperiments(ListExperimentsRequest request)

Returns the list of all experiments in the specified Environment.

Parameter
NameDescription
requestListExperimentsRequest
Returns
TypeDescription
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
NameDescription
requestStartExperimentRequest
Returns
TypeDescription
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
NameDescription
requestStopExperimentRequest
Returns
TypeDescription
Experiment

updateExperiment(UpdateExperimentRequest request)

public Experiment updateExperiment(UpdateExperimentRequest request)

Updates the specified Experiment.

Parameter
NameDescription
requestUpdateExperimentRequest
Returns
TypeDescription
Experiment