Class MerchantReviewsServiceGrpc.MerchantReviewsServiceFutureStub (0.1.0)

public static final class MerchantReviewsServiceGrpc.MerchantReviewsServiceFutureStub extends AbstractFutureStub<MerchantReviewsServiceGrpc.MerchantReviewsServiceFutureStub>

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

Service to manage merchant reviews.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > MerchantReviewsServiceGrpc.MerchantReviewsServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

deleteMerchantReview(DeleteMerchantReviewRequest request)

public ListenableFuture<Empty> deleteMerchantReview(DeleteMerchantReviewRequest request)

Deletes merchant review.

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

getMerchantReview(GetMerchantReviewRequest request)

public ListenableFuture<MerchantReview> getMerchantReview(GetMerchantReviewRequest request)

Gets a merchant review.

Parameter
Name Description
request GetMerchantReviewRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<MerchantReview>

insertMerchantReview(InsertMerchantReviewRequest request)

public ListenableFuture<MerchantReview> insertMerchantReview(InsertMerchantReviewRequest request)

Inserts a review for your Merchant Center account. If the review already exists, then the review is replaced with the new instance.

Parameter
Name Description
request InsertMerchantReviewRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<MerchantReview>

listMerchantReviews(ListMerchantReviewsRequest request)

public ListenableFuture<ListMerchantReviewsResponse> listMerchantReviews(ListMerchantReviewsRequest request)

Lists merchant reviews.

Parameter
Name Description
request ListMerchantReviewsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListMerchantReviewsResponse>