Class QueryServiceGrpc.QueryServiceStub (3.23.0)

public static final class QueryServiceGrpc.QueryServiceStub extends AbstractAsyncStub<QueryServiceGrpc.QueryServiceStub>

A stub to allow clients to do asynchronous rpc calls to service QueryService.

The QueryService API is used to manage time series data in Stackdriver Monitoring. Time series data is a collection of data points that describes the time-varying values of a metric.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > QueryServiceGrpc.QueryServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

queryTimeSeries(QueryTimeSeriesRequest request, StreamObserver<QueryTimeSeriesResponse> responseObserver)

public void queryTimeSeries(QueryTimeSeriesRequest request, StreamObserver<QueryTimeSeriesResponse> responseObserver)

Queries time series using Monitoring Query Language. This method does not require a Workspace.

Parameters
NameDescription
requestQueryTimeSeriesRequest
responseObserverio.grpc.stub.StreamObserver<QueryTimeSeriesResponse>