public static final class SearchTuningServiceGrpc.SearchTuningServiceStub extends AbstractAsyncStub<SearchTuningServiceGrpc.SearchTuningServiceStub>A stub to allow clients to do asynchronous rpc calls to service SearchTuningService.
Service for search tuning.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > SearchTuningServiceGrpc.SearchTuningServiceStubMethods
build(Channel channel, CallOptions callOptions)
protected SearchTuningServiceGrpc.SearchTuningServiceStub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
SearchTuningServiceGrpc.SearchTuningServiceStub |
|
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
listCustomModels(ListCustomModelsRequest request, StreamObserver<ListCustomModelsResponse> responseObserver)
public void listCustomModels(ListCustomModelsRequest request, StreamObserver<ListCustomModelsResponse> responseObserver)Gets a list of all the custom models.
| Parameters | |
|---|---|
| Name | Description |
request |
ListCustomModelsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListCustomModelsResponse> |
trainCustomModel(TrainCustomModelRequest request, StreamObserver<Operation> responseObserver)
public void trainCustomModel(TrainCustomModelRequest request, StreamObserver<Operation> responseObserver)Trains a custom model.
| Parameters | |
|---|---|
| Name | Description |
request |
TrainCustomModelRequest |
responseObserver |
io.grpc.stub.StreamObserver<Operation> |