Class RetryPolicy.RetryBackOff.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.RetryBackOff.Builder>
-
- io.envoyproxy.envoy.config.route.v3.RetryPolicy.RetryBackOff.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RetryPolicy.RetryBackOffOrBuilder,Cloneable
- Enclosing class:
- RetryPolicy.RetryBackOff
public static final class RetryPolicy.RetryBackOff.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.RetryBackOff.Builder> implements RetryPolicy.RetryBackOffOrBuilder
Protobuf typeenvoy.config.route.v3.RetryPolicy.RetryBackOff
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RetryPolicy.RetryBackOff.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RetryPolicy.RetryBackOffbuild()RetryPolicy.RetryBackOffbuildPartial()RetryPolicy.RetryBackOff.Builderclear()RetryPolicy.RetryBackOff.BuilderclearBaseInterval()Specifies the base interval between retries.RetryPolicy.RetryBackOff.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RetryPolicy.RetryBackOff.BuilderclearMaxInterval()Specifies the maximum interval between retries.RetryPolicy.RetryBackOff.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RetryPolicy.RetryBackOff.Builderclone()com.google.protobuf.DurationgetBaseInterval()Specifies the base interval between retries.com.google.protobuf.Duration.BuildergetBaseIntervalBuilder()Specifies the base interval between retries.com.google.protobuf.DurationOrBuildergetBaseIntervalOrBuilder()Specifies the base interval between retries.RetryPolicy.RetryBackOffgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.DurationgetMaxInterval()Specifies the maximum interval between retries.com.google.protobuf.Duration.BuildergetMaxIntervalBuilder()Specifies the maximum interval between retries.com.google.protobuf.DurationOrBuildergetMaxIntervalOrBuilder()Specifies the maximum interval between retries.booleanhasBaseInterval()Specifies the base interval between retries.booleanhasMaxInterval()Specifies the maximum interval between retries.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RetryPolicy.RetryBackOff.BuildermergeBaseInterval(com.google.protobuf.Duration value)Specifies the base interval between retries.RetryPolicy.RetryBackOff.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RetryPolicy.RetryBackOff.BuildermergeFrom(com.google.protobuf.Message other)RetryPolicy.RetryBackOff.BuildermergeFrom(RetryPolicy.RetryBackOff other)RetryPolicy.RetryBackOff.BuildermergeMaxInterval(com.google.protobuf.Duration value)Specifies the maximum interval between retries.RetryPolicy.RetryBackOff.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RetryPolicy.RetryBackOff.BuildersetBaseInterval(com.google.protobuf.Duration value)Specifies the base interval between retries.RetryPolicy.RetryBackOff.BuildersetBaseInterval(com.google.protobuf.Duration.Builder builderForValue)Specifies the base interval between retries.RetryPolicy.RetryBackOff.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RetryPolicy.RetryBackOff.BuildersetMaxInterval(com.google.protobuf.Duration value)Specifies the maximum interval between retries.RetryPolicy.RetryBackOff.BuildersetMaxInterval(com.google.protobuf.Duration.Builder builderForValue)Specifies the maximum interval between retries.RetryPolicy.RetryBackOff.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RetryPolicy.RetryBackOff.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.RetryBackOff.Builder>
-
clear
public RetryPolicy.RetryBackOff.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.RetryBackOff.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.RetryBackOff.Builder>
-
getDefaultInstanceForType
public RetryPolicy.RetryBackOff getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RetryPolicy.RetryBackOff build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RetryPolicy.RetryBackOff buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RetryPolicy.RetryBackOff.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.RetryBackOff.Builder>
-
setField
public RetryPolicy.RetryBackOff.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.RetryBackOff.Builder>
-
clearField
public RetryPolicy.RetryBackOff.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.RetryBackOff.Builder>
-
clearOneof
public RetryPolicy.RetryBackOff.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.RetryBackOff.Builder>
-
setRepeatedField
public RetryPolicy.RetryBackOff.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.RetryBackOff.Builder>
-
addRepeatedField
public RetryPolicy.RetryBackOff.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.RetryBackOff.Builder>
-
mergeFrom
public RetryPolicy.RetryBackOff.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RetryPolicy.RetryBackOff.Builder>
-
mergeFrom
public RetryPolicy.RetryBackOff.Builder mergeFrom(RetryPolicy.RetryBackOff other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.RetryBackOff.Builder>
-
mergeFrom
public RetryPolicy.RetryBackOff.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RetryPolicy.RetryBackOff.Builder>- Throws:
IOException
-
hasBaseInterval
public boolean hasBaseInterval()
Specifies the base interval between retries. This parameter is required and must be greater than zero. Values less than 1 ms are rounded up to 1 ms. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's back-off algorithm.
.google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }- Specified by:
hasBaseIntervalin interfaceRetryPolicy.RetryBackOffOrBuilder- Returns:
- Whether the baseInterval field is set.
-
getBaseInterval
public com.google.protobuf.Duration getBaseInterval()
Specifies the base interval between retries. This parameter is required and must be greater than zero. Values less than 1 ms are rounded up to 1 ms. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's back-off algorithm.
.google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }- Specified by:
getBaseIntervalin interfaceRetryPolicy.RetryBackOffOrBuilder- Returns:
- The baseInterval.
-
setBaseInterval
public RetryPolicy.RetryBackOff.Builder setBaseInterval(com.google.protobuf.Duration value)
Specifies the base interval between retries. This parameter is required and must be greater than zero. Values less than 1 ms are rounded up to 1 ms. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's back-off algorithm.
.google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
-
setBaseInterval
public RetryPolicy.RetryBackOff.Builder setBaseInterval(com.google.protobuf.Duration.Builder builderForValue)
Specifies the base interval between retries. This parameter is required and must be greater than zero. Values less than 1 ms are rounded up to 1 ms. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's back-off algorithm.
.google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
-
mergeBaseInterval
public RetryPolicy.RetryBackOff.Builder mergeBaseInterval(com.google.protobuf.Duration value)
Specifies the base interval between retries. This parameter is required and must be greater than zero. Values less than 1 ms are rounded up to 1 ms. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's back-off algorithm.
.google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
-
clearBaseInterval
public RetryPolicy.RetryBackOff.Builder clearBaseInterval()
Specifies the base interval between retries. This parameter is required and must be greater than zero. Values less than 1 ms are rounded up to 1 ms. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's back-off algorithm.
.google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
-
getBaseIntervalBuilder
public com.google.protobuf.Duration.Builder getBaseIntervalBuilder()
Specifies the base interval between retries. This parameter is required and must be greater than zero. Values less than 1 ms are rounded up to 1 ms. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's back-off algorithm.
.google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }
-
getBaseIntervalOrBuilder
public com.google.protobuf.DurationOrBuilder getBaseIntervalOrBuilder()
Specifies the base interval between retries. This parameter is required and must be greater than zero. Values less than 1 ms are rounded up to 1 ms. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's back-off algorithm.
.google.protobuf.Duration base_interval = 1 [(.validate.rules) = { ... }- Specified by:
getBaseIntervalOrBuilderin interfaceRetryPolicy.RetryBackOffOrBuilder
-
hasMaxInterval
public boolean hasMaxInterval()
Specifies the maximum interval between retries. This parameter is optional, but must be greater than or equal to the ``base_interval`` if set. The default is 10 times the ``base_interval``. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's back-off algorithm.
.google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }- Specified by:
hasMaxIntervalin interfaceRetryPolicy.RetryBackOffOrBuilder- Returns:
- Whether the maxInterval field is set.
-
getMaxInterval
public com.google.protobuf.Duration getMaxInterval()
Specifies the maximum interval between retries. This parameter is optional, but must be greater than or equal to the ``base_interval`` if set. The default is 10 times the ``base_interval``. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's back-off algorithm.
.google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }- Specified by:
getMaxIntervalin interfaceRetryPolicy.RetryBackOffOrBuilder- Returns:
- The maxInterval.
-
setMaxInterval
public RetryPolicy.RetryBackOff.Builder setMaxInterval(com.google.protobuf.Duration value)
Specifies the maximum interval between retries. This parameter is optional, but must be greater than or equal to the ``base_interval`` if set. The default is 10 times the ``base_interval``. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's back-off algorithm.
.google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
-
setMaxInterval
public RetryPolicy.RetryBackOff.Builder setMaxInterval(com.google.protobuf.Duration.Builder builderForValue)
Specifies the maximum interval between retries. This parameter is optional, but must be greater than or equal to the ``base_interval`` if set. The default is 10 times the ``base_interval``. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's back-off algorithm.
.google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
-
mergeMaxInterval
public RetryPolicy.RetryBackOff.Builder mergeMaxInterval(com.google.protobuf.Duration value)
Specifies the maximum interval between retries. This parameter is optional, but must be greater than or equal to the ``base_interval`` if set. The default is 10 times the ``base_interval``. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's back-off algorithm.
.google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
-
clearMaxInterval
public RetryPolicy.RetryBackOff.Builder clearMaxInterval()
Specifies the maximum interval between retries. This parameter is optional, but must be greater than or equal to the ``base_interval`` if set. The default is 10 times the ``base_interval``. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's back-off algorithm.
.google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
-
getMaxIntervalBuilder
public com.google.protobuf.Duration.Builder getMaxIntervalBuilder()
Specifies the maximum interval between retries. This parameter is optional, but must be greater than or equal to the ``base_interval`` if set. The default is 10 times the ``base_interval``. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's back-off algorithm.
.google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }
-
getMaxIntervalOrBuilder
public com.google.protobuf.DurationOrBuilder getMaxIntervalOrBuilder()
Specifies the maximum interval between retries. This parameter is optional, but must be greater than or equal to the ``base_interval`` if set. The default is 10 times the ``base_interval``. See :ref:`config_http_filters_router_x-envoy-max-retries` for a discussion of Envoy's back-off algorithm.
.google.protobuf.Duration max_interval = 2 [(.validate.rules) = { ... }- Specified by:
getMaxIntervalOrBuilderin interfaceRetryPolicy.RetryBackOffOrBuilder
-
setUnknownFields
public final RetryPolicy.RetryBackOff.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.RetryBackOff.Builder>
-
mergeUnknownFields
public final RetryPolicy.RetryBackOff.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RetryPolicy.RetryBackOff.Builder>
-
-