Class ProductReviewsServiceGrpc (0.1.0)

public final class ProductReviewsServiceGrpc

Service to manage product reviews.

Inheritance

java.lang.Object > ProductReviewsServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(ProductReviewsServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(ProductReviewsServiceGrpc.AsyncService service)
Parameter
Name Description
service ProductReviewsServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getDeleteProductReviewMethod()

public static MethodDescriptor<DeleteProductReviewRequest,Empty> getDeleteProductReviewMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteProductReviewRequest,Empty>

getGetProductReviewMethod()

public static MethodDescriptor<GetProductReviewRequest,ProductReview> getGetProductReviewMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetProductReviewRequest,ProductReview>

getInsertProductReviewMethod()

public static MethodDescriptor<InsertProductReviewRequest,ProductReview> getInsertProductReviewMethod()
Returns
Type Description
io.grpc.MethodDescriptor<InsertProductReviewRequest,ProductReview>

getListProductReviewsMethod()

public static MethodDescriptor<ListProductReviewsRequest,ListProductReviewsResponse> getListProductReviewsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListProductReviewsRequest,ListProductReviewsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static ProductReviewsServiceGrpc.ProductReviewsServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ProductReviewsServiceGrpc.ProductReviewsServiceBlockingStub

newFutureStub(Channel channel)

public static ProductReviewsServiceGrpc.ProductReviewsServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ProductReviewsServiceGrpc.ProductReviewsServiceFutureStub

newStub(Channel channel)

public static ProductReviewsServiceGrpc.ProductReviewsServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ProductReviewsServiceGrpc.ProductReviewsServiceStub