Class QueryServiceGrpc (3.49.0)

public final class QueryServiceGrpc

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 > QueryServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(QueryServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(QueryServiceGrpc.AsyncService service)
Parameter
Name Description
service QueryServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getQueryTimeSeriesMethod()

public static MethodDescriptor<QueryTimeSeriesRequest,QueryTimeSeriesResponse> getQueryTimeSeriesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<QueryTimeSeriesRequest,QueryTimeSeriesResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

newBlockingStub(Channel channel)

public static QueryServiceGrpc.QueryServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
QueryServiceGrpc.QueryServiceBlockingStub

newFutureStub(Channel channel)

public static QueryServiceGrpc.QueryServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
QueryServiceGrpc.QueryServiceFutureStub

newStub(Channel channel)

public static QueryServiceGrpc.QueryServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
QueryServiceGrpc.QueryServiceStub