Class MetricServiceGrpc (3.18.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
TypeDescription
String

Static Methods

bindService(MetricServiceGrpc.AsyncService service)

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

getCreateMetricDescriptorMethod()

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

getCreateServiceTimeSeriesMethod()

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

getCreateTimeSeriesMethod()

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

getDeleteMetricDescriptorMethod()

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

getGetMetricDescriptorMethod()

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

getGetMonitoredResourceDescriptorMethod()

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

getListMetricDescriptorsMethod()

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

getListMonitoredResourceDescriptorsMethod()

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

getListTimeSeriesMethod()

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

getServiceDescriptor()

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