Class RouteConfiguration.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<RouteConfiguration.Builder>
      • clear

        public RouteConfiguration.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<RouteConfiguration.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<RouteConfiguration.Builder>
      • getDefaultInstanceForType

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

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

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

        public RouteConfiguration.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<RouteConfiguration.Builder>
      • setField

        public RouteConfiguration.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<RouteConfiguration.Builder>
      • clearField

        public RouteConfiguration.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<RouteConfiguration.Builder>
      • clearOneof

        public RouteConfiguration.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<RouteConfiguration.Builder>
      • setRepeatedField

        public RouteConfiguration.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<RouteConfiguration.Builder>
      • addRepeatedField

        public RouteConfiguration.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<RouteConfiguration.Builder>
      • mergeFrom

        public RouteConfiguration.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<RouteConfiguration.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouteConfiguration.Builder>
      • mergeFrom

        public RouteConfiguration.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<RouteConfiguration.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         The name of the route configuration. For example, it might match
         :ref:`route_config_name
         <envoy_api_field_config.filter.network.http_connection_manager.v2.Rds.route_config_name>` in
         :ref:`envoy_api_msg_config.filter.network.http_connection_manager.v2.Rds`.
         
        string name = 1;
        Specified by:
        getName in interface RouteConfigurationOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The name of the route configuration. For example, it might match
         :ref:`route_config_name
         <envoy_api_field_config.filter.network.http_connection_manager.v2.Rds.route_config_name>` in
         :ref:`envoy_api_msg_config.filter.network.http_connection_manager.v2.Rds`.
         
        string name = 1;
        Specified by:
        getNameBytes in interface RouteConfigurationOrBuilder
        Returns:
        The bytes for name.
      • setName

        public RouteConfiguration.Builder setName​(String value)
         The name of the route configuration. For example, it might match
         :ref:`route_config_name
         <envoy_api_field_config.filter.network.http_connection_manager.v2.Rds.route_config_name>` in
         :ref:`envoy_api_msg_config.filter.network.http_connection_manager.v2.Rds`.
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public RouteConfiguration.Builder clearName()
         The name of the route configuration. For example, it might match
         :ref:`route_config_name
         <envoy_api_field_config.filter.network.http_connection_manager.v2.Rds.route_config_name>` in
         :ref:`envoy_api_msg_config.filter.network.http_connection_manager.v2.Rds`.
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

        public RouteConfiguration.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The name of the route configuration. For example, it might match
         :ref:`route_config_name
         <envoy_api_field_config.filter.network.http_connection_manager.v2.Rds.route_config_name>` in
         :ref:`envoy_api_msg_config.filter.network.http_connection_manager.v2.Rds`.
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getVirtualHostsCount

        public int getVirtualHostsCount()
         An array of virtual hosts that make up the route table.
         
        repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2;
        Specified by:
        getVirtualHostsCount in interface RouteConfigurationOrBuilder
      • setVirtualHosts

        public RouteConfiguration.Builder setVirtualHosts​(int index,
                                                          VirtualHost value)
         An array of virtual hosts that make up the route table.
         
        repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2;
      • setVirtualHosts

        public RouteConfiguration.Builder setVirtualHosts​(int index,
                                                          VirtualHost.Builder builderForValue)
         An array of virtual hosts that make up the route table.
         
        repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2;
      • addVirtualHosts

        public RouteConfiguration.Builder addVirtualHosts​(VirtualHost value)
         An array of virtual hosts that make up the route table.
         
        repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2;
      • addVirtualHosts

        public RouteConfiguration.Builder addVirtualHosts​(int index,
                                                          VirtualHost value)
         An array of virtual hosts that make up the route table.
         
        repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2;
      • addVirtualHosts

        public RouteConfiguration.Builder addVirtualHosts​(VirtualHost.Builder builderForValue)
         An array of virtual hosts that make up the route table.
         
        repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2;
      • addVirtualHosts

        public RouteConfiguration.Builder addVirtualHosts​(int index,
                                                          VirtualHost.Builder builderForValue)
         An array of virtual hosts that make up the route table.
         
        repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2;
      • addAllVirtualHosts

        public RouteConfiguration.Builder addAllVirtualHosts​(Iterable<? extends VirtualHost> values)
         An array of virtual hosts that make up the route table.
         
        repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2;
      • clearVirtualHosts

        public RouteConfiguration.Builder clearVirtualHosts()
         An array of virtual hosts that make up the route table.
         
        repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2;
      • removeVirtualHosts

        public RouteConfiguration.Builder removeVirtualHosts​(int index)
         An array of virtual hosts that make up the route table.
         
        repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2;
      • getVirtualHostsBuilder

        public VirtualHost.Builder getVirtualHostsBuilder​(int index)
         An array of virtual hosts that make up the route table.
         
        repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2;
      • addVirtualHostsBuilder

        public VirtualHost.Builder addVirtualHostsBuilder()
         An array of virtual hosts that make up the route table.
         
        repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2;
      • addVirtualHostsBuilder

        public VirtualHost.Builder addVirtualHostsBuilder​(int index)
         An array of virtual hosts that make up the route table.
         
        repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2;
      • getVirtualHostsBuilderList

        public List<VirtualHost.Builder> getVirtualHostsBuilderList()
         An array of virtual hosts that make up the route table.
         
        repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2;
      • hasVhds

        public boolean hasVhds()
         An array of virtual hosts will be dynamically loaded via the VHDS API.
         Both *virtual_hosts* and *vhds* fields will be used when present. *virtual_hosts* can be used
         for a base routing table or for infrequently changing virtual hosts. *vhds* is used for
         on-demand discovery of virtual hosts. The contents of these two fields will be merged to
         generate a routing table for a given RouteConfiguration, with *vhds* derived configuration
         taking precedence.
         
        .envoy.api.v2.Vhds vhds = 9;
        Specified by:
        hasVhds in interface RouteConfigurationOrBuilder
        Returns:
        Whether the vhds field is set.
      • getVhds

        public Vhds getVhds()
         An array of virtual hosts will be dynamically loaded via the VHDS API.
         Both *virtual_hosts* and *vhds* fields will be used when present. *virtual_hosts* can be used
         for a base routing table or for infrequently changing virtual hosts. *vhds* is used for
         on-demand discovery of virtual hosts. The contents of these two fields will be merged to
         generate a routing table for a given RouteConfiguration, with *vhds* derived configuration
         taking precedence.
         
        .envoy.api.v2.Vhds vhds = 9;
        Specified by:
        getVhds in interface RouteConfigurationOrBuilder
        Returns:
        The vhds.
      • setVhds

        public RouteConfiguration.Builder setVhds​(Vhds value)
         An array of virtual hosts will be dynamically loaded via the VHDS API.
         Both *virtual_hosts* and *vhds* fields will be used when present. *virtual_hosts* can be used
         for a base routing table or for infrequently changing virtual hosts. *vhds* is used for
         on-demand discovery of virtual hosts. The contents of these two fields will be merged to
         generate a routing table for a given RouteConfiguration, with *vhds* derived configuration
         taking precedence.
         
        .envoy.api.v2.Vhds vhds = 9;
      • setVhds

        public RouteConfiguration.Builder setVhds​(Vhds.Builder builderForValue)
         An array of virtual hosts will be dynamically loaded via the VHDS API.
         Both *virtual_hosts* and *vhds* fields will be used when present. *virtual_hosts* can be used
         for a base routing table or for infrequently changing virtual hosts. *vhds* is used for
         on-demand discovery of virtual hosts. The contents of these two fields will be merged to
         generate a routing table for a given RouteConfiguration, with *vhds* derived configuration
         taking precedence.
         
        .envoy.api.v2.Vhds vhds = 9;
      • mergeVhds

        public RouteConfiguration.Builder mergeVhds​(Vhds value)
         An array of virtual hosts will be dynamically loaded via the VHDS API.
         Both *virtual_hosts* and *vhds* fields will be used when present. *virtual_hosts* can be used
         for a base routing table or for infrequently changing virtual hosts. *vhds* is used for
         on-demand discovery of virtual hosts. The contents of these two fields will be merged to
         generate a routing table for a given RouteConfiguration, with *vhds* derived configuration
         taking precedence.
         
        .envoy.api.v2.Vhds vhds = 9;
      • clearVhds

        public RouteConfiguration.Builder clearVhds()
         An array of virtual hosts will be dynamically loaded via the VHDS API.
         Both *virtual_hosts* and *vhds* fields will be used when present. *virtual_hosts* can be used
         for a base routing table or for infrequently changing virtual hosts. *vhds* is used for
         on-demand discovery of virtual hosts. The contents of these two fields will be merged to
         generate a routing table for a given RouteConfiguration, with *vhds* derived configuration
         taking precedence.
         
        .envoy.api.v2.Vhds vhds = 9;
      • getVhdsBuilder

        public Vhds.Builder getVhdsBuilder()
         An array of virtual hosts will be dynamically loaded via the VHDS API.
         Both *virtual_hosts* and *vhds* fields will be used when present. *virtual_hosts* can be used
         for a base routing table or for infrequently changing virtual hosts. *vhds* is used for
         on-demand discovery of virtual hosts. The contents of these two fields will be merged to
         generate a routing table for a given RouteConfiguration, with *vhds* derived configuration
         taking precedence.
         
        .envoy.api.v2.Vhds vhds = 9;
      • getVhdsOrBuilder

        public VhdsOrBuilder getVhdsOrBuilder()
         An array of virtual hosts will be dynamically loaded via the VHDS API.
         Both *virtual_hosts* and *vhds* fields will be used when present. *virtual_hosts* can be used
         for a base routing table or for infrequently changing virtual hosts. *vhds* is used for
         on-demand discovery of virtual hosts. The contents of these two fields will be merged to
         generate a routing table for a given RouteConfiguration, with *vhds* derived configuration
         taking precedence.
         
        .envoy.api.v2.Vhds vhds = 9;
        Specified by:
        getVhdsOrBuilder in interface RouteConfigurationOrBuilder
      • getInternalOnlyHeadersList

        public com.google.protobuf.ProtocolStringList getInternalOnlyHeadersList()
         Optionally specifies a list of HTTP headers that the connection manager
         will consider to be internal only. If they are found on external requests they will be cleaned
         prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more
         information.
         
        repeated string internal_only_headers = 3 [(.validate.rules) = { ... }
        Specified by:
        getInternalOnlyHeadersList in interface RouteConfigurationOrBuilder
        Returns:
        A list containing the internalOnlyHeaders.
      • getInternalOnlyHeadersCount

        public int getInternalOnlyHeadersCount()
         Optionally specifies a list of HTTP headers that the connection manager
         will consider to be internal only. If they are found on external requests they will be cleaned
         prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more
         information.
         
        repeated string internal_only_headers = 3 [(.validate.rules) = { ... }
        Specified by:
        getInternalOnlyHeadersCount in interface RouteConfigurationOrBuilder
        Returns:
        The count of internalOnlyHeaders.
      • getInternalOnlyHeaders

        public String getInternalOnlyHeaders​(int index)
         Optionally specifies a list of HTTP headers that the connection manager
         will consider to be internal only. If they are found on external requests they will be cleaned
         prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more
         information.
         
        repeated string internal_only_headers = 3 [(.validate.rules) = { ... }
        Specified by:
        getInternalOnlyHeaders in interface RouteConfigurationOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The internalOnlyHeaders at the given index.
      • getInternalOnlyHeadersBytes

        public com.google.protobuf.ByteString getInternalOnlyHeadersBytes​(int index)
         Optionally specifies a list of HTTP headers that the connection manager
         will consider to be internal only. If they are found on external requests they will be cleaned
         prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more
         information.
         
        repeated string internal_only_headers = 3 [(.validate.rules) = { ... }
        Specified by:
        getInternalOnlyHeadersBytes in interface RouteConfigurationOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the internalOnlyHeaders at the given index.
      • setInternalOnlyHeaders

        public RouteConfiguration.Builder setInternalOnlyHeaders​(int index,
                                                                 String value)
         Optionally specifies a list of HTTP headers that the connection manager
         will consider to be internal only. If they are found on external requests they will be cleaned
         prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more
         information.
         
        repeated string internal_only_headers = 3 [(.validate.rules) = { ... }
        Parameters:
        index - The index to set the value at.
        value - The internalOnlyHeaders to set.
        Returns:
        This builder for chaining.
      • addInternalOnlyHeaders

        public RouteConfiguration.Builder addInternalOnlyHeaders​(String value)
         Optionally specifies a list of HTTP headers that the connection manager
         will consider to be internal only. If they are found on external requests they will be cleaned
         prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more
         information.
         
        repeated string internal_only_headers = 3 [(.validate.rules) = { ... }
        Parameters:
        value - The internalOnlyHeaders to add.
        Returns:
        This builder for chaining.
      • addAllInternalOnlyHeaders

        public RouteConfiguration.Builder addAllInternalOnlyHeaders​(Iterable<String> values)
         Optionally specifies a list of HTTP headers that the connection manager
         will consider to be internal only. If they are found on external requests they will be cleaned
         prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more
         information.
         
        repeated string internal_only_headers = 3 [(.validate.rules) = { ... }
        Parameters:
        values - The internalOnlyHeaders to add.
        Returns:
        This builder for chaining.
      • clearInternalOnlyHeaders

        public RouteConfiguration.Builder clearInternalOnlyHeaders()
         Optionally specifies a list of HTTP headers that the connection manager
         will consider to be internal only. If they are found on external requests they will be cleaned
         prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more
         information.
         
        repeated string internal_only_headers = 3 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • addInternalOnlyHeadersBytes

        public RouteConfiguration.Builder addInternalOnlyHeadersBytes​(com.google.protobuf.ByteString value)
         Optionally specifies a list of HTTP headers that the connection manager
         will consider to be internal only. If they are found on external requests they will be cleaned
         prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more
         information.
         
        repeated string internal_only_headers = 3 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes of the internalOnlyHeaders to add.
        Returns:
        This builder for chaining.
      • getResponseHeadersToAddList

        public List<HeaderValueOption> getResponseHeadersToAddList()
         Specifies a list of HTTP headers that should be added to each response that
         the connection manager encodes. Headers specified at this level are applied
         after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
        Specified by:
        getResponseHeadersToAddList in interface RouteConfigurationOrBuilder
      • getResponseHeadersToAddCount

        public int getResponseHeadersToAddCount()
         Specifies a list of HTTP headers that should be added to each response that
         the connection manager encodes. Headers specified at this level are applied
         after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
        Specified by:
        getResponseHeadersToAddCount in interface RouteConfigurationOrBuilder
      • getResponseHeadersToAdd

        public HeaderValueOption getResponseHeadersToAdd​(int index)
         Specifies a list of HTTP headers that should be added to each response that
         the connection manager encodes. Headers specified at this level are applied
         after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
        Specified by:
        getResponseHeadersToAdd in interface RouteConfigurationOrBuilder
      • setResponseHeadersToAdd

        public RouteConfiguration.Builder setResponseHeadersToAdd​(int index,
                                                                  HeaderValueOption value)
         Specifies a list of HTTP headers that should be added to each response that
         the connection manager encodes. Headers specified at this level are applied
         after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
      • setResponseHeadersToAdd

        public RouteConfiguration.Builder setResponseHeadersToAdd​(int index,
                                                                  HeaderValueOption.Builder builderForValue)
         Specifies a list of HTTP headers that should be added to each response that
         the connection manager encodes. Headers specified at this level are applied
         after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
      • addResponseHeadersToAdd

        public RouteConfiguration.Builder addResponseHeadersToAdd​(HeaderValueOption value)
         Specifies a list of HTTP headers that should be added to each response that
         the connection manager encodes. Headers specified at this level are applied
         after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
      • addResponseHeadersToAdd

        public RouteConfiguration.Builder addResponseHeadersToAdd​(int index,
                                                                  HeaderValueOption value)
         Specifies a list of HTTP headers that should be added to each response that
         the connection manager encodes. Headers specified at this level are applied
         after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
      • addResponseHeadersToAdd

        public RouteConfiguration.Builder addResponseHeadersToAdd​(HeaderValueOption.Builder builderForValue)
         Specifies a list of HTTP headers that should be added to each response that
         the connection manager encodes. Headers specified at this level are applied
         after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
      • addResponseHeadersToAdd

        public RouteConfiguration.Builder addResponseHeadersToAdd​(int index,
                                                                  HeaderValueOption.Builder builderForValue)
         Specifies a list of HTTP headers that should be added to each response that
         the connection manager encodes. Headers specified at this level are applied
         after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
      • addAllResponseHeadersToAdd

        public RouteConfiguration.Builder addAllResponseHeadersToAdd​(Iterable<? extends HeaderValueOption> values)
         Specifies a list of HTTP headers that should be added to each response that
         the connection manager encodes. Headers specified at this level are applied
         after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
      • clearResponseHeadersToAdd

        public RouteConfiguration.Builder clearResponseHeadersToAdd()
         Specifies a list of HTTP headers that should be added to each response that
         the connection manager encodes. Headers specified at this level are applied
         after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
      • removeResponseHeadersToAdd

        public RouteConfiguration.Builder removeResponseHeadersToAdd​(int index)
         Specifies a list of HTTP headers that should be added to each response that
         the connection manager encodes. Headers specified at this level are applied
         after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
      • getResponseHeadersToAddBuilder

        public HeaderValueOption.Builder getResponseHeadersToAddBuilder​(int index)
         Specifies a list of HTTP headers that should be added to each response that
         the connection manager encodes. Headers specified at this level are applied
         after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
      • getResponseHeadersToAddOrBuilder

        public HeaderValueOptionOrBuilder getResponseHeadersToAddOrBuilder​(int index)
         Specifies a list of HTTP headers that should be added to each response that
         the connection manager encodes. Headers specified at this level are applied
         after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
        Specified by:
        getResponseHeadersToAddOrBuilder in interface RouteConfigurationOrBuilder
      • getResponseHeadersToAddOrBuilderList

        public List<? extends HeaderValueOptionOrBuilder> getResponseHeadersToAddOrBuilderList()
         Specifies a list of HTTP headers that should be added to each response that
         the connection manager encodes. Headers specified at this level are applied
         after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
        Specified by:
        getResponseHeadersToAddOrBuilderList in interface RouteConfigurationOrBuilder
      • addResponseHeadersToAddBuilder

        public HeaderValueOption.Builder addResponseHeadersToAddBuilder()
         Specifies a list of HTTP headers that should be added to each response that
         the connection manager encodes. Headers specified at this level are applied
         after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
      • addResponseHeadersToAddBuilder

        public HeaderValueOption.Builder addResponseHeadersToAddBuilder​(int index)
         Specifies a list of HTTP headers that should be added to each response that
         the connection manager encodes. Headers specified at this level are applied
         after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
      • getResponseHeadersToAddBuilderList

        public List<HeaderValueOption.Builder> getResponseHeadersToAddBuilderList()
         Specifies a list of HTTP headers that should be added to each response that
         the connection manager encodes. Headers specified at this level are applied
         after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }
      • getResponseHeadersToRemoveList

        public com.google.protobuf.ProtocolStringList getResponseHeadersToRemoveList()
         Specifies a list of HTTP headers that should be removed from each response
         that the connection manager encodes.
         
        repeated string response_headers_to_remove = 5 [(.validate.rules) = { ... }
        Specified by:
        getResponseHeadersToRemoveList in interface RouteConfigurationOrBuilder
        Returns:
        A list containing the responseHeadersToRemove.
      • getResponseHeadersToRemoveCount

        public int getResponseHeadersToRemoveCount()
         Specifies a list of HTTP headers that should be removed from each response
         that the connection manager encodes.
         
        repeated string response_headers_to_remove = 5 [(.validate.rules) = { ... }
        Specified by:
        getResponseHeadersToRemoveCount in interface RouteConfigurationOrBuilder
        Returns:
        The count of responseHeadersToRemove.
      • getResponseHeadersToRemove

        public String getResponseHeadersToRemove​(int index)
         Specifies a list of HTTP headers that should be removed from each response
         that the connection manager encodes.
         
        repeated string response_headers_to_remove = 5 [(.validate.rules) = { ... }
        Specified by:
        getResponseHeadersToRemove in interface RouteConfigurationOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The responseHeadersToRemove at the given index.
      • getResponseHeadersToRemoveBytes

        public com.google.protobuf.ByteString getResponseHeadersToRemoveBytes​(int index)
         Specifies a list of HTTP headers that should be removed from each response
         that the connection manager encodes.
         
        repeated string response_headers_to_remove = 5 [(.validate.rules) = { ... }
        Specified by:
        getResponseHeadersToRemoveBytes in interface RouteConfigurationOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the responseHeadersToRemove at the given index.
      • setResponseHeadersToRemove

        public RouteConfiguration.Builder setResponseHeadersToRemove​(int index,
                                                                     String value)
         Specifies a list of HTTP headers that should be removed from each response
         that the connection manager encodes.
         
        repeated string response_headers_to_remove = 5 [(.validate.rules) = { ... }
        Parameters:
        index - The index to set the value at.
        value - The responseHeadersToRemove to set.
        Returns:
        This builder for chaining.
      • addResponseHeadersToRemove

        public RouteConfiguration.Builder addResponseHeadersToRemove​(String value)
         Specifies a list of HTTP headers that should be removed from each response
         that the connection manager encodes.
         
        repeated string response_headers_to_remove = 5 [(.validate.rules) = { ... }
        Parameters:
        value - The responseHeadersToRemove to add.
        Returns:
        This builder for chaining.
      • addAllResponseHeadersToRemove

        public RouteConfiguration.Builder addAllResponseHeadersToRemove​(Iterable<String> values)
         Specifies a list of HTTP headers that should be removed from each response
         that the connection manager encodes.
         
        repeated string response_headers_to_remove = 5 [(.validate.rules) = { ... }
        Parameters:
        values - The responseHeadersToRemove to add.
        Returns:
        This builder for chaining.
      • clearResponseHeadersToRemove

        public RouteConfiguration.Builder clearResponseHeadersToRemove()
         Specifies a list of HTTP headers that should be removed from each response
         that the connection manager encodes.
         
        repeated string response_headers_to_remove = 5 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • addResponseHeadersToRemoveBytes

        public RouteConfiguration.Builder addResponseHeadersToRemoveBytes​(com.google.protobuf.ByteString value)
         Specifies a list of HTTP headers that should be removed from each response
         that the connection manager encodes.
         
        repeated string response_headers_to_remove = 5 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes of the responseHeadersToRemove to add.
        Returns:
        This builder for chaining.
      • getRequestHeadersToAddList

        public List<HeaderValueOption> getRequestHeadersToAddList()
         Specifies a list of HTTP headers that should be added to each request
         routed by the HTTP connection manager. Headers specified at this level are
         applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
        Specified by:
        getRequestHeadersToAddList in interface RouteConfigurationOrBuilder
      • getRequestHeadersToAddCount

        public int getRequestHeadersToAddCount()
         Specifies a list of HTTP headers that should be added to each request
         routed by the HTTP connection manager. Headers specified at this level are
         applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
        Specified by:
        getRequestHeadersToAddCount in interface RouteConfigurationOrBuilder
      • getRequestHeadersToAdd

        public HeaderValueOption getRequestHeadersToAdd​(int index)
         Specifies a list of HTTP headers that should be added to each request
         routed by the HTTP connection manager. Headers specified at this level are
         applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
        Specified by:
        getRequestHeadersToAdd in interface RouteConfigurationOrBuilder
      • setRequestHeadersToAdd

        public RouteConfiguration.Builder setRequestHeadersToAdd​(int index,
                                                                 HeaderValueOption value)
         Specifies a list of HTTP headers that should be added to each request
         routed by the HTTP connection manager. Headers specified at this level are
         applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
      • setRequestHeadersToAdd

        public RouteConfiguration.Builder setRequestHeadersToAdd​(int index,
                                                                 HeaderValueOption.Builder builderForValue)
         Specifies a list of HTTP headers that should be added to each request
         routed by the HTTP connection manager. Headers specified at this level are
         applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
      • addRequestHeadersToAdd

        public RouteConfiguration.Builder addRequestHeadersToAdd​(HeaderValueOption value)
         Specifies a list of HTTP headers that should be added to each request
         routed by the HTTP connection manager. Headers specified at this level are
         applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
      • addRequestHeadersToAdd

        public RouteConfiguration.Builder addRequestHeadersToAdd​(int index,
                                                                 HeaderValueOption value)
         Specifies a list of HTTP headers that should be added to each request
         routed by the HTTP connection manager. Headers specified at this level are
         applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
      • addRequestHeadersToAdd

        public RouteConfiguration.Builder addRequestHeadersToAdd​(HeaderValueOption.Builder builderForValue)
         Specifies a list of HTTP headers that should be added to each request
         routed by the HTTP connection manager. Headers specified at this level are
         applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
      • addRequestHeadersToAdd

        public RouteConfiguration.Builder addRequestHeadersToAdd​(int index,
                                                                 HeaderValueOption.Builder builderForValue)
         Specifies a list of HTTP headers that should be added to each request
         routed by the HTTP connection manager. Headers specified at this level are
         applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
      • addAllRequestHeadersToAdd

        public RouteConfiguration.Builder addAllRequestHeadersToAdd​(Iterable<? extends HeaderValueOption> values)
         Specifies a list of HTTP headers that should be added to each request
         routed by the HTTP connection manager. Headers specified at this level are
         applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
      • clearRequestHeadersToAdd

        public RouteConfiguration.Builder clearRequestHeadersToAdd()
         Specifies a list of HTTP headers that should be added to each request
         routed by the HTTP connection manager. Headers specified at this level are
         applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
      • removeRequestHeadersToAdd

        public RouteConfiguration.Builder removeRequestHeadersToAdd​(int index)
         Specifies a list of HTTP headers that should be added to each request
         routed by the HTTP connection manager. Headers specified at this level are
         applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
      • getRequestHeadersToAddBuilder

        public HeaderValueOption.Builder getRequestHeadersToAddBuilder​(int index)
         Specifies a list of HTTP headers that should be added to each request
         routed by the HTTP connection manager. Headers specified at this level are
         applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
      • getRequestHeadersToAddOrBuilder

        public HeaderValueOptionOrBuilder getRequestHeadersToAddOrBuilder​(int index)
         Specifies a list of HTTP headers that should be added to each request
         routed by the HTTP connection manager. Headers specified at this level are
         applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
        Specified by:
        getRequestHeadersToAddOrBuilder in interface RouteConfigurationOrBuilder
      • getRequestHeadersToAddOrBuilderList

        public List<? extends HeaderValueOptionOrBuilder> getRequestHeadersToAddOrBuilderList()
         Specifies a list of HTTP headers that should be added to each request
         routed by the HTTP connection manager. Headers specified at this level are
         applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
        Specified by:
        getRequestHeadersToAddOrBuilderList in interface RouteConfigurationOrBuilder
      • addRequestHeadersToAddBuilder

        public HeaderValueOption.Builder addRequestHeadersToAddBuilder()
         Specifies a list of HTTP headers that should be added to each request
         routed by the HTTP connection manager. Headers specified at this level are
         applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
      • addRequestHeadersToAddBuilder

        public HeaderValueOption.Builder addRequestHeadersToAddBuilder​(int index)
         Specifies a list of HTTP headers that should be added to each request
         routed by the HTTP connection manager. Headers specified at this level are
         applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
      • getRequestHeadersToAddBuilderList

        public List<HeaderValueOption.Builder> getRequestHeadersToAddBuilderList()
         Specifies a list of HTTP headers that should be added to each request
         routed by the HTTP connection manager. Headers specified at this level are
         applied after headers from any enclosed :ref:`envoy_api_msg_route.VirtualHost` or
         :ref:`envoy_api_msg_route.RouteAction`. For more information, including details on
         header value syntax, see the documentation on :ref:`custom request headers
         <config_http_conn_man_headers_custom_request_headers>`.
         
        repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }
      • getRequestHeadersToRemoveList

        public com.google.protobuf.ProtocolStringList getRequestHeadersToRemoveList()
         Specifies a list of HTTP headers that should be removed from each request
         routed by the HTTP connection manager.
         
        repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
        Specified by:
        getRequestHeadersToRemoveList in interface RouteConfigurationOrBuilder
        Returns:
        A list containing the requestHeadersToRemove.
      • getRequestHeadersToRemoveCount

        public int getRequestHeadersToRemoveCount()
         Specifies a list of HTTP headers that should be removed from each request
         routed by the HTTP connection manager.
         
        repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
        Specified by:
        getRequestHeadersToRemoveCount in interface RouteConfigurationOrBuilder
        Returns:
        The count of requestHeadersToRemove.
      • getRequestHeadersToRemove

        public String getRequestHeadersToRemove​(int index)
         Specifies a list of HTTP headers that should be removed from each request
         routed by the HTTP connection manager.
         
        repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
        Specified by:
        getRequestHeadersToRemove in interface RouteConfigurationOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The requestHeadersToRemove at the given index.
      • getRequestHeadersToRemoveBytes

        public com.google.protobuf.ByteString getRequestHeadersToRemoveBytes​(int index)
         Specifies a list of HTTP headers that should be removed from each request
         routed by the HTTP connection manager.
         
        repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
        Specified by:
        getRequestHeadersToRemoveBytes in interface RouteConfigurationOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the requestHeadersToRemove at the given index.
      • setRequestHeadersToRemove

        public RouteConfiguration.Builder setRequestHeadersToRemove​(int index,
                                                                    String value)
         Specifies a list of HTTP headers that should be removed from each request
         routed by the HTTP connection manager.
         
        repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
        Parameters:
        index - The index to set the value at.
        value - The requestHeadersToRemove to set.
        Returns:
        This builder for chaining.
      • addRequestHeadersToRemove

        public RouteConfiguration.Builder addRequestHeadersToRemove​(String value)
         Specifies a list of HTTP headers that should be removed from each request
         routed by the HTTP connection manager.
         
        repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
        Parameters:
        value - The requestHeadersToRemove to add.
        Returns:
        This builder for chaining.
      • addAllRequestHeadersToRemove

        public RouteConfiguration.Builder addAllRequestHeadersToRemove​(Iterable<String> values)
         Specifies a list of HTTP headers that should be removed from each request
         routed by the HTTP connection manager.
         
        repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
        Parameters:
        values - The requestHeadersToRemove to add.
        Returns:
        This builder for chaining.
      • clearRequestHeadersToRemove

        public RouteConfiguration.Builder clearRequestHeadersToRemove()
         Specifies a list of HTTP headers that should be removed from each request
         routed by the HTTP connection manager.
         
        repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • addRequestHeadersToRemoveBytes

        public RouteConfiguration.Builder addRequestHeadersToRemoveBytes​(com.google.protobuf.ByteString value)
         Specifies a list of HTTP headers that should be removed from each request
         routed by the HTTP connection manager.
         
        repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes of the requestHeadersToRemove to add.
        Returns:
        This builder for chaining.
      • getMostSpecificHeaderMutationsWins

        public boolean getMostSpecificHeaderMutationsWins()
         By default, headers that should be added/removed are evaluated from most to least specific:
         * route level
         * virtual host level
         * connection manager level
         To allow setting overrides at the route or virtual host level, this order can be reversed
         by setting this option to true. Defaults to false.
         [#next-major-version: In the v3 API, this will default to true.]
         
        bool most_specific_header_mutations_wins = 10;
        Specified by:
        getMostSpecificHeaderMutationsWins in interface RouteConfigurationOrBuilder
        Returns:
        The mostSpecificHeaderMutationsWins.
      • setMostSpecificHeaderMutationsWins

        public RouteConfiguration.Builder setMostSpecificHeaderMutationsWins​(boolean value)
         By default, headers that should be added/removed are evaluated from most to least specific:
         * route level
         * virtual host level
         * connection manager level
         To allow setting overrides at the route or virtual host level, this order can be reversed
         by setting this option to true. Defaults to false.
         [#next-major-version: In the v3 API, this will default to true.]
         
        bool most_specific_header_mutations_wins = 10;
        Parameters:
        value - The mostSpecificHeaderMutationsWins to set.
        Returns:
        This builder for chaining.
      • clearMostSpecificHeaderMutationsWins

        public RouteConfiguration.Builder clearMostSpecificHeaderMutationsWins()
         By default, headers that should be added/removed are evaluated from most to least specific:
         * route level
         * virtual host level
         * connection manager level
         To allow setting overrides at the route or virtual host level, this order can be reversed
         by setting this option to true. Defaults to false.
         [#next-major-version: In the v3 API, this will default to true.]
         
        bool most_specific_header_mutations_wins = 10;
        Returns:
        This builder for chaining.
      • hasValidateClusters

        public boolean hasValidateClusters()
         An optional boolean that specifies whether the clusters that the route
         table refers to will be validated by the cluster manager. If set to true
         and a route refers to a non-existent cluster, the route table will not
         load. If set to false and a route refers to a non-existent cluster, the
         route table will load and the router filter will return a 404 if the route
         is selected at runtime. This setting defaults to true if the route table
         is statically defined via the :ref:`route_config
         <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.route_config>`
         option. This setting default to false if the route table is loaded dynamically via the
         :ref:`rds
         <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.rds>`
         option. Users may wish to override the default behavior in certain cases (for example when
         using CDS with a static route table).
         
        .google.protobuf.BoolValue validate_clusters = 7;
        Specified by:
        hasValidateClusters in interface RouteConfigurationOrBuilder
        Returns:
        Whether the validateClusters field is set.
      • getValidateClusters

        public com.google.protobuf.BoolValue getValidateClusters()
         An optional boolean that specifies whether the clusters that the route
         table refers to will be validated by the cluster manager. If set to true
         and a route refers to a non-existent cluster, the route table will not
         load. If set to false and a route refers to a non-existent cluster, the
         route table will load and the router filter will return a 404 if the route
         is selected at runtime. This setting defaults to true if the route table
         is statically defined via the :ref:`route_config
         <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.route_config>`
         option. This setting default to false if the route table is loaded dynamically via the
         :ref:`rds
         <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.rds>`
         option. Users may wish to override the default behavior in certain cases (for example when
         using CDS with a static route table).
         
        .google.protobuf.BoolValue validate_clusters = 7;
        Specified by:
        getValidateClusters in interface RouteConfigurationOrBuilder
        Returns:
        The validateClusters.
      • setValidateClusters

        public RouteConfiguration.Builder setValidateClusters​(com.google.protobuf.BoolValue value)
         An optional boolean that specifies whether the clusters that the route
         table refers to will be validated by the cluster manager. If set to true
         and a route refers to a non-existent cluster, the route table will not
         load. If set to false and a route refers to a non-existent cluster, the
         route table will load and the router filter will return a 404 if the route
         is selected at runtime. This setting defaults to true if the route table
         is statically defined via the :ref:`route_config
         <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.route_config>`
         option. This setting default to false if the route table is loaded dynamically via the
         :ref:`rds
         <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.rds>`
         option. Users may wish to override the default behavior in certain cases (for example when
         using CDS with a static route table).
         
        .google.protobuf.BoolValue validate_clusters = 7;
      • setValidateClusters

        public RouteConfiguration.Builder setValidateClusters​(com.google.protobuf.BoolValue.Builder builderForValue)
         An optional boolean that specifies whether the clusters that the route
         table refers to will be validated by the cluster manager. If set to true
         and a route refers to a non-existent cluster, the route table will not
         load. If set to false and a route refers to a non-existent cluster, the
         route table will load and the router filter will return a 404 if the route
         is selected at runtime. This setting defaults to true if the route table
         is statically defined via the :ref:`route_config
         <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.route_config>`
         option. This setting default to false if the route table is loaded dynamically via the
         :ref:`rds
         <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.rds>`
         option. Users may wish to override the default behavior in certain cases (for example when
         using CDS with a static route table).
         
        .google.protobuf.BoolValue validate_clusters = 7;
      • mergeValidateClusters

        public RouteConfiguration.Builder mergeValidateClusters​(com.google.protobuf.BoolValue value)
         An optional boolean that specifies whether the clusters that the route
         table refers to will be validated by the cluster manager. If set to true
         and a route refers to a non-existent cluster, the route table will not
         load. If set to false and a route refers to a non-existent cluster, the
         route table will load and the router filter will return a 404 if the route
         is selected at runtime. This setting defaults to true if the route table
         is statically defined via the :ref:`route_config
         <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.route_config>`
         option. This setting default to false if the route table is loaded dynamically via the
         :ref:`rds
         <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.rds>`
         option. Users may wish to override the default behavior in certain cases (for example when
         using CDS with a static route table).
         
        .google.protobuf.BoolValue validate_clusters = 7;
      • clearValidateClusters

        public RouteConfiguration.Builder clearValidateClusters()
         An optional boolean that specifies whether the clusters that the route
         table refers to will be validated by the cluster manager. If set to true
         and a route refers to a non-existent cluster, the route table will not
         load. If set to false and a route refers to a non-existent cluster, the
         route table will load and the router filter will return a 404 if the route
         is selected at runtime. This setting defaults to true if the route table
         is statically defined via the :ref:`route_config
         <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.route_config>`
         option. This setting default to false if the route table is loaded dynamically via the
         :ref:`rds
         <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.rds>`
         option. Users may wish to override the default behavior in certain cases (for example when
         using CDS with a static route table).
         
        .google.protobuf.BoolValue validate_clusters = 7;
      • getValidateClustersBuilder

        public com.google.protobuf.BoolValue.Builder getValidateClustersBuilder()
         An optional boolean that specifies whether the clusters that the route
         table refers to will be validated by the cluster manager. If set to true
         and a route refers to a non-existent cluster, the route table will not
         load. If set to false and a route refers to a non-existent cluster, the
         route table will load and the router filter will return a 404 if the route
         is selected at runtime. This setting defaults to true if the route table
         is statically defined via the :ref:`route_config
         <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.route_config>`
         option. This setting default to false if the route table is loaded dynamically via the
         :ref:`rds
         <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.rds>`
         option. Users may wish to override the default behavior in certain cases (for example when
         using CDS with a static route table).
         
        .google.protobuf.BoolValue validate_clusters = 7;
      • getValidateClustersOrBuilder

        public com.google.protobuf.BoolValueOrBuilder getValidateClustersOrBuilder()
         An optional boolean that specifies whether the clusters that the route
         table refers to will be validated by the cluster manager. If set to true
         and a route refers to a non-existent cluster, the route table will not
         load. If set to false and a route refers to a non-existent cluster, the
         route table will load and the router filter will return a 404 if the route
         is selected at runtime. This setting defaults to true if the route table
         is statically defined via the :ref:`route_config
         <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.route_config>`
         option. This setting default to false if the route table is loaded dynamically via the
         :ref:`rds
         <envoy_api_field_config.filter.network.http_connection_manager.v2.HttpConnectionManager.rds>`
         option. Users may wish to override the default behavior in certain cases (for example when
         using CDS with a static route table).
         
        .google.protobuf.BoolValue validate_clusters = 7;
        Specified by:
        getValidateClustersOrBuilder in interface RouteConfigurationOrBuilder
      • setUnknownFields

        public final RouteConfiguration.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<RouteConfiguration.Builder>
      • mergeUnknownFields

        public final RouteConfiguration.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<RouteConfiguration.Builder>