Class UdpListenerConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UdpListenerConfig.Builder>
com.google.protobuf.GeneratedMessage.Builder<UdpListenerConfig.Builder>
io.envoyproxy.envoy.config.listener.v3.UdpListenerConfig.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,UdpListenerConfigOrBuilder
,Cloneable
- Enclosing class:
UdpListenerConfig
public static final class UdpListenerConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UdpListenerConfig.Builder>
implements UdpListenerConfigOrBuilder
[#next-free-field: 9]Protobuf type
envoy.config.listener.v3.UdpListenerConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private UdpSocketConfig
private com.google.protobuf.SingleFieldBuilder
<UdpSocketConfig, UdpSocketConfig.Builder, UdpSocketConfigOrBuilder> private QuicProtocolOptions
private com.google.protobuf.SingleFieldBuilder
<QuicProtocolOptions, QuicProtocolOptions.Builder, QuicProtocolOptionsOrBuilder> private TypedExtensionConfig
private com.google.protobuf.SingleFieldBuilder
<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
private void
buildPartial0
(UdpListenerConfig result) clear()
UDP socket configuration for the listener.Configuration for QUIC protocol.Configuration for the UDP packet writer.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
UDP socket configuration for the listener.UDP socket configuration for the listener.private com.google.protobuf.SingleFieldBuilder
<UdpSocketConfig, UdpSocketConfig.Builder, UdpSocketConfigOrBuilder> UDP socket configuration for the listener.UDP socket configuration for the listener.Configuration for QUIC protocol.Configuration for QUIC protocol.private com.google.protobuf.SingleFieldBuilder
<QuicProtocolOptions, QuicProtocolOptions.Builder, QuicProtocolOptionsOrBuilder> Configuration for QUIC protocol.Configuration for QUIC protocol.Configuration for the UDP packet writer.Configuration for the UDP packet writer.private com.google.protobuf.SingleFieldBuilder
<TypedExtensionConfig, TypedExtensionConfig.Builder, TypedExtensionConfigOrBuilder> Configuration for the UDP packet writer.Configuration for the UDP packet writer.boolean
UDP socket configuration for the listener.boolean
Configuration for QUIC protocol.boolean
Configuration for the UDP packet writer.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
private void
UDP socket configuration for the listener.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(UdpListenerConfig other) Configuration for QUIC protocol.Configuration for the UDP packet writer.UDP socket configuration for the listener.setDownstreamSocketConfig
(UdpSocketConfig.Builder builderForValue) UDP socket configuration for the listener.Configuration for QUIC protocol.setQuicOptions
(QuicProtocolOptions.Builder builderForValue) Configuration for QUIC protocol.Configuration for the UDP packet writer.setUdpPacketPacketWriterConfig
(TypedExtensionConfig.Builder builderForValue) Configuration for the UDP packet writer.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, 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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
downstreamSocketConfig_
-
downstreamSocketConfigBuilder_
private com.google.protobuf.SingleFieldBuilder<UdpSocketConfig,UdpSocketConfig.Builder, downstreamSocketConfigBuilder_UdpSocketConfigOrBuilder> -
quicOptions_
-
quicOptionsBuilder_
private com.google.protobuf.SingleFieldBuilder<QuicProtocolOptions,QuicProtocolOptions.Builder, quicOptionsBuilder_QuicProtocolOptionsOrBuilder> -
udpPacketPacketWriterConfig_
-
udpPacketPacketWriterConfigBuilder_
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder, udpPacketPacketWriterConfigBuilder_TypedExtensionConfigOrBuilder>
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<UdpListenerConfig.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<UdpListenerConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<UdpListenerConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UdpListenerConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<UdpListenerConfig.Builder>
-
mergeFrom
public UdpListenerConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UdpListenerConfig.Builder>
- Throws:
IOException
-
hasDownstreamSocketConfig
public 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;
- Specified by:
hasDownstreamSocketConfig
in interfaceUdpListenerConfigOrBuilder
- Returns:
- Whether the downstreamSocketConfig field is set.
-
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;
- Specified by:
getDownstreamSocketConfig
in interfaceUdpListenerConfigOrBuilder
- Returns:
- The downstreamSocketConfig.
-
setDownstreamSocketConfig
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;
-
setDownstreamSocketConfig
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;
-
mergeDownstreamSocketConfig
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;
-
clearDownstreamSocketConfig
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;
-
getDownstreamSocketConfigBuilder
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;
-
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;
- Specified by:
getDownstreamSocketConfigOrBuilder
in interfaceUdpListenerConfigOrBuilder
-
getDownstreamSocketConfigFieldBuilder
private com.google.protobuf.SingleFieldBuilder<UdpSocketConfig,UdpSocketConfig.Builder, getDownstreamSocketConfigFieldBuilder()UdpSocketConfigOrBuilder> 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
public 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;
- Specified by:
hasQuicOptions
in interfaceUdpListenerConfigOrBuilder
- Returns:
- Whether the quicOptions field is set.
-
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;
- Specified by:
getQuicOptions
in interfaceUdpListenerConfigOrBuilder
- Returns:
- The quicOptions.
-
setQuicOptions
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;
-
setQuicOptions
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;
-
mergeQuicOptions
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;
-
clearQuicOptions
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;
-
getQuicOptionsBuilder
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;
-
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;
- Specified by:
getQuicOptionsOrBuilder
in interfaceUdpListenerConfigOrBuilder
-
getQuicOptionsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<QuicProtocolOptions,QuicProtocolOptions.Builder, getQuicOptionsFieldBuilder()QuicProtocolOptionsOrBuilder> 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
public 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;
- Specified by:
hasUdpPacketPacketWriterConfig
in interfaceUdpListenerConfigOrBuilder
- Returns:
- Whether the udpPacketPacketWriterConfig field is set.
-
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;
- Specified by:
getUdpPacketPacketWriterConfig
in interfaceUdpListenerConfigOrBuilder
- Returns:
- The udpPacketPacketWriterConfig.
-
setUdpPacketPacketWriterConfig
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;
-
setUdpPacketPacketWriterConfig
public UdpListenerConfig.Builder setUdpPacketPacketWriterConfig(TypedExtensionConfig.Builder builderForValue) 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;
-
mergeUdpPacketPacketWriterConfig
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;
-
clearUdpPacketPacketWriterConfig
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;
-
getUdpPacketPacketWriterConfigBuilder
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;
-
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;
- Specified by:
getUdpPacketPacketWriterConfigOrBuilder
in interfaceUdpListenerConfigOrBuilder
-
getUdpPacketPacketWriterConfigFieldBuilder
private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,TypedExtensionConfig.Builder, getUdpPacketPacketWriterConfigFieldBuilder()TypedExtensionConfigOrBuilder> 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;
-