Interface FluentdAccessLogConfig.RetryOptionsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FluentdAccessLogConfig.RetryOptions,FluentdAccessLogConfig.RetryOptions.Builder
- Enclosing class:
- FluentdAccessLogConfig
public static interface FluentdAccessLogConfig.RetryOptionsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionSets the backoff strategy.Sets the backoff strategy.com.google.protobuf.UInt32ValueThe number of times the logger will attempt to connect to the upstream during reconnects.com.google.protobuf.UInt32ValueOrBuilderThe number of times the logger will attempt to connect to the upstream during reconnects.booleanSets the backoff strategy.booleanThe number of times the logger will attempt to connect to the upstream during reconnects.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
-
hasMaxConnectAttempts
boolean hasMaxConnectAttempts()The number of times the logger will attempt to connect to the upstream during reconnects. By default, there is no limit. The logger will attempt to reconnect to the upstream each time connecting to the upstream failed or the upstream connection had been closed for any reason.
.google.protobuf.UInt32Value max_connect_attempts = 1;- Returns:
- Whether the maxConnectAttempts field is set.
-
getMaxConnectAttempts
com.google.protobuf.UInt32Value getMaxConnectAttempts()The number of times the logger will attempt to connect to the upstream during reconnects. By default, there is no limit. The logger will attempt to reconnect to the upstream each time connecting to the upstream failed or the upstream connection had been closed for any reason.
.google.protobuf.UInt32Value max_connect_attempts = 1;- Returns:
- The maxConnectAttempts.
-
getMaxConnectAttemptsOrBuilder
com.google.protobuf.UInt32ValueOrBuilder getMaxConnectAttemptsOrBuilder()The number of times the logger will attempt to connect to the upstream during reconnects. By default, there is no limit. The logger will attempt to reconnect to the upstream each time connecting to the upstream failed or the upstream connection had been closed for any reason.
.google.protobuf.UInt32Value max_connect_attempts = 1; -
hasBackoffOptions
boolean hasBackoffOptions()Sets the backoff strategy. If this value is not set, the default base backoff interval is 500 milliseconds and the default max backoff interval is 5 seconds (10 times the base interval).
.envoy.config.core.v3.BackoffStrategy backoff_options = 2;- Returns:
- Whether the backoffOptions field is set.
-
getBackoffOptions
BackoffStrategy getBackoffOptions()Sets the backoff strategy. If this value is not set, the default base backoff interval is 500 milliseconds and the default max backoff interval is 5 seconds (10 times the base interval).
.envoy.config.core.v3.BackoffStrategy backoff_options = 2;- Returns:
- The backoffOptions.
-
getBackoffOptionsOrBuilder
BackoffStrategyOrBuilder getBackoffOptionsOrBuilder()Sets the backoff strategy. If this value is not set, the default base backoff interval is 500 milliseconds and the default max backoff interval is 5 seconds (10 times the base interval).
.envoy.config.core.v3.BackoffStrategy backoff_options = 2;
-