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 Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.UInt32Value
    Specifies the allowed number of retries.
    com.google.protobuf.UInt32ValueOrBuilder
    Specifies the allowed number of retries.
    Specifies parameters that control :ref:`retry backoff strategy <envoy_api_msg_core.BackoffStrategy>`.
    Specifies parameters that control :ref:`retry backoff strategy <envoy_api_msg_core.BackoffStrategy>`.
    boolean
    Specifies the allowed number of retries.
    boolean
    Specifies parameters that control :ref:`retry backoff strategy <envoy_api_msg_core.BackoffStrategy>`.

    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

    • hasRetryBackOff

      boolean hasRetryBackOff()
       Specifies parameters that control :ref:`retry backoff strategy <envoy_api_msg_core.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.api.v2.core.BackoffStrategy retry_back_off = 1;
      Returns:
      Whether the retryBackOff field is set.
    • getRetryBackOff

      BackoffStrategy getRetryBackOff()
       Specifies parameters that control :ref:`retry backoff strategy <envoy_api_msg_core.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.api.v2.core.BackoffStrategy retry_back_off = 1;
      Returns:
      The retryBackOff.
    • getRetryBackOffOrBuilder

      BackoffStrategyOrBuilder getRetryBackOffOrBuilder()
       Specifies parameters that control :ref:`retry backoff strategy <envoy_api_msg_core.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.api.v2.core.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;
      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;
      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;