@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonPredictionServiceStub extends PredictionServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonPredictionServiceStub(PredictionServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonPredictionServiceStub, using the given settings.
|
protected |
HttpJsonPredictionServiceStub(PredictionServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonPredictionServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonPredictionServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonPredictionServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonPredictionServiceStub |
create(PredictionServiceStubSettings settings) |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<PredictRequest,PredictResponse> |
predictCallable() |
com.google.api.gax.rpc.UnaryCallable<PredictRequest,PredictionServiceClient.PredictPagedResponse> |
predictPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected HttpJsonPredictionServiceStub(PredictionServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonPredictionServiceStub(PredictionServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonPredictionServiceStub create(PredictionServiceStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonPredictionServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonPredictionServiceStub 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.rpc.UnaryCallable<PredictRequest,PredictResponse> predictCallable()
predictCallable in class PredictionServiceStubpublic com.google.api.gax.rpc.UnaryCallable<PredictRequest,PredictionServiceClient.PredictPagedResponse> predictPagedCallable()
predictPagedCallable in class PredictionServiceStubpublic final void close()
close in interface AutoCloseableclose in class PredictionServiceStubpublic 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.