Class MetricsServiceV2Grpc (3.7.6)

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
TypeDescription
String

Static Methods

getCreateLogMetricMethod()

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

getDeleteLogMetricMethod()

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

getGetLogMetricMethod()

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

getListLogMetricsMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateLogMetricMethod()

public static MethodDescriptor<UpdateLogMetricRequest,LogMetric> getUpdateLogMetricMethod()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
MetricsServiceV2Grpc.MetricsServiceV2Stub