Class HttpProtocolOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<HttpProtocolOptions.Builder>
-
- io.envoyproxy.envoy.config.core.v3.HttpProtocolOptions.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,HttpProtocolOptionsOrBuilder
,java.lang.Cloneable
- Enclosing class:
- HttpProtocolOptions
public static final class HttpProtocolOptions.Builder extends com.google.protobuf.GeneratedMessage.Builder<HttpProtocolOptions.Builder> implements HttpProtocolOptionsOrBuilder
[#next-free-field: 7]
Protobuf typeenvoy.config.core.v3.HttpProtocolOptions
-
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private int
headersWithUnderscoresAction_
private com.google.protobuf.Duration
idleTimeout_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder>
idleTimeoutBuilder_
private com.google.protobuf.Duration
maxConnectionDuration_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder>
maxConnectionDurationBuilder_
private com.google.protobuf.UInt32Value
maxHeadersCount_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
maxHeadersCountBuilder_
private com.google.protobuf.UInt32Value
maxRequestsPerConnection_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
maxRequestsPerConnectionBuilder_
private com.google.protobuf.Duration
maxStreamDuration_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder>
maxStreamDurationBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpProtocolOptions
build()
HttpProtocolOptions
buildPartial()
private void
buildPartial0(HttpProtocolOptions result)
HttpProtocolOptions.Builder
clear()
HttpProtocolOptions.Builder
clearHeadersWithUnderscoresAction()
Action to take when a client request with a header name containing underscore characters is received.HttpProtocolOptions.Builder
clearIdleTimeout()
The idle timeout for connections.HttpProtocolOptions.Builder
clearMaxConnectionDuration()
The maximum duration of a connection.HttpProtocolOptions.Builder
clearMaxHeadersCount()
The maximum number of headers.HttpProtocolOptions.Builder
clearMaxRequestsPerConnection()
Optional maximum requests for both upstream and downstream connections.HttpProtocolOptions.Builder
clearMaxStreamDuration()
Total duration to keep alive an HTTP request/response stream.HttpProtocolOptions
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
HttpProtocolOptions.HeadersWithUnderscoresAction
getHeadersWithUnderscoresAction()
Action to take when a client request with a header name containing underscore characters is received.int
getHeadersWithUnderscoresActionValue()
Action to take when a client request with a header name containing underscore characters is received.com.google.protobuf.Duration
getIdleTimeout()
The idle timeout for connections.com.google.protobuf.Duration.Builder
getIdleTimeoutBuilder()
The idle timeout for connections.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder>
getIdleTimeoutFieldBuilder()
The idle timeout for connections.com.google.protobuf.DurationOrBuilder
getIdleTimeoutOrBuilder()
The idle timeout for connections.com.google.protobuf.Duration
getMaxConnectionDuration()
The maximum duration of a connection.com.google.protobuf.Duration.Builder
getMaxConnectionDurationBuilder()
The maximum duration of a connection.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder>
getMaxConnectionDurationFieldBuilder()
The maximum duration of a connection.com.google.protobuf.DurationOrBuilder
getMaxConnectionDurationOrBuilder()
The maximum duration of a connection.com.google.protobuf.UInt32Value
getMaxHeadersCount()
The maximum number of headers.com.google.protobuf.UInt32Value.Builder
getMaxHeadersCountBuilder()
The maximum number of headers.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
getMaxHeadersCountFieldBuilder()
The maximum number of headers.com.google.protobuf.UInt32ValueOrBuilder
getMaxHeadersCountOrBuilder()
The maximum number of headers.com.google.protobuf.UInt32Value
getMaxRequestsPerConnection()
Optional maximum requests for both upstream and downstream connections.com.google.protobuf.UInt32Value.Builder
getMaxRequestsPerConnectionBuilder()
Optional maximum requests for both upstream and downstream connections.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
getMaxRequestsPerConnectionFieldBuilder()
Optional maximum requests for both upstream and downstream connections.com.google.protobuf.UInt32ValueOrBuilder
getMaxRequestsPerConnectionOrBuilder()
Optional maximum requests for both upstream and downstream connections.com.google.protobuf.Duration
getMaxStreamDuration()
Total duration to keep alive an HTTP request/response stream.com.google.protobuf.Duration.Builder
getMaxStreamDurationBuilder()
Total duration to keep alive an HTTP request/response stream.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder>
getMaxStreamDurationFieldBuilder()
Total duration to keep alive an HTTP request/response stream.com.google.protobuf.DurationOrBuilder
getMaxStreamDurationOrBuilder()
Total duration to keep alive an HTTP request/response stream.boolean
hasIdleTimeout()
The idle timeout for connections.boolean
hasMaxConnectionDuration()
The maximum duration of a connection.boolean
hasMaxHeadersCount()
The maximum number of headers.boolean
hasMaxRequestsPerConnection()
Optional maximum requests for both upstream and downstream connections.boolean
hasMaxStreamDuration()
Total duration to keep alive an HTTP request/response stream.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
HttpProtocolOptions.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
HttpProtocolOptions.Builder
mergeFrom(com.google.protobuf.Message other)
HttpProtocolOptions.Builder
mergeFrom(HttpProtocolOptions other)
HttpProtocolOptions.Builder
mergeIdleTimeout(com.google.protobuf.Duration value)
The idle timeout for connections.HttpProtocolOptions.Builder
mergeMaxConnectionDuration(com.google.protobuf.Duration value)
The maximum duration of a connection.HttpProtocolOptions.Builder
mergeMaxHeadersCount(com.google.protobuf.UInt32Value value)
The maximum number of headers.HttpProtocolOptions.Builder
mergeMaxRequestsPerConnection(com.google.protobuf.UInt32Value value)
Optional maximum requests for both upstream and downstream connections.HttpProtocolOptions.Builder
mergeMaxStreamDuration(com.google.protobuf.Duration value)
Total duration to keep alive an HTTP request/response stream.HttpProtocolOptions.Builder
setHeadersWithUnderscoresAction(HttpProtocolOptions.HeadersWithUnderscoresAction value)
Action to take when a client request with a header name containing underscore characters is received.HttpProtocolOptions.Builder
setHeadersWithUnderscoresActionValue(int value)
Action to take when a client request with a header name containing underscore characters is received.HttpProtocolOptions.Builder
setIdleTimeout(com.google.protobuf.Duration value)
The idle timeout for connections.HttpProtocolOptions.Builder
setIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)
The idle timeout for connections.HttpProtocolOptions.Builder
setMaxConnectionDuration(com.google.protobuf.Duration value)
The maximum duration of a connection.HttpProtocolOptions.Builder
setMaxConnectionDuration(com.google.protobuf.Duration.Builder builderForValue)
The maximum duration of a connection.HttpProtocolOptions.Builder
setMaxHeadersCount(com.google.protobuf.UInt32Value value)
The maximum number of headers.HttpProtocolOptions.Builder
setMaxHeadersCount(com.google.protobuf.UInt32Value.Builder builderForValue)
The maximum number of headers.HttpProtocolOptions.Builder
setMaxRequestsPerConnection(com.google.protobuf.UInt32Value value)
Optional maximum requests for both upstream and downstream connections.HttpProtocolOptions.Builder
setMaxRequestsPerConnection(com.google.protobuf.UInt32Value.Builder builderForValue)
Optional maximum requests for both upstream and downstream connections.HttpProtocolOptions.Builder
setMaxStreamDuration(com.google.protobuf.Duration value)
Total duration to keep alive an HTTP request/response stream.HttpProtocolOptions.Builder
setMaxStreamDuration(com.google.protobuf.Duration.Builder builderForValue)
Total duration to keep alive an HTTP request/response stream.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
idleTimeout_
private com.google.protobuf.Duration idleTimeout_
-
idleTimeoutBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder> idleTimeoutBuilder_
-
maxConnectionDuration_
private com.google.protobuf.Duration maxConnectionDuration_
-
maxConnectionDurationBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder> maxConnectionDurationBuilder_
-
maxHeadersCount_
private com.google.protobuf.UInt32Value maxHeadersCount_
-
maxHeadersCountBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> maxHeadersCountBuilder_
-
maxStreamDuration_
private com.google.protobuf.Duration maxStreamDuration_
-
maxStreamDurationBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder> maxStreamDurationBuilder_
-
headersWithUnderscoresAction_
private int headersWithUnderscoresAction_
-
maxRequestsPerConnection_
private com.google.protobuf.UInt32Value maxRequestsPerConnection_
-
maxRequestsPerConnectionBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> maxRequestsPerConnectionBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<HttpProtocolOptions.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public HttpProtocolOptions.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<HttpProtocolOptions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<HttpProtocolOptions.Builder>
-
getDefaultInstanceForType
public HttpProtocolOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public HttpProtocolOptions build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HttpProtocolOptions buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
private void buildPartial0(HttpProtocolOptions result)
-
mergeFrom
public HttpProtocolOptions.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HttpProtocolOptions.Builder>
-
mergeFrom
public HttpProtocolOptions.Builder mergeFrom(HttpProtocolOptions other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<HttpProtocolOptions.Builder>
-
mergeFrom
public HttpProtocolOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HttpProtocolOptions.Builder>
- Throws:
java.io.IOException
-
hasIdleTimeout
public boolean hasIdleTimeout()
The idle timeout for connections. The idle timeout is defined as the period in which there are no active requests. When the idle timeout is reached the connection will be closed. If the connection is an HTTP/2 downstream connection a drain sequence will occur prior to closing the connection, see :ref:`drain_timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.drain_timeout>`. Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive. If not specified, this defaults to 1 hour. To disable idle timeouts explicitly set this to 0. .. warning:: Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP FIN packets, etc. If the :ref:`overload action <config_overload_manager_overload_actions>` "envoy.overload_actions.reduce_timeouts" is configured, this timeout is scaled for downstream connections according to the value for :ref:`HTTP_DOWNSTREAM_CONNECTION_IDLE <envoy_v3_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_CONNECTION_IDLE>`.
.google.protobuf.Duration idle_timeout = 1;
- Specified by:
hasIdleTimeout
in interfaceHttpProtocolOptionsOrBuilder
- Returns:
- Whether the idleTimeout field is set.
-
getIdleTimeout
public com.google.protobuf.Duration getIdleTimeout()
The idle timeout for connections. The idle timeout is defined as the period in which there are no active requests. When the idle timeout is reached the connection will be closed. If the connection is an HTTP/2 downstream connection a drain sequence will occur prior to closing the connection, see :ref:`drain_timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.drain_timeout>`. Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive. If not specified, this defaults to 1 hour. To disable idle timeouts explicitly set this to 0. .. warning:: Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP FIN packets, etc. If the :ref:`overload action <config_overload_manager_overload_actions>` "envoy.overload_actions.reduce_timeouts" is configured, this timeout is scaled for downstream connections according to the value for :ref:`HTTP_DOWNSTREAM_CONNECTION_IDLE <envoy_v3_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_CONNECTION_IDLE>`.
.google.protobuf.Duration idle_timeout = 1;
- Specified by:
getIdleTimeout
in interfaceHttpProtocolOptionsOrBuilder
- Returns:
- The idleTimeout.
-
setIdleTimeout
public HttpProtocolOptions.Builder setIdleTimeout(com.google.protobuf.Duration value)
The idle timeout for connections. The idle timeout is defined as the period in which there are no active requests. When the idle timeout is reached the connection will be closed. If the connection is an HTTP/2 downstream connection a drain sequence will occur prior to closing the connection, see :ref:`drain_timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.drain_timeout>`. Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive. If not specified, this defaults to 1 hour. To disable idle timeouts explicitly set this to 0. .. warning:: Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP FIN packets, etc. If the :ref:`overload action <config_overload_manager_overload_actions>` "envoy.overload_actions.reduce_timeouts" is configured, this timeout is scaled for downstream connections according to the value for :ref:`HTTP_DOWNSTREAM_CONNECTION_IDLE <envoy_v3_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_CONNECTION_IDLE>`.
.google.protobuf.Duration idle_timeout = 1;
-
setIdleTimeout
public HttpProtocolOptions.Builder setIdleTimeout(com.google.protobuf.Duration.Builder builderForValue)
The idle timeout for connections. The idle timeout is defined as the period in which there are no active requests. When the idle timeout is reached the connection will be closed. If the connection is an HTTP/2 downstream connection a drain sequence will occur prior to closing the connection, see :ref:`drain_timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.drain_timeout>`. Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive. If not specified, this defaults to 1 hour. To disable idle timeouts explicitly set this to 0. .. warning:: Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP FIN packets, etc. If the :ref:`overload action <config_overload_manager_overload_actions>` "envoy.overload_actions.reduce_timeouts" is configured, this timeout is scaled for downstream connections according to the value for :ref:`HTTP_DOWNSTREAM_CONNECTION_IDLE <envoy_v3_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_CONNECTION_IDLE>`.
.google.protobuf.Duration idle_timeout = 1;
-
mergeIdleTimeout
public HttpProtocolOptions.Builder mergeIdleTimeout(com.google.protobuf.Duration value)
The idle timeout for connections. The idle timeout is defined as the period in which there are no active requests. When the idle timeout is reached the connection will be closed. If the connection is an HTTP/2 downstream connection a drain sequence will occur prior to closing the connection, see :ref:`drain_timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.drain_timeout>`. Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive. If not specified, this defaults to 1 hour. To disable idle timeouts explicitly set this to 0. .. warning:: Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP FIN packets, etc. If the :ref:`overload action <config_overload_manager_overload_actions>` "envoy.overload_actions.reduce_timeouts" is configured, this timeout is scaled for downstream connections according to the value for :ref:`HTTP_DOWNSTREAM_CONNECTION_IDLE <envoy_v3_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_CONNECTION_IDLE>`.
.google.protobuf.Duration idle_timeout = 1;
-
clearIdleTimeout
public HttpProtocolOptions.Builder clearIdleTimeout()
The idle timeout for connections. The idle timeout is defined as the period in which there are no active requests. When the idle timeout is reached the connection will be closed. If the connection is an HTTP/2 downstream connection a drain sequence will occur prior to closing the connection, see :ref:`drain_timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.drain_timeout>`. Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive. If not specified, this defaults to 1 hour. To disable idle timeouts explicitly set this to 0. .. warning:: Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP FIN packets, etc. If the :ref:`overload action <config_overload_manager_overload_actions>` "envoy.overload_actions.reduce_timeouts" is configured, this timeout is scaled for downstream connections according to the value for :ref:`HTTP_DOWNSTREAM_CONNECTION_IDLE <envoy_v3_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_CONNECTION_IDLE>`.
.google.protobuf.Duration idle_timeout = 1;
-
getIdleTimeoutBuilder
public com.google.protobuf.Duration.Builder getIdleTimeoutBuilder()
The idle timeout for connections. The idle timeout is defined as the period in which there are no active requests. When the idle timeout is reached the connection will be closed. If the connection is an HTTP/2 downstream connection a drain sequence will occur prior to closing the connection, see :ref:`drain_timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.drain_timeout>`. Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive. If not specified, this defaults to 1 hour. To disable idle timeouts explicitly set this to 0. .. warning:: Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP FIN packets, etc. If the :ref:`overload action <config_overload_manager_overload_actions>` "envoy.overload_actions.reduce_timeouts" is configured, this timeout is scaled for downstream connections according to the value for :ref:`HTTP_DOWNSTREAM_CONNECTION_IDLE <envoy_v3_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_CONNECTION_IDLE>`.
.google.protobuf.Duration idle_timeout = 1;
-
getIdleTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getIdleTimeoutOrBuilder()
The idle timeout for connections. The idle timeout is defined as the period in which there are no active requests. When the idle timeout is reached the connection will be closed. If the connection is an HTTP/2 downstream connection a drain sequence will occur prior to closing the connection, see :ref:`drain_timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.drain_timeout>`. Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive. If not specified, this defaults to 1 hour. To disable idle timeouts explicitly set this to 0. .. warning:: Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP FIN packets, etc. If the :ref:`overload action <config_overload_manager_overload_actions>` "envoy.overload_actions.reduce_timeouts" is configured, this timeout is scaled for downstream connections according to the value for :ref:`HTTP_DOWNSTREAM_CONNECTION_IDLE <envoy_v3_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_CONNECTION_IDLE>`.
.google.protobuf.Duration idle_timeout = 1;
- Specified by:
getIdleTimeoutOrBuilder
in interfaceHttpProtocolOptionsOrBuilder
-
getIdleTimeoutFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder> getIdleTimeoutFieldBuilder()
The idle timeout for connections. The idle timeout is defined as the period in which there are no active requests. When the idle timeout is reached the connection will be closed. If the connection is an HTTP/2 downstream connection a drain sequence will occur prior to closing the connection, see :ref:`drain_timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.drain_timeout>`. Note that request based timeouts mean that HTTP/2 PINGs will not keep the connection alive. If not specified, this defaults to 1 hour. To disable idle timeouts explicitly set this to 0. .. warning:: Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP FIN packets, etc. If the :ref:`overload action <config_overload_manager_overload_actions>` "envoy.overload_actions.reduce_timeouts" is configured, this timeout is scaled for downstream connections according to the value for :ref:`HTTP_DOWNSTREAM_CONNECTION_IDLE <envoy_v3_api_enum_value_config.overload.v3.ScaleTimersOverloadActionConfig.TimerType.HTTP_DOWNSTREAM_CONNECTION_IDLE>`.
.google.protobuf.Duration idle_timeout = 1;
-
hasMaxConnectionDuration
public boolean hasMaxConnectionDuration()
The maximum duration of a connection. The duration is defined as a period since a connection was established. If not set, there is no max duration. When max_connection_duration is reached and if there are no active streams, the connection will be closed. If the connection is a downstream connection and there are any active streams, the drain sequence will kick-in, and the connection will be force-closed after the drain period. See :ref:`drain_timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.drain_timeout>`.
.google.protobuf.Duration max_connection_duration = 3;
- Specified by:
hasMaxConnectionDuration
in interfaceHttpProtocolOptionsOrBuilder
- Returns:
- Whether the maxConnectionDuration field is set.
-
getMaxConnectionDuration
public com.google.protobuf.Duration getMaxConnectionDuration()
The maximum duration of a connection. The duration is defined as a period since a connection was established. If not set, there is no max duration. When max_connection_duration is reached and if there are no active streams, the connection will be closed. If the connection is a downstream connection and there are any active streams, the drain sequence will kick-in, and the connection will be force-closed after the drain period. See :ref:`drain_timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.drain_timeout>`.
.google.protobuf.Duration max_connection_duration = 3;
- Specified by:
getMaxConnectionDuration
in interfaceHttpProtocolOptionsOrBuilder
- Returns:
- The maxConnectionDuration.
-
setMaxConnectionDuration
public HttpProtocolOptions.Builder setMaxConnectionDuration(com.google.protobuf.Duration value)
The maximum duration of a connection. The duration is defined as a period since a connection was established. If not set, there is no max duration. When max_connection_duration is reached and if there are no active streams, the connection will be closed. If the connection is a downstream connection and there are any active streams, the drain sequence will kick-in, and the connection will be force-closed after the drain period. See :ref:`drain_timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.drain_timeout>`.
.google.protobuf.Duration max_connection_duration = 3;
-
setMaxConnectionDuration
public HttpProtocolOptions.Builder setMaxConnectionDuration(com.google.protobuf.Duration.Builder builderForValue)
The maximum duration of a connection. The duration is defined as a period since a connection was established. If not set, there is no max duration. When max_connection_duration is reached and if there are no active streams, the connection will be closed. If the connection is a downstream connection and there are any active streams, the drain sequence will kick-in, and the connection will be force-closed after the drain period. See :ref:`drain_timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.drain_timeout>`.
.google.protobuf.Duration max_connection_duration = 3;
-
mergeMaxConnectionDuration
public HttpProtocolOptions.Builder mergeMaxConnectionDuration(com.google.protobuf.Duration value)
The maximum duration of a connection. The duration is defined as a period since a connection was established. If not set, there is no max duration. When max_connection_duration is reached and if there are no active streams, the connection will be closed. If the connection is a downstream connection and there are any active streams, the drain sequence will kick-in, and the connection will be force-closed after the drain period. See :ref:`drain_timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.drain_timeout>`.
.google.protobuf.Duration max_connection_duration = 3;
-
clearMaxConnectionDuration
public HttpProtocolOptions.Builder clearMaxConnectionDuration()
The maximum duration of a connection. The duration is defined as a period since a connection was established. If not set, there is no max duration. When max_connection_duration is reached and if there are no active streams, the connection will be closed. If the connection is a downstream connection and there are any active streams, the drain sequence will kick-in, and the connection will be force-closed after the drain period. See :ref:`drain_timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.drain_timeout>`.
.google.protobuf.Duration max_connection_duration = 3;
-
getMaxConnectionDurationBuilder
public com.google.protobuf.Duration.Builder getMaxConnectionDurationBuilder()
The maximum duration of a connection. The duration is defined as a period since a connection was established. If not set, there is no max duration. When max_connection_duration is reached and if there are no active streams, the connection will be closed. If the connection is a downstream connection and there are any active streams, the drain sequence will kick-in, and the connection will be force-closed after the drain period. See :ref:`drain_timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.drain_timeout>`.
.google.protobuf.Duration max_connection_duration = 3;
-
getMaxConnectionDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getMaxConnectionDurationOrBuilder()
The maximum duration of a connection. The duration is defined as a period since a connection was established. If not set, there is no max duration. When max_connection_duration is reached and if there are no active streams, the connection will be closed. If the connection is a downstream connection and there are any active streams, the drain sequence will kick-in, and the connection will be force-closed after the drain period. See :ref:`drain_timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.drain_timeout>`.
.google.protobuf.Duration max_connection_duration = 3;
- Specified by:
getMaxConnectionDurationOrBuilder
in interfaceHttpProtocolOptionsOrBuilder
-
getMaxConnectionDurationFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder> getMaxConnectionDurationFieldBuilder()
The maximum duration of a connection. The duration is defined as a period since a connection was established. If not set, there is no max duration. When max_connection_duration is reached and if there are no active streams, the connection will be closed. If the connection is a downstream connection and there are any active streams, the drain sequence will kick-in, and the connection will be force-closed after the drain period. See :ref:`drain_timeout <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.drain_timeout>`.
.google.protobuf.Duration max_connection_duration = 3;
-
hasMaxHeadersCount
public boolean hasMaxHeadersCount()
The maximum number of headers. If unconfigured, the default maximum number of request headers allowed is 100. Requests that exceed this limit will receive a 431 response for HTTP/1.x and cause a stream reset for HTTP/2.
.google.protobuf.UInt32Value max_headers_count = 2 [(.validate.rules) = { ... }
- Specified by:
hasMaxHeadersCount
in interfaceHttpProtocolOptionsOrBuilder
- Returns:
- Whether the maxHeadersCount field is set.
-
getMaxHeadersCount
public com.google.protobuf.UInt32Value getMaxHeadersCount()
The maximum number of headers. If unconfigured, the default maximum number of request headers allowed is 100. Requests that exceed this limit will receive a 431 response for HTTP/1.x and cause a stream reset for HTTP/2.
.google.protobuf.UInt32Value max_headers_count = 2 [(.validate.rules) = { ... }
- Specified by:
getMaxHeadersCount
in interfaceHttpProtocolOptionsOrBuilder
- Returns:
- The maxHeadersCount.
-
setMaxHeadersCount
public HttpProtocolOptions.Builder setMaxHeadersCount(com.google.protobuf.UInt32Value value)
The maximum number of headers. If unconfigured, the default maximum number of request headers allowed is 100. Requests that exceed this limit will receive a 431 response for HTTP/1.x and cause a stream reset for HTTP/2.
.google.protobuf.UInt32Value max_headers_count = 2 [(.validate.rules) = { ... }
-
setMaxHeadersCount
public HttpProtocolOptions.Builder setMaxHeadersCount(com.google.protobuf.UInt32Value.Builder builderForValue)
The maximum number of headers. If unconfigured, the default maximum number of request headers allowed is 100. Requests that exceed this limit will receive a 431 response for HTTP/1.x and cause a stream reset for HTTP/2.
.google.protobuf.UInt32Value max_headers_count = 2 [(.validate.rules) = { ... }
-
mergeMaxHeadersCount
public HttpProtocolOptions.Builder mergeMaxHeadersCount(com.google.protobuf.UInt32Value value)
The maximum number of headers. If unconfigured, the default maximum number of request headers allowed is 100. Requests that exceed this limit will receive a 431 response for HTTP/1.x and cause a stream reset for HTTP/2.
.google.protobuf.UInt32Value max_headers_count = 2 [(.validate.rules) = { ... }
-
clearMaxHeadersCount
public HttpProtocolOptions.Builder clearMaxHeadersCount()
The maximum number of headers. If unconfigured, the default maximum number of request headers allowed is 100. Requests that exceed this limit will receive a 431 response for HTTP/1.x and cause a stream reset for HTTP/2.
.google.protobuf.UInt32Value max_headers_count = 2 [(.validate.rules) = { ... }
-
getMaxHeadersCountBuilder
public com.google.protobuf.UInt32Value.Builder getMaxHeadersCountBuilder()
The maximum number of headers. If unconfigured, the default maximum number of request headers allowed is 100. Requests that exceed this limit will receive a 431 response for HTTP/1.x and cause a stream reset for HTTP/2.
.google.protobuf.UInt32Value max_headers_count = 2 [(.validate.rules) = { ... }
-
getMaxHeadersCountOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxHeadersCountOrBuilder()
The maximum number of headers. If unconfigured, the default maximum number of request headers allowed is 100. Requests that exceed this limit will receive a 431 response for HTTP/1.x and cause a stream reset for HTTP/2.
.google.protobuf.UInt32Value max_headers_count = 2 [(.validate.rules) = { ... }
- Specified by:
getMaxHeadersCountOrBuilder
in interfaceHttpProtocolOptionsOrBuilder
-
getMaxHeadersCountFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> getMaxHeadersCountFieldBuilder()
The maximum number of headers. If unconfigured, the default maximum number of request headers allowed is 100. Requests that exceed this limit will receive a 431 response for HTTP/1.x and cause a stream reset for HTTP/2.
.google.protobuf.UInt32Value max_headers_count = 2 [(.validate.rules) = { ... }
-
hasMaxStreamDuration
public boolean hasMaxStreamDuration()
Total duration to keep alive an HTTP request/response stream. If the time limit is reached the stream will be reset independent of any other timeouts. If not specified, this value is not set.
.google.protobuf.Duration max_stream_duration = 4;
- Specified by:
hasMaxStreamDuration
in interfaceHttpProtocolOptionsOrBuilder
- Returns:
- Whether the maxStreamDuration field is set.
-
getMaxStreamDuration
public com.google.protobuf.Duration getMaxStreamDuration()
Total duration to keep alive an HTTP request/response stream. If the time limit is reached the stream will be reset independent of any other timeouts. If not specified, this value is not set.
.google.protobuf.Duration max_stream_duration = 4;
- Specified by:
getMaxStreamDuration
in interfaceHttpProtocolOptionsOrBuilder
- Returns:
- The maxStreamDuration.
-
setMaxStreamDuration
public HttpProtocolOptions.Builder setMaxStreamDuration(com.google.protobuf.Duration value)
Total duration to keep alive an HTTP request/response stream. If the time limit is reached the stream will be reset independent of any other timeouts. If not specified, this value is not set.
.google.protobuf.Duration max_stream_duration = 4;
-
setMaxStreamDuration
public HttpProtocolOptions.Builder setMaxStreamDuration(com.google.protobuf.Duration.Builder builderForValue)
Total duration to keep alive an HTTP request/response stream. If the time limit is reached the stream will be reset independent of any other timeouts. If not specified, this value is not set.
.google.protobuf.Duration max_stream_duration = 4;
-
mergeMaxStreamDuration
public HttpProtocolOptions.Builder mergeMaxStreamDuration(com.google.protobuf.Duration value)
Total duration to keep alive an HTTP request/response stream. If the time limit is reached the stream will be reset independent of any other timeouts. If not specified, this value is not set.
.google.protobuf.Duration max_stream_duration = 4;
-
clearMaxStreamDuration
public HttpProtocolOptions.Builder clearMaxStreamDuration()
Total duration to keep alive an HTTP request/response stream. If the time limit is reached the stream will be reset independent of any other timeouts. If not specified, this value is not set.
.google.protobuf.Duration max_stream_duration = 4;
-
getMaxStreamDurationBuilder
public com.google.protobuf.Duration.Builder getMaxStreamDurationBuilder()
Total duration to keep alive an HTTP request/response stream. If the time limit is reached the stream will be reset independent of any other timeouts. If not specified, this value is not set.
.google.protobuf.Duration max_stream_duration = 4;
-
getMaxStreamDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getMaxStreamDurationOrBuilder()
Total duration to keep alive an HTTP request/response stream. If the time limit is reached the stream will be reset independent of any other timeouts. If not specified, this value is not set.
.google.protobuf.Duration max_stream_duration = 4;
- Specified by:
getMaxStreamDurationOrBuilder
in interfaceHttpProtocolOptionsOrBuilder
-
getMaxStreamDurationFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Duration,com.google.protobuf.Duration.Builder,com.google.protobuf.DurationOrBuilder> getMaxStreamDurationFieldBuilder()
Total duration to keep alive an HTTP request/response stream. If the time limit is reached the stream will be reset independent of any other timeouts. If not specified, this value is not set.
.google.protobuf.Duration max_stream_duration = 4;
-
getHeadersWithUnderscoresActionValue
public int getHeadersWithUnderscoresActionValue()
Action to take when a client request with a header name containing underscore characters is received. If this setting is not specified, the value defaults to ALLOW. Note: upstream responses are not affected by this setting. Note: this only affects client headers. It does not affect headers added by Envoy filters and does not have any impact if added to cluster config.
.envoy.config.core.v3.HttpProtocolOptions.HeadersWithUnderscoresAction headers_with_underscores_action = 5;
- Specified by:
getHeadersWithUnderscoresActionValue
in interfaceHttpProtocolOptionsOrBuilder
- Returns:
- The enum numeric value on the wire for headersWithUnderscoresAction.
-
setHeadersWithUnderscoresActionValue
public HttpProtocolOptions.Builder setHeadersWithUnderscoresActionValue(int value)
Action to take when a client request with a header name containing underscore characters is received. If this setting is not specified, the value defaults to ALLOW. Note: upstream responses are not affected by this setting. Note: this only affects client headers. It does not affect headers added by Envoy filters and does not have any impact if added to cluster config.
.envoy.config.core.v3.HttpProtocolOptions.HeadersWithUnderscoresAction headers_with_underscores_action = 5;
- Parameters:
value
- The enum numeric value on the wire for headersWithUnderscoresAction to set.- Returns:
- This builder for chaining.
-
getHeadersWithUnderscoresAction
public HttpProtocolOptions.HeadersWithUnderscoresAction getHeadersWithUnderscoresAction()
Action to take when a client request with a header name containing underscore characters is received. If this setting is not specified, the value defaults to ALLOW. Note: upstream responses are not affected by this setting. Note: this only affects client headers. It does not affect headers added by Envoy filters and does not have any impact if added to cluster config.
.envoy.config.core.v3.HttpProtocolOptions.HeadersWithUnderscoresAction headers_with_underscores_action = 5;
- Specified by:
getHeadersWithUnderscoresAction
in interfaceHttpProtocolOptionsOrBuilder
- Returns:
- The headersWithUnderscoresAction.
-
setHeadersWithUnderscoresAction
public HttpProtocolOptions.Builder setHeadersWithUnderscoresAction(HttpProtocolOptions.HeadersWithUnderscoresAction value)
Action to take when a client request with a header name containing underscore characters is received. If this setting is not specified, the value defaults to ALLOW. Note: upstream responses are not affected by this setting. Note: this only affects client headers. It does not affect headers added by Envoy filters and does not have any impact if added to cluster config.
.envoy.config.core.v3.HttpProtocolOptions.HeadersWithUnderscoresAction headers_with_underscores_action = 5;
- Parameters:
value
- The headersWithUnderscoresAction to set.- Returns:
- This builder for chaining.
-
clearHeadersWithUnderscoresAction
public HttpProtocolOptions.Builder clearHeadersWithUnderscoresAction()
Action to take when a client request with a header name containing underscore characters is received. If this setting is not specified, the value defaults to ALLOW. Note: upstream responses are not affected by this setting. Note: this only affects client headers. It does not affect headers added by Envoy filters and does not have any impact if added to cluster config.
.envoy.config.core.v3.HttpProtocolOptions.HeadersWithUnderscoresAction headers_with_underscores_action = 5;
- Returns:
- This builder for chaining.
-
hasMaxRequestsPerConnection
public boolean hasMaxRequestsPerConnection()
Optional maximum requests for both upstream and downstream connections. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. For HTTP/2 and HTTP/3, due to concurrent stream processing, the limit is approximate.
.google.protobuf.UInt32Value max_requests_per_connection = 6;
- Specified by:
hasMaxRequestsPerConnection
in interfaceHttpProtocolOptionsOrBuilder
- Returns:
- Whether the maxRequestsPerConnection field is set.
-
getMaxRequestsPerConnection
public com.google.protobuf.UInt32Value getMaxRequestsPerConnection()
Optional maximum requests for both upstream and downstream connections. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. For HTTP/2 and HTTP/3, due to concurrent stream processing, the limit is approximate.
.google.protobuf.UInt32Value max_requests_per_connection = 6;
- Specified by:
getMaxRequestsPerConnection
in interfaceHttpProtocolOptionsOrBuilder
- Returns:
- The maxRequestsPerConnection.
-
setMaxRequestsPerConnection
public HttpProtocolOptions.Builder setMaxRequestsPerConnection(com.google.protobuf.UInt32Value value)
Optional maximum requests for both upstream and downstream connections. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. For HTTP/2 and HTTP/3, due to concurrent stream processing, the limit is approximate.
.google.protobuf.UInt32Value max_requests_per_connection = 6;
-
setMaxRequestsPerConnection
public HttpProtocolOptions.Builder setMaxRequestsPerConnection(com.google.protobuf.UInt32Value.Builder builderForValue)
Optional maximum requests for both upstream and downstream connections. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. For HTTP/2 and HTTP/3, due to concurrent stream processing, the limit is approximate.
.google.protobuf.UInt32Value max_requests_per_connection = 6;
-
mergeMaxRequestsPerConnection
public HttpProtocolOptions.Builder mergeMaxRequestsPerConnection(com.google.protobuf.UInt32Value value)
Optional maximum requests for both upstream and downstream connections. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. For HTTP/2 and HTTP/3, due to concurrent stream processing, the limit is approximate.
.google.protobuf.UInt32Value max_requests_per_connection = 6;
-
clearMaxRequestsPerConnection
public HttpProtocolOptions.Builder clearMaxRequestsPerConnection()
Optional maximum requests for both upstream and downstream connections. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. For HTTP/2 and HTTP/3, due to concurrent stream processing, the limit is approximate.
.google.protobuf.UInt32Value max_requests_per_connection = 6;
-
getMaxRequestsPerConnectionBuilder
public com.google.protobuf.UInt32Value.Builder getMaxRequestsPerConnectionBuilder()
Optional maximum requests for both upstream and downstream connections. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. For HTTP/2 and HTTP/3, due to concurrent stream processing, the limit is approximate.
.google.protobuf.UInt32Value max_requests_per_connection = 6;
-
getMaxRequestsPerConnectionOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxRequestsPerConnectionOrBuilder()
Optional maximum requests for both upstream and downstream connections. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. For HTTP/2 and HTTP/3, due to concurrent stream processing, the limit is approximate.
.google.protobuf.UInt32Value max_requests_per_connection = 6;
- Specified by:
getMaxRequestsPerConnectionOrBuilder
in interfaceHttpProtocolOptionsOrBuilder
-
getMaxRequestsPerConnectionFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> getMaxRequestsPerConnectionFieldBuilder()
Optional maximum requests for both upstream and downstream connections. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. For HTTP/2 and HTTP/3, due to concurrent stream processing, the limit is approximate.
.google.protobuf.UInt32Value max_requests_per_connection = 6;
-
-