public static final class HttpProtocolOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder> implements HttpProtocolOptionsOrBuilder
[#next-free-field: 6]Protobuf type
envoy.api.v2.core.HttpProtocolOptions| Modifier and Type | Method and Description |
|---|---|
HttpProtocolOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HttpProtocolOptions |
build() |
HttpProtocolOptions |
buildPartial() |
HttpProtocolOptions.Builder |
clear() |
HttpProtocolOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
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 |
clearMaxStreamDuration()
Total duration to keep alive an HTTP request/response stream.
|
HttpProtocolOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HttpProtocolOptions.Builder |
clone() |
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.
|
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.
|
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.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMaxHeadersCountOrBuilder()
The maximum number of headers.
|
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.
|
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 |
hasMaxStreamDuration()
Total duration to keep alive an HTTP request/response stream.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HttpProtocolOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HttpProtocolOptions.Builder |
mergeFrom(HttpProtocolOptions other) |
HttpProtocolOptions.Builder |
mergeFrom(com.google.protobuf.Message 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 |
mergeMaxStreamDuration(com.google.protobuf.Duration value)
Total duration to keep alive an HTTP request/response stream.
|
HttpProtocolOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HttpProtocolOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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.Builder builderForValue)
The idle timeout for connections.
|
HttpProtocolOptions.Builder |
setIdleTimeout(com.google.protobuf.Duration value)
The idle timeout for connections.
|
HttpProtocolOptions.Builder |
setMaxConnectionDuration(com.google.protobuf.Duration.Builder builderForValue)
The maximum duration of a connection.
|
HttpProtocolOptions.Builder |
setMaxConnectionDuration(com.google.protobuf.Duration value)
The maximum duration of a connection.
|
HttpProtocolOptions.Builder |
setMaxHeadersCount(com.google.protobuf.UInt32Value.Builder builderForValue)
The maximum number of headers.
|
HttpProtocolOptions.Builder |
setMaxHeadersCount(com.google.protobuf.UInt32Value value)
The maximum number of headers.
|
HttpProtocolOptions.Builder |
setMaxStreamDuration(com.google.protobuf.Duration.Builder builderForValue)
Total duration to keep alive an HTTP request/response stream.
|
HttpProtocolOptions.Builder |
setMaxStreamDuration(com.google.protobuf.Duration value)
Total duration to keep alive an HTTP request/response stream.
|
HttpProtocolOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HttpProtocolOptions.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>public HttpProtocolOptions.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>public HttpProtocolOptions getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic HttpProtocolOptions build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic HttpProtocolOptions buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic HttpProtocolOptions.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>public HttpProtocolOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>public HttpProtocolOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>public HttpProtocolOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>public HttpProtocolOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>public HttpProtocolOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>public HttpProtocolOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HttpProtocolOptions.Builder>public HttpProtocolOptions.Builder mergeFrom(HttpProtocolOptions other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>public HttpProtocolOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<HttpProtocolOptions.Builder>IOExceptionpublic 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_api_field_config.filter.network.http_connection_manager.v2.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.
.google.protobuf.Duration idle_timeout = 1;hasIdleTimeout in interface HttpProtocolOptionsOrBuilderpublic 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_api_field_config.filter.network.http_connection_manager.v2.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.
.google.protobuf.Duration idle_timeout = 1;getIdleTimeout in interface HttpProtocolOptionsOrBuilderpublic 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_api_field_config.filter.network.http_connection_manager.v2.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.
.google.protobuf.Duration idle_timeout = 1;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_api_field_config.filter.network.http_connection_manager.v2.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.
.google.protobuf.Duration idle_timeout = 1;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_api_field_config.filter.network.http_connection_manager.v2.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.
.google.protobuf.Duration idle_timeout = 1;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_api_field_config.filter.network.http_connection_manager.v2.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.
.google.protobuf.Duration idle_timeout = 1;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_api_field_config.filter.network.http_connection_manager.v2.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.
.google.protobuf.Duration idle_timeout = 1;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_api_field_config.filter.network.http_connection_manager.v2.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.
.google.protobuf.Duration idle_timeout = 1;getIdleTimeoutOrBuilder in interface HttpProtocolOptionsOrBuilderpublic 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 connection will be closed. Drain sequence will occur prior to closing the connection if if's applicable. See :ref:`drain_timeout <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.drain_timeout>`. Note: not implemented for upstream connections.
.google.protobuf.Duration max_connection_duration = 3;hasMaxConnectionDuration in interface HttpProtocolOptionsOrBuilderpublic 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 connection will be closed. Drain sequence will occur prior to closing the connection if if's applicable. See :ref:`drain_timeout <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.drain_timeout>`. Note: not implemented for upstream connections.
.google.protobuf.Duration max_connection_duration = 3;getMaxConnectionDuration in interface HttpProtocolOptionsOrBuilderpublic 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 the connection will be closed. Drain sequence will occur prior to closing the connection if if's applicable. See :ref:`drain_timeout <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.drain_timeout>`. Note: not implemented for upstream connections.
.google.protobuf.Duration max_connection_duration = 3;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 connection will be closed. Drain sequence will occur prior to closing the connection if if's applicable. See :ref:`drain_timeout <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.drain_timeout>`. Note: not implemented for upstream connections.
.google.protobuf.Duration max_connection_duration = 3;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 the connection will be closed. Drain sequence will occur prior to closing the connection if if's applicable. See :ref:`drain_timeout <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.drain_timeout>`. Note: not implemented for upstream connections.
.google.protobuf.Duration max_connection_duration = 3;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 the connection will be closed. Drain sequence will occur prior to closing the connection if if's applicable. See :ref:`drain_timeout <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.drain_timeout>`. Note: not implemented for upstream connections.
.google.protobuf.Duration max_connection_duration = 3;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 connection will be closed. Drain sequence will occur prior to closing the connection if if's applicable. See :ref:`drain_timeout <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.drain_timeout>`. Note: not implemented for upstream connections.
.google.protobuf.Duration max_connection_duration = 3;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 connection will be closed. Drain sequence will occur prior to closing the connection if if's applicable. See :ref:`drain_timeout <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.drain_timeout>`. Note: not implemented for upstream connections.
.google.protobuf.Duration max_connection_duration = 3;getMaxConnectionDurationOrBuilder in interface HttpProtocolOptionsOrBuilderpublic 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) = { ... }hasMaxHeadersCount in interface HttpProtocolOptionsOrBuilderpublic 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) = { ... }getMaxHeadersCount in interface HttpProtocolOptionsOrBuilderpublic 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) = { ... }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) = { ... }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) = { ... }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) = { ... }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) = { ... }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) = { ... }getMaxHeadersCountOrBuilder in interface HttpProtocolOptionsOrBuilderpublic 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;hasMaxStreamDuration in interface HttpProtocolOptionsOrBuilderpublic 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;getMaxStreamDuration in interface HttpProtocolOptionsOrBuilderpublic 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;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;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;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;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;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;getMaxStreamDurationOrBuilder in interface HttpProtocolOptionsOrBuilderpublic 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.
.envoy.api.v2.core.HttpProtocolOptions.HeadersWithUnderscoresAction headers_with_underscores_action = 5;getHeadersWithUnderscoresActionValue in interface HttpProtocolOptionsOrBuilderpublic 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.
.envoy.api.v2.core.HttpProtocolOptions.HeadersWithUnderscoresAction headers_with_underscores_action = 5;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.
.envoy.api.v2.core.HttpProtocolOptions.HeadersWithUnderscoresAction headers_with_underscores_action = 5;getHeadersWithUnderscoresAction in interface HttpProtocolOptionsOrBuilderpublic 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.
.envoy.api.v2.core.HttpProtocolOptions.HeadersWithUnderscoresAction headers_with_underscores_action = 5;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.
.envoy.api.v2.core.HttpProtocolOptions.HeadersWithUnderscoresAction headers_with_underscores_action = 5;public final HttpProtocolOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>public final HttpProtocolOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.