Class MetricsServiceV2Grpc (3.17.0)

public final class MetricsServiceV2Grpc

Service for configuring logs-based metrics.

Inheritance

java.lang.Object > MetricsServiceV2Grpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(MetricsServiceV2Grpc.AsyncService service)

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

getCreateLogMetricMethod()

public static MethodDescriptor<CreateLogMetricRequest,LogMetric> getCreateLogMetricMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateLogMetricRequest,LogMetric>

getDeleteLogMetricMethod()

public static MethodDescriptor<DeleteLogMetricRequest,Empty> getDeleteLogMetricMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteLogMetricRequest,Empty>

getGetLogMetricMethod()

public static MethodDescriptor<GetLogMetricRequest,LogMetric> getGetLogMetricMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetLogMetricRequest,LogMetric>

getListLogMetricsMethod()

public static MethodDescriptor<ListLogMetricsRequest,ListLogMetricsResponse> getListLogMetricsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListLogMetricsRequest,ListLogMetricsResponse>

getServiceDescriptor()

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

getUpdateLogMetricMethod()

public static MethodDescriptor<UpdateLogMetricRequest,LogMetric> getUpdateLogMetricMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateLogMetricRequest,LogMetric>

newBlockingStub(Channel channel)

public static MetricsServiceV2Grpc.MetricsServiceV2BlockingStub 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
MetricsServiceV2Grpc.MetricsServiceV2BlockingStub

newFutureStub(Channel channel)

public static MetricsServiceV2Grpc.MetricsServiceV2FutureStub 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
MetricsServiceV2Grpc.MetricsServiceV2FutureStub

newStub(Channel channel)

public static MetricsServiceV2Grpc.MetricsServiceV2Stub 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
MetricsServiceV2Grpc.MetricsServiceV2Stub