Class ProductReviewsServiceGrpc.ProductReviewsServiceBlockingStub (0.1.0)

public static final class ProductReviewsServiceGrpc.ProductReviewsServiceBlockingStub extends AbstractBlockingStub<ProductReviewsServiceGrpc.ProductReviewsServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service ProductReviewsService.

Service to manage product reviews.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > ProductReviewsServiceGrpc.ProductReviewsServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

deleteProductReview(DeleteProductReviewRequest request)

public Empty deleteProductReview(DeleteProductReviewRequest request)

Deletes a product review.

Parameter
Name Description
request DeleteProductReviewRequest
Returns
Type Description
Empty

getProductReview(GetProductReviewRequest request)

public ProductReview getProductReview(GetProductReviewRequest request)

Gets a product review.

Parameter
Name Description
request GetProductReviewRequest
Returns
Type Description
ProductReview

insertProductReview(InsertProductReviewRequest request)

public ProductReview insertProductReview(InsertProductReviewRequest request)

Inserts a product review.

Parameter
Name Description
request InsertProductReviewRequest
Returns
Type Description
ProductReview

listProductReviews(ListProductReviewsRequest request)

public ListProductReviewsResponse listProductReviews(ListProductReviewsRequest request)

Lists product reviews.

Parameter
Name Description
request ListProductReviewsRequest
Returns
Type Description
ListProductReviewsResponse