@BetaApi @Generated(value="by gapic-generator-java") public class GrpcSearchTuningServiceStub extends SearchTuningServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcSearchTuningServiceStub(SearchTuningServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcSearchTuningServiceStub, using the given settings.
|
protected |
GrpcSearchTuningServiceStub(SearchTuningServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcSearchTuningServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcSearchTuningServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcSearchTuningServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcSearchTuningServiceStub |
create(SearchTuningServiceStubSettings settings) |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListCustomModelsRequest,ListCustomModelsResponse> |
listCustomModelsCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<TrainCustomModelRequest,com.google.longrunning.Operation> |
trainCustomModelCallable() |
com.google.api.gax.rpc.OperationCallable<TrainCustomModelRequest,TrainCustomModelResponse,TrainCustomModelMetadata> |
trainCustomModelOperationCallable() |
getHttpJsonOperationsStubprotected GrpcSearchTuningServiceStub(SearchTuningServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcSearchTuningServiceStub(SearchTuningServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcSearchTuningServiceStub create(SearchTuningServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcSearchTuningServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcSearchTuningServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub in class SearchTuningServiceStubpublic com.google.api.gax.rpc.UnaryCallable<TrainCustomModelRequest,com.google.longrunning.Operation> trainCustomModelCallable()
trainCustomModelCallable in class SearchTuningServiceStubpublic com.google.api.gax.rpc.OperationCallable<TrainCustomModelRequest,TrainCustomModelResponse,TrainCustomModelMetadata> trainCustomModelOperationCallable()
trainCustomModelOperationCallable in class SearchTuningServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListCustomModelsRequest,ListCustomModelsResponse> listCustomModelsCallable()
listCustomModelsCallable in class SearchTuningServiceStubpublic final void close()
close in interface AutoCloseableclose in class SearchTuningServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2025 Google LLC. All rights reserved.