Class Cluster.SlowStartConfig.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.SlowStartConfig.Builder>
      • clear

        public Cluster.SlowStartConfig.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.SlowStartConfig.Builder>
      • 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.GeneratedMessageV3.Builder<Cluster.SlowStartConfig.Builder>
      • getDefaultInstanceForType

        public Cluster.SlowStartConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Cluster.SlowStartConfig build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Cluster.SlowStartConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Cluster.SlowStartConfig.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.SlowStartConfig.Builder>
      • clearField

        public Cluster.SlowStartConfig.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.SlowStartConfig.Builder>
      • clearOneof

        public Cluster.SlowStartConfig.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.SlowStartConfig.Builder>
      • setRepeatedField

        public Cluster.SlowStartConfig.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                int index,
                                                                Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.SlowStartConfig.Builder>
      • addRepeatedField

        public Cluster.SlowStartConfig.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.SlowStartConfig.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.SlowStartConfig.Builder>
      • mergeFrom

        public Cluster.SlowStartConfig.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws 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<Cluster.SlowStartConfig.Builder>
        Throws:
        IOException
      • hasSlowStartWindow

        public boolean hasSlowStartWindow()
         Represents the size of slow start window.
         If set, the newly created host remains in slow start mode starting from its creation time
         for the duration of slow start window.
         
        .google.protobuf.Duration slow_start_window = 1;
        Specified by:
        hasSlowStartWindow in interface Cluster.SlowStartConfigOrBuilder
        Returns:
        Whether the slowStartWindow field is set.
      • getSlowStartWindow

        public com.google.protobuf.Duration getSlowStartWindow()
         Represents the size of slow start window.
         If set, the newly created host remains in slow start mode starting from its creation time
         for the duration of slow start window.
         
        .google.protobuf.Duration slow_start_window = 1;
        Specified by:
        getSlowStartWindow in interface Cluster.SlowStartConfigOrBuilder
        Returns:
        The slowStartWindow.
      • setSlowStartWindow

        public Cluster.SlowStartConfig.Builder setSlowStartWindow​(com.google.protobuf.Duration value)
         Represents the size of slow start window.
         If set, the newly created host remains in slow start mode starting from its creation time
         for the duration of slow start window.
         
        .google.protobuf.Duration slow_start_window = 1;
      • setSlowStartWindow

        public Cluster.SlowStartConfig.Builder setSlowStartWindow​(com.google.protobuf.Duration.Builder builderForValue)
         Represents the size of slow start window.
         If set, the newly created host remains in slow start mode starting from its creation time
         for the duration of slow start window.
         
        .google.protobuf.Duration slow_start_window = 1;
      • mergeSlowStartWindow

        public Cluster.SlowStartConfig.Builder mergeSlowStartWindow​(com.google.protobuf.Duration value)
         Represents the size of slow start window.
         If set, the newly created host remains in slow start mode starting from its creation time
         for the duration of slow start window.
         
        .google.protobuf.Duration slow_start_window = 1;
      • clearSlowStartWindow

        public Cluster.SlowStartConfig.Builder clearSlowStartWindow()
         Represents the size of slow start window.
         If set, the newly created host remains in slow start mode starting from its creation time
         for the duration of slow start window.
         
        .google.protobuf.Duration slow_start_window = 1;
      • getSlowStartWindowBuilder

        public com.google.protobuf.Duration.Builder getSlowStartWindowBuilder()
         Represents the size of slow start window.
         If set, the newly created host remains in slow start mode starting from its creation time
         for the duration of slow start window.
         
        .google.protobuf.Duration slow_start_window = 1;
      • getSlowStartWindowOrBuilder

        public com.google.protobuf.DurationOrBuilder getSlowStartWindowOrBuilder()
         Represents the size of slow start window.
         If set, the newly created host remains in slow start mode starting from its creation time
         for the duration of slow start window.
         
        .google.protobuf.Duration slow_start_window = 1;
        Specified by:
        getSlowStartWindowOrBuilder in interface Cluster.SlowStartConfigOrBuilder
      • hasAggression

        public boolean hasAggression()
         This parameter controls the speed of traffic increase over the slow start window. Defaults to 1.0,
         so that endpoint would get linearly increasing amount of traffic.
         When increasing the value for this parameter, the speed of traffic ramp-up increases non-linearly.
         The value of aggression parameter should be greater than 0.0.
         By tuning the parameter, is possible to achieve polynomial or exponential shape of ramp-up curve.
         During slow start window, effective weight of an endpoint would be scaled with time factor and aggression:
         ``new_weight = weight * max(min_weight_percent, time_factor ^ (1 / aggression))``,
         where ``time_factor=(time_since_start_seconds / slow_start_time_seconds)``.
         As time progresses, more and more traffic would be sent to endpoint, which is in slow start window.
         Once host exits slow start, time_factor and aggression no longer affect its weight.
         
        .envoy.config.core.v3.RuntimeDouble aggression = 2;
        Specified by:
        hasAggression in interface Cluster.SlowStartConfigOrBuilder
        Returns:
        Whether the aggression field is set.
      • getAggression

        public RuntimeDouble getAggression()
         This parameter controls the speed of traffic increase over the slow start window. Defaults to 1.0,
         so that endpoint would get linearly increasing amount of traffic.
         When increasing the value for this parameter, the speed of traffic ramp-up increases non-linearly.
         The value of aggression parameter should be greater than 0.0.
         By tuning the parameter, is possible to achieve polynomial or exponential shape of ramp-up curve.
         During slow start window, effective weight of an endpoint would be scaled with time factor and aggression:
         ``new_weight = weight * max(min_weight_percent, time_factor ^ (1 / aggression))``,
         where ``time_factor=(time_since_start_seconds / slow_start_time_seconds)``.
         As time progresses, more and more traffic would be sent to endpoint, which is in slow start window.
         Once host exits slow start, time_factor and aggression no longer affect its weight.
         
        .envoy.config.core.v3.RuntimeDouble aggression = 2;
        Specified by:
        getAggression in interface Cluster.SlowStartConfigOrBuilder
        Returns:
        The aggression.
      • setAggression

        public Cluster.SlowStartConfig.Builder setAggression​(RuntimeDouble value)
         This parameter controls the speed of traffic increase over the slow start window. Defaults to 1.0,
         so that endpoint would get linearly increasing amount of traffic.
         When increasing the value for this parameter, the speed of traffic ramp-up increases non-linearly.
         The value of aggression parameter should be greater than 0.0.
         By tuning the parameter, is possible to achieve polynomial or exponential shape of ramp-up curve.
         During slow start window, effective weight of an endpoint would be scaled with time factor and aggression:
         ``new_weight = weight * max(min_weight_percent, time_factor ^ (1 / aggression))``,
         where ``time_factor=(time_since_start_seconds / slow_start_time_seconds)``.
         As time progresses, more and more traffic would be sent to endpoint, which is in slow start window.
         Once host exits slow start, time_factor and aggression no longer affect its weight.
         
        .envoy.config.core.v3.RuntimeDouble aggression = 2;
      • setAggression

        public Cluster.SlowStartConfig.Builder setAggression​(RuntimeDouble.Builder builderForValue)
         This parameter controls the speed of traffic increase over the slow start window. Defaults to 1.0,
         so that endpoint would get linearly increasing amount of traffic.
         When increasing the value for this parameter, the speed of traffic ramp-up increases non-linearly.
         The value of aggression parameter should be greater than 0.0.
         By tuning the parameter, is possible to achieve polynomial or exponential shape of ramp-up curve.
         During slow start window, effective weight of an endpoint would be scaled with time factor and aggression:
         ``new_weight = weight * max(min_weight_percent, time_factor ^ (1 / aggression))``,
         where ``time_factor=(time_since_start_seconds / slow_start_time_seconds)``.
         As time progresses, more and more traffic would be sent to endpoint, which is in slow start window.
         Once host exits slow start, time_factor and aggression no longer affect its weight.
         
        .envoy.config.core.v3.RuntimeDouble aggression = 2;
      • mergeAggression

        public Cluster.SlowStartConfig.Builder mergeAggression​(RuntimeDouble value)
         This parameter controls the speed of traffic increase over the slow start window. Defaults to 1.0,
         so that endpoint would get linearly increasing amount of traffic.
         When increasing the value for this parameter, the speed of traffic ramp-up increases non-linearly.
         The value of aggression parameter should be greater than 0.0.
         By tuning the parameter, is possible to achieve polynomial or exponential shape of ramp-up curve.
         During slow start window, effective weight of an endpoint would be scaled with time factor and aggression:
         ``new_weight = weight * max(min_weight_percent, time_factor ^ (1 / aggression))``,
         where ``time_factor=(time_since_start_seconds / slow_start_time_seconds)``.
         As time progresses, more and more traffic would be sent to endpoint, which is in slow start window.
         Once host exits slow start, time_factor and aggression no longer affect its weight.
         
        .envoy.config.core.v3.RuntimeDouble aggression = 2;
      • clearAggression

        public Cluster.SlowStartConfig.Builder clearAggression()
         This parameter controls the speed of traffic increase over the slow start window. Defaults to 1.0,
         so that endpoint would get linearly increasing amount of traffic.
         When increasing the value for this parameter, the speed of traffic ramp-up increases non-linearly.
         The value of aggression parameter should be greater than 0.0.
         By tuning the parameter, is possible to achieve polynomial or exponential shape of ramp-up curve.
         During slow start window, effective weight of an endpoint would be scaled with time factor and aggression:
         ``new_weight = weight * max(min_weight_percent, time_factor ^ (1 / aggression))``,
         where ``time_factor=(time_since_start_seconds / slow_start_time_seconds)``.
         As time progresses, more and more traffic would be sent to endpoint, which is in slow start window.
         Once host exits slow start, time_factor and aggression no longer affect its weight.
         
        .envoy.config.core.v3.RuntimeDouble aggression = 2;
      • getAggressionBuilder

        public RuntimeDouble.Builder getAggressionBuilder()
         This parameter controls the speed of traffic increase over the slow start window. Defaults to 1.0,
         so that endpoint would get linearly increasing amount of traffic.
         When increasing the value for this parameter, the speed of traffic ramp-up increases non-linearly.
         The value of aggression parameter should be greater than 0.0.
         By tuning the parameter, is possible to achieve polynomial or exponential shape of ramp-up curve.
         During slow start window, effective weight of an endpoint would be scaled with time factor and aggression:
         ``new_weight = weight * max(min_weight_percent, time_factor ^ (1 / aggression))``,
         where ``time_factor=(time_since_start_seconds / slow_start_time_seconds)``.
         As time progresses, more and more traffic would be sent to endpoint, which is in slow start window.
         Once host exits slow start, time_factor and aggression no longer affect its weight.
         
        .envoy.config.core.v3.RuntimeDouble aggression = 2;
      • getAggressionOrBuilder

        public RuntimeDoubleOrBuilder getAggressionOrBuilder()
         This parameter controls the speed of traffic increase over the slow start window. Defaults to 1.0,
         so that endpoint would get linearly increasing amount of traffic.
         When increasing the value for this parameter, the speed of traffic ramp-up increases non-linearly.
         The value of aggression parameter should be greater than 0.0.
         By tuning the parameter, is possible to achieve polynomial or exponential shape of ramp-up curve.
         During slow start window, effective weight of an endpoint would be scaled with time factor and aggression:
         ``new_weight = weight * max(min_weight_percent, time_factor ^ (1 / aggression))``,
         where ``time_factor=(time_since_start_seconds / slow_start_time_seconds)``.
         As time progresses, more and more traffic would be sent to endpoint, which is in slow start window.
         Once host exits slow start, time_factor and aggression no longer affect its weight.
         
        .envoy.config.core.v3.RuntimeDouble aggression = 2;
        Specified by:
        getAggressionOrBuilder in interface Cluster.SlowStartConfigOrBuilder
      • hasMinWeightPercent

        public boolean hasMinWeightPercent()
         Configures the minimum percentage of origin weight that avoids too small new weight,
         which may cause endpoints in slow start mode receive no traffic in slow start window.
         If not specified, the default is 10%.
         
        .envoy.type.v3.Percent min_weight_percent = 3;
        Specified by:
        hasMinWeightPercent in interface Cluster.SlowStartConfigOrBuilder
        Returns:
        Whether the minWeightPercent field is set.
      • getMinWeightPercent

        public Percent getMinWeightPercent()
         Configures the minimum percentage of origin weight that avoids too small new weight,
         which may cause endpoints in slow start mode receive no traffic in slow start window.
         If not specified, the default is 10%.
         
        .envoy.type.v3.Percent min_weight_percent = 3;
        Specified by:
        getMinWeightPercent in interface Cluster.SlowStartConfigOrBuilder
        Returns:
        The minWeightPercent.
      • setMinWeightPercent

        public Cluster.SlowStartConfig.Builder setMinWeightPercent​(Percent value)
         Configures the minimum percentage of origin weight that avoids too small new weight,
         which may cause endpoints in slow start mode receive no traffic in slow start window.
         If not specified, the default is 10%.
         
        .envoy.type.v3.Percent min_weight_percent = 3;
      • setMinWeightPercent

        public Cluster.SlowStartConfig.Builder setMinWeightPercent​(Percent.Builder builderForValue)
         Configures the minimum percentage of origin weight that avoids too small new weight,
         which may cause endpoints in slow start mode receive no traffic in slow start window.
         If not specified, the default is 10%.
         
        .envoy.type.v3.Percent min_weight_percent = 3;
      • mergeMinWeightPercent

        public Cluster.SlowStartConfig.Builder mergeMinWeightPercent​(Percent value)
         Configures the minimum percentage of origin weight that avoids too small new weight,
         which may cause endpoints in slow start mode receive no traffic in slow start window.
         If not specified, the default is 10%.
         
        .envoy.type.v3.Percent min_weight_percent = 3;
      • clearMinWeightPercent

        public Cluster.SlowStartConfig.Builder clearMinWeightPercent()
         Configures the minimum percentage of origin weight that avoids too small new weight,
         which may cause endpoints in slow start mode receive no traffic in slow start window.
         If not specified, the default is 10%.
         
        .envoy.type.v3.Percent min_weight_percent = 3;
      • getMinWeightPercentBuilder

        public Percent.Builder getMinWeightPercentBuilder()
         Configures the minimum percentage of origin weight that avoids too small new weight,
         which may cause endpoints in slow start mode receive no traffic in slow start window.
         If not specified, the default is 10%.
         
        .envoy.type.v3.Percent min_weight_percent = 3;
      • getMinWeightPercentOrBuilder

        public PercentOrBuilder getMinWeightPercentOrBuilder()
         Configures the minimum percentage of origin weight that avoids too small new weight,
         which may cause endpoints in slow start mode receive no traffic in slow start window.
         If not specified, the default is 10%.
         
        .envoy.type.v3.Percent min_weight_percent = 3;
        Specified by:
        getMinWeightPercentOrBuilder in interface Cluster.SlowStartConfigOrBuilder
      • setUnknownFields

        public final Cluster.SlowStartConfig.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.SlowStartConfig.Builder>
      • mergeUnknownFields

        public final Cluster.SlowStartConfig.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Cluster.SlowStartConfig.Builder>