Class SearchTuningServiceGrpc.SearchTuningServiceStub (0.37.0)

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.SearchTuningServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

trainCustomModel(TrainCustomModelRequest request, StreamObserver<Operation> responseObserver)

public void trainCustomModel(TrainCustomModelRequest request, StreamObserver<Operation> responseObserver)

Trains a custom model.

Parameters
NameDescription
requestTrainCustomModelRequest
responseObserverio.grpc.stub.StreamObserver<Operation>