Package io.envoyproxy.envoy.api.v2.core
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 TypeMethodDescriptioncom.google.protobuf.UInt32ValueSpecifies the allowed number of retries.com.google.protobuf.UInt32ValueOrBuilderSpecifies 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>`.booleanSpecifies the allowed number of retries.booleanSpecifies parameters that control :ref:`retry backoff strategy <envoy_api_msg_core.BackoffStrategy>`.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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;
-