public static interface ProductReviewsServiceGrpc.AsyncService
Service to manage product reviews.
Methods
deleteProductReview(DeleteProductReviewRequest request, StreamObserver<Empty> responseObserver)
public default 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 default 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 default 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 default void listProductReviews(ListProductReviewsRequest request, StreamObserver<ListProductReviewsResponse> responseObserver)
Lists product reviews.
Parameters | |
---|---|
Name | Description |
request |
ListProductReviewsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListProductReviewsResponse> |