Class NflShopClientGrpc.NflShopClientFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<NflShopClientGrpc.NflShopClientFutureStub>
-
- com.streamlayer.nflShop.nflShopClient.NflShopClientGrpc.NflShopClientFutureStub
-
- Enclosing class:
- NflShopClientGrpc
public static final class NflShopClientGrpc.NflShopClientFutureStub extends io.grpc.stub.AbstractFutureStub<NflShopClientGrpc.NflShopClientFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service NflShopClient.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NflShopClientGrpc.NflShopClientFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)com.google.common.util.concurrent.ListenableFuture<GetProductResponse>getProduct(GetProductRequest request)for SDK clientscom.google.common.util.concurrent.ListenableFuture<GetProductByIdResponse>getProductById(GetProductByIdRequest request)for studiocom.google.common.util.concurrent.ListenableFuture<ListProductsResponse>listProducts(ListProductsRequest request)-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
-
-
-
Method Detail
-
build
protected NflShopClientGrpc.NflShopClientFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<NflShopClientGrpc.NflShopClientFutureStub>
-
getProduct
public com.google.common.util.concurrent.ListenableFuture<GetProductResponse> getProduct(GetProductRequest request)
for SDK clients
-
getProductById
public com.google.common.util.concurrent.ListenableFuture<GetProductByIdResponse> getProductById(GetProductByIdRequest request)
for studio
-
listProducts
public com.google.common.util.concurrent.ListenableFuture<ListProductsResponse> listProducts(ListProductsRequest request)
-
-