Class EngineServiceGrpc.EngineServiceStub (0.32.0)

public static final class EngineServiceGrpc.EngineServiceStub extends AbstractAsyncStub<EngineServiceGrpc.EngineServiceStub>

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

Service for managing Engine configuration.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > EngineServiceGrpc.EngineServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

createEngine(CreateEngineRequest request, StreamObserver<Operation> responseObserver)

public void createEngine(CreateEngineRequest request, StreamObserver<Operation> responseObserver)

Creates a Engine.

Parameters
NameDescription
requestCreateEngineRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteEngine(DeleteEngineRequest request, StreamObserver<Operation> responseObserver)

public void deleteEngine(DeleteEngineRequest request, StreamObserver<Operation> responseObserver)

Deletes a Engine.

Parameters
NameDescription
requestDeleteEngineRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getEngine(GetEngineRequest request, StreamObserver<Engine> responseObserver)

public void getEngine(GetEngineRequest request, StreamObserver<Engine> responseObserver)

Gets a Engine.

Parameters
NameDescription
requestGetEngineRequest
responseObserverio.grpc.stub.StreamObserver<Engine>

listEngines(ListEnginesRequest request, StreamObserver<ListEnginesResponse> responseObserver)

public void listEngines(ListEnginesRequest request, StreamObserver<ListEnginesResponse> responseObserver)

Lists all the Engines associated with the project.

Parameters
NameDescription
requestListEnginesRequest
responseObserverio.grpc.stub.StreamObserver<ListEnginesResponse>

pauseEngine(PauseEngineRequest request, StreamObserver<Engine> responseObserver)

public void pauseEngine(PauseEngineRequest request, StreamObserver<Engine> responseObserver)

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

Parameters
NameDescription
requestPauseEngineRequest
responseObserverio.grpc.stub.StreamObserver<Engine>

resumeEngine(ResumeEngineRequest request, StreamObserver<Engine> responseObserver)

public void resumeEngine(ResumeEngineRequest request, StreamObserver<Engine> responseObserver)

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

Parameters
NameDescription
requestResumeEngineRequest
responseObserverio.grpc.stub.StreamObserver<Engine>

tuneEngine(TuneEngineRequest request, StreamObserver<Operation> responseObserver)

public void tuneEngine(TuneEngineRequest request, StreamObserver<Operation> responseObserver)

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

Parameters
NameDescription
requestTuneEngineRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateEngine(UpdateEngineRequest request, StreamObserver<Engine> responseObserver)

public void updateEngine(UpdateEngineRequest request, StreamObserver<Engine> responseObserver)

Updates an Engine

Parameters
NameDescription
requestUpdateEngineRequest
responseObserverio.grpc.stub.StreamObserver<Engine>