Class EngineServiceGrpc.EngineServiceStub (0.50.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
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 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>