Class UdpProxyConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.envoyproxy.envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UdpProxyConfigOrBuilder,Serializable
public final class UdpProxyConfig extends com.google.protobuf.GeneratedMessageV3 implements UdpProxyConfigOrBuilder
Configuration for the UDP proxy filter. [#next-free-field: 13]
Protobuf typeenvoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUdpProxyConfig.BuilderConfiguration for the UDP proxy filter.static classUdpProxyConfig.HashPolicySpecifies the UDP hash policy.static interfaceUdpProxyConfig.HashPolicyOrBuilderstatic classUdpProxyConfig.RouteSpecifierCasestatic classUdpProxyConfig.SessionFilterConfiguration for UDP session filters.static interfaceUdpProxyConfig.SessionFilterOrBuilderstatic classUdpProxyConfig.UdpTunnelingConfigConfiguration for tunneling UDP over other transports or application layers.static interfaceUdpProxyConfig.UdpTunnelingConfigOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intACCESS_LOG_FIELD_NUMBERstatic intCLUSTER_FIELD_NUMBERstatic intHASH_POLICIES_FIELD_NUMBERstatic intIDLE_TIMEOUT_FIELD_NUMBERstatic intMATCHER_FIELD_NUMBERstatic intPROXY_ACCESS_LOG_FIELD_NUMBERstatic intSESSION_FILTERS_FIELD_NUMBERstatic intSTAT_PREFIX_FIELD_NUMBERstatic intTUNNELING_CONFIG_FIELD_NUMBERstatic intUPSTREAM_SOCKET_CONFIG_FIELD_NUMBERstatic intUSE_ORIGINAL_SRC_IP_FIELD_NUMBERstatic intUSE_PER_PACKET_LOAD_BALANCING_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)AccessLoggetAccessLog(int index)Configuration for session access logs emitted by the UDP proxy.intgetAccessLogCount()Configuration for session access logs emitted by the UDP proxy.List<AccessLog>getAccessLogList()Configuration for session access logs emitted by the UDP proxy.AccessLogOrBuildergetAccessLogOrBuilder(int index)Configuration for session access logs emitted by the UDP proxy.List<? extends AccessLogOrBuilder>getAccessLogOrBuilderList()Configuration for session access logs emitted by the UDP proxy.StringgetCluster()Deprecated.envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.cluster is deprecated.com.google.protobuf.ByteStringgetClusterBytes()Deprecated.envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.cluster is deprecated.static UdpProxyConfiggetDefaultInstance()UdpProxyConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()UdpProxyConfig.HashPolicygetHashPolicies(int index)Optional configuration for UDP proxy hash policies.intgetHashPoliciesCount()Optional configuration for UDP proxy hash policies.List<UdpProxyConfig.HashPolicy>getHashPoliciesList()Optional configuration for UDP proxy hash policies.UdpProxyConfig.HashPolicyOrBuildergetHashPoliciesOrBuilder(int index)Optional configuration for UDP proxy hash policies.List<? extends UdpProxyConfig.HashPolicyOrBuilder>getHashPoliciesOrBuilderList()Optional configuration for UDP proxy hash policies.com.google.protobuf.DurationgetIdleTimeout()The idle timeout for sessions.com.google.protobuf.DurationOrBuildergetIdleTimeoutOrBuilder()The idle timeout for sessions.MatchergetMatcher()The match tree to use when resolving route actions for incoming requests.MatcherOrBuildergetMatcherOrBuilder()The match tree to use when resolving route actions for incoming requests.com.google.protobuf.Parser<UdpProxyConfig>getParserForType()AccessLoggetProxyAccessLog(int index)Configuration for proxy access logs emitted by the UDP proxy.intgetProxyAccessLogCount()Configuration for proxy access logs emitted by the UDP proxy.List<AccessLog>getProxyAccessLogList()Configuration for proxy access logs emitted by the UDP proxy.AccessLogOrBuildergetProxyAccessLogOrBuilder(int index)Configuration for proxy access logs emitted by the UDP proxy.List<? extends AccessLogOrBuilder>getProxyAccessLogOrBuilderList()Configuration for proxy access logs emitted by the UDP proxy.UdpProxyConfig.RouteSpecifierCasegetRouteSpecifierCase()intgetSerializedSize()UdpProxyConfig.SessionFiltergetSessionFilters(int index)Optional session filters that will run for each UDP session.intgetSessionFiltersCount()Optional session filters that will run for each UDP session.List<UdpProxyConfig.SessionFilter>getSessionFiltersList()Optional session filters that will run for each UDP session.UdpProxyConfig.SessionFilterOrBuildergetSessionFiltersOrBuilder(int index)Optional session filters that will run for each UDP session.List<? extends UdpProxyConfig.SessionFilterOrBuilder>getSessionFiltersOrBuilderList()Optional session filters that will run for each UDP session.StringgetStatPrefix()The stat prefix used when emitting UDP proxy filter stats.com.google.protobuf.ByteStringgetStatPrefixBytes()The stat prefix used when emitting UDP proxy filter stats.UdpProxyConfig.UdpTunnelingConfiggetTunnelingConfig()If set, this configures UDP tunneling.UdpProxyConfig.UdpTunnelingConfigOrBuildergetTunnelingConfigOrBuilder()If set, this configures UDP tunneling.com.google.protobuf.UnknownFieldSetgetUnknownFields()UdpSocketConfiggetUpstreamSocketConfig()UDP socket configuration for upstream sockets.UdpSocketConfigOrBuildergetUpstreamSocketConfigOrBuilder()UDP socket configuration for upstream sockets.booleangetUseOriginalSrcIp()Use the remote downstream IP address as the sender IP address when sending packets to upstream hosts.booleangetUsePerPacketLoadBalancing()Perform per packet load balancing (upstream host selection) on each received data chunk.booleanhasCluster()Deprecated.envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.cluster is deprecated.inthashCode()booleanhasIdleTimeout()The idle timeout for sessions.booleanhasMatcher()The match tree to use when resolving route actions for incoming requests.booleanhasTunnelingConfig()If set, this configures UDP tunneling.booleanhasUpstreamSocketConfig()UDP socket configuration for upstream sockets.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static UdpProxyConfig.BuildernewBuilder()static UdpProxyConfig.BuildernewBuilder(UdpProxyConfig prototype)UdpProxyConfig.BuildernewBuilderForType()protected UdpProxyConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static UdpProxyConfigparseDelimitedFrom(InputStream input)static UdpProxyConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UdpProxyConfigparseFrom(byte[] data)static UdpProxyConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UdpProxyConfigparseFrom(com.google.protobuf.ByteString data)static UdpProxyConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UdpProxyConfigparseFrom(com.google.protobuf.CodedInputStream input)static UdpProxyConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UdpProxyConfigparseFrom(InputStream input)static UdpProxyConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static UdpProxyConfigparseFrom(ByteBuffer data)static UdpProxyConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<UdpProxyConfig>parser()UdpProxyConfig.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
STAT_PREFIX_FIELD_NUMBER
public static final int STAT_PREFIX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MATCHER_FIELD_NUMBER
public static final int MATCHER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IDLE_TIMEOUT_FIELD_NUMBER
public static final int IDLE_TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USE_ORIGINAL_SRC_IP_FIELD_NUMBER
public static final int USE_ORIGINAL_SRC_IP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HASH_POLICIES_FIELD_NUMBER
public static final int HASH_POLICIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPSTREAM_SOCKET_CONFIG_FIELD_NUMBER
public static final int UPSTREAM_SOCKET_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USE_PER_PACKET_LOAD_BALANCING_FIELD_NUMBER
public static final int USE_PER_PACKET_LOAD_BALANCING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCESS_LOG_FIELD_NUMBER
public static final int ACCESS_LOG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROXY_ACCESS_LOG_FIELD_NUMBER
public static final int PROXY_ACCESS_LOG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SESSION_FILTERS_FIELD_NUMBER
public static final int SESSION_FILTERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TUNNELING_CONFIG_FIELD_NUMBER
public static final int TUNNELING_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
getRouteSpecifierCase
public UdpProxyConfig.RouteSpecifierCase getRouteSpecifierCase()
- Specified by:
getRouteSpecifierCasein interfaceUdpProxyConfigOrBuilder
-
getStatPrefix
public String getStatPrefix()
The stat prefix used when emitting UDP proxy filter stats.
string stat_prefix = 1 [(.validate.rules) = { ... }- Specified by:
getStatPrefixin interfaceUdpProxyConfigOrBuilder- Returns:
- The statPrefix.
-
getStatPrefixBytes
public com.google.protobuf.ByteString getStatPrefixBytes()
The stat prefix used when emitting UDP proxy filter stats.
string stat_prefix = 1 [(.validate.rules) = { ... }- Specified by:
getStatPrefixBytesin interfaceUdpProxyConfigOrBuilder- Returns:
- The bytes for statPrefix.
-
hasCluster
@Deprecated public boolean hasCluster()
Deprecated.envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.cluster is deprecated. See envoy/extensions/filters/udp/udp_proxy/v3/udp_proxy.proto;l=173The upstream cluster to connect to. This field is deprecated in favor of :ref:`matcher <envoy_v3_api_field_extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.matcher>`.
string cluster = 2 [deprecated = true, (.validate.rules) = { ... }- Specified by:
hasClusterin interfaceUdpProxyConfigOrBuilder- Returns:
- Whether the cluster field is set.
-
getCluster
@Deprecated public String getCluster()
Deprecated.envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.cluster is deprecated. See envoy/extensions/filters/udp/udp_proxy/v3/udp_proxy.proto;l=173The upstream cluster to connect to. This field is deprecated in favor of :ref:`matcher <envoy_v3_api_field_extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.matcher>`.
string cluster = 2 [deprecated = true, (.validate.rules) = { ... }- Specified by:
getClusterin interfaceUdpProxyConfigOrBuilder- Returns:
- The cluster.
-
getClusterBytes
@Deprecated public com.google.protobuf.ByteString getClusterBytes()
Deprecated.envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.cluster is deprecated. See envoy/extensions/filters/udp/udp_proxy/v3/udp_proxy.proto;l=173The upstream cluster to connect to. This field is deprecated in favor of :ref:`matcher <envoy_v3_api_field_extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.matcher>`.
string cluster = 2 [deprecated = true, (.validate.rules) = { ... }- Specified by:
getClusterBytesin interfaceUdpProxyConfigOrBuilder- Returns:
- The bytes for cluster.
-
hasMatcher
public boolean hasMatcher()
The match tree to use when resolving route actions for incoming requests. See :ref:`Routing <config_udp_listener_filters_udp_proxy_routing>` for more information.
.xds.type.matcher.v3.Matcher matcher = 9 [(.xds.annotations.v3.field_status) = { ... }- Specified by:
hasMatcherin interfaceUdpProxyConfigOrBuilder- Returns:
- Whether the matcher field is set.
-
getMatcher
public Matcher getMatcher()
The match tree to use when resolving route actions for incoming requests. See :ref:`Routing <config_udp_listener_filters_udp_proxy_routing>` for more information.
.xds.type.matcher.v3.Matcher matcher = 9 [(.xds.annotations.v3.field_status) = { ... }- Specified by:
getMatcherin interfaceUdpProxyConfigOrBuilder- Returns:
- The matcher.
-
getMatcherOrBuilder
public MatcherOrBuilder getMatcherOrBuilder()
The match tree to use when resolving route actions for incoming requests. See :ref:`Routing <config_udp_listener_filters_udp_proxy_routing>` for more information.
.xds.type.matcher.v3.Matcher matcher = 9 [(.xds.annotations.v3.field_status) = { ... }- Specified by:
getMatcherOrBuilderin interfaceUdpProxyConfigOrBuilder
-
hasIdleTimeout
public boolean hasIdleTimeout()
The idle timeout for sessions. Idle is defined as no datagrams between received or sent by the session. The default if not specified is 1 minute.
.google.protobuf.Duration idle_timeout = 3;- Specified by:
hasIdleTimeoutin interfaceUdpProxyConfigOrBuilder- Returns:
- Whether the idleTimeout field is set.
-
getIdleTimeout
public com.google.protobuf.Duration getIdleTimeout()
The idle timeout for sessions. Idle is defined as no datagrams between received or sent by the session. The default if not specified is 1 minute.
.google.protobuf.Duration idle_timeout = 3;- Specified by:
getIdleTimeoutin interfaceUdpProxyConfigOrBuilder- Returns:
- The idleTimeout.
-
getIdleTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getIdleTimeoutOrBuilder()
The idle timeout for sessions. Idle is defined as no datagrams between received or sent by the session. The default if not specified is 1 minute.
.google.protobuf.Duration idle_timeout = 3;- Specified by:
getIdleTimeoutOrBuilderin interfaceUdpProxyConfigOrBuilder
-
getUseOriginalSrcIp
public boolean getUseOriginalSrcIp()
Use the remote downstream IP address as the sender IP address when sending packets to upstream hosts. This option requires Envoy to be run with the ``CAP_NET_ADMIN`` capability on Linux. And the IPv6 stack must be enabled on Linux kernel. This option does not preserve the remote downstream port. If this option is enabled, the IP address of sent datagrams will be changed to the remote downstream IP address. This means that Envoy will not receive packets that are sent by upstream hosts because the upstream hosts will send the packets with the remote downstream IP address as the destination. All packets will be routed to the remote downstream directly if there are route rules on the upstream host side. There are two options to return the packets back to the remote downstream. The first one is to use DSR (Direct Server Return). The other one is to configure routing rules on the upstream hosts to forward all packets back to Envoy and configure iptables rules on the host running Envoy to forward all packets from upstream hosts to the Envoy process so that Envoy can forward the packets to the downstream. If the platform does not support this option, Envoy will raise a configuration error.
bool use_original_src_ip = 4;- Specified by:
getUseOriginalSrcIpin interfaceUdpProxyConfigOrBuilder- Returns:
- The useOriginalSrcIp.
-
getHashPoliciesList
public List<UdpProxyConfig.HashPolicy> getHashPoliciesList()
Optional configuration for UDP proxy hash policies. If hash_policies is not set, the hash-based load balancing algorithms will select a host randomly. Currently the number of hash policies is limited to 1.
repeated .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.HashPolicy hash_policies = 5 [(.validate.rules) = { ... }- Specified by:
getHashPoliciesListin interfaceUdpProxyConfigOrBuilder
-
getHashPoliciesOrBuilderList
public List<? extends UdpProxyConfig.HashPolicyOrBuilder> getHashPoliciesOrBuilderList()
Optional configuration for UDP proxy hash policies. If hash_policies is not set, the hash-based load balancing algorithms will select a host randomly. Currently the number of hash policies is limited to 1.
repeated .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.HashPolicy hash_policies = 5 [(.validate.rules) = { ... }- Specified by:
getHashPoliciesOrBuilderListin interfaceUdpProxyConfigOrBuilder
-
getHashPoliciesCount
public int getHashPoliciesCount()
Optional configuration for UDP proxy hash policies. If hash_policies is not set, the hash-based load balancing algorithms will select a host randomly. Currently the number of hash policies is limited to 1.
repeated .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.HashPolicy hash_policies = 5 [(.validate.rules) = { ... }- Specified by:
getHashPoliciesCountin interfaceUdpProxyConfigOrBuilder
-
getHashPolicies
public UdpProxyConfig.HashPolicy getHashPolicies(int index)
Optional configuration for UDP proxy hash policies. If hash_policies is not set, the hash-based load balancing algorithms will select a host randomly. Currently the number of hash policies is limited to 1.
repeated .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.HashPolicy hash_policies = 5 [(.validate.rules) = { ... }- Specified by:
getHashPoliciesin interfaceUdpProxyConfigOrBuilder
-
getHashPoliciesOrBuilder
public UdpProxyConfig.HashPolicyOrBuilder getHashPoliciesOrBuilder(int index)
Optional configuration for UDP proxy hash policies. If hash_policies is not set, the hash-based load balancing algorithms will select a host randomly. Currently the number of hash policies is limited to 1.
repeated .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.HashPolicy hash_policies = 5 [(.validate.rules) = { ... }- Specified by:
getHashPoliciesOrBuilderin interfaceUdpProxyConfigOrBuilder
-
hasUpstreamSocketConfig
public boolean hasUpstreamSocketConfig()
UDP socket configuration for upstream sockets. The default for :ref:`prefer_gro <envoy_v3_api_field_config.core.v3.UdpSocketConfig.prefer_gro>` is true for upstream sockets as the assumption is datagrams will be received from a single source.
.envoy.config.core.v3.UdpSocketConfig upstream_socket_config = 6;- Specified by:
hasUpstreamSocketConfigin interfaceUdpProxyConfigOrBuilder- Returns:
- Whether the upstreamSocketConfig field is set.
-
getUpstreamSocketConfig
public UdpSocketConfig getUpstreamSocketConfig()
UDP socket configuration for upstream sockets. The default for :ref:`prefer_gro <envoy_v3_api_field_config.core.v3.UdpSocketConfig.prefer_gro>` is true for upstream sockets as the assumption is datagrams will be received from a single source.
.envoy.config.core.v3.UdpSocketConfig upstream_socket_config = 6;- Specified by:
getUpstreamSocketConfigin interfaceUdpProxyConfigOrBuilder- Returns:
- The upstreamSocketConfig.
-
getUpstreamSocketConfigOrBuilder
public UdpSocketConfigOrBuilder getUpstreamSocketConfigOrBuilder()
UDP socket configuration for upstream sockets. The default for :ref:`prefer_gro <envoy_v3_api_field_config.core.v3.UdpSocketConfig.prefer_gro>` is true for upstream sockets as the assumption is datagrams will be received from a single source.
.envoy.config.core.v3.UdpSocketConfig upstream_socket_config = 6;- Specified by:
getUpstreamSocketConfigOrBuilderin interfaceUdpProxyConfigOrBuilder
-
getUsePerPacketLoadBalancing
public boolean getUsePerPacketLoadBalancing()
Perform per packet load balancing (upstream host selection) on each received data chunk. The default if not specified is false, that means each data chunk is forwarded to upstream host selected on first chunk receival for that "session" (identified by source IP/port and local IP/port). Only one of use_per_packet_load_balancing or session_filters can be used.
bool use_per_packet_load_balancing = 7;- Specified by:
getUsePerPacketLoadBalancingin interfaceUdpProxyConfigOrBuilder- Returns:
- The usePerPacketLoadBalancing.
-
getAccessLogList
public List<AccessLog> getAccessLogList()
Configuration for session access logs emitted by the UDP proxy. Note that certain UDP specific data is emitted as :ref:`Dynamic Metadata <config_access_log_format_dynamic_metadata>`.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 8;- Specified by:
getAccessLogListin interfaceUdpProxyConfigOrBuilder
-
getAccessLogOrBuilderList
public List<? extends AccessLogOrBuilder> getAccessLogOrBuilderList()
Configuration for session access logs emitted by the UDP proxy. Note that certain UDP specific data is emitted as :ref:`Dynamic Metadata <config_access_log_format_dynamic_metadata>`.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 8;- Specified by:
getAccessLogOrBuilderListin interfaceUdpProxyConfigOrBuilder
-
getAccessLogCount
public int getAccessLogCount()
Configuration for session access logs emitted by the UDP proxy. Note that certain UDP specific data is emitted as :ref:`Dynamic Metadata <config_access_log_format_dynamic_metadata>`.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 8;- Specified by:
getAccessLogCountin interfaceUdpProxyConfigOrBuilder
-
getAccessLog
public AccessLog getAccessLog(int index)
Configuration for session access logs emitted by the UDP proxy. Note that certain UDP specific data is emitted as :ref:`Dynamic Metadata <config_access_log_format_dynamic_metadata>`.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 8;- Specified by:
getAccessLogin interfaceUdpProxyConfigOrBuilder
-
getAccessLogOrBuilder
public AccessLogOrBuilder getAccessLogOrBuilder(int index)
Configuration for session access logs emitted by the UDP proxy. Note that certain UDP specific data is emitted as :ref:`Dynamic Metadata <config_access_log_format_dynamic_metadata>`.
repeated .envoy.config.accesslog.v3.AccessLog access_log = 8;- Specified by:
getAccessLogOrBuilderin interfaceUdpProxyConfigOrBuilder
-
getProxyAccessLogList
public List<AccessLog> getProxyAccessLogList()
Configuration for proxy access logs emitted by the UDP proxy. Note that certain UDP specific data is emitted as :ref:`Dynamic Metadata <config_access_log_format_dynamic_metadata>`.
repeated .envoy.config.accesslog.v3.AccessLog proxy_access_log = 10;- Specified by:
getProxyAccessLogListin interfaceUdpProxyConfigOrBuilder
-
getProxyAccessLogOrBuilderList
public List<? extends AccessLogOrBuilder> getProxyAccessLogOrBuilderList()
Configuration for proxy access logs emitted by the UDP proxy. Note that certain UDP specific data is emitted as :ref:`Dynamic Metadata <config_access_log_format_dynamic_metadata>`.
repeated .envoy.config.accesslog.v3.AccessLog proxy_access_log = 10;- Specified by:
getProxyAccessLogOrBuilderListin interfaceUdpProxyConfigOrBuilder
-
getProxyAccessLogCount
public int getProxyAccessLogCount()
Configuration for proxy access logs emitted by the UDP proxy. Note that certain UDP specific data is emitted as :ref:`Dynamic Metadata <config_access_log_format_dynamic_metadata>`.
repeated .envoy.config.accesslog.v3.AccessLog proxy_access_log = 10;- Specified by:
getProxyAccessLogCountin interfaceUdpProxyConfigOrBuilder
-
getProxyAccessLog
public AccessLog getProxyAccessLog(int index)
Configuration for proxy access logs emitted by the UDP proxy. Note that certain UDP specific data is emitted as :ref:`Dynamic Metadata <config_access_log_format_dynamic_metadata>`.
repeated .envoy.config.accesslog.v3.AccessLog proxy_access_log = 10;- Specified by:
getProxyAccessLogin interfaceUdpProxyConfigOrBuilder
-
getProxyAccessLogOrBuilder
public AccessLogOrBuilder getProxyAccessLogOrBuilder(int index)
Configuration for proxy access logs emitted by the UDP proxy. Note that certain UDP specific data is emitted as :ref:`Dynamic Metadata <config_access_log_format_dynamic_metadata>`.
repeated .envoy.config.accesslog.v3.AccessLog proxy_access_log = 10;- Specified by:
getProxyAccessLogOrBuilderin interfaceUdpProxyConfigOrBuilder
-
getSessionFiltersList
public List<UdpProxyConfig.SessionFilter> getSessionFiltersList()
Optional session filters that will run for each UDP session. Only one of use_per_packet_load_balancing or session_filters can be used. [#extension-category: envoy.filters.udp.session]
repeated .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.SessionFilter session_filters = 11;- Specified by:
getSessionFiltersListin interfaceUdpProxyConfigOrBuilder
-
getSessionFiltersOrBuilderList
public List<? extends UdpProxyConfig.SessionFilterOrBuilder> getSessionFiltersOrBuilderList()
Optional session filters that will run for each UDP session. Only one of use_per_packet_load_balancing or session_filters can be used. [#extension-category: envoy.filters.udp.session]
repeated .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.SessionFilter session_filters = 11;- Specified by:
getSessionFiltersOrBuilderListin interfaceUdpProxyConfigOrBuilder
-
getSessionFiltersCount
public int getSessionFiltersCount()
Optional session filters that will run for each UDP session. Only one of use_per_packet_load_balancing or session_filters can be used. [#extension-category: envoy.filters.udp.session]
repeated .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.SessionFilter session_filters = 11;- Specified by:
getSessionFiltersCountin interfaceUdpProxyConfigOrBuilder
-
getSessionFilters
public UdpProxyConfig.SessionFilter getSessionFilters(int index)
Optional session filters that will run for each UDP session. Only one of use_per_packet_load_balancing or session_filters can be used. [#extension-category: envoy.filters.udp.session]
repeated .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.SessionFilter session_filters = 11;- Specified by:
getSessionFiltersin interfaceUdpProxyConfigOrBuilder
-
getSessionFiltersOrBuilder
public UdpProxyConfig.SessionFilterOrBuilder getSessionFiltersOrBuilder(int index)
Optional session filters that will run for each UDP session. Only one of use_per_packet_load_balancing or session_filters can be used. [#extension-category: envoy.filters.udp.session]
repeated .envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.SessionFilter session_filters = 11;- Specified by:
getSessionFiltersOrBuilderin interfaceUdpProxyConfigOrBuilder
-
hasTunnelingConfig
public boolean hasTunnelingConfig()
If set, this configures UDP tunneling. See `Proxying UDP in HTTP <https://www.rfc-editor.org/rfc/rfc9298.html>`_. More information can be found in the UDP Proxy and HTTP upgrade documentation.
.envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.UdpTunnelingConfig tunneling_config = 12;- Specified by:
hasTunnelingConfigin interfaceUdpProxyConfigOrBuilder- Returns:
- Whether the tunnelingConfig field is set.
-
getTunnelingConfig
public UdpProxyConfig.UdpTunnelingConfig getTunnelingConfig()
If set, this configures UDP tunneling. See `Proxying UDP in HTTP <https://www.rfc-editor.org/rfc/rfc9298.html>`_. More information can be found in the UDP Proxy and HTTP upgrade documentation.
.envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.UdpTunnelingConfig tunneling_config = 12;- Specified by:
getTunnelingConfigin interfaceUdpProxyConfigOrBuilder- Returns:
- The tunnelingConfig.
-
getTunnelingConfigOrBuilder
public UdpProxyConfig.UdpTunnelingConfigOrBuilder getTunnelingConfigOrBuilder()
If set, this configures UDP tunneling. See `Proxying UDP in HTTP <https://www.rfc-editor.org/rfc/rfc9298.html>`_. More information can be found in the UDP Proxy and HTTP upgrade documentation.
.envoy.extensions.filters.udp.udp_proxy.v3.UdpProxyConfig.UdpTunnelingConfig tunneling_config = 12;- Specified by:
getTunnelingConfigOrBuilderin interfaceUdpProxyConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static UdpProxyConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UdpProxyConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UdpProxyConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UdpProxyConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UdpProxyConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UdpProxyConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static UdpProxyConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static UdpProxyConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static UdpProxyConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static UdpProxyConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static UdpProxyConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static UdpProxyConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public UdpProxyConfig.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static UdpProxyConfig.Builder newBuilder()
-
newBuilder
public static UdpProxyConfig.Builder newBuilder(UdpProxyConfig prototype)
-
toBuilder
public UdpProxyConfig.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UdpProxyConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static UdpProxyConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<UdpProxyConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<UdpProxyConfig> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public UdpProxyConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-