Class QueryServiceGrpc (3.16.0)

public final class QueryServiceGrpc

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

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(QueryServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(QueryServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceQueryServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getQueryTimeSeriesMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
QueryServiceGrpc.QueryServiceStub