Class EngineServiceGrpc.EngineServiceFutureStub (0.32.0)

public static final class EngineServiceGrpc.EngineServiceFutureStub extends AbstractFutureStub<EngineServiceGrpc.EngineServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service EngineService.

Service for managing Engine configuration.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > EngineServiceGrpc.EngineServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createEngine(CreateEngineRequest request)

public ListenableFuture<Operation> createEngine(CreateEngineRequest request)

Creates a Engine.

Parameter
NameDescription
requestCreateEngineRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteEngine(DeleteEngineRequest request)

public ListenableFuture<Operation> deleteEngine(DeleteEngineRequest request)

Deletes a Engine.

Parameter
NameDescription
requestDeleteEngineRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getEngine(GetEngineRequest request)

public ListenableFuture<Engine> getEngine(GetEngineRequest request)

Gets a Engine.

Parameter
NameDescription
requestGetEngineRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Engine>

listEngines(ListEnginesRequest request)

public ListenableFuture<ListEnginesResponse> listEngines(ListEnginesRequest request)

Lists all the Engines associated with the project.

Parameter
NameDescription
requestListEnginesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListEnginesResponse>

pauseEngine(PauseEngineRequest request)

public ListenableFuture<Engine> pauseEngine(PauseEngineRequest request)

Pauses the training of an existing engine. Only applicable if [solution_type][] is SOLUTION_TYPE_RECOMMENDATION.

Parameter
NameDescription
requestPauseEngineRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Engine>

resumeEngine(ResumeEngineRequest request)

public ListenableFuture<Engine> resumeEngine(ResumeEngineRequest request)

Resumes the training of an existing engine. Only applicable if SolutionType is SOLUTION_TYPE_RECOMMENDATION.

Parameter
NameDescription
requestResumeEngineRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Engine>

tuneEngine(TuneEngineRequest request)

public ListenableFuture<Operation> tuneEngine(TuneEngineRequest request)

Tunes an existing engine. Only applicable if [solution_type][] is SOLUTION_TYPE_RECOMMENDATION.

Parameter
NameDescription
requestTuneEngineRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

updateEngine(UpdateEngineRequest request)

public ListenableFuture<Engine> updateEngine(UpdateEngineRequest request)

Updates an Engine

Parameter
NameDescription
requestUpdateEngineRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Engine>