Class SearchTuningServiceGrpc.SearchTuningServiceBlockingStub (0.44.0)

public static final class SearchTuningServiceGrpc.SearchTuningServiceBlockingStub extends AbstractBlockingStub<SearchTuningServiceGrpc.SearchTuningServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service SearchTuningService.

Service for search tuning.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > SearchTuningServiceGrpc.SearchTuningServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected SearchTuningServiceGrpc.SearchTuningServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
SearchTuningServiceGrpc.SearchTuningServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

listCustomModels(ListCustomModelsRequest request)

public ListCustomModelsResponse listCustomModels(ListCustomModelsRequest request)

Gets a list of all the custom models.

Parameter
Name Description
request ListCustomModelsRequest
Returns
Type Description
ListCustomModelsResponse

trainCustomModel(TrainCustomModelRequest request)

public Operation trainCustomModel(TrainCustomModelRequest request)

Trains a custom model.

Parameter
Name Description
request TrainCustomModelRequest
Returns
Type Description
Operation