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