Class UdpProxyConfig.UdpTunnelingConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<UdpProxyConfig.UdpTunnelingConfig.Builder>
-
- io.envoyproxy.envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.UdpTunnelingConfig.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UdpProxyConfig.UdpTunnelingConfigOrBuilder,Cloneable
- Enclosing class:
- UdpProxyConfig.UdpTunnelingConfig
public static final class UdpProxyConfig.UdpTunnelingConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UdpProxyConfig.UdpTunnelingConfig.Builder> implements UdpProxyConfig.UdpTunnelingConfigOrBuilder
Configuration for tunneling UDP over other transports or application layers. Tunneling is currently supported over HTTP/2. [#next-free-field: 10]
Protobuf typeenvoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.UdpTunnelingConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UdpProxyConfig.UdpTunnelingConfig.BuilderaddAllHeadersToAdd(Iterable<? extends HeaderValueOption> values)Additional request headers to upstream proxy.UdpProxyConfig.UdpTunnelingConfig.BuilderaddHeadersToAdd(int index, HeaderValueOption value)Additional request headers to upstream proxy.UdpProxyConfig.UdpTunnelingConfig.BuilderaddHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)Additional request headers to upstream proxy.UdpProxyConfig.UdpTunnelingConfig.BuilderaddHeadersToAdd(HeaderValueOption value)Additional request headers to upstream proxy.UdpProxyConfig.UdpTunnelingConfig.BuilderaddHeadersToAdd(HeaderValueOption.Builder builderForValue)Additional request headers to upstream proxy.HeaderValueOption.BuilderaddHeadersToAddBuilder()Additional request headers to upstream proxy.HeaderValueOption.BuilderaddHeadersToAddBuilder(int index)Additional request headers to upstream proxy.UdpProxyConfig.UdpTunnelingConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)UdpProxyConfig.UdpTunnelingConfigbuild()UdpProxyConfig.UdpTunnelingConfigbuildPartial()UdpProxyConfig.UdpTunnelingConfig.Builderclear()UdpProxyConfig.UdpTunnelingConfig.BuilderclearBufferOptions()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.UdpProxyConfig.UdpTunnelingConfig.BuilderclearDefaultTargetPort()The default target port to send in the CONNECT headers to the upstream proxy.UdpProxyConfig.UdpTunnelingConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)UdpProxyConfig.UdpTunnelingConfig.BuilderclearHeadersToAdd()Additional request headers to upstream proxy.UdpProxyConfig.UdpTunnelingConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)UdpProxyConfig.UdpTunnelingConfig.BuilderclearPostPath()The path used with POST method.UdpProxyConfig.UdpTunnelingConfig.BuilderclearProxyHost()The hostname to send in the synthesized CONNECT headers to the upstream proxy.UdpProxyConfig.UdpTunnelingConfig.BuilderclearProxyPort()Optional port value to add to the HTTP request URI.UdpProxyConfig.UdpTunnelingConfig.BuilderclearRetryOptions()Optional retry options, in case connecting to the upstream failed.UdpProxyConfig.UdpTunnelingConfig.BuilderclearTargetHost()The target host to send in the synthesized CONNECT headers to the upstream proxy.UdpProxyConfig.UdpTunnelingConfig.BuilderclearUsePost()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.UdpProxyConfig.UdpTunnelingConfig.Builderclone()UdpProxyConfig.UdpTunnelingConfig.BufferOptionsgetBufferOptions()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.UdpProxyConfig.UdpTunnelingConfig.BufferOptions.BuildergetBufferOptionsBuilder()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.UdpProxyConfig.UdpTunnelingConfig.BufferOptionsOrBuildergetBufferOptionsOrBuilder()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.UdpProxyConfig.UdpTunnelingConfiggetDefaultInstanceForType()intgetDefaultTargetPort()The default target port to send in the CONNECT headers to the upstream proxy.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HeaderValueOptiongetHeadersToAdd(int index)Additional request headers to upstream proxy.HeaderValueOption.BuildergetHeadersToAddBuilder(int index)Additional request headers to upstream proxy.List<HeaderValueOption.Builder>getHeadersToAddBuilderList()Additional request headers to upstream proxy.intgetHeadersToAddCount()Additional request headers to upstream proxy.List<HeaderValueOption>getHeadersToAddList()Additional request headers to upstream proxy.HeaderValueOptionOrBuildergetHeadersToAddOrBuilder(int index)Additional request headers to upstream proxy.List<? extends HeaderValueOptionOrBuilder>getHeadersToAddOrBuilderList()Additional request headers to upstream proxy.StringgetPostPath()The path used with POST method.com.google.protobuf.ByteStringgetPostPathBytes()The path used with POST method.StringgetProxyHost()The hostname to send in the synthesized CONNECT headers to the upstream proxy.com.google.protobuf.ByteStringgetProxyHostBytes()The hostname to send in the synthesized CONNECT headers to the upstream proxy.com.google.protobuf.UInt32ValuegetProxyPort()Optional port value to add to the HTTP request URI.com.google.protobuf.UInt32Value.BuildergetProxyPortBuilder()Optional port value to add to the HTTP request URI.com.google.protobuf.UInt32ValueOrBuildergetProxyPortOrBuilder()Optional port value to add to the HTTP request URI.UdpProxyConfig.UdpTunnelingConfig.RetryOptionsgetRetryOptions()Optional retry options, in case connecting to the upstream failed.UdpProxyConfig.UdpTunnelingConfig.RetryOptions.BuildergetRetryOptionsBuilder()Optional retry options, in case connecting to the upstream failed.UdpProxyConfig.UdpTunnelingConfig.RetryOptionsOrBuildergetRetryOptionsOrBuilder()Optional retry options, in case connecting to the upstream failed.StringgetTargetHost()The target host to send in the synthesized CONNECT headers to the upstream proxy.com.google.protobuf.ByteStringgetTargetHostBytes()The target host to send in the synthesized CONNECT headers to the upstream proxy.booleangetUsePost()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.booleanhasBufferOptions()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.booleanhasProxyPort()Optional port value to add to the HTTP request URI.booleanhasRetryOptions()Optional retry options, in case connecting to the upstream failed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()UdpProxyConfig.UdpTunnelingConfig.BuildermergeBufferOptions(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.UdpProxyConfig.UdpTunnelingConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)UdpProxyConfig.UdpTunnelingConfig.BuildermergeFrom(com.google.protobuf.Message other)UdpProxyConfig.UdpTunnelingConfig.BuildermergeFrom(UdpProxyConfig.UdpTunnelingConfig other)UdpProxyConfig.UdpTunnelingConfig.BuildermergeProxyPort(com.google.protobuf.UInt32Value value)Optional port value to add to the HTTP request URI.UdpProxyConfig.UdpTunnelingConfig.BuildermergeRetryOptions(UdpProxyConfig.UdpTunnelingConfig.RetryOptions value)Optional retry options, in case connecting to the upstream failed.UdpProxyConfig.UdpTunnelingConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)UdpProxyConfig.UdpTunnelingConfig.BuilderremoveHeadersToAdd(int index)Additional request headers to upstream proxy.UdpProxyConfig.UdpTunnelingConfig.BuildersetBufferOptions(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.UdpProxyConfig.UdpTunnelingConfig.BuildersetBufferOptions(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.UdpProxyConfig.UdpTunnelingConfig.BuildersetDefaultTargetPort(int value)The default target port to send in the CONNECT headers to the upstream proxy.UdpProxyConfig.UdpTunnelingConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)UdpProxyConfig.UdpTunnelingConfig.BuildersetHeadersToAdd(int index, HeaderValueOption value)Additional request headers to upstream proxy.UdpProxyConfig.UdpTunnelingConfig.BuildersetHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)Additional request headers to upstream proxy.UdpProxyConfig.UdpTunnelingConfig.BuildersetPostPath(String value)The path used with POST method.UdpProxyConfig.UdpTunnelingConfig.BuildersetPostPathBytes(com.google.protobuf.ByteString value)The path used with POST method.UdpProxyConfig.UdpTunnelingConfig.BuildersetProxyHost(String value)The hostname to send in the synthesized CONNECT headers to the upstream proxy.UdpProxyConfig.UdpTunnelingConfig.BuildersetProxyHostBytes(com.google.protobuf.ByteString value)The hostname to send in the synthesized CONNECT headers to the upstream proxy.UdpProxyConfig.UdpTunnelingConfig.BuildersetProxyPort(com.google.protobuf.UInt32Value value)Optional port value to add to the HTTP request URI.UdpProxyConfig.UdpTunnelingConfig.BuildersetProxyPort(com.google.protobuf.UInt32Value.Builder builderForValue)Optional port value to add to the HTTP request URI.UdpProxyConfig.UdpTunnelingConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)UdpProxyConfig.UdpTunnelingConfig.BuildersetRetryOptions(UdpProxyConfig.UdpTunnelingConfig.RetryOptions value)Optional retry options, in case connecting to the upstream failed.UdpProxyConfig.UdpTunnelingConfig.BuildersetRetryOptions(UdpProxyConfig.UdpTunnelingConfig.RetryOptions.Builder builderForValue)Optional retry options, in case connecting to the upstream failed.UdpProxyConfig.UdpTunnelingConfig.BuildersetTargetHost(String value)The target host to send in the synthesized CONNECT headers to the upstream proxy.UdpProxyConfig.UdpTunnelingConfig.BuildersetTargetHostBytes(com.google.protobuf.ByteString value)The target host to send in the synthesized CONNECT headers to the upstream proxy.UdpProxyConfig.UdpTunnelingConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)UdpProxyConfig.UdpTunnelingConfig.BuildersetUsePost(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.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<UdpProxyConfig.UdpTunnelingConfig.Builder>
-
clear
public UdpProxyConfig.UdpTunnelingConfig.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<UdpProxyConfig.UdpTunnelingConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<UdpProxyConfig.UdpTunnelingConfig.Builder>
-
getDefaultInstanceForType
public UdpProxyConfig.UdpTunnelingConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public UdpProxyConfig.UdpTunnelingConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UdpProxyConfig.UdpTunnelingConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UdpProxyConfig.UdpTunnelingConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<UdpProxyConfig.UdpTunnelingConfig.Builder>
-
setField
public UdpProxyConfig.UdpTunnelingConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UdpProxyConfig.UdpTunnelingConfig.Builder>
-
clearField
public UdpProxyConfig.UdpTunnelingConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UdpProxyConfig.UdpTunnelingConfig.Builder>
-
clearOneof
public UdpProxyConfig.UdpTunnelingConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UdpProxyConfig.UdpTunnelingConfig.Builder>
-
setRepeatedField
public UdpProxyConfig.UdpTunnelingConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UdpProxyConfig.UdpTunnelingConfig.Builder>
-
addRepeatedField
public UdpProxyConfig.UdpTunnelingConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UdpProxyConfig.UdpTunnelingConfig.Builder>
-
mergeFrom
public UdpProxyConfig.UdpTunnelingConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UdpProxyConfig.UdpTunnelingConfig.Builder>
-
mergeFrom
public UdpProxyConfig.UdpTunnelingConfig.Builder mergeFrom(UdpProxyConfig.UdpTunnelingConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UdpProxyConfig.UdpTunnelingConfig.Builder>
-
mergeFrom
public UdpProxyConfig.UdpTunnelingConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UdpProxyConfig.UdpTunnelingConfig.Builder>- Throws:
IOException
-
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:
getProxyHostin interfaceUdpProxyConfig.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:
getProxyHostBytesin interfaceUdpProxyConfig.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:
hasProxyPortin interfaceUdpProxyConfig.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:
getProxyPortin interfaceUdpProxyConfig.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:
getProxyPortOrBuilderin interfaceUdpProxyConfig.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:
getTargetHostin interfaceUdpProxyConfig.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:
getTargetHostBytesin interfaceUdpProxyConfig.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:
getDefaultTargetPortin interfaceUdpProxyConfig.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:
getUsePostin interfaceUdpProxyConfig.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:
getPostPathin interfaceUdpProxyConfig.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:
getPostPathBytesin interfaceUdpProxyConfig.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:
hasRetryOptionsin interfaceUdpProxyConfig.UdpTunnelingConfigOrBuilder- Returns:
- Whether the retryOptions field is set.
-
getRetryOptions
public UdpProxyConfig.UdpTunnelingConfig.RetryOptions getRetryOptions()
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:
getRetryOptionsin interfaceUdpProxyConfig.UdpTunnelingConfigOrBuilder- Returns:
- The retryOptions.
-
setRetryOptions
public UdpProxyConfig.UdpTunnelingConfig.Builder setRetryOptions(UdpProxyConfig.UdpTunnelingConfig.RetryOptions value)
Optional retry options, in case connecting to the upstream failed.
.envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.UdpTunnelingConfig.RetryOptions retry_options = 7;
-
setRetryOptions
public UdpProxyConfig.UdpTunnelingConfig.Builder setRetryOptions(UdpProxyConfig.UdpTunnelingConfig.RetryOptions.Builder builderForValue)
Optional retry options, in case connecting to the upstream failed.
.envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.UdpTunnelingConfig.RetryOptions retry_options = 7;
-
mergeRetryOptions
public UdpProxyConfig.UdpTunnelingConfig.Builder mergeRetryOptions(UdpProxyConfig.UdpTunnelingConfig.RetryOptions value)
Optional retry options, in case connecting to the upstream failed.
.envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.UdpTunnelingConfig.RetryOptions retry_options = 7;
-
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;
-
getRetryOptionsOrBuilder
public UdpProxyConfig.UdpTunnelingConfig.RetryOptionsOrBuilder getRetryOptionsOrBuilder()
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:
getRetryOptionsOrBuilderin interfaceUdpProxyConfig.UdpTunnelingConfigOrBuilder
-
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:
getHeadersToAddListin interfaceUdpProxyConfig.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:
getHeadersToAddCountin interfaceUdpProxyConfig.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:
getHeadersToAddin interfaceUdpProxyConfig.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:
getHeadersToAddOrBuilderin interfaceUdpProxyConfig.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:
getHeadersToAddOrBuilderListin interfaceUdpProxyConfig.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:
hasBufferOptionsin interfaceUdpProxyConfig.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:
getBufferOptionsin interfaceUdpProxyConfig.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:
getBufferOptionsOrBuilderin interfaceUdpProxyConfig.UdpTunnelingConfigOrBuilder
-
setUnknownFields
public final UdpProxyConfig.UdpTunnelingConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UdpProxyConfig.UdpTunnelingConfig.Builder>
-
mergeUnknownFields
public final UdpProxyConfig.UdpTunnelingConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UdpProxyConfig.UdpTunnelingConfig.Builder>
-
-