Interface UdpListenerConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UdpListenerConfig
,UdpListenerConfig.Builder
public interface UdpListenerConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UdpSocketConfig
getDownstreamSocketConfig()
UDP socket configuration for the listener.UdpSocketConfigOrBuilder
getDownstreamSocketConfigOrBuilder()
UDP socket configuration for the listener.QuicProtocolOptions
getQuicOptions()
Configuration for QUIC protocol.QuicProtocolOptionsOrBuilder
getQuicOptionsOrBuilder()
Configuration for QUIC protocol.TypedExtensionConfig
getUdpPacketPacketWriterConfig()
Configuration for the UDP packet writer.TypedExtensionConfigOrBuilder
getUdpPacketPacketWriterConfigOrBuilder()
Configuration for the UDP packet writer.boolean
hasDownstreamSocketConfig()
UDP socket configuration for the listener.boolean
hasQuicOptions()
Configuration for QUIC protocol.boolean
hasUdpPacketPacketWriterConfig()
Configuration for the UDP packet writer.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasDownstreamSocketConfig
boolean hasDownstreamSocketConfig()
UDP socket configuration for the listener. The default for :ref:`prefer_gro <envoy_v3_api_field_config.core.v3.UdpSocketConfig.prefer_gro>` is false for listener sockets. If receiving a large amount of datagrams from a small number of sources, it may be worthwhile to enable this option after performance testing.
.envoy.config.core.v3.UdpSocketConfig downstream_socket_config = 5;
- Returns:
- Whether the downstreamSocketConfig field is set.
-
getDownstreamSocketConfig
UdpSocketConfig getDownstreamSocketConfig()
UDP socket configuration for the listener. The default for :ref:`prefer_gro <envoy_v3_api_field_config.core.v3.UdpSocketConfig.prefer_gro>` is false for listener sockets. If receiving a large amount of datagrams from a small number of sources, it may be worthwhile to enable this option after performance testing.
.envoy.config.core.v3.UdpSocketConfig downstream_socket_config = 5;
- Returns:
- The downstreamSocketConfig.
-
getDownstreamSocketConfigOrBuilder
UdpSocketConfigOrBuilder getDownstreamSocketConfigOrBuilder()
UDP socket configuration for the listener. The default for :ref:`prefer_gro <envoy_v3_api_field_config.core.v3.UdpSocketConfig.prefer_gro>` is false for listener sockets. If receiving a large amount of datagrams from a small number of sources, it may be worthwhile to enable this option after performance testing.
.envoy.config.core.v3.UdpSocketConfig downstream_socket_config = 5;
-
hasQuicOptions
boolean hasQuicOptions()
Configuration for QUIC protocol. If empty, QUIC will not be enabled on this listener. Set to the default object to enable QUIC without modifying any additional options.
.envoy.config.listener.v3.QuicProtocolOptions quic_options = 7;
- Returns:
- Whether the quicOptions field is set.
-
getQuicOptions
QuicProtocolOptions getQuicOptions()
Configuration for QUIC protocol. If empty, QUIC will not be enabled on this listener. Set to the default object to enable QUIC without modifying any additional options.
.envoy.config.listener.v3.QuicProtocolOptions quic_options = 7;
- Returns:
- The quicOptions.
-
getQuicOptionsOrBuilder
QuicProtocolOptionsOrBuilder getQuicOptionsOrBuilder()
Configuration for QUIC protocol. If empty, QUIC will not be enabled on this listener. Set to the default object to enable QUIC without modifying any additional options.
.envoy.config.listener.v3.QuicProtocolOptions quic_options = 7;
-
hasUdpPacketPacketWriterConfig
boolean hasUdpPacketPacketWriterConfig()
Configuration for the UDP packet writer. If empty, HTTP/3 will use GSO if available (:ref:`UdpDefaultWriterFactory <envoy_v3_api_msg_extensions.udp_packet_writer.v3.UdpGsoBatchWriterFactory>`) or the default kernel sendmsg if not, (:ref:`UdpDefaultWriterFactory <envoy_v3_api_msg_extensions.udp_packet_writer.v3.UdpDefaultWriterFactory>`) and raw UDP will use kernel sendmsg. [#extension-category: envoy.udp_packet_writer]
.envoy.config.core.v3.TypedExtensionConfig udp_packet_packet_writer_config = 8;
- Returns:
- Whether the udpPacketPacketWriterConfig field is set.
-
getUdpPacketPacketWriterConfig
TypedExtensionConfig getUdpPacketPacketWriterConfig()
Configuration for the UDP packet writer. If empty, HTTP/3 will use GSO if available (:ref:`UdpDefaultWriterFactory <envoy_v3_api_msg_extensions.udp_packet_writer.v3.UdpGsoBatchWriterFactory>`) or the default kernel sendmsg if not, (:ref:`UdpDefaultWriterFactory <envoy_v3_api_msg_extensions.udp_packet_writer.v3.UdpDefaultWriterFactory>`) and raw UDP will use kernel sendmsg. [#extension-category: envoy.udp_packet_writer]
.envoy.config.core.v3.TypedExtensionConfig udp_packet_packet_writer_config = 8;
- Returns:
- The udpPacketPacketWriterConfig.
-
getUdpPacketPacketWriterConfigOrBuilder
TypedExtensionConfigOrBuilder getUdpPacketPacketWriterConfigOrBuilder()
Configuration for the UDP packet writer. If empty, HTTP/3 will use GSO if available (:ref:`UdpDefaultWriterFactory <envoy_v3_api_msg_extensions.udp_packet_writer.v3.UdpGsoBatchWriterFactory>`) or the default kernel sendmsg if not, (:ref:`UdpDefaultWriterFactory <envoy_v3_api_msg_extensions.udp_packet_writer.v3.UdpDefaultWriterFactory>`) and raw UDP will use kernel sendmsg. [#extension-category: envoy.udp_packet_writer]
.envoy.config.core.v3.TypedExtensionConfig udp_packet_packet_writer_config = 8;
-
-