Package io.grpc.testing.integration
Class MetricsServiceGrpc
- java.lang.Object
-
- io.grpc.testing.integration.MetricsServiceGrpc
-
public final class MetricsServiceGrpc extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMetricsServiceGrpc.AsyncServicestatic classMetricsServiceGrpc.MetricsServiceBlockingStubA stub to allow clients to do synchronous rpc calls to service MetricsService.static classMetricsServiceGrpc.MetricsServiceFutureStubA stub to allow clients to do ListenableFuture-style rpc calls to service MetricsService.static classMetricsServiceGrpc.MetricsServiceImplBaseBase class for the server implementation of the service MetricsService.static classMetricsServiceGrpc.MetricsServiceStubA stub to allow clients to do asynchronous rpc calls to service MetricsService.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinitionbindService(MetricsServiceGrpc.AsyncService service)static io.grpc.MethodDescriptor<Metrics.EmptyMessage,Metrics.GaugeResponse>getGetAllGaugesMethod()static io.grpc.MethodDescriptor<Metrics.GaugeRequest,Metrics.GaugeResponse>getGetGaugeMethod()static io.grpc.ServiceDescriptorgetServiceDescriptor()static MetricsServiceGrpc.MetricsServiceBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic MetricsServiceGrpc.MetricsServiceFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic MetricsServiceGrpc.MetricsServiceStubnewStub(io.grpc.Channel channel)Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final java.lang.String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getGetAllGaugesMethod
public static io.grpc.MethodDescriptor<Metrics.EmptyMessage,Metrics.GaugeResponse> getGetAllGaugesMethod()
-
getGetGaugeMethod
public static io.grpc.MethodDescriptor<Metrics.GaugeRequest,Metrics.GaugeResponse> getGetGaugeMethod()
-
newStub
public static MetricsServiceGrpc.MetricsServiceStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static MetricsServiceGrpc.MetricsServiceBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static MetricsServiceGrpc.MetricsServiceFutureStub newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
bindService
public static final io.grpc.ServerServiceDefinition bindService(MetricsServiceGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-