Class QueryServiceGrpc.QueryServiceBlockingStub (3.48.0)

public static final class QueryServiceGrpc.QueryServiceBlockingStub extends AbstractBlockingStub<QueryServiceGrpc.QueryServiceBlockingStub>

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

The QueryService API is used to manage time series data in Cloud 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.AbstractBlockingStub > QueryServiceGrpc.QueryServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected QueryServiceGrpc.QueryServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
QueryServiceGrpc.QueryServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

queryTimeSeries(QueryTimeSeriesRequest request)

public QueryTimeSeriesResponse queryTimeSeries(QueryTimeSeriesRequest request)

Queries time series using Monitoring Query Language.

Parameter
Name Description
request QueryTimeSeriesRequest
Returns
Type Description
QueryTimeSeriesResponse