Interface BackoffStrategyOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
BackoffStrategy, BackoffStrategy.Builder

public interface BackoffStrategyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Duration
    The base interval to be used for the next back off computation.
    com.google.protobuf.DurationOrBuilder
    The base interval to be used for the next back off computation.
    com.google.protobuf.Duration
    Specifies the maximum interval between retries.
    com.google.protobuf.DurationOrBuilder
    Specifies the maximum interval between retries.
    boolean
    The base interval to be used for the next back off computation.
    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()
       The base interval to be used for the next back off computation. It should
       be greater than zero and less than or equal to :ref:`max_interval
       <envoy_v3_api_field_config.core.v3.BackoffStrategy.max_interval>`.
       
      .google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
      Returns:
      Whether the baseInterval field is set.
    • getBaseInterval

      com.google.protobuf.Duration getBaseInterval()
       The base interval to be used for the next back off computation. It should
       be greater than zero and less than or equal to :ref:`max_interval
       <envoy_v3_api_field_config.core.v3.BackoffStrategy.max_interval>`.
       
      .google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
      Returns:
      The baseInterval.
    • getBaseIntervalOrBuilder

      com.google.protobuf.DurationOrBuilder getBaseIntervalOrBuilder()
       The base interval to be used for the next back off computation. It should
       be greater than zero and less than or equal to :ref:`max_interval
       <envoy_v3_api_field_config.core.v3.BackoffStrategy.max_interval>`.
       
      .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 :ref:`base_interval
       <envoy_v3_api_field_config.core.v3.BackoffStrategy.base_interval>` if set. The default
       is 10 times the :ref:`base_interval
       <envoy_v3_api_field_config.core.v3.BackoffStrategy.base_interval>`.
       
      .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 :ref:`base_interval
       <envoy_v3_api_field_config.core.v3.BackoffStrategy.base_interval>` if set. The default
       is 10 times the :ref:`base_interval
       <envoy_v3_api_field_config.core.v3.BackoffStrategy.base_interval>`.
       
      .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 :ref:`base_interval
       <envoy_v3_api_field_config.core.v3.BackoffStrategy.base_interval>` if set. The default
       is 10 times the :ref:`base_interval
       <envoy_v3_api_field_config.core.v3.BackoffStrategy.base_interval>`.
       
      .google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }