@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonSearchTuningServiceStub extends SearchTuningServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonSearchTuningServiceStub(SearchTuningServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonSearchTuningServiceStub, using the given settings.
|
protected |
HttpJsonSearchTuningServiceStub(SearchTuningServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonSearchTuningServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonSearchTuningServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonSearchTuningServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonSearchTuningServiceStub |
create(SearchTuningServiceStubSettings settings) |
com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub |
getHttpJsonOperationsStub() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
boolean |
isShutdown() |
boolean |
isTerminated() |
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() |
getOperationsStubprotected HttpJsonSearchTuningServiceStub(SearchTuningServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonSearchTuningServiceStub(SearchTuningServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonSearchTuningServiceStub create(SearchTuningServiceStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonSearchTuningServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonSearchTuningServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
public com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub getHttpJsonOperationsStub()
getHttpJsonOperationsStub 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 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 © 2024 Google LLC. All rights reserved.