Class 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 service envoy.service.ratelimit.v3.RateLimitService
    • Constructor Detail

      • RateLimitService

        protected RateLimitService()
    • Method Detail

      • 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.v3.RateLimitRequest) returns (.envoy.service.ratelimit.v3.RateLimitResponse);
      • getDescriptor

        public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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:
        callMethod in interface com.google.protobuf.Service
      • getRequestPrototype

        public final com.google.protobuf.Message getRequestPrototype​(com.google.protobuf.Descriptors.MethodDescriptor method)
        Specified by:
        getRequestPrototype in interface com.google.protobuf.Service
      • getResponsePrototype

        public final com.google.protobuf.Message getResponsePrototype​(com.google.protobuf.Descriptors.MethodDescriptor method)
        Specified by:
        getResponsePrototype in interface com.google.protobuf.Service