Class SearchTuningServiceGrpc.SearchTuningServiceFutureStub (0.30.0)

public static final class SearchTuningServiceGrpc.SearchTuningServiceFutureStub extends AbstractFutureStub<SearchTuningServiceGrpc.SearchTuningServiceFutureStub>

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

Service for search tuning.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > SearchTuningServiceGrpc.SearchTuningServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

trainCustomModel(TrainCustomModelRequest request)

public ListenableFuture<Operation> trainCustomModel(TrainCustomModelRequest request)

Trains a custom model.

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