Interface RateLimitResponse.DescriptorStatusOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RateLimitResponse.DescriptorStatus, RateLimitResponse.DescriptorStatus.Builder
Enclosing class:
RateLimitResponse

public static interface RateLimitResponse.DescriptorStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The response code for an individual descriptor.
    int
    The response code for an individual descriptor.
    The current limit as configured by the server.
    The current limit as configured by the server.
    int
    The limit remaining in the current time unit.
    boolean
    The current limit as configured by the server.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • 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

       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.