Interface RateLimitResponse.RateLimitOrBuilder

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

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

    Modifier and Type
    Method
    Description
    A name or description of this limit.
    com.google.protobuf.ByteString
    A name or description of this limit.
    int
    The number of requests per unit of time.
    The unit of time.
    int
    The unit of time.

    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

    • getName

      String getName()
       A name or description of this limit.
       
      string name = 3;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       A name or description of this limit.
       
      string name = 3;
      Returns:
      The bytes for name.
    • getRequestsPerUnit

      int getRequestsPerUnit()
       The number of requests per unit of time.
       
      uint32 requests_per_unit = 1;
      Returns:
      The requestsPerUnit.
    • getUnitValue

      int getUnitValue()
       The unit of time.
       
      .envoy.service.ratelimit.v3.RateLimitResponse.RateLimit.Unit unit = 2;
      Returns:
      The enum numeric value on the wire for unit.
    • getUnit

       The unit of time.
       
      .envoy.service.ratelimit.v3.RateLimitResponse.RateLimit.Unit unit = 2;
      Returns:
      The unit.