Class SearchTuningServiceGrpc.SearchTuningServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<SearchTuningServiceGrpc.SearchTuningServiceFutureStub>
com.google.cloud.discoveryengine.v1alpha.SearchTuningServiceGrpc.SearchTuningServiceFutureStub
- Enclosing class:
- SearchTuningServiceGrpc
public static final class SearchTuningServiceGrpc.SearchTuningServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<SearchTuningServiceGrpc.SearchTuningServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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) com.google.common.util.concurrent.ListenableFuture<ListCustomModelsResponse>listCustomModels(ListCustomModelsRequest request) Gets a list of all the custom models.com.google.common.util.concurrent.ListenableFuture<Operation>trainCustomModel(TrainCustomModelRequest request) Trains a custom model.Methods inherited from class io.grpc.stub.AbstractFutureStub
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.SearchTuningServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<SearchTuningServiceGrpc.SearchTuningServiceFutureStub>
-
trainCustomModel
public com.google.common.util.concurrent.ListenableFuture<Operation> trainCustomModel(TrainCustomModelRequest request) Trains a custom model.
-
listCustomModels
public com.google.common.util.concurrent.ListenableFuture<ListCustomModelsResponse> listCustomModels(ListCustomModelsRequest request) Gets a list of all the custom models.
-