@BetaApi @Generated(value="by gapic-generator-java") public class GrpcSearchServiceStub extends SearchServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcSearchServiceStub(SearchServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcSearchServiceStub, using the given settings.
|
protected |
GrpcSearchServiceStub(SearchServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcSearchServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcSearchServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcSearchServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcSearchServiceStub |
create(SearchServiceStubSettings settings) |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<SearchRequest,SearchResponse> |
searchCallable() |
com.google.api.gax.rpc.UnaryCallable<SearchRequest,SearchServiceClient.SearchPagedResponse> |
searchPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcSearchServiceStub(SearchServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcSearchServiceStub(SearchServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcSearchServiceStub create(SearchServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcSearchServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcSearchServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
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 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 © 2024 Google LLC. All rights reserved.