Class HttpProtocolOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.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,Cloneable
- Enclosing class:
- HttpProtocolOptions
public static final class HttpProtocolOptions.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
implements HttpProtocolOptionsOrBuilder
[#next-free-field: 8]Protobuf type
envoy.config.core.v3.HttpProtocolOptions-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Action to take when a client request with a header name containing underscore characters is received.The idle timeout for connections.The maximum duration of a connection.The maximum number of headers (request headers if configured on HttpConnectionManager, response headers when configured on a cluster).Optional maximum requests for both upstream and downstream connections.The maximum size of response headers.Total duration to keep alive an HTTP request/response stream.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorAction to take when a client request with a header name containing underscore characters is received.intAction to take when a client request with a header name containing underscore characters is received.com.google.protobuf.DurationThe idle timeout for connections.com.google.protobuf.Duration.BuilderThe idle timeout for connections.com.google.protobuf.DurationOrBuilderThe idle timeout for connections.com.google.protobuf.DurationThe maximum duration of a connection.com.google.protobuf.Duration.BuilderThe maximum duration of a connection.com.google.protobuf.DurationOrBuilderThe maximum duration of a connection.com.google.protobuf.UInt32ValueThe maximum number of headers (request headers if configured on HttpConnectionManager, response headers when configured on a cluster).com.google.protobuf.UInt32Value.BuilderThe maximum number of headers (request headers if configured on HttpConnectionManager, response headers when configured on a cluster).com.google.protobuf.UInt32ValueOrBuilderThe maximum number of headers (request headers if configured on HttpConnectionManager, response headers when configured on a cluster).com.google.protobuf.UInt32ValueOptional maximum requests for both upstream and downstream connections.com.google.protobuf.UInt32Value.BuilderOptional maximum requests for both upstream and downstream connections.com.google.protobuf.UInt32ValueOrBuilderOptional maximum requests for both upstream and downstream connections.com.google.protobuf.UInt32ValueThe maximum size of response headers.com.google.protobuf.UInt32Value.BuilderThe maximum size of response headers.com.google.protobuf.UInt32ValueOrBuilderThe maximum size of response headers.com.google.protobuf.DurationTotal duration to keep alive an HTTP request/response stream.com.google.protobuf.Duration.BuilderTotal duration to keep alive an HTTP request/response stream.com.google.protobuf.DurationOrBuilderTotal duration to keep alive an HTTP request/response stream.booleanThe idle timeout for connections.booleanThe maximum duration of a connection.booleanThe maximum number of headers (request headers if configured on HttpConnectionManager, response headers when configured on a cluster).booleanOptional maximum requests for both upstream and downstream connections.booleanThe maximum size of response headers.booleanTotal duration to keep alive an HTTP request/response stream.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(HttpProtocolOptions other) mergeIdleTimeout(com.google.protobuf.Duration value) The idle timeout for connections.mergeMaxConnectionDuration(com.google.protobuf.Duration value) The maximum duration of a connection.mergeMaxHeadersCount(com.google.protobuf.UInt32Value value) The maximum number of headers (request headers if configured on HttpConnectionManager, response headers when configured on a cluster).mergeMaxRequestsPerConnection(com.google.protobuf.UInt32Value value) Optional maximum requests for both upstream and downstream connections.mergeMaxResponseHeadersKb(com.google.protobuf.UInt32Value value) The maximum size of response headers.mergeMaxStreamDuration(com.google.protobuf.Duration value) Total duration to keep alive an HTTP request/response stream.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Action to take when a client request with a header name containing underscore characters is received.setHeadersWithUnderscoresActionValue(int value) Action to take when a client request with a header name containing underscore characters is received.setIdleTimeout(com.google.protobuf.Duration value) The idle timeout for connections.setIdleTimeout(com.google.protobuf.Duration.Builder builderForValue) The idle timeout for connections.setMaxConnectionDuration(com.google.protobuf.Duration value) The maximum duration of a connection.setMaxConnectionDuration(com.google.protobuf.Duration.Builder builderForValue) The maximum duration of a connection.setMaxHeadersCount(com.google.protobuf.UInt32Value value) The maximum number of headers (request headers if configured on HttpConnectionManager, response headers when configured on a cluster).setMaxHeadersCount(com.google.protobuf.UInt32Value.Builder builderForValue) The maximum number of headers (request headers if configured on HttpConnectionManager, response headers when configured on a cluster).setMaxRequestsPerConnection(com.google.protobuf.UInt32Value value) Optional maximum requests for both upstream and downstream connections.setMaxRequestsPerConnection(com.google.protobuf.UInt32Value.Builder builderForValue) Optional maximum requests for both upstream and downstream connections.setMaxResponseHeadersKb(com.google.protobuf.UInt32Value value) The maximum size of response headers.setMaxResponseHeadersKb(com.google.protobuf.UInt32Value.Builder builderForValue) The maximum size of response headers.setMaxStreamDuration(com.google.protobuf.Duration value) Total duration to keep alive an HTTP request/response stream.setMaxStreamDuration(com.google.protobuf.Duration.Builder builderForValue) Total duration to keep alive an HTTP request/response stream.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<HttpProtocolOptions.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<HttpProtocolOptions.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<HttpProtocolOptions.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<HttpProtocolOptions.Builder>
-
setField
public HttpProtocolOptions.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<HttpProtocolOptions.Builder>
-
clearField
public HttpProtocolOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
-
clearOneof
public HttpProtocolOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
-
setRepeatedField
public HttpProtocolOptions.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<HttpProtocolOptions.Builder>
-
addRepeatedField
public HttpProtocolOptions.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<HttpProtocolOptions.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HttpProtocolOptions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
-
mergeFrom
public HttpProtocolOptions.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<HttpProtocolOptions.Builder>- Throws:
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:: 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:
hasIdleTimeoutin 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:: 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:
getIdleTimeoutin interfaceHttpProtocolOptionsOrBuilder- Returns:
- The idleTimeout.
-
setIdleTimeout
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:: 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:: 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
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:: 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
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:: 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:: 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:: 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:
getIdleTimeoutOrBuilderin interfaceHttpProtocolOptionsOrBuilder
-
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, the drain sequence will kick-in. The connection will be closed after the drain timeout period if there are no active streams. 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:
hasMaxConnectionDurationin 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, the drain sequence will kick-in. The connection will be closed after the drain timeout period if there are no active streams. 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:
getMaxConnectionDurationin interfaceHttpProtocolOptionsOrBuilder- Returns:
- The maxConnectionDuration.
-
setMaxConnectionDuration
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, the drain sequence will kick-in. The connection will be closed after the drain timeout period if there are no active streams. 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, the drain sequence will kick-in. The connection will be closed after the drain timeout period if there are no active streams. 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
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, the drain sequence will kick-in. The connection will be closed after the drain timeout period if there are no active streams. 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
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, the drain sequence will kick-in. The connection will be closed after the drain timeout period if there are no active streams. 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, the drain sequence will kick-in. The connection will be closed after the drain timeout period if there are no active streams. 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, the drain sequence will kick-in. The connection will be closed after the drain timeout period if there are no active streams. 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:
getMaxConnectionDurationOrBuilderin interfaceHttpProtocolOptionsOrBuilder
-
hasMaxHeadersCount
public boolean hasMaxHeadersCount()The maximum number of headers (request headers if configured on HttpConnectionManager, response headers when configured on a cluster). If unconfigured, the default maximum number of headers allowed is ``100``. The default value for requests can be overridden by setting runtime key ``envoy.reloadable_features.max_request_headers_count``. The default value for responses can be overridden by setting runtime key ``envoy.reloadable_features.max_response_headers_count``. Downstream requests that exceed this limit will receive a ``HTTP 431`` response for HTTP/1.x and cause a stream reset for HTTP/2. Upstream responses that exceed this limit will result in a ``HTTP 502`` response.
.google.protobuf.UInt32Value max_headers_count = 2 [(.validate.rules) = { ... }- Specified by:
hasMaxHeadersCountin interfaceHttpProtocolOptionsOrBuilder- Returns:
- Whether the maxHeadersCount field is set.
-
getMaxHeadersCount
public com.google.protobuf.UInt32Value getMaxHeadersCount()The maximum number of headers (request headers if configured on HttpConnectionManager, response headers when configured on a cluster). If unconfigured, the default maximum number of headers allowed is ``100``. The default value for requests can be overridden by setting runtime key ``envoy.reloadable_features.max_request_headers_count``. The default value for responses can be overridden by setting runtime key ``envoy.reloadable_features.max_response_headers_count``. Downstream requests that exceed this limit will receive a ``HTTP 431`` response for HTTP/1.x and cause a stream reset for HTTP/2. Upstream responses that exceed this limit will result in a ``HTTP 502`` response.
.google.protobuf.UInt32Value max_headers_count = 2 [(.validate.rules) = { ... }- Specified by:
getMaxHeadersCountin interfaceHttpProtocolOptionsOrBuilder- Returns:
- The maxHeadersCount.
-
setMaxHeadersCount
The maximum number of headers (request headers if configured on HttpConnectionManager, response headers when configured on a cluster). If unconfigured, the default maximum number of headers allowed is ``100``. The default value for requests can be overridden by setting runtime key ``envoy.reloadable_features.max_request_headers_count``. The default value for responses can be overridden by setting runtime key ``envoy.reloadable_features.max_response_headers_count``. Downstream requests that exceed this limit will receive a ``HTTP 431`` response for HTTP/1.x and cause a stream reset for HTTP/2. Upstream responses that exceed this limit will result in a ``HTTP 502`` response.
.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 (request headers if configured on HttpConnectionManager, response headers when configured on a cluster). If unconfigured, the default maximum number of headers allowed is ``100``. The default value for requests can be overridden by setting runtime key ``envoy.reloadable_features.max_request_headers_count``. The default value for responses can be overridden by setting runtime key ``envoy.reloadable_features.max_response_headers_count``. Downstream requests that exceed this limit will receive a ``HTTP 431`` response for HTTP/1.x and cause a stream reset for HTTP/2. Upstream responses that exceed this limit will result in a ``HTTP 502`` response.
.google.protobuf.UInt32Value max_headers_count = 2 [(.validate.rules) = { ... } -
mergeMaxHeadersCount
The maximum number of headers (request headers if configured on HttpConnectionManager, response headers when configured on a cluster). If unconfigured, the default maximum number of headers allowed is ``100``. The default value for requests can be overridden by setting runtime key ``envoy.reloadable_features.max_request_headers_count``. The default value for responses can be overridden by setting runtime key ``envoy.reloadable_features.max_response_headers_count``. Downstream requests that exceed this limit will receive a ``HTTP 431`` response for HTTP/1.x and cause a stream reset for HTTP/2. Upstream responses that exceed this limit will result in a ``HTTP 502`` response.
.google.protobuf.UInt32Value max_headers_count = 2 [(.validate.rules) = { ... } -
clearMaxHeadersCount
The maximum number of headers (request headers if configured on HttpConnectionManager, response headers when configured on a cluster). If unconfigured, the default maximum number of headers allowed is ``100``. The default value for requests can be overridden by setting runtime key ``envoy.reloadable_features.max_request_headers_count``. The default value for responses can be overridden by setting runtime key ``envoy.reloadable_features.max_response_headers_count``. Downstream requests that exceed this limit will receive a ``HTTP 431`` response for HTTP/1.x and cause a stream reset for HTTP/2. Upstream responses that exceed this limit will result in a ``HTTP 502`` response.
.google.protobuf.UInt32Value max_headers_count = 2 [(.validate.rules) = { ... } -
getMaxHeadersCountBuilder
public com.google.protobuf.UInt32Value.Builder getMaxHeadersCountBuilder()The maximum number of headers (request headers if configured on HttpConnectionManager, response headers when configured on a cluster). If unconfigured, the default maximum number of headers allowed is ``100``. The default value for requests can be overridden by setting runtime key ``envoy.reloadable_features.max_request_headers_count``. The default value for responses can be overridden by setting runtime key ``envoy.reloadable_features.max_response_headers_count``. Downstream requests that exceed this limit will receive a ``HTTP 431`` response for HTTP/1.x and cause a stream reset for HTTP/2. Upstream responses that exceed this limit will result in a ``HTTP 502`` response.
.google.protobuf.UInt32Value max_headers_count = 2 [(.validate.rules) = { ... } -
getMaxHeadersCountOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxHeadersCountOrBuilder()The maximum number of headers (request headers if configured on HttpConnectionManager, response headers when configured on a cluster). If unconfigured, the default maximum number of headers allowed is ``100``. The default value for requests can be overridden by setting runtime key ``envoy.reloadable_features.max_request_headers_count``. The default value for responses can be overridden by setting runtime key ``envoy.reloadable_features.max_response_headers_count``. Downstream requests that exceed this limit will receive a ``HTTP 431`` response for HTTP/1.x and cause a stream reset for HTTP/2. Upstream responses that exceed this limit will result in a ``HTTP 502`` response.
.google.protobuf.UInt32Value max_headers_count = 2 [(.validate.rules) = { ... }- Specified by:
getMaxHeadersCountOrBuilderin interfaceHttpProtocolOptionsOrBuilder
-
hasMaxResponseHeadersKb
public boolean hasMaxResponseHeadersKb()The maximum size of response headers. If unconfigured, the default is ``60 KiB``, except for HTTP/1 response headers which have a default of ``80 KiB``. The default value can be overridden by setting runtime key ``envoy.reloadable_features.max_response_headers_size_kb``. Responses that exceed this limit will result in a ``HTTP 503`` response. In Envoy, this setting is only valid when configured on an upstream cluster, not on the :ref:`HTTP Connection Manager <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.common_http_protocol_options>`. .. note:: Currently some protocol codecs impose limits on the maximum size of a single header. * HTTP/2 (when using ``nghttp2``) limits a single header to around ``100kb``. * HTTP/3 limits a single header to around ``1024kb``.
.google.protobuf.UInt32Value max_response_headers_kb = 7 [(.validate.rules) = { ... }- Specified by:
hasMaxResponseHeadersKbin interfaceHttpProtocolOptionsOrBuilder- Returns:
- Whether the maxResponseHeadersKb field is set.
-
getMaxResponseHeadersKb
public com.google.protobuf.UInt32Value getMaxResponseHeadersKb()The maximum size of response headers. If unconfigured, the default is ``60 KiB``, except for HTTP/1 response headers which have a default of ``80 KiB``. The default value can be overridden by setting runtime key ``envoy.reloadable_features.max_response_headers_size_kb``. Responses that exceed this limit will result in a ``HTTP 503`` response. In Envoy, this setting is only valid when configured on an upstream cluster, not on the :ref:`HTTP Connection Manager <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.common_http_protocol_options>`. .. note:: Currently some protocol codecs impose limits on the maximum size of a single header. * HTTP/2 (when using ``nghttp2``) limits a single header to around ``100kb``. * HTTP/3 limits a single header to around ``1024kb``.
.google.protobuf.UInt32Value max_response_headers_kb = 7 [(.validate.rules) = { ... }- Specified by:
getMaxResponseHeadersKbin interfaceHttpProtocolOptionsOrBuilder- Returns:
- The maxResponseHeadersKb.
-
setMaxResponseHeadersKb
The maximum size of response headers. If unconfigured, the default is ``60 KiB``, except for HTTP/1 response headers which have a default of ``80 KiB``. The default value can be overridden by setting runtime key ``envoy.reloadable_features.max_response_headers_size_kb``. Responses that exceed this limit will result in a ``HTTP 503`` response. In Envoy, this setting is only valid when configured on an upstream cluster, not on the :ref:`HTTP Connection Manager <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.common_http_protocol_options>`. .. note:: Currently some protocol codecs impose limits on the maximum size of a single header. * HTTP/2 (when using ``nghttp2``) limits a single header to around ``100kb``. * HTTP/3 limits a single header to around ``1024kb``.
.google.protobuf.UInt32Value max_response_headers_kb = 7 [(.validate.rules) = { ... } -
setMaxResponseHeadersKb
public HttpProtocolOptions.Builder setMaxResponseHeadersKb(com.google.protobuf.UInt32Value.Builder builderForValue) The maximum size of response headers. If unconfigured, the default is ``60 KiB``, except for HTTP/1 response headers which have a default of ``80 KiB``. The default value can be overridden by setting runtime key ``envoy.reloadable_features.max_response_headers_size_kb``. Responses that exceed this limit will result in a ``HTTP 503`` response. In Envoy, this setting is only valid when configured on an upstream cluster, not on the :ref:`HTTP Connection Manager <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.common_http_protocol_options>`. .. note:: Currently some protocol codecs impose limits on the maximum size of a single header. * HTTP/2 (when using ``nghttp2``) limits a single header to around ``100kb``. * HTTP/3 limits a single header to around ``1024kb``.
.google.protobuf.UInt32Value max_response_headers_kb = 7 [(.validate.rules) = { ... } -
mergeMaxResponseHeadersKb
The maximum size of response headers. If unconfigured, the default is ``60 KiB``, except for HTTP/1 response headers which have a default of ``80 KiB``. The default value can be overridden by setting runtime key ``envoy.reloadable_features.max_response_headers_size_kb``. Responses that exceed this limit will result in a ``HTTP 503`` response. In Envoy, this setting is only valid when configured on an upstream cluster, not on the :ref:`HTTP Connection Manager <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.common_http_protocol_options>`. .. note:: Currently some protocol codecs impose limits on the maximum size of a single header. * HTTP/2 (when using ``nghttp2``) limits a single header to around ``100kb``. * HTTP/3 limits a single header to around ``1024kb``.
.google.protobuf.UInt32Value max_response_headers_kb = 7 [(.validate.rules) = { ... } -
clearMaxResponseHeadersKb
The maximum size of response headers. If unconfigured, the default is ``60 KiB``, except for HTTP/1 response headers which have a default of ``80 KiB``. The default value can be overridden by setting runtime key ``envoy.reloadable_features.max_response_headers_size_kb``. Responses that exceed this limit will result in a ``HTTP 503`` response. In Envoy, this setting is only valid when configured on an upstream cluster, not on the :ref:`HTTP Connection Manager <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.common_http_protocol_options>`. .. note:: Currently some protocol codecs impose limits on the maximum size of a single header. * HTTP/2 (when using ``nghttp2``) limits a single header to around ``100kb``. * HTTP/3 limits a single header to around ``1024kb``.
.google.protobuf.UInt32Value max_response_headers_kb = 7 [(.validate.rules) = { ... } -
getMaxResponseHeadersKbBuilder
public com.google.protobuf.UInt32Value.Builder getMaxResponseHeadersKbBuilder()The maximum size of response headers. If unconfigured, the default is ``60 KiB``, except for HTTP/1 response headers which have a default of ``80 KiB``. The default value can be overridden by setting runtime key ``envoy.reloadable_features.max_response_headers_size_kb``. Responses that exceed this limit will result in a ``HTTP 503`` response. In Envoy, this setting is only valid when configured on an upstream cluster, not on the :ref:`HTTP Connection Manager <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.common_http_protocol_options>`. .. note:: Currently some protocol codecs impose limits on the maximum size of a single header. * HTTP/2 (when using ``nghttp2``) limits a single header to around ``100kb``. * HTTP/3 limits a single header to around ``1024kb``.
.google.protobuf.UInt32Value max_response_headers_kb = 7 [(.validate.rules) = { ... } -
getMaxResponseHeadersKbOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxResponseHeadersKbOrBuilder()The maximum size of response headers. If unconfigured, the default is ``60 KiB``, except for HTTP/1 response headers which have a default of ``80 KiB``. The default value can be overridden by setting runtime key ``envoy.reloadable_features.max_response_headers_size_kb``. Responses that exceed this limit will result in a ``HTTP 503`` response. In Envoy, this setting is only valid when configured on an upstream cluster, not on the :ref:`HTTP Connection Manager <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.common_http_protocol_options>`. .. note:: Currently some protocol codecs impose limits on the maximum size of a single header. * HTTP/2 (when using ``nghttp2``) limits a single header to around ``100kb``. * HTTP/3 limits a single header to around ``1024kb``.
.google.protobuf.UInt32Value max_response_headers_kb = 7 [(.validate.rules) = { ... }- Specified by:
getMaxResponseHeadersKbOrBuilderin interfaceHttpProtocolOptionsOrBuilder
-
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:
hasMaxStreamDurationin 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:
getMaxStreamDurationin interfaceHttpProtocolOptionsOrBuilder- Returns:
- The maxStreamDuration.
-
setMaxStreamDuration
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
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
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:
getMaxStreamDurationOrBuilderin interfaceHttpProtocolOptionsOrBuilder
-
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:
getHeadersWithUnderscoresActionValuein interfaceHttpProtocolOptionsOrBuilder- Returns:
- The enum numeric value on the wire for headersWithUnderscoresAction.
-
setHeadersWithUnderscoresActionValue
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
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:
getHeadersWithUnderscoresActionin 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
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:
hasMaxRequestsPerConnectionin 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:
getMaxRequestsPerConnectionin 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
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:
getMaxRequestsPerConnectionOrBuilderin interfaceHttpProtocolOptionsOrBuilder
-
setUnknownFields
public final HttpProtocolOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
-
mergeUnknownFields
public final HttpProtocolOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
-