Class IncentiveServiceGrpc.IncentiveServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<IncentiveServiceGrpc.IncentiveServiceStub>
com.google.ads.googleads.v23.services.IncentiveServiceGrpc.IncentiveServiceStub
- Enclosing class:
- IncentiveServiceGrpc
public static final class IncentiveServiceGrpc.IncentiveServiceStub
extends io.grpc.stub.AbstractAsyncStub<IncentiveServiceGrpc.IncentiveServiceStub>
A stub to allow clients to do asynchronous 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 TypeMethodDescriptionvoidapplyIncentive(ApplyIncentiveRequest request, io.grpc.stub.StreamObserver<ApplyIncentiveResponse> responseObserver) Applies the incentive for the ads customer.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidfetchIncentive(FetchIncentiveRequest request, io.grpc.stub.StreamObserver<FetchIncentiveResponse> responseObserver) Returns incentives for a given user.Methods inherited from class io.grpc.stub.AbstractAsyncStub
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.IncentiveServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<IncentiveServiceGrpc.IncentiveServiceStub>
-
fetchIncentive
public void fetchIncentive(FetchIncentiveRequest request, io.grpc.stub.StreamObserver<FetchIncentiveResponse> responseObserver) Returns incentives for a given user.
-
applyIncentive
public void applyIncentive(ApplyIncentiveRequest request, io.grpc.stub.StreamObserver<ApplyIncentiveResponse> responseObserver) Applies the incentive for the ads customer.
-