Class ReportServiceGrpc.ReportServiceStub (0.13.0)

public static final class ReportServiceGrpc.ReportServiceStub extends AbstractAsyncStub<ReportServiceGrpc.ReportServiceStub>

A stub to allow clients to do asynchronous 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.AbstractAsyncStub > ReportServiceGrpc.ReportServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

search(SearchRequest request, StreamObserver<SearchResponse> responseObserver)

public void search(SearchRequest request, StreamObserver<SearchResponse> responseObserver)

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.

Parameters
NameDescription
requestSearchRequest
responseObserverio.grpc.stub.StreamObserver<SearchResponse>