Class ExperimentsGrpc.ExperimentsStub (0.14.1)

public static final class ExperimentsGrpc.ExperimentsStub extends AbstractAsyncStub<ExperimentsGrpc.ExperimentsStub>

Service for managing Experiments.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ExperimentsGrpc.ExperimentsStub

Methods

build(Channel channel, CallOptions callOptions)

protected ExperimentsGrpc.ExperimentsStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
ExperimentsGrpc.ExperimentsStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createExperiment(CreateExperimentRequest request, StreamObserver<Experiment> responseObserver)

public void createExperiment(CreateExperimentRequest request, StreamObserver<Experiment> responseObserver)

Creates an Experiment in the specified Environment.

Parameters
NameDescription
requestCreateExperimentRequest
responseObserverio.grpc.stub.StreamObserver<Experiment>

deleteExperiment(DeleteExperimentRequest request, StreamObserver<Empty> responseObserver)

public void deleteExperiment(DeleteExperimentRequest request, StreamObserver<Empty> responseObserver)

Deletes the specified Experiment.

Parameters
NameDescription
requestDeleteExperimentRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getExperiment(GetExperimentRequest request, StreamObserver<Experiment> responseObserver)

public void getExperiment(GetExperimentRequest request, StreamObserver<Experiment> responseObserver)

Retrieves the specified Experiment.

Parameters
NameDescription
requestGetExperimentRequest
responseObserverio.grpc.stub.StreamObserver<Experiment>

listExperiments(ListExperimentsRequest request, StreamObserver<ListExperimentsResponse> responseObserver)

public void listExperiments(ListExperimentsRequest request, StreamObserver<ListExperimentsResponse> responseObserver)

Returns the list of all experiments in the specified Environment.

Parameters
NameDescription
requestListExperimentsRequest
responseObserverio.grpc.stub.StreamObserver<ListExperimentsResponse>

startExperiment(StartExperimentRequest request, StreamObserver<Experiment> responseObserver)

public void startExperiment(StartExperimentRequest request, StreamObserver<Experiment> responseObserver)

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

Parameters
NameDescription
requestStartExperimentRequest
responseObserverio.grpc.stub.StreamObserver<Experiment>

stopExperiment(StopExperimentRequest request, StreamObserver<Experiment> responseObserver)

public void stopExperiment(StopExperimentRequest request, StreamObserver<Experiment> responseObserver)

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

Parameters
NameDescription
requestStopExperimentRequest
responseObserverio.grpc.stub.StreamObserver<Experiment>

updateExperiment(UpdateExperimentRequest request, StreamObserver<Experiment> responseObserver)

public void updateExperiment(UpdateExperimentRequest request, StreamObserver<Experiment> responseObserver)

Updates the specified Experiment.

Parameters
NameDescription
requestUpdateExperimentRequest
responseObserverio.grpc.stub.StreamObserver<Experiment>