Interface RetryPolicy.RateLimitedRetryBackOffOrBuilder

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

public static interface RetryPolicy.RateLimitedRetryBackOffOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Duration
    Specifies the maximum back off interval that Envoy will allow.
    com.google.protobuf.DurationOrBuilder
    Specifies the maximum back off interval that Envoy will allow.
    getResetHeaders(int index)
    Specifies the reset headers (like ``Retry-After`` or ``X-RateLimit-Reset``) to match against the response.
    int
    Specifies the reset headers (like ``Retry-After`` or ``X-RateLimit-Reset``) to match against the response.
    Specifies the reset headers (like ``Retry-After`` or ``X-RateLimit-Reset``) to match against the response.
    Specifies the reset headers (like ``Retry-After`` or ``X-RateLimit-Reset``) to match against the response.
    Specifies the reset headers (like ``Retry-After`` or ``X-RateLimit-Reset``) to match against the response.
    boolean
    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 Details

    • getResetHeadersList

      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

      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) = { ... }