Class QueryServiceGrpc.QueryServiceFutureStub (3.17.0)

public static final class QueryServiceGrpc.QueryServiceFutureStub extends AbstractFutureStub<QueryServiceGrpc.QueryServiceFutureStub>

A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub > QueryServiceGrpc.QueryServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

queryTimeSeries(QueryTimeSeriesRequest request)

public ListenableFuture<QueryTimeSeriesResponse> queryTimeSeries(QueryTimeSeriesRequest request)

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

Parameter
NameDescription
requestQueryTimeSeriesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<QueryTimeSeriesResponse>