Interface RetryPolicy.RateLimitedRetryBackOffOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.Duration getMaxInterval()
      Specifies the maximum back off interval that Envoy will allow.
      com.google.protobuf.DurationOrBuilder getMaxIntervalOrBuilder()
      Specifies the maximum back off interval that Envoy will allow.
      RetryPolicy.ResetHeader getResetHeaders​(int index)
      Specifies the reset headers (like ``Retry-After`` or ``X-RateLimit-Reset``) to match against the response.
      int getResetHeadersCount()
      Specifies the reset headers (like ``Retry-After`` or ``X-RateLimit-Reset``) to match against the response.
      java.util.List<RetryPolicy.ResetHeader> getResetHeadersList()
      Specifies the reset headers (like ``Retry-After`` or ``X-RateLimit-Reset``) to match against the response.
      RetryPolicy.ResetHeaderOrBuilder getResetHeadersOrBuilder​(int index)
      Specifies the reset headers (like ``Retry-After`` or ``X-RateLimit-Reset``) to match against the response.
      java.util.List<? extends RetryPolicy.ResetHeaderOrBuilder> getResetHeadersOrBuilderList()
      Specifies the reset headers (like ``Retry-After`` or ``X-RateLimit-Reset``) to match against the response.
      boolean hasMaxInterval()
      Specifies the maximum back off interval that Envoy will allow.
      • 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

      • getResetHeadersList

        java.util.List<RetryPolicy.ResetHeader> getResetHeadersList()
         Specifies the reset headers (like ``Retry-After`` or ``X-RateLimit-Reset``)
         to match against the response. Headers are tried in order, and matched case
         insensitive. The first header to be parsed successfully is used. If no headers
         match the default exponential back-off is used instead.
         
        repeated .envoy.config.route.v3.RetryPolicy.ResetHeader reset_headers = 1 [(.validate.rules) = { ... }
      • getResetHeaders

        RetryPolicy.ResetHeader getResetHeaders​(int index)
         Specifies the reset headers (like ``Retry-After`` or ``X-RateLimit-Reset``)
         to match against the response. Headers are tried in order, and matched case
         insensitive. The first header to be parsed successfully is used. If no headers
         match the default exponential back-off is used instead.
         
        repeated .envoy.config.route.v3.RetryPolicy.ResetHeader reset_headers = 1 [(.validate.rules) = { ... }
      • getResetHeadersCount

        int getResetHeadersCount()
         Specifies the reset headers (like ``Retry-After`` or ``X-RateLimit-Reset``)
         to match against the response. Headers are tried in order, and matched case
         insensitive. The first header to be parsed successfully is used. If no headers
         match the default exponential back-off is used instead.
         
        repeated .envoy.config.route.v3.RetryPolicy.ResetHeader reset_headers = 1 [(.validate.rules) = { ... }
      • getResetHeadersOrBuilderList

        java.util.List<? extends RetryPolicy.ResetHeaderOrBuilder> getResetHeadersOrBuilderList()
         Specifies the reset headers (like ``Retry-After`` or ``X-RateLimit-Reset``)
         to match against the response. Headers are tried in order, and matched case
         insensitive. The first header to be parsed successfully is used. If no headers
         match the default exponential back-off is used instead.
         
        repeated .envoy.config.route.v3.RetryPolicy.ResetHeader reset_headers = 1 [(.validate.rules) = { ... }
      • getResetHeadersOrBuilder

        RetryPolicy.ResetHeaderOrBuilder getResetHeadersOrBuilder​(int index)
         Specifies the reset headers (like ``Retry-After`` or ``X-RateLimit-Reset``)
         to match against the response. Headers are tried in order, and matched case
         insensitive. The first header to be parsed successfully is used. If no headers
         match the default exponential back-off is used instead.
         
        repeated .envoy.config.route.v3.RetryPolicy.ResetHeader reset_headers = 1 [(.validate.rules) = { ... }
      • hasMaxInterval

        boolean hasMaxInterval()
         Specifies the maximum back off interval that Envoy will allow. If a reset
         header contains an interval longer than this then it will be discarded and
         the next header will be tried. Defaults to 300 seconds.
         
        .google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
        Returns:
        Whether the maxInterval field is set.
      • getMaxInterval

        com.google.protobuf.Duration getMaxInterval()
         Specifies the maximum back off interval that Envoy will allow. If a reset
         header contains an interval longer than this then it will be discarded and
         the next header will be tried. Defaults to 300 seconds.
         
        .google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
        Returns:
        The maxInterval.
      • getMaxIntervalOrBuilder

        com.google.protobuf.DurationOrBuilder getMaxIntervalOrBuilder()
         Specifies the maximum back off interval that Envoy will allow. If a reset
         header contains an interval longer than this then it will be discarded and
         the next header will be tried. Defaults to 300 seconds.
         
        .google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }