Interface RetryPolicy.RetryBackOffOrBuilder

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

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

    Modifier and Type
    Method
    Description
    com.google.protobuf.Duration
    Specifies the base interval between retries.
    com.google.protobuf.DurationOrBuilder
    Specifies the base interval between retries.
    com.google.protobuf.Duration
    Specifies the maximum interval between retries.
    com.google.protobuf.DurationOrBuilder
    Specifies the maximum interval between retries.
    boolean
    Specifies the base interval between retries.
    boolean
    Specifies the maximum interval between retries.

    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

    • hasBaseInterval

      boolean hasBaseInterval()
       Specifies the base interval between retries. This parameter is required and must be greater
       than zero. Values less than 1 ms are rounded up to 1 ms.
       See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's
       back-off algorithm.
       
      .google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
      Returns:
      Whether the baseInterval field is set.
    • getBaseInterval

      com.google.protobuf.Duration getBaseInterval()
       Specifies the base interval between retries. This parameter is required and must be greater
       than zero. Values less than 1 ms are rounded up to 1 ms.
       See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's
       back-off algorithm.
       
      .google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
      Returns:
      The baseInterval.
    • getBaseIntervalOrBuilder

      com.google.protobuf.DurationOrBuilder getBaseIntervalOrBuilder()
       Specifies the base interval between retries. This parameter is required and must be greater
       than zero. Values less than 1 ms are rounded up to 1 ms.
       See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's
       back-off algorithm.
       
      .google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
    • hasMaxInterval

      boolean hasMaxInterval()
       Specifies the maximum interval between retries. This parameter is optional, but must be
       greater than or equal to the ``base_interval`` if set. The default is 10 times the
       ``base_interval``. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion
       of Envoy's back-off algorithm.
       
      .google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
      Returns:
      Whether the maxInterval field is set.
    • getMaxInterval

      com.google.protobuf.Duration getMaxInterval()
       Specifies the maximum interval between retries. This parameter is optional, but must be
       greater than or equal to the ``base_interval`` if set. The default is 10 times the
       ``base_interval``. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion
       of Envoy's back-off algorithm.
       
      .google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
      Returns:
      The maxInterval.
    • getMaxIntervalOrBuilder

      com.google.protobuf.DurationOrBuilder getMaxIntervalOrBuilder()
       Specifies the maximum interval between retries. This parameter is optional, but must be
       greater than or equal to the ``base_interval`` if set. The default is 10 times the
       ``base_interval``. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion
       of Envoy's back-off algorithm.
       
      .google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }