Interface RetryPolicyOrBuilder

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

public interface RetryPolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasRetryBackOff

      boolean hasRetryBackOff()
       Specifies parameters that control :ref:`retry backoff strategy <envoy_v3_api_msg_config.core.v3.BackoffStrategy>`.
       This parameter is optional, in which case the default base interval is 1000 milliseconds. The
       default maximum interval is 10 times the base interval.
       
      .envoy.config.core.v3.BackoffStrategy retry_back_off = 1;
      Returns:
      Whether the retryBackOff field is set.
    • getRetryBackOff

      BackoffStrategy getRetryBackOff()
       Specifies parameters that control :ref:`retry backoff strategy <envoy_v3_api_msg_config.core.v3.BackoffStrategy>`.
       This parameter is optional, in which case the default base interval is 1000 milliseconds. The
       default maximum interval is 10 times the base interval.
       
      .envoy.config.core.v3.BackoffStrategy retry_back_off = 1;
      Returns:
      The retryBackOff.
    • getRetryBackOffOrBuilder

      BackoffStrategyOrBuilder getRetryBackOffOrBuilder()
       Specifies parameters that control :ref:`retry backoff strategy <envoy_v3_api_msg_config.core.v3.BackoffStrategy>`.
       This parameter is optional, in which case the default base interval is 1000 milliseconds. The
       default maximum interval is 10 times the base interval.
       
      .envoy.config.core.v3.BackoffStrategy retry_back_off = 1;
    • hasNumRetries

      boolean hasNumRetries()
       Specifies the allowed number of retries. This parameter is optional and
       defaults to 1.
       
      .google.protobuf.UInt32Value num_retries = 2 [(.udpa.annotations.field_migrate) = { ... }
      Returns:
      Whether the numRetries field is set.
    • getNumRetries

      com.google.protobuf.UInt32Value getNumRetries()
       Specifies the allowed number of retries. This parameter is optional and
       defaults to 1.
       
      .google.protobuf.UInt32Value num_retries = 2 [(.udpa.annotations.field_migrate) = { ... }
      Returns:
      The numRetries.
    • getNumRetriesOrBuilder

      com.google.protobuf.UInt32ValueOrBuilder getNumRetriesOrBuilder()
       Specifies the allowed number of retries. This parameter is optional and
       defaults to 1.
       
      .google.protobuf.UInt32Value num_retries = 2 [(.udpa.annotations.field_migrate) = { ... }
    • getRetryOn

      String getRetryOn()
       For details, see :ref:`retry_on <envoy_v3_api_field_config.route.v3.RetryPolicy.retry_on>`.
       
      string retry_on = 3;
      Returns:
      The retryOn.
    • getRetryOnBytes

      com.google.protobuf.ByteString getRetryOnBytes()
       For details, see :ref:`retry_on <envoy_v3_api_field_config.route.v3.RetryPolicy.retry_on>`.
       
      string retry_on = 3;
      Returns:
      The bytes for retryOn.
    • hasRetryPriority

      boolean hasRetryPriority()
       For details, see :ref:`retry_priority <envoy_v3_api_field_config.route.v3.RetryPolicy.retry_priority>`.
       
      .envoy.config.core.v3.RetryPolicy.RetryPriority retry_priority = 4;
      Returns:
      Whether the retryPriority field is set.
    • getRetryPriority

      RetryPolicy.RetryPriority getRetryPriority()
       For details, see :ref:`retry_priority <envoy_v3_api_field_config.route.v3.RetryPolicy.retry_priority>`.
       
      .envoy.config.core.v3.RetryPolicy.RetryPriority retry_priority = 4;
      Returns:
      The retryPriority.
    • getRetryPriorityOrBuilder

      RetryPolicy.RetryPriorityOrBuilder getRetryPriorityOrBuilder()
       For details, see :ref:`retry_priority <envoy_v3_api_field_config.route.v3.RetryPolicy.retry_priority>`.
       
      .envoy.config.core.v3.RetryPolicy.RetryPriority retry_priority = 4;
    • getRetryHostPredicateList

      List<RetryPolicy.RetryHostPredicate> getRetryHostPredicateList()
       For details, see :ref:`RetryHostPredicate <envoy_v3_api_field_config.route.v3.RetryPolicy.retry_host_predicate>`.
       
      repeated .envoy.config.core.v3.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;
    • getRetryHostPredicate

      RetryPolicy.RetryHostPredicate getRetryHostPredicate(int index)
       For details, see :ref:`RetryHostPredicate <envoy_v3_api_field_config.route.v3.RetryPolicy.retry_host_predicate>`.
       
      repeated .envoy.config.core.v3.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;
    • getRetryHostPredicateCount

      int getRetryHostPredicateCount()
       For details, see :ref:`RetryHostPredicate <envoy_v3_api_field_config.route.v3.RetryPolicy.retry_host_predicate>`.
       
      repeated .envoy.config.core.v3.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;
    • getRetryHostPredicateOrBuilderList

      List<? extends RetryPolicy.RetryHostPredicateOrBuilder> getRetryHostPredicateOrBuilderList()
       For details, see :ref:`RetryHostPredicate <envoy_v3_api_field_config.route.v3.RetryPolicy.retry_host_predicate>`.
       
      repeated .envoy.config.core.v3.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;
    • getRetryHostPredicateOrBuilder

      RetryPolicy.RetryHostPredicateOrBuilder getRetryHostPredicateOrBuilder(int index)
       For details, see :ref:`RetryHostPredicate <envoy_v3_api_field_config.route.v3.RetryPolicy.retry_host_predicate>`.
       
      repeated .envoy.config.core.v3.RetryPolicy.RetryHostPredicate retry_host_predicate = 5;
    • getHostSelectionRetryMaxAttempts

      long getHostSelectionRetryMaxAttempts()
       For details, see :ref:`host_selection_retry_max_attempts <envoy_v3_api_field_config.route.v3.RetryPolicy.host_selection_retry_max_attempts>`.
       
      int64 host_selection_retry_max_attempts = 6;
      Returns:
      The hostSelectionRetryMaxAttempts.