Class CircuitBreakers.Thresholds.RetryBudget.Builder

    • Field Detail

      • bitField0_

        private int bitField0_
      • budgetPercent_

        private Percent budgetPercent_
      • minRetryConcurrency_

        private com.google.protobuf.UInt32Value minRetryConcurrency_
      • minRetryConcurrencyBuilder_

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,​com.google.protobuf.UInt32Value.Builder,​com.google.protobuf.UInt32ValueOrBuilder> minRetryConcurrencyBuilder_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CircuitBreakers.Thresholds.RetryBudget.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CircuitBreakers.Thresholds.RetryBudget.Builder>
      • getDefaultInstanceForType

        public CircuitBreakers.Thresholds.RetryBudget getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public CircuitBreakers.Thresholds.RetryBudget build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public CircuitBreakers.Thresholds.RetryBudget buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage.Builder<CircuitBreakers.Thresholds.RetryBudget.Builder>
      • mergeFrom

        public CircuitBreakers.Thresholds.RetryBudget.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                 throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CircuitBreakers.Thresholds.RetryBudget.Builder>
        Throws:
        java.io.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:
        hasBudgetPercent in interface CircuitBreakers.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:
        getBudgetPercent in interface CircuitBreakers.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:
        getBudgetPercentOrBuilder in interface CircuitBreakers.Thresholds.RetryBudgetOrBuilder
      • getBudgetPercentFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<Percent,​Percent.Builder,​PercentOrBuilder> getBudgetPercentFieldBuilder()
         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;
      • 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:
        hasMinRetryConcurrency in interface CircuitBreakers.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:
        getMinRetryConcurrency in interface CircuitBreakers.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:
        getMinRetryConcurrencyOrBuilder in interface CircuitBreakers.Thresholds.RetryBudgetOrBuilder
      • getMinRetryConcurrencyFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,​com.google.protobuf.UInt32Value.Builder,​com.google.protobuf.UInt32ValueOrBuilder> getMinRetryConcurrencyFieldBuilder()
         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;