Class ProductReviewsServiceGrpc.ProductReviewsServiceFutureStub (0.1.0)

public static final class ProductReviewsServiceGrpc.ProductReviewsServiceFutureStub extends AbstractFutureStub<ProductReviewsServiceGrpc.ProductReviewsServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service ProductReviewsService.

Service to manage product reviews.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ProductReviewsServiceGrpc.ProductReviewsServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected ProductReviewsServiceGrpc.ProductReviewsServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ProductReviewsServiceGrpc.ProductReviewsServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

deleteProductReview(DeleteProductReviewRequest request)

public ListenableFuture<Empty> deleteProductReview(DeleteProductReviewRequest request)

Deletes a product review.

Parameter
Name Description
request DeleteProductReviewRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Empty>

getProductReview(GetProductReviewRequest request)

public ListenableFuture<ProductReview> getProductReview(GetProductReviewRequest request)

Gets a product review.

Parameter
Name Description
request GetProductReviewRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ProductReview>

insertProductReview(InsertProductReviewRequest request)

public ListenableFuture<ProductReview> insertProductReview(InsertProductReviewRequest request)

Inserts a product review.

Parameter
Name Description
request InsertProductReviewRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ProductReview>

listProductReviews(ListProductReviewsRequest request)

public ListenableFuture<ListProductReviewsResponse> listProductReviews(ListProductReviewsRequest request)

Lists product reviews.

Parameter
Name Description
request ListProductReviewsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListProductReviewsResponse>