Class RateLimitService
- java.lang.Object
-
- io.envoyproxy.envoy.service.ratelimit.v2.RateLimitService
-
- All Implemented Interfaces:
com.google.protobuf.Service
- Direct Known Subclasses:
RateLimitService.Stub
public abstract class RateLimitService extends Object implements com.google.protobuf.Service
Protobuf serviceenvoy.service.ratelimit.v2.RateLimitService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRateLimitService.BlockingInterfacestatic interfaceRateLimitService.Interfacestatic classRateLimitService.Stub
-
Constructor Summary
Constructors Modifier Constructor Description protectedRateLimitService()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcallMethod(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.RpcController controller, com.google.protobuf.Message request, com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)static com.google.protobuf.Descriptors.ServiceDescriptorgetDescriptor()com.google.protobuf.Descriptors.ServiceDescriptorgetDescriptorForType()com.google.protobuf.MessagegetRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)com.google.protobuf.MessagegetResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)static RateLimitService.BlockingInterfacenewBlockingStub(com.google.protobuf.BlockingRpcChannel channel)static com.google.protobuf.BlockingServicenewReflectiveBlockingService(RateLimitService.BlockingInterface impl)static com.google.protobuf.ServicenewReflectiveService(RateLimitService.Interface impl)static RateLimitService.StubnewStub(com.google.protobuf.RpcChannel channel)abstract voidshouldRateLimit(com.google.protobuf.RpcController controller, RateLimitRequest request, com.google.protobuf.RpcCallback<RateLimitResponse> done)Determine whether rate limiting should take place.
-
-
-
Method Detail
-
newReflectiveService
public static com.google.protobuf.Service newReflectiveService(RateLimitService.Interface impl)
-
newReflectiveBlockingService
public static com.google.protobuf.BlockingService newReflectiveBlockingService(RateLimitService.BlockingInterface impl)
-
shouldRateLimit
public abstract void shouldRateLimit(com.google.protobuf.RpcController controller, RateLimitRequest request, com.google.protobuf.RpcCallback<RateLimitResponse> done)Determine whether rate limiting should take place.
rpc ShouldRateLimit(.envoy.service.ratelimit.v2.RateLimitRequest) returns (.envoy.service.ratelimit.v2.RateLimitResponse);
-
getDescriptor
public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
-
getDescriptorForType
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Service
-
callMethod
public final void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.RpcController controller, com.google.protobuf.Message request, com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)- Specified by:
callMethodin interfacecom.google.protobuf.Service
-
getRequestPrototype
public final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
- Specified by:
getRequestPrototypein interfacecom.google.protobuf.Service
-
getResponsePrototype
public final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
- Specified by:
getResponsePrototypein interfacecom.google.protobuf.Service
-
newStub
public static RateLimitService.Stub newStub(com.google.protobuf.RpcChannel channel)
-
newBlockingStub
public static RateLimitService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
-
-