Class IncentiveServiceGrpc.IncentiveServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<IncentiveServiceGrpc.IncentiveServiceFutureStub>
com.google.ads.googleads.v23.services.IncentiveServiceGrpc.IncentiveServiceFutureStub
- Enclosing class:
- IncentiveServiceGrpc
public static final class IncentiveServiceGrpc.IncentiveServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<IncentiveServiceGrpc.IncentiveServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service IncentiveService.
Service to support incentive related operations.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<ApplyIncentiveResponse>applyIncentive(ApplyIncentiveRequest request) Applies the incentive for the ads customer.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<FetchIncentiveResponse>fetchIncentive(FetchIncentiveRequest request) Returns incentives for a given user.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected IncentiveServiceGrpc.IncentiveServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<IncentiveServiceGrpc.IncentiveServiceFutureStub>
-
fetchIncentive
public com.google.common.util.concurrent.ListenableFuture<FetchIncentiveResponse> fetchIncentive(FetchIncentiveRequest request) Returns incentives for a given user.
-
applyIncentive
public com.google.common.util.concurrent.ListenableFuture<ApplyIncentiveResponse> applyIncentive(ApplyIncentiveRequest request) Applies the incentive for the ads customer.
-