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 type
envoy.config.filter.http.adaptive_concurrency.v2alpha.GradientControllerConfig.MinimumRTTCalculationParams- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classParameters 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<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanAmount added to the measured minRTT to add stability to the concurrency limit during natural variability in latency.Amount added to the measured minRTT to add stability to the concurrency limit during natural variability in latency.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationThe time interval between recalculating the minimum request round-trip time.com.google.protobuf.DurationOrBuilderThe time interval between recalculating the minimum request round-trip time.Randomized time delta that will be introduced to the start of the minRTT calculation window.Randomized time delta that will be introduced to the start of the minRTT calculation window.com.google.protobuf.UInt32ValueThe concurrency limit set while measuring the minRTT.com.google.protobuf.UInt32ValueOrBuilderThe concurrency limit set while measuring the minRTT.com.google.protobuf.Parser<GradientControllerConfig.MinimumRTTCalculationParams>com.google.protobuf.UInt32ValueThe number of requests to aggregate/sample during the minRTT recalculation window before updating.com.google.protobuf.UInt32ValueOrBuilderThe number of requests to aggregate/sample during the minRTT recalculation window before updating.intbooleanAmount added to the measured minRTT to add stability to the concurrency limit during natural variability in latency.inthashCode()booleanThe time interval between recalculating the minimum request round-trip time.booleanRandomized time delta that will be introduced to the start of the minRTT calculation window.booleanThe concurrency limit set while measuring the minRTT.booleanThe number of requests to aggregate/sample during the minRTT recalculation window before updating.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GradientControllerConfig.MinimumRTTCalculationParams>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
INTERVAL_FIELD_NUMBER
public static final int INTERVAL_FIELD_NUMBER- See Also:
-
REQUEST_COUNT_FIELD_NUMBER
public static final int REQUEST_COUNT_FIELD_NUMBER- See Also:
-
JITTER_FIELD_NUMBER
public static final int JITTER_FIELD_NUMBER- See Also:
-
MIN_CONCURRENCY_FIELD_NUMBER
public static final int MIN_CONCURRENCY_FIELD_NUMBER- See Also:
-
BUFFER_FIELD_NUMBER
public static final int BUFFER_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein 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
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
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
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
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
- 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
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static GradientControllerConfig.MinimumRTTCalculationParams.Builder newBuilder(GradientControllerConfig.MinimumRTTCalculationParams prototype) -
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
-
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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-