Class CircuitBreakers.Thresholds.RetryBudget.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Thresholds.RetryBudget.Builder>
-
- io.envoyproxy.envoy.config.cluster.v3.CircuitBreakers.Thresholds.RetryBudget.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CircuitBreakers.Thresholds.RetryBudgetOrBuilder,Cloneable
- Enclosing class:
- CircuitBreakers.Thresholds.RetryBudget
public static final class CircuitBreakers.Thresholds.RetryBudget.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Thresholds.RetryBudget.Builder> implements CircuitBreakers.Thresholds.RetryBudgetOrBuilder
Protobuf typeenvoy.config.cluster.v3.CircuitBreakers.Thresholds.RetryBudget
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CircuitBreakers.Thresholds.RetryBudget.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CircuitBreakers.Thresholds.RetryBudgetbuild()CircuitBreakers.Thresholds.RetryBudgetbuildPartial()CircuitBreakers.Thresholds.RetryBudget.Builderclear()CircuitBreakers.Thresholds.RetryBudget.BuilderclearBudgetPercent()Specifies the limit on concurrent retries as a percentage of the sum of active requests and active pending requests.CircuitBreakers.Thresholds.RetryBudget.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CircuitBreakers.Thresholds.RetryBudget.BuilderclearMinRetryConcurrency()Specifies the minimum retry concurrency allowed for the retry budget.CircuitBreakers.Thresholds.RetryBudget.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CircuitBreakers.Thresholds.RetryBudget.Builderclone()PercentgetBudgetPercent()Specifies the limit on concurrent retries as a percentage of the sum of active requests and active pending requests.Percent.BuildergetBudgetPercentBuilder()Specifies the limit on concurrent retries as a percentage of the sum of active requests and active pending requests.PercentOrBuildergetBudgetPercentOrBuilder()Specifies the limit on concurrent retries as a percentage of the sum of active requests and active pending requests.CircuitBreakers.Thresholds.RetryBudgetgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.UInt32ValuegetMinRetryConcurrency()Specifies the minimum retry concurrency allowed for the retry budget.com.google.protobuf.UInt32Value.BuildergetMinRetryConcurrencyBuilder()Specifies the minimum retry concurrency allowed for the retry budget.com.google.protobuf.UInt32ValueOrBuildergetMinRetryConcurrencyOrBuilder()Specifies the minimum retry concurrency allowed for the retry budget.booleanhasBudgetPercent()Specifies the limit on concurrent retries as a percentage of the sum of active requests and active pending requests.booleanhasMinRetryConcurrency()Specifies the minimum retry concurrency allowed for the retry budget.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CircuitBreakers.Thresholds.RetryBudget.BuildermergeBudgetPercent(Percent value)Specifies the limit on concurrent retries as a percentage of the sum of active requests and active pending requests.CircuitBreakers.Thresholds.RetryBudget.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CircuitBreakers.Thresholds.RetryBudget.BuildermergeFrom(com.google.protobuf.Message other)CircuitBreakers.Thresholds.RetryBudget.BuildermergeFrom(CircuitBreakers.Thresholds.RetryBudget other)CircuitBreakers.Thresholds.RetryBudget.BuildermergeMinRetryConcurrency(com.google.protobuf.UInt32Value value)Specifies the minimum retry concurrency allowed for the retry budget.CircuitBreakers.Thresholds.RetryBudget.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CircuitBreakers.Thresholds.RetryBudget.BuildersetBudgetPercent(Percent value)Specifies the limit on concurrent retries as a percentage of the sum of active requests and active pending requests.CircuitBreakers.Thresholds.RetryBudget.BuildersetBudgetPercent(Percent.Builder builderForValue)Specifies the limit on concurrent retries as a percentage of the sum of active requests and active pending requests.CircuitBreakers.Thresholds.RetryBudget.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CircuitBreakers.Thresholds.RetryBudget.BuildersetMinRetryConcurrency(com.google.protobuf.UInt32Value value)Specifies the minimum retry concurrency allowed for the retry budget.CircuitBreakers.Thresholds.RetryBudget.BuildersetMinRetryConcurrency(com.google.protobuf.UInt32Value.Builder builderForValue)Specifies the minimum retry concurrency allowed for the retry budget.CircuitBreakers.Thresholds.RetryBudget.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)CircuitBreakers.Thresholds.RetryBudget.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<CircuitBreakers.Thresholds.RetryBudget.Builder>
-
clear
public CircuitBreakers.Thresholds.RetryBudget.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<CircuitBreakers.Thresholds.RetryBudget.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<CircuitBreakers.Thresholds.RetryBudget.Builder>
-
getDefaultInstanceForType
public CircuitBreakers.Thresholds.RetryBudget getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CircuitBreakers.Thresholds.RetryBudget build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CircuitBreakers.Thresholds.RetryBudget buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CircuitBreakers.Thresholds.RetryBudget.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<CircuitBreakers.Thresholds.RetryBudget.Builder>
-
setField
public CircuitBreakers.Thresholds.RetryBudget.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<CircuitBreakers.Thresholds.RetryBudget.Builder>
-
clearField
public CircuitBreakers.Thresholds.RetryBudget.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Thresholds.RetryBudget.Builder>
-
clearOneof
public CircuitBreakers.Thresholds.RetryBudget.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Thresholds.RetryBudget.Builder>
-
setRepeatedField
public CircuitBreakers.Thresholds.RetryBudget.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<CircuitBreakers.Thresholds.RetryBudget.Builder>
-
addRepeatedField
public CircuitBreakers.Thresholds.RetryBudget.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<CircuitBreakers.Thresholds.RetryBudget.Builder>
-
mergeFrom
public CircuitBreakers.Thresholds.RetryBudget.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CircuitBreakers.Thresholds.RetryBudget.Builder>
-
mergeFrom
public CircuitBreakers.Thresholds.RetryBudget.Builder mergeFrom(CircuitBreakers.Thresholds.RetryBudget other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Thresholds.RetryBudget.Builder>
-
mergeFrom
public CircuitBreakers.Thresholds.RetryBudget.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<CircuitBreakers.Thresholds.RetryBudget.Builder>- Throws:
IOException
-
hasBudgetPercent
public boolean hasBudgetPercent()
Specifies the limit on concurrent retries as a percentage of the sum of active requests and active pending requests. For example, if there are 100 active requests and the budget_percent is set to 25, there may be 25 active retries. This parameter is optional. Defaults to 20%.
.envoy.type.v3.Percent budget_percent = 1;- Specified by:
hasBudgetPercentin interfaceCircuitBreakers.Thresholds.RetryBudgetOrBuilder- Returns:
- Whether the budgetPercent field is set.
-
getBudgetPercent
public Percent getBudgetPercent()
Specifies the limit on concurrent retries as a percentage of the sum of active requests and active pending requests. For example, if there are 100 active requests and the budget_percent is set to 25, there may be 25 active retries. This parameter is optional. Defaults to 20%.
.envoy.type.v3.Percent budget_percent = 1;- Specified by:
getBudgetPercentin interfaceCircuitBreakers.Thresholds.RetryBudgetOrBuilder- Returns:
- The budgetPercent.
-
setBudgetPercent
public CircuitBreakers.Thresholds.RetryBudget.Builder setBudgetPercent(Percent value)
Specifies the limit on concurrent retries as a percentage of the sum of active requests and active pending requests. For example, if there are 100 active requests and the budget_percent is set to 25, there may be 25 active retries. This parameter is optional. Defaults to 20%.
.envoy.type.v3.Percent budget_percent = 1;
-
setBudgetPercent
public CircuitBreakers.Thresholds.RetryBudget.Builder setBudgetPercent(Percent.Builder builderForValue)
Specifies the limit on concurrent retries as a percentage of the sum of active requests and active pending requests. For example, if there are 100 active requests and the budget_percent is set to 25, there may be 25 active retries. This parameter is optional. Defaults to 20%.
.envoy.type.v3.Percent budget_percent = 1;
-
mergeBudgetPercent
public CircuitBreakers.Thresholds.RetryBudget.Builder mergeBudgetPercent(Percent value)
Specifies the limit on concurrent retries as a percentage of the sum of active requests and active pending requests. For example, if there are 100 active requests and the budget_percent is set to 25, there may be 25 active retries. This parameter is optional. Defaults to 20%.
.envoy.type.v3.Percent budget_percent = 1;
-
clearBudgetPercent
public CircuitBreakers.Thresholds.RetryBudget.Builder clearBudgetPercent()
Specifies the limit on concurrent retries as a percentage of the sum of active requests and active pending requests. For example, if there are 100 active requests and the budget_percent is set to 25, there may be 25 active retries. This parameter is optional. Defaults to 20%.
.envoy.type.v3.Percent budget_percent = 1;
-
getBudgetPercentBuilder
public Percent.Builder getBudgetPercentBuilder()
Specifies the limit on concurrent retries as a percentage of the sum of active requests and active pending requests. For example, if there are 100 active requests and the budget_percent is set to 25, there may be 25 active retries. This parameter is optional. Defaults to 20%.
.envoy.type.v3.Percent budget_percent = 1;
-
getBudgetPercentOrBuilder
public PercentOrBuilder getBudgetPercentOrBuilder()
Specifies the limit on concurrent retries as a percentage of the sum of active requests and active pending requests. For example, if there are 100 active requests and the budget_percent is set to 25, there may be 25 active retries. This parameter is optional. Defaults to 20%.
.envoy.type.v3.Percent budget_percent = 1;- Specified by:
getBudgetPercentOrBuilderin interfaceCircuitBreakers.Thresholds.RetryBudgetOrBuilder
-
hasMinRetryConcurrency
public boolean hasMinRetryConcurrency()
Specifies the minimum retry concurrency allowed for the retry budget. The limit on the number of active retries may never go below this number. This parameter is optional. Defaults to 3.
.google.protobuf.UInt32Value min_retry_concurrency = 2;- Specified by:
hasMinRetryConcurrencyin interfaceCircuitBreakers.Thresholds.RetryBudgetOrBuilder- Returns:
- Whether the minRetryConcurrency field is set.
-
getMinRetryConcurrency
public com.google.protobuf.UInt32Value getMinRetryConcurrency()
Specifies the minimum retry concurrency allowed for the retry budget. The limit on the number of active retries may never go below this number. This parameter is optional. Defaults to 3.
.google.protobuf.UInt32Value min_retry_concurrency = 2;- Specified by:
getMinRetryConcurrencyin interfaceCircuitBreakers.Thresholds.RetryBudgetOrBuilder- Returns:
- The minRetryConcurrency.
-
setMinRetryConcurrency
public CircuitBreakers.Thresholds.RetryBudget.Builder setMinRetryConcurrency(com.google.protobuf.UInt32Value value)
Specifies the minimum retry concurrency allowed for the retry budget. The limit on the number of active retries may never go below this number. This parameter is optional. Defaults to 3.
.google.protobuf.UInt32Value min_retry_concurrency = 2;
-
setMinRetryConcurrency
public CircuitBreakers.Thresholds.RetryBudget.Builder setMinRetryConcurrency(com.google.protobuf.UInt32Value.Builder builderForValue)
Specifies the minimum retry concurrency allowed for the retry budget. The limit on the number of active retries may never go below this number. This parameter is optional. Defaults to 3.
.google.protobuf.UInt32Value min_retry_concurrency = 2;
-
mergeMinRetryConcurrency
public CircuitBreakers.Thresholds.RetryBudget.Builder mergeMinRetryConcurrency(com.google.protobuf.UInt32Value value)
Specifies the minimum retry concurrency allowed for the retry budget. The limit on the number of active retries may never go below this number. This parameter is optional. Defaults to 3.
.google.protobuf.UInt32Value min_retry_concurrency = 2;
-
clearMinRetryConcurrency
public CircuitBreakers.Thresholds.RetryBudget.Builder clearMinRetryConcurrency()
Specifies the minimum retry concurrency allowed for the retry budget. The limit on the number of active retries may never go below this number. This parameter is optional. Defaults to 3.
.google.protobuf.UInt32Value min_retry_concurrency = 2;
-
getMinRetryConcurrencyBuilder
public com.google.protobuf.UInt32Value.Builder getMinRetryConcurrencyBuilder()
Specifies the minimum retry concurrency allowed for the retry budget. The limit on the number of active retries may never go below this number. This parameter is optional. Defaults to 3.
.google.protobuf.UInt32Value min_retry_concurrency = 2;
-
getMinRetryConcurrencyOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMinRetryConcurrencyOrBuilder()
Specifies the minimum retry concurrency allowed for the retry budget. The limit on the number of active retries may never go below this number. This parameter is optional. Defaults to 3.
.google.protobuf.UInt32Value min_retry_concurrency = 2;- Specified by:
getMinRetryConcurrencyOrBuilderin interfaceCircuitBreakers.Thresholds.RetryBudgetOrBuilder
-
setUnknownFields
public final CircuitBreakers.Thresholds.RetryBudget.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Thresholds.RetryBudget.Builder>
-
mergeUnknownFields
public final CircuitBreakers.Thresholds.RetryBudget.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CircuitBreakers.Thresholds.RetryBudget.Builder>
-
-