public static final class ProductReviewsServiceGrpc.ProductReviewsServiceStub extends AbstractAsyncStub<ProductReviewsServiceGrpc.ProductReviewsServiceStub>
A stub to allow clients to do asynchronous rpc calls to service ProductReviewsService.
Service to manage product reviews.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ProductReviewsServiceGrpc.ProductReviewsServiceStubMethods
build(Channel channel, CallOptions callOptions)
protected ProductReviewsServiceGrpc.ProductReviewsServiceStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
ProductReviewsServiceGrpc.ProductReviewsServiceStub |
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
deleteProductReview(DeleteProductReviewRequest request, StreamObserver<Empty> responseObserver)
public void deleteProductReview(DeleteProductReviewRequest request, StreamObserver<Empty> responseObserver)
Deletes a product review.
Parameters | |
---|---|
Name | Description |
request |
DeleteProductReviewRequest |
responseObserver |
io.grpc.stub.StreamObserver<Empty> |
getProductReview(GetProductReviewRequest request, StreamObserver<ProductReview> responseObserver)
public void getProductReview(GetProductReviewRequest request, StreamObserver<ProductReview> responseObserver)
Gets a product review.
Parameters | |
---|---|
Name | Description |
request |
GetProductReviewRequest |
responseObserver |
io.grpc.stub.StreamObserver<ProductReview> |
insertProductReview(InsertProductReviewRequest request, StreamObserver<ProductReview> responseObserver)
public void insertProductReview(InsertProductReviewRequest request, StreamObserver<ProductReview> responseObserver)
Inserts a product review.
Parameters | |
---|---|
Name | Description |
request |
InsertProductReviewRequest |
responseObserver |
io.grpc.stub.StreamObserver<ProductReview> |
listProductReviews(ListProductReviewsRequest request, StreamObserver<ListProductReviewsResponse> responseObserver)
public void listProductReviews(ListProductReviewsRequest request, StreamObserver<ListProductReviewsResponse> responseObserver)
Lists product reviews.
Parameters | |
---|---|
Name | Description |
request |
ListProductReviewsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListProductReviewsResponse> |