Class MetricServiceGrpc (3.55.0)

public final class MetricServiceGrpc

Manages metric descriptors, monitored resource descriptors, and time series data.

Inheritance

java.lang.Object > MetricServiceGrpc

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)
Parameter
Name Description
service MetricServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateMetricDescriptorMethod()

public static MethodDescriptor<CreateMetricDescriptorRequest,MetricDescriptor> getCreateMetricDescriptorMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateMetricDescriptorRequest,com.google.api.MetricDescriptor>

getCreateServiceTimeSeriesMethod()

public static MethodDescriptor<CreateTimeSeriesRequest,Empty> getCreateServiceTimeSeriesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateTimeSeriesRequest,Empty>

getCreateTimeSeriesMethod()

public static MethodDescriptor<CreateTimeSeriesRequest,Empty> getCreateTimeSeriesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateTimeSeriesRequest,Empty>

getDeleteMetricDescriptorMethod()

public static MethodDescriptor<DeleteMetricDescriptorRequest,Empty> getDeleteMetricDescriptorMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteMetricDescriptorRequest,Empty>

getGetMetricDescriptorMethod()

public static MethodDescriptor<GetMetricDescriptorRequest,MetricDescriptor> getGetMetricDescriptorMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetMetricDescriptorRequest,com.google.api.MetricDescriptor>

getGetMonitoredResourceDescriptorMethod()

public static MethodDescriptor<GetMonitoredResourceDescriptorRequest,MonitoredResourceDescriptor> getGetMonitoredResourceDescriptorMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetMonitoredResourceDescriptorRequest,com.google.api.MonitoredResourceDescriptor>

getListMetricDescriptorsMethod()

public static MethodDescriptor<ListMetricDescriptorsRequest,ListMetricDescriptorsResponse> getListMetricDescriptorsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListMetricDescriptorsRequest,ListMetricDescriptorsResponse>

getListMonitoredResourceDescriptorsMethod()

public static MethodDescriptor<ListMonitoredResourceDescriptorsRequest,ListMonitoredResourceDescriptorsResponse> getListMonitoredResourceDescriptorsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListMonitoredResourceDescriptorsRequest,ListMonitoredResourceDescriptorsResponse>

getListTimeSeriesMethod()

public static MethodDescriptor<ListTimeSeriesRequest,ListTimeSeriesResponse> getListTimeSeriesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListTimeSeriesRequest,ListTimeSeriesResponse>

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
Returns
Type Description
MetricServiceGrpc.MetricServiceBlockingStub

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
Returns
Type Description
MetricServiceGrpc.MetricServiceFutureStub

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
Returns
Type Description
MetricServiceGrpc.MetricServiceStub