Class ReportServiceGrpc.ReportServiceFutureStub (0.4.0)

public static final class ReportServiceGrpc.ReportServiceFutureStub extends AbstractFutureStub<ReportServiceGrpc.ReportServiceFutureStub>

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

Service for retrieving reports and insights about your products, their performance, and their competitive environment on Google.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ReportServiceGrpc.ReportServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected ReportServiceGrpc.ReportServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
ReportServiceGrpc.ReportServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

search(SearchRequest request)

public ListenableFuture<SearchResponse> search(SearchRequest request)

Retrieves a report defined by a search query. The response might contain fewer rows than specified by page_size. Rely on next_page_token to determine if there are more rows to be requested.

Parameter
NameDescription
requestSearchRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<SearchResponse>