Class UdpProxyConfig.UdpTunnelingConfig.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<UdpProxyConfig.UdpTunnelingConfig.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<UdpProxyConfig.UdpTunnelingConfig.Builder>
      • getDefaultInstanceForType

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

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

        public UdpProxyConfig.UdpTunnelingConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public String getProxyHost()
         The hostname to send in the synthesized CONNECT headers to the upstream proxy.
         This field evaluates command operators if set, otherwise returns hostname as is.
         Example: dynamically set hostname using filter state
         .. code-block:: yaml
            tunneling_config:
              proxy_host: "%FILTER_STATE(proxy.host.key:PLAIN)%"
         
        string proxy_host = 1 [(.validate.rules) = { ... }
        Specified by:
        getProxyHost in interface UdpProxyConfig.UdpTunnelingConfigOrBuilder
        Returns:
        The proxyHost.
      • getProxyHostBytes

        public com.google.protobuf.ByteString getProxyHostBytes()
         The hostname to send in the synthesized CONNECT headers to the upstream proxy.
         This field evaluates command operators if set, otherwise returns hostname as is.
         Example: dynamically set hostname using filter state
         .. code-block:: yaml
            tunneling_config:
              proxy_host: "%FILTER_STATE(proxy.host.key:PLAIN)%"
         
        string proxy_host = 1 [(.validate.rules) = { ... }
        Specified by:
        getProxyHostBytes in interface UdpProxyConfig.UdpTunnelingConfigOrBuilder
        Returns:
        The bytes for proxyHost.
      • setProxyHost

        public UdpProxyConfig.UdpTunnelingConfig.Builder setProxyHost​(String value)
         The hostname to send in the synthesized CONNECT headers to the upstream proxy.
         This field evaluates command operators if set, otherwise returns hostname as is.
         Example: dynamically set hostname using filter state
         .. code-block:: yaml
            tunneling_config:
              proxy_host: "%FILTER_STATE(proxy.host.key:PLAIN)%"
         
        string proxy_host = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The proxyHost to set.
        Returns:
        This builder for chaining.
      • clearProxyHost

        public UdpProxyConfig.UdpTunnelingConfig.Builder clearProxyHost()
         The hostname to send in the synthesized CONNECT headers to the upstream proxy.
         This field evaluates command operators if set, otherwise returns hostname as is.
         Example: dynamically set hostname using filter state
         .. code-block:: yaml
            tunneling_config:
              proxy_host: "%FILTER_STATE(proxy.host.key:PLAIN)%"
         
        string proxy_host = 1 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • setProxyHostBytes

        public UdpProxyConfig.UdpTunnelingConfig.Builder setProxyHostBytes​(com.google.protobuf.ByteString value)
         The hostname to send in the synthesized CONNECT headers to the upstream proxy.
         This field evaluates command operators if set, otherwise returns hostname as is.
         Example: dynamically set hostname using filter state
         .. code-block:: yaml
            tunneling_config:
              proxy_host: "%FILTER_STATE(proxy.host.key:PLAIN)%"
         
        string proxy_host = 1 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes for proxyHost to set.
        Returns:
        This builder for chaining.
      • hasProxyPort

        public boolean hasProxyPort()
         Optional port value to add to the HTTP request URI.
         This value can be overridden per-session by setting the required port value for
         the filter state key ``udp.connect.proxy_port``.
         
        .google.protobuf.UInt32Value proxy_port = 2;
        Specified by:
        hasProxyPort in interface UdpProxyConfig.UdpTunnelingConfigOrBuilder
        Returns:
        Whether the proxyPort field is set.
      • getProxyPort

        public com.google.protobuf.UInt32Value getProxyPort()
         Optional port value to add to the HTTP request URI.
         This value can be overridden per-session by setting the required port value for
         the filter state key ``udp.connect.proxy_port``.
         
        .google.protobuf.UInt32Value proxy_port = 2;
        Specified by:
        getProxyPort in interface UdpProxyConfig.UdpTunnelingConfigOrBuilder
        Returns:
        The proxyPort.
      • setProxyPort

        public UdpProxyConfig.UdpTunnelingConfig.Builder setProxyPort​(com.google.protobuf.UInt32Value value)
         Optional port value to add to the HTTP request URI.
         This value can be overridden per-session by setting the required port value for
         the filter state key ``udp.connect.proxy_port``.
         
        .google.protobuf.UInt32Value proxy_port = 2;
      • setProxyPort

        public UdpProxyConfig.UdpTunnelingConfig.Builder setProxyPort​(com.google.protobuf.UInt32Value.Builder builderForValue)
         Optional port value to add to the HTTP request URI.
         This value can be overridden per-session by setting the required port value for
         the filter state key ``udp.connect.proxy_port``.
         
        .google.protobuf.UInt32Value proxy_port = 2;
      • mergeProxyPort

        public UdpProxyConfig.UdpTunnelingConfig.Builder mergeProxyPort​(com.google.protobuf.UInt32Value value)
         Optional port value to add to the HTTP request URI.
         This value can be overridden per-session by setting the required port value for
         the filter state key ``udp.connect.proxy_port``.
         
        .google.protobuf.UInt32Value proxy_port = 2;
      • clearProxyPort

        public UdpProxyConfig.UdpTunnelingConfig.Builder clearProxyPort()
         Optional port value to add to the HTTP request URI.
         This value can be overridden per-session by setting the required port value for
         the filter state key ``udp.connect.proxy_port``.
         
        .google.protobuf.UInt32Value proxy_port = 2;
      • getProxyPortBuilder

        public com.google.protobuf.UInt32Value.Builder getProxyPortBuilder()
         Optional port value to add to the HTTP request URI.
         This value can be overridden per-session by setting the required port value for
         the filter state key ``udp.connect.proxy_port``.
         
        .google.protobuf.UInt32Value proxy_port = 2;
      • getProxyPortOrBuilder

        public com.google.protobuf.UInt32ValueOrBuilder getProxyPortOrBuilder()
         Optional port value to add to the HTTP request URI.
         This value can be overridden per-session by setting the required port value for
         the filter state key ``udp.connect.proxy_port``.
         
        .google.protobuf.UInt32Value proxy_port = 2;
        Specified by:
        getProxyPortOrBuilder in interface UdpProxyConfig.UdpTunnelingConfigOrBuilder
      • getTargetHost

        public String getTargetHost()
         The target host to send in the synthesized CONNECT headers to the upstream proxy.
         This field evaluates command operators if set, otherwise returns hostname as is.
         Example: dynamically set target host using filter state
         .. code-block:: yaml
            tunneling_config:
              target_host: "%FILTER_STATE(target.host.key:PLAIN)%"
         
        string target_host = 3 [(.validate.rules) = { ... }
        Specified by:
        getTargetHost in interface UdpProxyConfig.UdpTunnelingConfigOrBuilder
        Returns:
        The targetHost.
      • getTargetHostBytes

        public com.google.protobuf.ByteString getTargetHostBytes()
         The target host to send in the synthesized CONNECT headers to the upstream proxy.
         This field evaluates command operators if set, otherwise returns hostname as is.
         Example: dynamically set target host using filter state
         .. code-block:: yaml
            tunneling_config:
              target_host: "%FILTER_STATE(target.host.key:PLAIN)%"
         
        string target_host = 3 [(.validate.rules) = { ... }
        Specified by:
        getTargetHostBytes in interface UdpProxyConfig.UdpTunnelingConfigOrBuilder
        Returns:
        The bytes for targetHost.
      • setTargetHost

        public UdpProxyConfig.UdpTunnelingConfig.Builder setTargetHost​(String value)
         The target host to send in the synthesized CONNECT headers to the upstream proxy.
         This field evaluates command operators if set, otherwise returns hostname as is.
         Example: dynamically set target host using filter state
         .. code-block:: yaml
            tunneling_config:
              target_host: "%FILTER_STATE(target.host.key:PLAIN)%"
         
        string target_host = 3 [(.validate.rules) = { ... }
        Parameters:
        value - The targetHost to set.
        Returns:
        This builder for chaining.
      • clearTargetHost

        public UdpProxyConfig.UdpTunnelingConfig.Builder clearTargetHost()
         The target host to send in the synthesized CONNECT headers to the upstream proxy.
         This field evaluates command operators if set, otherwise returns hostname as is.
         Example: dynamically set target host using filter state
         .. code-block:: yaml
            tunneling_config:
              target_host: "%FILTER_STATE(target.host.key:PLAIN)%"
         
        string target_host = 3 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • setTargetHostBytes

        public UdpProxyConfig.UdpTunnelingConfig.Builder setTargetHostBytes​(com.google.protobuf.ByteString value)
         The target host to send in the synthesized CONNECT headers to the upstream proxy.
         This field evaluates command operators if set, otherwise returns hostname as is.
         Example: dynamically set target host using filter state
         .. code-block:: yaml
            tunneling_config:
              target_host: "%FILTER_STATE(target.host.key:PLAIN)%"
         
        string target_host = 3 [(.validate.rules) = { ... }
        Parameters:
        value - The bytes for targetHost to set.
        Returns:
        This builder for chaining.
      • getDefaultTargetPort

        public int getDefaultTargetPort()
         The default target port to send in the CONNECT headers to the upstream proxy.
         This value can be overridden per-session by setting the required port value for
         the filter state key ``udp.connect.target_port``.
         
        uint32 default_target_port = 4 [(.validate.rules) = { ... }
        Specified by:
        getDefaultTargetPort in interface UdpProxyConfig.UdpTunnelingConfigOrBuilder
        Returns:
        The defaultTargetPort.
      • setDefaultTargetPort

        public UdpProxyConfig.UdpTunnelingConfig.Builder setDefaultTargetPort​(int value)
         The default target port to send in the CONNECT headers to the upstream proxy.
         This value can be overridden per-session by setting the required port value for
         the filter state key ``udp.connect.target_port``.
         
        uint32 default_target_port = 4 [(.validate.rules) = { ... }
        Parameters:
        value - The defaultTargetPort to set.
        Returns:
        This builder for chaining.
      • clearDefaultTargetPort

        public UdpProxyConfig.UdpTunnelingConfig.Builder clearDefaultTargetPort()
         The default target port to send in the CONNECT headers to the upstream proxy.
         This value can be overridden per-session by setting the required port value for
         the filter state key ``udp.connect.target_port``.
         
        uint32 default_target_port = 4 [(.validate.rules) = { ... }
        Returns:
        This builder for chaining.
      • getUsePost

        public boolean getUsePost()
         Use POST method instead of CONNECT method to tunnel the UDP stream.
         .. note::
           If use_post is set, the upstream stream does not comply with the connect-udp RFC, and
           instead it will be a POST request. the path used in the headers will be set from the
           post_path field, and the headers will not contain the target host and target port, as
           required by the connect-udp protocol. This flag should be used carefully.
         
        bool use_post = 5;
        Specified by:
        getUsePost in interface UdpProxyConfig.UdpTunnelingConfigOrBuilder
        Returns:
        The usePost.
      • setUsePost

        public UdpProxyConfig.UdpTunnelingConfig.Builder setUsePost​(boolean value)
         Use POST method instead of CONNECT method to tunnel the UDP stream.
         .. note::
           If use_post is set, the upstream stream does not comply with the connect-udp RFC, and
           instead it will be a POST request. the path used in the headers will be set from the
           post_path field, and the headers will not contain the target host and target port, as
           required by the connect-udp protocol. This flag should be used carefully.
         
        bool use_post = 5;
        Parameters:
        value - The usePost to set.
        Returns:
        This builder for chaining.
      • clearUsePost

        public UdpProxyConfig.UdpTunnelingConfig.Builder clearUsePost()
         Use POST method instead of CONNECT method to tunnel the UDP stream.
         .. note::
           If use_post is set, the upstream stream does not comply with the connect-udp RFC, and
           instead it will be a POST request. the path used in the headers will be set from the
           post_path field, and the headers will not contain the target host and target port, as
           required by the connect-udp protocol. This flag should be used carefully.
         
        bool use_post = 5;
        Returns:
        This builder for chaining.
      • getPostPath

        public String getPostPath()
         The path used with POST method. Default path is ``/``. If post path is specified and
         use_post field isn't true, it will be rejected.
         
        string post_path = 6;
        Specified by:
        getPostPath in interface UdpProxyConfig.UdpTunnelingConfigOrBuilder
        Returns:
        The postPath.
      • getPostPathBytes

        public com.google.protobuf.ByteString getPostPathBytes()
         The path used with POST method. Default path is ``/``. If post path is specified and
         use_post field isn't true, it will be rejected.
         
        string post_path = 6;
        Specified by:
        getPostPathBytes in interface UdpProxyConfig.UdpTunnelingConfigOrBuilder
        Returns:
        The bytes for postPath.
      • setPostPath

        public UdpProxyConfig.UdpTunnelingConfig.Builder setPostPath​(String value)
         The path used with POST method. Default path is ``/``. If post path is specified and
         use_post field isn't true, it will be rejected.
         
        string post_path = 6;
        Parameters:
        value - The postPath to set.
        Returns:
        This builder for chaining.
      • clearPostPath

        public UdpProxyConfig.UdpTunnelingConfig.Builder clearPostPath()
         The path used with POST method. Default path is ``/``. If post path is specified and
         use_post field isn't true, it will be rejected.
         
        string post_path = 6;
        Returns:
        This builder for chaining.
      • setPostPathBytes

        public UdpProxyConfig.UdpTunnelingConfig.Builder setPostPathBytes​(com.google.protobuf.ByteString value)
         The path used with POST method. Default path is ``/``. If post path is specified and
         use_post field isn't true, it will be rejected.
         
        string post_path = 6;
        Parameters:
        value - The bytes for postPath to set.
        Returns:
        This builder for chaining.
      • hasRetryOptions

        public boolean hasRetryOptions()
         Optional retry options, in case connecting to the upstream failed.
         
        .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.UdpTunnelingConfig.RetryOptions retry_options = 7;
        Specified by:
        hasRetryOptions in interface UdpProxyConfig.UdpTunnelingConfigOrBuilder
        Returns:
        Whether the retryOptions field is set.
      • clearRetryOptions

        public UdpProxyConfig.UdpTunnelingConfig.Builder clearRetryOptions()
         Optional retry options, in case connecting to the upstream failed.
         
        .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.UdpTunnelingConfig.RetryOptions retry_options = 7;
      • getRetryOptionsBuilder

        public UdpProxyConfig.UdpTunnelingConfig.RetryOptions.Builder getRetryOptionsBuilder()
         Optional retry options, in case connecting to the upstream failed.
         
        .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.UdpTunnelingConfig.RetryOptions retry_options = 7;
      • getHeadersToAddList

        public List<HeaderValueOption> getHeadersToAddList()
         Additional request headers to upstream proxy. Neither ``:-prefixed`` pseudo-headers
         nor the Host: header can be overridden. Values of the added headers evaluates command
         operators if they are set in the value template.
         Example: dynamically set a header with the local port
         .. code-block:: yaml
            headers_to_add:
            - header:
                key: original_dst_port
                value: "%DOWNSTREAM_LOCAL_PORT%"
         
        repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 8 [(.validate.rules) = { ... }
        Specified by:
        getHeadersToAddList in interface UdpProxyConfig.UdpTunnelingConfigOrBuilder
      • getHeadersToAddCount

        public int getHeadersToAddCount()
         Additional request headers to upstream proxy. Neither ``:-prefixed`` pseudo-headers
         nor the Host: header can be overridden. Values of the added headers evaluates command
         operators if they are set in the value template.
         Example: dynamically set a header with the local port
         .. code-block:: yaml
            headers_to_add:
            - header:
                key: original_dst_port
                value: "%DOWNSTREAM_LOCAL_PORT%"
         
        repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 8 [(.validate.rules) = { ... }
        Specified by:
        getHeadersToAddCount in interface UdpProxyConfig.UdpTunnelingConfigOrBuilder
      • getHeadersToAdd

        public HeaderValueOption getHeadersToAdd​(int index)
         Additional request headers to upstream proxy. Neither ``:-prefixed`` pseudo-headers
         nor the Host: header can be overridden. Values of the added headers evaluates command
         operators if they are set in the value template.
         Example: dynamically set a header with the local port
         .. code-block:: yaml
            headers_to_add:
            - header:
                key: original_dst_port
                value: "%DOWNSTREAM_LOCAL_PORT%"
         
        repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 8 [(.validate.rules) = { ... }
        Specified by:
        getHeadersToAdd in interface UdpProxyConfig.UdpTunnelingConfigOrBuilder
      • setHeadersToAdd

        public UdpProxyConfig.UdpTunnelingConfig.Builder setHeadersToAdd​(int index,
                                                                         HeaderValueOption value)
         Additional request headers to upstream proxy. Neither ``:-prefixed`` pseudo-headers
         nor the Host: header can be overridden. Values of the added headers evaluates command
         operators if they are set in the value template.
         Example: dynamically set a header with the local port
         .. code-block:: yaml
            headers_to_add:
            - header:
                key: original_dst_port
                value: "%DOWNSTREAM_LOCAL_PORT%"
         
        repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 8 [(.validate.rules) = { ... }
      • setHeadersToAdd

        public UdpProxyConfig.UdpTunnelingConfig.Builder setHeadersToAdd​(int index,
                                                                         HeaderValueOption.Builder builderForValue)
         Additional request headers to upstream proxy. Neither ``:-prefixed`` pseudo-headers
         nor the Host: header can be overridden. Values of the added headers evaluates command
         operators if they are set in the value template.
         Example: dynamically set a header with the local port
         .. code-block:: yaml
            headers_to_add:
            - header:
                key: original_dst_port
                value: "%DOWNSTREAM_LOCAL_PORT%"
         
        repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 8 [(.validate.rules) = { ... }
      • addHeadersToAdd

        public UdpProxyConfig.UdpTunnelingConfig.Builder addHeadersToAdd​(HeaderValueOption value)
         Additional request headers to upstream proxy. Neither ``:-prefixed`` pseudo-headers
         nor the Host: header can be overridden. Values of the added headers evaluates command
         operators if they are set in the value template.
         Example: dynamically set a header with the local port
         .. code-block:: yaml
            headers_to_add:
            - header:
                key: original_dst_port
                value: "%DOWNSTREAM_LOCAL_PORT%"
         
        repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 8 [(.validate.rules) = { ... }
      • addHeadersToAdd

        public UdpProxyConfig.UdpTunnelingConfig.Builder addHeadersToAdd​(int index,
                                                                         HeaderValueOption value)
         Additional request headers to upstream proxy. Neither ``:-prefixed`` pseudo-headers
         nor the Host: header can be overridden. Values of the added headers evaluates command
         operators if they are set in the value template.
         Example: dynamically set a header with the local port
         .. code-block:: yaml
            headers_to_add:
            - header:
                key: original_dst_port
                value: "%DOWNSTREAM_LOCAL_PORT%"
         
        repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 8 [(.validate.rules) = { ... }
      • addHeadersToAdd

        public UdpProxyConfig.UdpTunnelingConfig.Builder addHeadersToAdd​(HeaderValueOption.Builder builderForValue)
         Additional request headers to upstream proxy. Neither ``:-prefixed`` pseudo-headers
         nor the Host: header can be overridden. Values of the added headers evaluates command
         operators if they are set in the value template.
         Example: dynamically set a header with the local port
         .. code-block:: yaml
            headers_to_add:
            - header:
                key: original_dst_port
                value: "%DOWNSTREAM_LOCAL_PORT%"
         
        repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 8 [(.validate.rules) = { ... }
      • addHeadersToAdd

        public UdpProxyConfig.UdpTunnelingConfig.Builder addHeadersToAdd​(int index,
                                                                         HeaderValueOption.Builder builderForValue)
         Additional request headers to upstream proxy. Neither ``:-prefixed`` pseudo-headers
         nor the Host: header can be overridden. Values of the added headers evaluates command
         operators if they are set in the value template.
         Example: dynamically set a header with the local port
         .. code-block:: yaml
            headers_to_add:
            - header:
                key: original_dst_port
                value: "%DOWNSTREAM_LOCAL_PORT%"
         
        repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 8 [(.validate.rules) = { ... }
      • addAllHeadersToAdd

        public UdpProxyConfig.UdpTunnelingConfig.Builder addAllHeadersToAdd​(Iterable<? extends HeaderValueOption> values)
         Additional request headers to upstream proxy. Neither ``:-prefixed`` pseudo-headers
         nor the Host: header can be overridden. Values of the added headers evaluates command
         operators if they are set in the value template.
         Example: dynamically set a header with the local port
         .. code-block:: yaml
            headers_to_add:
            - header:
                key: original_dst_port
                value: "%DOWNSTREAM_LOCAL_PORT%"
         
        repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 8 [(.validate.rules) = { ... }
      • clearHeadersToAdd

        public UdpProxyConfig.UdpTunnelingConfig.Builder clearHeadersToAdd()
         Additional request headers to upstream proxy. Neither ``:-prefixed`` pseudo-headers
         nor the Host: header can be overridden. Values of the added headers evaluates command
         operators if they are set in the value template.
         Example: dynamically set a header with the local port
         .. code-block:: yaml
            headers_to_add:
            - header:
                key: original_dst_port
                value: "%DOWNSTREAM_LOCAL_PORT%"
         
        repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 8 [(.validate.rules) = { ... }
      • removeHeadersToAdd

        public UdpProxyConfig.UdpTunnelingConfig.Builder removeHeadersToAdd​(int index)
         Additional request headers to upstream proxy. Neither ``:-prefixed`` pseudo-headers
         nor the Host: header can be overridden. Values of the added headers evaluates command
         operators if they are set in the value template.
         Example: dynamically set a header with the local port
         .. code-block:: yaml
            headers_to_add:
            - header:
                key: original_dst_port
                value: "%DOWNSTREAM_LOCAL_PORT%"
         
        repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 8 [(.validate.rules) = { ... }
      • getHeadersToAddBuilder

        public HeaderValueOption.Builder getHeadersToAddBuilder​(int index)
         Additional request headers to upstream proxy. Neither ``:-prefixed`` pseudo-headers
         nor the Host: header can be overridden. Values of the added headers evaluates command
         operators if they are set in the value template.
         Example: dynamically set a header with the local port
         .. code-block:: yaml
            headers_to_add:
            - header:
                key: original_dst_port
                value: "%DOWNSTREAM_LOCAL_PORT%"
         
        repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 8 [(.validate.rules) = { ... }
      • getHeadersToAddOrBuilder

        public HeaderValueOptionOrBuilder getHeadersToAddOrBuilder​(int index)
         Additional request headers to upstream proxy. Neither ``:-prefixed`` pseudo-headers
         nor the Host: header can be overridden. Values of the added headers evaluates command
         operators if they are set in the value template.
         Example: dynamically set a header with the local port
         .. code-block:: yaml
            headers_to_add:
            - header:
                key: original_dst_port
                value: "%DOWNSTREAM_LOCAL_PORT%"
         
        repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 8 [(.validate.rules) = { ... }
        Specified by:
        getHeadersToAddOrBuilder in interface UdpProxyConfig.UdpTunnelingConfigOrBuilder
      • getHeadersToAddOrBuilderList

        public List<? extends HeaderValueOptionOrBuilder> getHeadersToAddOrBuilderList()
         Additional request headers to upstream proxy. Neither ``:-prefixed`` pseudo-headers
         nor the Host: header can be overridden. Values of the added headers evaluates command
         operators if they are set in the value template.
         Example: dynamically set a header with the local port
         .. code-block:: yaml
            headers_to_add:
            - header:
                key: original_dst_port
                value: "%DOWNSTREAM_LOCAL_PORT%"
         
        repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 8 [(.validate.rules) = { ... }
        Specified by:
        getHeadersToAddOrBuilderList in interface UdpProxyConfig.UdpTunnelingConfigOrBuilder
      • addHeadersToAddBuilder

        public HeaderValueOption.Builder addHeadersToAddBuilder()
         Additional request headers to upstream proxy. Neither ``:-prefixed`` pseudo-headers
         nor the Host: header can be overridden. Values of the added headers evaluates command
         operators if they are set in the value template.
         Example: dynamically set a header with the local port
         .. code-block:: yaml
            headers_to_add:
            - header:
                key: original_dst_port
                value: "%DOWNSTREAM_LOCAL_PORT%"
         
        repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 8 [(.validate.rules) = { ... }
      • addHeadersToAddBuilder

        public HeaderValueOption.Builder addHeadersToAddBuilder​(int index)
         Additional request headers to upstream proxy. Neither ``:-prefixed`` pseudo-headers
         nor the Host: header can be overridden. Values of the added headers evaluates command
         operators if they are set in the value template.
         Example: dynamically set a header with the local port
         .. code-block:: yaml
            headers_to_add:
            - header:
                key: original_dst_port
                value: "%DOWNSTREAM_LOCAL_PORT%"
         
        repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 8 [(.validate.rules) = { ... }
      • getHeadersToAddBuilderList

        public List<HeaderValueOption.Builder> getHeadersToAddBuilderList()
         Additional request headers to upstream proxy. Neither ``:-prefixed`` pseudo-headers
         nor the Host: header can be overridden. Values of the added headers evaluates command
         operators if they are set in the value template.
         Example: dynamically set a header with the local port
         .. code-block:: yaml
            headers_to_add:
            - header:
                key: original_dst_port
                value: "%DOWNSTREAM_LOCAL_PORT%"
         
        repeated .envoy.config.core.v3.HeaderValueOption headers_to_add = 8 [(.validate.rules) = { ... }
      • hasBufferOptions

        public boolean hasBufferOptions()
         If configured, the filter will buffer datagrams in case that it is waiting for the upstream to be
         ready, whether if it is during the connection process or due to upstream buffer watermarks.
         If this field is not configured, there will be no buffering and downstream datagrams that arrive
         while the upstream is not ready will be dropped. In case this field is set but the options
         are not configured, the default values will be applied as described in the ``BufferOptions``.
         
        .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.UdpTunnelingConfig.BufferOptions buffer_options = 9;
        Specified by:
        hasBufferOptions in interface UdpProxyConfig.UdpTunnelingConfigOrBuilder
        Returns:
        Whether the bufferOptions field is set.
      • getBufferOptions

        public UdpProxyConfig.UdpTunnelingConfig.BufferOptions getBufferOptions()
         If configured, the filter will buffer datagrams in case that it is waiting for the upstream to be
         ready, whether if it is during the connection process or due to upstream buffer watermarks.
         If this field is not configured, there will be no buffering and downstream datagrams that arrive
         while the upstream is not ready will be dropped. In case this field is set but the options
         are not configured, the default values will be applied as described in the ``BufferOptions``.
         
        .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.UdpTunnelingConfig.BufferOptions buffer_options = 9;
        Specified by:
        getBufferOptions in interface UdpProxyConfig.UdpTunnelingConfigOrBuilder
        Returns:
        The bufferOptions.
      • setBufferOptions

        public UdpProxyConfig.UdpTunnelingConfig.Builder setBufferOptions​(UdpProxyConfig.UdpTunnelingConfig.BufferOptions value)
         If configured, the filter will buffer datagrams in case that it is waiting for the upstream to be
         ready, whether if it is during the connection process or due to upstream buffer watermarks.
         If this field is not configured, there will be no buffering and downstream datagrams that arrive
         while the upstream is not ready will be dropped. In case this field is set but the options
         are not configured, the default values will be applied as described in the ``BufferOptions``.
         
        .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.UdpTunnelingConfig.BufferOptions buffer_options = 9;
      • setBufferOptions

        public UdpProxyConfig.UdpTunnelingConfig.Builder setBufferOptions​(UdpProxyConfig.UdpTunnelingConfig.BufferOptions.Builder builderForValue)
         If configured, the filter will buffer datagrams in case that it is waiting for the upstream to be
         ready, whether if it is during the connection process or due to upstream buffer watermarks.
         If this field is not configured, there will be no buffering and downstream datagrams that arrive
         while the upstream is not ready will be dropped. In case this field is set but the options
         are not configured, the default values will be applied as described in the ``BufferOptions``.
         
        .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.UdpTunnelingConfig.BufferOptions buffer_options = 9;
      • mergeBufferOptions

        public UdpProxyConfig.UdpTunnelingConfig.Builder mergeBufferOptions​(UdpProxyConfig.UdpTunnelingConfig.BufferOptions value)
         If configured, the filter will buffer datagrams in case that it is waiting for the upstream to be
         ready, whether if it is during the connection process or due to upstream buffer watermarks.
         If this field is not configured, there will be no buffering and downstream datagrams that arrive
         while the upstream is not ready will be dropped. In case this field is set but the options
         are not configured, the default values will be applied as described in the ``BufferOptions``.
         
        .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.UdpTunnelingConfig.BufferOptions buffer_options = 9;
      • clearBufferOptions

        public UdpProxyConfig.UdpTunnelingConfig.Builder clearBufferOptions()
         If configured, the filter will buffer datagrams in case that it is waiting for the upstream to be
         ready, whether if it is during the connection process or due to upstream buffer watermarks.
         If this field is not configured, there will be no buffering and downstream datagrams that arrive
         while the upstream is not ready will be dropped. In case this field is set but the options
         are not configured, the default values will be applied as described in the ``BufferOptions``.
         
        .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.UdpTunnelingConfig.BufferOptions buffer_options = 9;
      • getBufferOptionsBuilder

        public UdpProxyConfig.UdpTunnelingConfig.BufferOptions.Builder getBufferOptionsBuilder()
         If configured, the filter will buffer datagrams in case that it is waiting for the upstream to be
         ready, whether if it is during the connection process or due to upstream buffer watermarks.
         If this field is not configured, there will be no buffering and downstream datagrams that arrive
         while the upstream is not ready will be dropped. In case this field is set but the options
         are not configured, the default values will be applied as described in the ``BufferOptions``.
         
        .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.UdpTunnelingConfig.BufferOptions buffer_options = 9;
      • getBufferOptionsOrBuilder

        public UdpProxyConfig.UdpTunnelingConfig.BufferOptionsOrBuilder getBufferOptionsOrBuilder()
         If configured, the filter will buffer datagrams in case that it is waiting for the upstream to be
         ready, whether if it is during the connection process or due to upstream buffer watermarks.
         If this field is not configured, there will be no buffering and downstream datagrams that arrive
         while the upstream is not ready will be dropped. In case this field is set but the options
         are not configured, the default values will be applied as described in the ``BufferOptions``.
         
        .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.UdpTunnelingConfig.BufferOptions buffer_options = 9;
        Specified by:
        getBufferOptionsOrBuilder in interface UdpProxyConfig.UdpTunnelingConfigOrBuilder