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