public final class MetricServiceGrpc
Manages metric descriptors, monitored resource descriptors, and
time series data.
Static Fields
SERVICE_NAME
public static final String SERVICE_NAME
Field Value |
Type |
Description |
String |
|
Static Methods
bindService(MetricServiceGrpc.AsyncService service)
public static final ServerServiceDefinition bindService(MetricServiceGrpc.AsyncService service)
Returns |
Type |
Description |
io.grpc.ServerServiceDefinition |
|
getCreateMetricDescriptorMethod()
public static MethodDescriptor<CreateMetricDescriptorRequest,MetricDescriptor> getCreateMetricDescriptorMethod()
getCreateServiceTimeSeriesMethod()
public static MethodDescriptor<CreateTimeSeriesRequest,Empty> getCreateServiceTimeSeriesMethod()
getCreateTimeSeriesMethod()
public static MethodDescriptor<CreateTimeSeriesRequest,Empty> getCreateTimeSeriesMethod()
getDeleteMetricDescriptorMethod()
public static MethodDescriptor<DeleteMetricDescriptorRequest,Empty> getDeleteMetricDescriptorMethod()
getGetMetricDescriptorMethod()
public static MethodDescriptor<GetMetricDescriptorRequest,MetricDescriptor> getGetMetricDescriptorMethod()
getGetMonitoredResourceDescriptorMethod()
public static MethodDescriptor<GetMonitoredResourceDescriptorRequest,MonitoredResourceDescriptor> getGetMonitoredResourceDescriptorMethod()
getListMetricDescriptorsMethod()
public static MethodDescriptor<ListMetricDescriptorsRequest,ListMetricDescriptorsResponse> getListMetricDescriptorsMethod()
getListMonitoredResourceDescriptorsMethod()
public static MethodDescriptor<ListMonitoredResourceDescriptorsRequest,ListMonitoredResourceDescriptorsResponse> getListMonitoredResourceDescriptorsMethod()
getListTimeSeriesMethod()
public static MethodDescriptor<ListTimeSeriesRequest,ListTimeSeriesResponse> getListTimeSeriesMethod()
getServiceDescriptor()
public static ServiceDescriptor getServiceDescriptor()
Returns |
Type |
Description |
io.grpc.ServiceDescriptor |
|
newBlockingStub(Channel channel)
public static MetricServiceGrpc.MetricServiceBlockingStub 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
|
newFutureStub(Channel channel)
public static MetricServiceGrpc.MetricServiceFutureStub newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|
newStub(Channel channel)
public static MetricServiceGrpc.MetricServiceStub newStub(Channel channel)
Creates a new async stub that supports all call types for the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|