Class AdaptiveConcurrency
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.extensions.filters.http.adaptive_concurrency.v3.AdaptiveConcurrency
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AdaptiveConcurrencyOrBuilder,Serializable
public final class AdaptiveConcurrency
extends com.google.protobuf.GeneratedMessageV3
implements AdaptiveConcurrencyOrBuilder
Protobuf type
envoy.extensions.filters.http.adaptive_concurrency.v3.AdaptiveConcurrency- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeenvoy.extensions.filters.http.adaptive_concurrency.v3.AdaptiveConcurrencystatic enumNested 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 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 TypeMethodDescriptionbooleanThis field allows for a custom HTTP response status code to the downstream client when the concurrency limit has been exceeded.This field allows for a custom HTTP response status code to the downstream client when the concurrency limit has been exceeded.static AdaptiveConcurrencystatic final com.google.protobuf.Descriptors.DescriptorIf set to false, the adaptive concurrency filter will operate as a pass-through filter.If set to false, the adaptive concurrency filter will operate as a pass-through filter.Gradient concurrency control will be used.Gradient concurrency control will be used.com.google.protobuf.Parser<AdaptiveConcurrency>intbooleanThis field allows for a custom HTTP response status code to the downstream client when the concurrency limit has been exceeded.booleanIf set to false, the adaptive concurrency filter will operate as a pass-through filter.booleanGradient concurrency control will be used.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic AdaptiveConcurrency.Builderstatic AdaptiveConcurrency.BuildernewBuilder(AdaptiveConcurrency prototype) protected AdaptiveConcurrency.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static AdaptiveConcurrencyparseDelimitedFrom(InputStream input) static AdaptiveConcurrencyparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AdaptiveConcurrencyparseFrom(byte[] data) static AdaptiveConcurrencyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AdaptiveConcurrencyparseFrom(com.google.protobuf.ByteString data) static AdaptiveConcurrencyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AdaptiveConcurrencyparseFrom(com.google.protobuf.CodedInputStream input) static AdaptiveConcurrencyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AdaptiveConcurrencyparseFrom(InputStream input) static AdaptiveConcurrencyparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AdaptiveConcurrencyparseFrom(ByteBuffer data) static AdaptiveConcurrencyparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AdaptiveConcurrency>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
-
GRADIENT_CONTROLLER_CONFIG_FIELD_NUMBER
public static final int GRADIENT_CONTROLLER_CONFIG_FIELD_NUMBER- See Also:
-
ENABLED_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER- See Also:
-
CONCURRENCY_LIMIT_EXCEEDED_STATUS_FIELD_NUMBER
public static final int CONCURRENCY_LIMIT_EXCEEDED_STATUS_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
-
getConcurrencyControllerConfigCase
- Specified by:
getConcurrencyControllerConfigCasein interfaceAdaptiveConcurrencyOrBuilder
-
hasGradientControllerConfig
public boolean hasGradientControllerConfig()Gradient concurrency control will be used.
.envoy.extensions.filters.http.adaptive_concurrency.v3.GradientControllerConfig gradient_controller_config = 1 [(.validate.rules) = { ... }- Specified by:
hasGradientControllerConfigin interfaceAdaptiveConcurrencyOrBuilder- Returns:
- Whether the gradientControllerConfig field is set.
-
getGradientControllerConfig
Gradient concurrency control will be used.
.envoy.extensions.filters.http.adaptive_concurrency.v3.GradientControllerConfig gradient_controller_config = 1 [(.validate.rules) = { ... }- Specified by:
getGradientControllerConfigin interfaceAdaptiveConcurrencyOrBuilder- Returns:
- The gradientControllerConfig.
-
getGradientControllerConfigOrBuilder
Gradient concurrency control will be used.
.envoy.extensions.filters.http.adaptive_concurrency.v3.GradientControllerConfig gradient_controller_config = 1 [(.validate.rules) = { ... }- Specified by:
getGradientControllerConfigOrBuilderin interfaceAdaptiveConcurrencyOrBuilder
-
hasEnabled
public boolean hasEnabled()If set to false, the adaptive concurrency filter will operate as a pass-through filter. If the message is unspecified, the filter will be enabled.
.envoy.config.core.v3.RuntimeFeatureFlag enabled = 2;- Specified by:
hasEnabledin interfaceAdaptiveConcurrencyOrBuilder- Returns:
- Whether the enabled field is set.
-
getEnabled
If set to false, the adaptive concurrency filter will operate as a pass-through filter. If the message is unspecified, the filter will be enabled.
.envoy.config.core.v3.RuntimeFeatureFlag enabled = 2;- Specified by:
getEnabledin interfaceAdaptiveConcurrencyOrBuilder- Returns:
- The enabled.
-
getEnabledOrBuilder
If set to false, the adaptive concurrency filter will operate as a pass-through filter. If the message is unspecified, the filter will be enabled.
.envoy.config.core.v3.RuntimeFeatureFlag enabled = 2;- Specified by:
getEnabledOrBuilderin interfaceAdaptiveConcurrencyOrBuilder
-
hasConcurrencyLimitExceededStatus
public boolean hasConcurrencyLimitExceededStatus()This field allows for a custom HTTP response status code to the downstream client when the concurrency limit has been exceeded. Defaults to 503 (Service Unavailable). .. note:: If this is set to < 400, 503 will be used instead.
.envoy.type.v3.HttpStatus concurrency_limit_exceeded_status = 3;- Specified by:
hasConcurrencyLimitExceededStatusin interfaceAdaptiveConcurrencyOrBuilder- Returns:
- Whether the concurrencyLimitExceededStatus field is set.
-
getConcurrencyLimitExceededStatus
This field allows for a custom HTTP response status code to the downstream client when the concurrency limit has been exceeded. Defaults to 503 (Service Unavailable). .. note:: If this is set to < 400, 503 will be used instead.
.envoy.type.v3.HttpStatus concurrency_limit_exceeded_status = 3;- Specified by:
getConcurrencyLimitExceededStatusin interfaceAdaptiveConcurrencyOrBuilder- Returns:
- The concurrencyLimitExceededStatus.
-
getConcurrencyLimitExceededStatusOrBuilder
This field allows for a custom HTTP response status code to the downstream client when the concurrency limit has been exceeded. Defaults to 503 (Service Unavailable). .. note:: If this is set to < 400, 503 will be used instead.
.envoy.type.v3.HttpStatus concurrency_limit_exceeded_status = 3;- Specified by:
getConcurrencyLimitExceededStatusOrBuilderin interfaceAdaptiveConcurrencyOrBuilder
-
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 AdaptiveConcurrency parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdaptiveConcurrency parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdaptiveConcurrency parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdaptiveConcurrency parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdaptiveConcurrency parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdaptiveConcurrency parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AdaptiveConcurrency parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AdaptiveConcurrency parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AdaptiveConcurrency parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AdaptiveConcurrency 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
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AdaptiveConcurrency.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
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
-