Class EngineServiceGrpc.EngineServiceStub (0.41.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateEngineRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteEngine(DeleteEngineRequest request, StreamObserver<Operation> responseObserver)

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

Deletes a Engine.

Parameters
Name Description
request DeleteEngineRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getEngine(GetEngineRequest request, StreamObserver<Engine> responseObserver)

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

Gets a Engine.

Parameters
Name Description
request GetEngineRequest
responseObserver io.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
Name Description
request ListEnginesRequest
responseObserver io.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 SolutionType is SOLUTION_TYPE_RECOMMENDATION.

Parameters
Name Description
request PauseEngineRequest
responseObserver io.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
Name Description
request ResumeEngineRequest
responseObserver io.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 SolutionType is SOLUTION_TYPE_RECOMMENDATION.

Parameters
Name Description
request TuneEngineRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateEngine(UpdateEngineRequest request, StreamObserver<Engine> responseObserver)

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

Updates an Engine

Parameters
Name Description
request UpdateEngineRequest
responseObserver io.grpc.stub.StreamObserver<Engine>