Interface RateLimitResponse.RateLimitOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getName()
      A name or description of this limit.
      com.google.protobuf.ByteString getNameBytes()
      A name or description of this limit.
      int getRequestsPerUnit()
      The number of requests per unit of time.
      RateLimitResponse.RateLimit.Unit getUnit()
      The unit of time.
      int getUnitValue()
      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 Detail

      • 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

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