Class SearchTuningServiceGrpc.SearchTuningServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<SearchTuningServiceGrpc.SearchTuningServiceStub>
com.google.cloud.discoveryengine.v1alpha.SearchTuningServiceGrpc.SearchTuningServiceStub
- Enclosing class:
- SearchTuningServiceGrpc
public static final class SearchTuningServiceGrpc.SearchTuningServiceStub
extends io.grpc.stub.AbstractAsyncStub<SearchTuningServiceGrpc.SearchTuningServiceStub>
A stub to allow clients to do asynchronous rpc calls to service SearchTuningService.
Service for search tuning.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidlistCustomModels(ListCustomModelsRequest request, io.grpc.stub.StreamObserver<ListCustomModelsResponse> responseObserver) Gets a list of all the custom models.voidtrainCustomModel(TrainCustomModelRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Trains a custom model.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected SearchTuningServiceGrpc.SearchTuningServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<SearchTuningServiceGrpc.SearchTuningServiceStub>
-
trainCustomModel
public void trainCustomModel(TrainCustomModelRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver) Trains a custom model.
-
listCustomModels
public void listCustomModels(ListCustomModelsRequest request, io.grpc.stub.StreamObserver<ListCustomModelsResponse> responseObserver) Gets a list of all the custom models.
-