public static final class ExperimentsGrpc.ExperimentsFutureStub extends AbstractFutureStub<ExperimentsGrpc.ExperimentsFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Experiments.
Service for managing Experiments.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
ExperimentsGrpc.ExperimentsFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<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.ExperimentsFutureStub 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)
createExperiment(CreateExperimentRequest request)
public ListenableFuture<Experiment> createExperiment(CreateExperimentRequest request)
Creates an Experiment in the
specified Environment.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Experiment> |
|
deleteExperiment(DeleteExperimentRequest request)
public ListenableFuture<Empty> deleteExperiment(DeleteExperimentRequest request)
Deletes the specified
Experiment.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
getExperiment(GetExperimentRequest request)
public ListenableFuture<Experiment> getExperiment(GetExperimentRequest request)
Retrieves the specified
Experiment.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Experiment> |
|
listExperiments(ListExperimentsRequest request)
public ListenableFuture<ListExperimentsResponse> listExperiments(ListExperimentsRequest request)
Returns the list of all experiments in the specified
Environment.
startExperiment(StartExperimentRequest request)
public ListenableFuture<Experiment> startExperiment(StartExperimentRequest request)
Starts the specified
Experiment. This rpc only
changes the state of experiment from PENDING to RUNNING.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Experiment> |
|
stopExperiment(StopExperimentRequest request)
public ListenableFuture<Experiment> stopExperiment(StopExperimentRequest request)
Stops the specified Experiment.
This rpc only changes the state of experiment from RUNNING to DONE.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Experiment> |
|
updateExperiment(UpdateExperimentRequest request)
public ListenableFuture<Experiment> updateExperiment(UpdateExperimentRequest request)
Updates the specified
Experiment.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Experiment> |
|