Class SearchTuningServiceGrpc.SearchTuningServiceFutureStub (0.49.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
SearchTuningServiceGrpc.SearchTuningServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

listCustomModels(ListCustomModelsRequest request)

public ListenableFuture<ListCustomModelsResponse> listCustomModels(ListCustomModelsRequest request)

Gets a list of all the custom models.

Parameter
Name Description
request ListCustomModelsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListCustomModelsResponse>

trainCustomModel(TrainCustomModelRequest request)

public ListenableFuture<Operation> trainCustomModel(TrainCustomModelRequest request)

Trains a custom model.

Parameter
Name Description
request TrainCustomModelRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>