Class GradientControllerConfig.MinimumRTTCalculationParams
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.config.filter.http.adaptive_concurrency.v2alpha.GradientControllerConfig.MinimumRTTCalculationParams
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GradientControllerConfig.MinimumRTTCalculationParamsOrBuilder,Serializable
- Enclosing class:
- GradientControllerConfig
public static final class GradientControllerConfig.MinimumRTTCalculationParams extends com.google.protobuf.GeneratedMessageV3 implements GradientControllerConfig.MinimumRTTCalculationParamsOrBuilder
Parameters controlling the periodic minRTT recalculation. [#next-free-field: 6]
Protobuf typeenvoy.config.filter.http.adaptive_concurrency.v2alpha.GradientControllerConfig.MinimumRTTCalculationParams- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGradientControllerConfig.MinimumRTTCalculationParams.BuilderParameters controlling the periodic minRTT recalculation.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intBUFFER_FIELD_NUMBERstatic intINTERVAL_FIELD_NUMBERstatic intJITTER_FIELD_NUMBERstatic intMIN_CONCURRENCY_FIELD_NUMBERstatic intREQUEST_COUNT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)PercentgetBuffer()Amount added to the measured minRTT to add stability to the concurrency limit during natural variability in latency.PercentOrBuildergetBufferOrBuilder()Amount added to the measured minRTT to add stability to the concurrency limit during natural variability in latency.static GradientControllerConfig.MinimumRTTCalculationParamsgetDefaultInstance()GradientControllerConfig.MinimumRTTCalculationParamsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.DurationgetInterval()The time interval between recalculating the minimum request round-trip time.com.google.protobuf.DurationOrBuildergetIntervalOrBuilder()The time interval between recalculating the minimum request round-trip time.PercentgetJitter()Randomized time delta that will be introduced to the start of the minRTT calculation window.PercentOrBuildergetJitterOrBuilder()Randomized time delta that will be introduced to the start of the minRTT calculation window.com.google.protobuf.UInt32ValuegetMinConcurrency()The concurrency limit set while measuring the minRTT.com.google.protobuf.UInt32ValueOrBuildergetMinConcurrencyOrBuilder()The concurrency limit set while measuring the minRTT.com.google.protobuf.Parser<GradientControllerConfig.MinimumRTTCalculationParams>getParserForType()com.google.protobuf.UInt32ValuegetRequestCount()The number of requests to aggregate/sample during the minRTT recalculation window before updating.com.google.protobuf.UInt32ValueOrBuildergetRequestCountOrBuilder()The number of requests to aggregate/sample during the minRTT recalculation window before updating.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasBuffer()Amount added to the measured minRTT to add stability to the concurrency limit during natural variability in latency.inthashCode()booleanhasInterval()The time interval between recalculating the minimum request round-trip time.booleanhasJitter()Randomized time delta that will be introduced to the start of the minRTT calculation window.booleanhasMinConcurrency()The concurrency limit set while measuring the minRTT.booleanhasRequestCount()The number of requests to aggregate/sample during the minRTT recalculation window before updating.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static GradientControllerConfig.MinimumRTTCalculationParams.BuildernewBuilder()static GradientControllerConfig.MinimumRTTCalculationParams.BuildernewBuilder(GradientControllerConfig.MinimumRTTCalculationParams prototype)GradientControllerConfig.MinimumRTTCalculationParams.BuildernewBuilderForType()protected GradientControllerConfig.MinimumRTTCalculationParams.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static GradientControllerConfig.MinimumRTTCalculationParamsparseDelimitedFrom(InputStream input)static GradientControllerConfig.MinimumRTTCalculationParamsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GradientControllerConfig.MinimumRTTCalculationParamsparseFrom(byte[] data)static GradientControllerConfig.MinimumRTTCalculationParamsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GradientControllerConfig.MinimumRTTCalculationParamsparseFrom(com.google.protobuf.ByteString data)static GradientControllerConfig.MinimumRTTCalculationParamsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GradientControllerConfig.MinimumRTTCalculationParamsparseFrom(com.google.protobuf.CodedInputStream input)static GradientControllerConfig.MinimumRTTCalculationParamsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GradientControllerConfig.MinimumRTTCalculationParamsparseFrom(InputStream input)static GradientControllerConfig.MinimumRTTCalculationParamsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GradientControllerConfig.MinimumRTTCalculationParamsparseFrom(ByteBuffer data)static GradientControllerConfig.MinimumRTTCalculationParamsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<GradientControllerConfig.MinimumRTTCalculationParams>parser()GradientControllerConfig.MinimumRTTCalculationParams.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
INTERVAL_FIELD_NUMBER
public static final int INTERVAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_COUNT_FIELD_NUMBER
public static final int REQUEST_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JITTER_FIELD_NUMBER
public static final int JITTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MIN_CONCURRENCY_FIELD_NUMBER
public static final int MIN_CONCURRENCY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BUFFER_FIELD_NUMBER
public static final int BUFFER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
hasInterval
public boolean hasInterval()
The time interval between recalculating the minimum request round-trip time.
.google.protobuf.Duration interval = 1 [(.validate.rules) = { ... }- Specified by:
hasIntervalin interfaceGradientControllerConfig.MinimumRTTCalculationParamsOrBuilder- Returns:
- Whether the interval field is set.
-
getInterval
public com.google.protobuf.Duration getInterval()
The time interval between recalculating the minimum request round-trip time.
.google.protobuf.Duration interval = 1 [(.validate.rules) = { ... }- Specified by:
getIntervalin interfaceGradientControllerConfig.MinimumRTTCalculationParamsOrBuilder- Returns:
- The interval.
-
getIntervalOrBuilder
public com.google.protobuf.DurationOrBuilder getIntervalOrBuilder()
The time interval between recalculating the minimum request round-trip time.
.google.protobuf.Duration interval = 1 [(.validate.rules) = { ... }- Specified by:
getIntervalOrBuilderin interfaceGradientControllerConfig.MinimumRTTCalculationParamsOrBuilder
-
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:
hasRequestCountin interfaceGradientControllerConfig.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:
getRequestCountin interfaceGradientControllerConfig.MinimumRTTCalculationParamsOrBuilder- Returns:
- The requestCount.
-
getRequestCountOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getRequestCountOrBuilder()
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:
getRequestCountOrBuilderin interfaceGradientControllerConfig.MinimumRTTCalculationParamsOrBuilder
-
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.Percent jitter = 3;- Specified by:
hasJitterin interfaceGradientControllerConfig.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.Percent jitter = 3;- Specified by:
getJitterin interfaceGradientControllerConfig.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.Percent jitter = 3;- Specified by:
getJitterOrBuilderin interfaceGradientControllerConfig.MinimumRTTCalculationParamsOrBuilder
-
hasMinConcurrency
public boolean hasMinConcurrency()
The concurrency limit set while measuring the minRTT. Defaults to 3.
.google.protobuf.UInt32Value min_concurrency = 4 [(.validate.rules) = { ... }- Specified by:
hasMinConcurrencyin interfaceGradientControllerConfig.MinimumRTTCalculationParamsOrBuilder- Returns:
- Whether the minConcurrency field is set.
-
getMinConcurrency
public com.google.protobuf.UInt32Value getMinConcurrency()
The concurrency limit set while measuring the minRTT. Defaults to 3.
.google.protobuf.UInt32Value min_concurrency = 4 [(.validate.rules) = { ... }- Specified by:
getMinConcurrencyin interfaceGradientControllerConfig.MinimumRTTCalculationParamsOrBuilder- Returns:
- The minConcurrency.
-
getMinConcurrencyOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMinConcurrencyOrBuilder()
The concurrency limit set while measuring the minRTT. Defaults to 3.
.google.protobuf.UInt32Value min_concurrency = 4 [(.validate.rules) = { ... }- Specified by:
getMinConcurrencyOrBuilderin interfaceGradientControllerConfig.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.Percent buffer = 5;- Specified by:
hasBufferin interfaceGradientControllerConfig.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.Percent buffer = 5;- Specified by:
getBufferin interfaceGradientControllerConfig.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.Percent buffer = 5;- Specified by:
getBufferOrBuilderin interfaceGradientControllerConfig.MinimumRTTCalculationParamsOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GradientControllerConfig.MinimumRTTCalculationParams parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GradientControllerConfig.MinimumRTTCalculationParams parseFrom(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) 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) 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
-
parseFrom
public static GradientControllerConfig.MinimumRTTCalculationParams parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GradientControllerConfig.MinimumRTTCalculationParams parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GradientControllerConfig.MinimumRTTCalculationParams parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GradientControllerConfig.MinimumRTTCalculationParams parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static GradientControllerConfig.MinimumRTTCalculationParams parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GradientControllerConfig.MinimumRTTCalculationParams parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public GradientControllerConfig.MinimumRTTCalculationParams.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static GradientControllerConfig.MinimumRTTCalculationParams.Builder newBuilder()
-
newBuilder
public static GradientControllerConfig.MinimumRTTCalculationParams.Builder newBuilder(GradientControllerConfig.MinimumRTTCalculationParams prototype)
-
toBuilder
public GradientControllerConfig.MinimumRTTCalculationParams.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GradientControllerConfig.MinimumRTTCalculationParams.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static GradientControllerConfig.MinimumRTTCalculationParams getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<GradientControllerConfig.MinimumRTTCalculationParams> parser()
-
getParserForType
public com.google.protobuf.Parser<GradientControllerConfig.MinimumRTTCalculationParams> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GradientControllerConfig.MinimumRTTCalculationParams getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-