public class GrpcSearchServiceStub extends SearchServiceStub
gRPC stub implementation for the SearchService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcSearchServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcSearchServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(SearchServiceStubSettings settings)
public static final GrpcSearchServiceStub create(SearchServiceStubSettings settings)
Constructors
GrpcSearchServiceStub(SearchServiceStubSettings settings, ClientContext clientContext)
protected GrpcSearchServiceStub(SearchServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcSearchServiceStub, using the given settings. This is protected so
that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
GrpcSearchServiceStub(SearchServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcSearchServiceStub(SearchServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcSearchServiceStub, using the given settings. This is protected so
that it is easy to make a subclass, but otherwise, the static factory methods should be
preferred.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
searchCallable()
public UnaryCallable<SearchRequest,SearchResponse> searchCallable()
Overrides
searchLiteCallable()
public UnaryCallable<SearchRequest,SearchResponse> searchLiteCallable()
Overrides
searchLitePagedCallable()
public UnaryCallable<SearchRequest,SearchServiceClient.SearchLitePagedResponse> searchLitePagedCallable()
Overrides
searchPagedCallable()
public UnaryCallable<SearchRequest,SearchServiceClient.SearchPagedResponse> searchPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()