Class GradientControllerConfig.MinimumRTTCalculationParams

    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • 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
      • hasRequestCount

        public boolean hasRequestCount()
         The number of requests to aggregate/sample during the minRTT recalculation window before
         updating. Defaults to 50.
         
        .google.protobuf.UInt32Value request_count = 2 [(.validate.rules) = { ... }
        Specified by:
        hasRequestCount in interface GradientControllerConfig.MinimumRTTCalculationParamsOrBuilder
        Returns:
        Whether the requestCount field is set.
      • getRequestCount

        public com.google.protobuf.UInt32Value getRequestCount()
         The number of requests to aggregate/sample during the minRTT recalculation window before
         updating. Defaults to 50.
         
        .google.protobuf.UInt32Value request_count = 2 [(.validate.rules) = { ... }
        Specified by:
        getRequestCount in interface GradientControllerConfig.MinimumRTTCalculationParamsOrBuilder
        Returns:
        The requestCount.
      • hasJitter

        public boolean hasJitter()
         Randomized time delta that will be introduced to the start of the minRTT calculation window.
         This is represented as a percentage of the interval duration. Defaults to 15%.
         Example: If the interval is 10s and the jitter is 15%, the next window will begin
         somewhere in the range (10s - 11.5s).
         
        .envoy.type.v3.Percent jitter = 3;
        Specified by:
        hasJitter in interface GradientControllerConfig.MinimumRTTCalculationParamsOrBuilder
        Returns:
        Whether the jitter field is set.
      • getJitter

        public Percent getJitter()
         Randomized time delta that will be introduced to the start of the minRTT calculation window.
         This is represented as a percentage of the interval duration. Defaults to 15%.
         Example: If the interval is 10s and the jitter is 15%, the next window will begin
         somewhere in the range (10s - 11.5s).
         
        .envoy.type.v3.Percent jitter = 3;
        Specified by:
        getJitter in interface GradientControllerConfig.MinimumRTTCalculationParamsOrBuilder
        Returns:
        The jitter.
      • getJitterOrBuilder

        public PercentOrBuilder getJitterOrBuilder()
         Randomized time delta that will be introduced to the start of the minRTT calculation window.
         This is represented as a percentage of the interval duration. Defaults to 15%.
         Example: If the interval is 10s and the jitter is 15%, the next window will begin
         somewhere in the range (10s - 11.5s).
         
        .envoy.type.v3.Percent jitter = 3;
        Specified by:
        getJitterOrBuilder in interface GradientControllerConfig.MinimumRTTCalculationParamsOrBuilder
      • hasBuffer

        public boolean hasBuffer()
         Amount added to the measured minRTT to add stability to the concurrency limit during natural
         variability in latency. This is expressed as a percentage of the measured value and can be
         adjusted to allow more or less tolerance to the sampled latency values.
         Defaults to 25%.
         
        .envoy.type.v3.Percent buffer = 5;
        Specified by:
        hasBuffer in interface GradientControllerConfig.MinimumRTTCalculationParamsOrBuilder
        Returns:
        Whether the buffer field is set.
      • getBuffer

        public Percent getBuffer()
         Amount added to the measured minRTT to add stability to the concurrency limit during natural
         variability in latency. This is expressed as a percentage of the measured value and can be
         adjusted to allow more or less tolerance to the sampled latency values.
         Defaults to 25%.
         
        .envoy.type.v3.Percent buffer = 5;
        Specified by:
        getBuffer in interface GradientControllerConfig.MinimumRTTCalculationParamsOrBuilder
        Returns:
        The buffer.
      • getBufferOrBuilder

        public PercentOrBuilder getBufferOrBuilder()
         Amount added to the measured minRTT to add stability to the concurrency limit during natural
         variability in latency. This is expressed as a percentage of the measured value and can be
         adjusted to allow more or less tolerance to the sampled latency values.
         Defaults to 25%.
         
        .envoy.type.v3.Percent buffer = 5;
        Specified by:
        getBufferOrBuilder in interface GradientControllerConfig.MinimumRTTCalculationParamsOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static GradientControllerConfig.MinimumRTTCalculationParams parseFrom​(java.nio.ByteBuffer data,
                                                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GradientControllerConfig.MinimumRTTCalculationParams parseFrom​(com.google.protobuf.ByteString data,
                                                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GradientControllerConfig.MinimumRTTCalculationParams parseFrom​(byte[] data,
                                                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                              throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • getParserForType

        public com.google.protobuf.Parser<GradientControllerConfig.MinimumRTTCalculationParams> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public GradientControllerConfig.MinimumRTTCalculationParams getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder