Package io.grpc.testing.integration
Class MetricsServiceGrpc.MetricsServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<MetricsServiceGrpc.MetricsServiceStub>
-
- io.grpc.testing.integration.MetricsServiceGrpc.MetricsServiceStub
-
- Enclosing class:
- MetricsServiceGrpc
public static final class MetricsServiceGrpc.MetricsServiceStub extends io.grpc.stub.AbstractAsyncStub<MetricsServiceGrpc.MetricsServiceStub>
A stub to allow clients to do asynchronous rpc calls to service MetricsService.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MetricsServiceGrpc.MetricsServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voidgetAllGauges(Metrics.EmptyMessage request, io.grpc.stub.StreamObserver<Metrics.GaugeResponse> responseObserver)Returns the values of all the gauges that are currently being maintained by the servicevoidgetGauge(Metrics.GaugeRequest request, io.grpc.stub.StreamObserver<Metrics.GaugeResponse> responseObserver)Returns the value of one gauge
-
-
-
Method Detail
-
build
protected MetricsServiceGrpc.MetricsServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<MetricsServiceGrpc.MetricsServiceStub>
-
getAllGauges
public void getAllGauges(Metrics.EmptyMessage request, io.grpc.stub.StreamObserver<Metrics.GaugeResponse> responseObserver)
Returns the values of all the gauges that are currently being maintained by the service
-
getGauge
public void getGauge(Metrics.GaugeRequest request, io.grpc.stub.StreamObserver<Metrics.GaugeResponse> responseObserver)
Returns the value of one gauge
-
-