Class ExperimentsGrpc.ExperimentsStub (0.65.0)

See more code actions.
public static final class ExperimentsGrpc.ExperimentsStub extends AbstractAsyncStub<ExperimentsGrpc.ExperimentsStub>

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

Service for managing Experiments.

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ExperimentsGrpc.ExperimentsStub
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.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()

Methods

build(Channel channel, CallOptions callOptions)

protected ExperimentsGrpc.ExperimentsStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateExperimentRequest
responseObserver io.grpc.stub.StreamObserver<Experiment>

deleteExperiment(DeleteExperimentRequest request, StreamObserver<Empty> responseObserver)

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

Deletes the specified Experiment.

Parameters
Name Description
request DeleteExperimentRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getExperiment(GetExperimentRequest request, StreamObserver<Experiment> responseObserver)

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

Retrieves the specified Experiment.

Parameters
Name Description
request GetExperimentRequest
responseObserver io.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
Name Description
request ListExperimentsRequest
responseObserver io.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
Name Description
request StartExperimentRequest
responseObserver io.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
Name Description
request StopExperimentRequest
responseObserver io.grpc.stub.StreamObserver<Experiment>

updateExperiment(UpdateExperimentRequest request, StreamObserver<Experiment> responseObserver)

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

Updates the specified Experiment.

Parameters
Name Description
request UpdateExperimentRequest
responseObserver io.grpc.stub.StreamObserver<Experiment>