Class AdaptiveConcurrency.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AdaptiveConcurrency.Builder>
io.envoyproxy.envoy.extensions.filters.http.adaptive_concurrency.v3.AdaptiveConcurrency.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AdaptiveConcurrencyOrBuilder,Cloneable
- Enclosing class:
- AdaptiveConcurrency
public static final class AdaptiveConcurrency.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<AdaptiveConcurrency.Builder>
implements AdaptiveConcurrencyOrBuilder
Protobuf type
envoy.extensions.filters.http.adaptive_concurrency.v3.AdaptiveConcurrency-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()This field allows for a custom HTTP response status code to the downstream client when the concurrency limit has been exceeded.If set to false, the adaptive concurrency filter will operate as a pass-through filter.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Gradient concurrency control will be used.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()This 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.This field allows for a custom HTTP response status code to the downstream client when the concurrency limit has been exceeded.static final com.google.protobuf.Descriptors.Descriptorcom.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.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.Gradient concurrency control will be used.booleanThis 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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanThis field allows for a custom HTTP response status code to the downstream client when the concurrency limit has been exceeded.mergeEnabled(RuntimeFeatureFlag value) If set to false, the adaptive concurrency filter will operate as a pass-through filter.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(AdaptiveConcurrency other) Gradient concurrency control will be used.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) This field allows for a custom HTTP response status code to the downstream client when the concurrency limit has been exceeded.setConcurrencyLimitExceededStatus(HttpStatus.Builder builderForValue) This field allows for a custom HTTP response status code to the downstream client when the concurrency limit has been exceeded.setEnabled(RuntimeFeatureFlag value) If set to false, the adaptive concurrency filter will operate as a pass-through filter.setEnabled(RuntimeFeatureFlag.Builder builderForValue) If set to false, the adaptive concurrency filter will operate as a pass-through filter.Gradient concurrency control will be used.setGradientControllerConfig(GradientControllerConfig.Builder builderForValue) Gradient concurrency control will be used.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.Builder<AdaptiveConcurrency.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AdaptiveConcurrency.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AdaptiveConcurrency.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AdaptiveConcurrency.Builder>
-
setField
public AdaptiveConcurrency.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AdaptiveConcurrency.Builder>
-
clearField
public AdaptiveConcurrency.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AdaptiveConcurrency.Builder>
-
clearOneof
public AdaptiveConcurrency.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AdaptiveConcurrency.Builder>
-
setRepeatedField
public AdaptiveConcurrency.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AdaptiveConcurrency.Builder>
-
addRepeatedField
public AdaptiveConcurrency.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AdaptiveConcurrency.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AdaptiveConcurrency.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AdaptiveConcurrency.Builder>
-
mergeFrom
public AdaptiveConcurrency.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AdaptiveConcurrency.Builder>- Throws:
IOException
-
getConcurrencyControllerConfigCase
- Specified by:
getConcurrencyControllerConfigCasein interfaceAdaptiveConcurrencyOrBuilder
-
clearConcurrencyControllerConfig
-
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.
-
setGradientControllerConfig
Gradient concurrency control will be used.
.envoy.extensions.filters.http.adaptive_concurrency.v3.GradientControllerConfig gradient_controller_config = 1 [(.validate.rules) = { ... } -
setGradientControllerConfig
public AdaptiveConcurrency.Builder setGradientControllerConfig(GradientControllerConfig.Builder builderForValue) Gradient concurrency control will be used.
.envoy.extensions.filters.http.adaptive_concurrency.v3.GradientControllerConfig gradient_controller_config = 1 [(.validate.rules) = { ... } -
mergeGradientControllerConfig
Gradient concurrency control will be used.
.envoy.extensions.filters.http.adaptive_concurrency.v3.GradientControllerConfig gradient_controller_config = 1 [(.validate.rules) = { ... } -
clearGradientControllerConfig
Gradient concurrency control will be used.
.envoy.extensions.filters.http.adaptive_concurrency.v3.GradientControllerConfig gradient_controller_config = 1 [(.validate.rules) = { ... } -
getGradientControllerConfigBuilder
Gradient concurrency control will be used.
.envoy.extensions.filters.http.adaptive_concurrency.v3.GradientControllerConfig gradient_controller_config = 1 [(.validate.rules) = { ... } -
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.
-
setEnabled
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; -
setEnabled
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; -
mergeEnabled
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; -
clearEnabled
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; -
getEnabledBuilder
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; -
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.
-
setConcurrencyLimitExceededStatus
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; -
setConcurrencyLimitExceededStatus
public AdaptiveConcurrency.Builder setConcurrencyLimitExceededStatus(HttpStatus.Builder builderForValue) 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; -
mergeConcurrencyLimitExceededStatus
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; -
clearConcurrencyLimitExceededStatus
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; -
getConcurrencyLimitExceededStatusBuilder
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; -
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
-
setUnknownFields
public final AdaptiveConcurrency.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AdaptiveConcurrency.Builder>
-
mergeUnknownFields
public final AdaptiveConcurrency.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AdaptiveConcurrency.Builder>
-