Class HttpProtocolOptions.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
      • clear

        public HttpProtocolOptions.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
      • getDefaultInstanceForType

        public HttpProtocolOptions getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public HttpProtocolOptions build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public HttpProtocolOptions buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public HttpProtocolOptions.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
      • setField

        public HttpProtocolOptions.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
      • clearField

        public HttpProtocolOptions.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
      • clearOneof

        public HttpProtocolOptions.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
      • setRepeatedField

        public HttpProtocolOptions.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            int index,
                                                            Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
      • addRepeatedField

        public HttpProtocolOptions.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
      • mergeFrom

        public HttpProtocolOptions.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<HttpProtocolOptions.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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_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;
        Specified by:
        hasIdleTimeout in interface HttpProtocolOptionsOrBuilder
        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_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;
        Specified by:
        getIdleTimeout in interface HttpProtocolOptionsOrBuilder
        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_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;
      • 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_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;
      • 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_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;
      • 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_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;
      • 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_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

        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;
        Specified by:
        getIdleTimeoutOrBuilder in interface HttpProtocolOptionsOrBuilder
      • 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 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;
        Specified by:
        hasMaxConnectionDuration in interface HttpProtocolOptionsOrBuilder
        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 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;
        Specified by:
        getMaxConnectionDuration in interface HttpProtocolOptionsOrBuilder
        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
         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;
      • 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 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;
      • 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
         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;
      • 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
         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;
      • 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 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

        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;
        Specified by:
        getMaxConnectionDurationOrBuilder in interface HttpProtocolOptionsOrBuilder
      • 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 interface HttpProtocolOptionsOrBuilder
        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 interface HttpProtocolOptionsOrBuilder
        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 interface HttpProtocolOptionsOrBuilder
      • 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 interface HttpProtocolOptionsOrBuilder
        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 interface HttpProtocolOptionsOrBuilder
        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 interface HttpProtocolOptionsOrBuilder
      • 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.
         
        .envoy.api.v2.core.HttpProtocolOptions.HeadersWithUnderscoresAction headers_with_underscores_action = 5;
        Specified by:
        getHeadersWithUnderscoresActionValue in interface HttpProtocolOptionsOrBuilder
        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.
         
        .envoy.api.v2.core.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.
         
        .envoy.api.v2.core.HttpProtocolOptions.HeadersWithUnderscoresAction headers_with_underscores_action = 5;
        Specified by:
        getHeadersWithUnderscoresAction in interface HttpProtocolOptionsOrBuilder
        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.
         
        .envoy.api.v2.core.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.
         
        .envoy.api.v2.core.HttpProtocolOptions.HeadersWithUnderscoresAction headers_with_underscores_action = 5;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final HttpProtocolOptions.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
      • mergeUnknownFields

        public final HttpProtocolOptions.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>