Class RecommendationServiceGrpc.RecommendationServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<RecommendationServiceGrpc.RecommendationServiceFutureStub>
com.google.ads.googleads.v18.services.RecommendationServiceGrpc.RecommendationServiceFutureStub
- Enclosing class:
- RecommendationServiceGrpc
public static final class RecommendationServiceGrpc.RecommendationServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<RecommendationServiceGrpc.RecommendationServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service RecommendationService.
Service to manage recommendations.
-
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<ApplyRecommendationResponse>Applies given recommendations with corresponding apply parameters.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<DismissRecommendationResponse>Dismisses given recommendations.com.google.common.util.concurrent.ListenableFuture<GenerateRecommendationsResponse>Generates Recommendations based off the requested recommendation_types.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 RecommendationServiceGrpc.RecommendationServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<RecommendationServiceGrpc.RecommendationServiceFutureStub>
-
applyRecommendation
public com.google.common.util.concurrent.ListenableFuture<ApplyRecommendationResponse> applyRecommendation(ApplyRecommendationRequest request) Applies given recommendations with corresponding apply parameters. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RecommendationError]() [RequestError]() [UrlFieldError]()
-
dismissRecommendation
public com.google.common.util.concurrent.ListenableFuture<DismissRecommendationResponse> dismissRecommendation(DismissRecommendationRequest request) Dismisses given recommendations. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RecommendationError]() [RequestError]()
-
generateRecommendations
public com.google.common.util.concurrent.ListenableFuture<GenerateRecommendationsResponse> generateRecommendations(GenerateRecommendationsRequest request) Generates Recommendations based off the requested recommendation_types. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [QuotaError]() [RecommendationError]() [RequestError]()
-