Class ReportServiceGrpc.ReportServiceStub (0.20.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request SearchRequest
responseObserver io.grpc.stub.StreamObserver<SearchResponse>