Interface RateLimitResponse.DescriptorStatusOrBuilder

    • Method Detail

      • getCodeValue

        int getCodeValue()
         The response code for an individual descriptor.
         
        .envoy.service.ratelimit.v2.RateLimitResponse.Code code = 1;
        Returns:
        The enum numeric value on the wire for code.
      • getCode

        RateLimitResponse.Code getCode()
         The response code for an individual descriptor.
         
        .envoy.service.ratelimit.v2.RateLimitResponse.Code code = 1;
        Returns:
        The code.
      • hasCurrentLimit

        boolean hasCurrentLimit()
         The current limit as configured by the server. Useful for debugging, etc.
         
        .envoy.service.ratelimit.v2.RateLimitResponse.RateLimit current_limit = 2;
        Returns:
        Whether the currentLimit field is set.
      • getCurrentLimit

        RateLimitResponse.RateLimit getCurrentLimit()
         The current limit as configured by the server. Useful for debugging, etc.
         
        .envoy.service.ratelimit.v2.RateLimitResponse.RateLimit current_limit = 2;
        Returns:
        The currentLimit.
      • getCurrentLimitOrBuilder

        RateLimitResponse.RateLimitOrBuilder getCurrentLimitOrBuilder()
         The current limit as configured by the server. Useful for debugging, etc.
         
        .envoy.service.ratelimit.v2.RateLimitResponse.RateLimit current_limit = 2;
      • getLimitRemaining

        int getLimitRemaining()
         The limit remaining in the current time unit.
         
        uint32 limit_remaining = 3;
        Returns:
        The limitRemaining.