Class UdpListenerConfig.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UdpListenerConfigOrBuilder, java.lang.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
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UdpListenerConfig.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • clear

        public UdpListenerConfig.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessage.Builder<UdpListenerConfig.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UdpListenerConfig.Builder>
      • getDefaultInstanceForType

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

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

        public UdpListenerConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • mergeFrom

        public UdpListenerConfig.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UdpListenerConfig.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage.Builder<UdpListenerConfig.Builder>
      • mergeFrom

        public UdpListenerConfig.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UdpListenerConfig.Builder>
        Throws:
        java.io.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 interface UdpListenerConfigOrBuilder
        Returns:
        Whether the downstreamSocketConfig field is set.
      • getDownstreamSocketConfig

        public 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;
        Specified by:
        getDownstreamSocketConfig in interface UdpListenerConfigOrBuilder
        Returns:
        The downstreamSocketConfig.
      • setDownstreamSocketConfig

        public UdpListenerConfig.Builder setDownstreamSocketConfig​(UdpSocketConfig value)
         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

        public UdpListenerConfig.Builder setDownstreamSocketConfig​(UdpSocketConfig.Builder builderForValue)
         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

        public UdpListenerConfig.Builder mergeDownstreamSocketConfig​(UdpSocketConfig value)
         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

        public UdpListenerConfig.Builder 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

        public UdpSocketConfig.Builder 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

        public 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;
        Specified by:
        getDownstreamSocketConfigOrBuilder in interface UdpListenerConfigOrBuilder
      • getDownstreamSocketConfigFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<UdpSocketConfig,​UdpSocketConfig.Builder,​UdpSocketConfigOrBuilder> getDownstreamSocketConfigFieldBuilder()
         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 interface UdpListenerConfigOrBuilder
        Returns:
        Whether the quicOptions field is set.
      • getQuicOptions

        public 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;
        Specified by:
        getQuicOptions in interface UdpListenerConfigOrBuilder
        Returns:
        The quicOptions.
      • setQuicOptions

        public UdpListenerConfig.Builder setQuicOptions​(QuicProtocolOptions value)
         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

        public UdpListenerConfig.Builder setQuicOptions​(QuicProtocolOptions.Builder builderForValue)
         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

        public UdpListenerConfig.Builder mergeQuicOptions​(QuicProtocolOptions value)
         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

        public UdpListenerConfig.Builder 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

        public QuicProtocolOptions.Builder 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

        public 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;
        Specified by:
        getQuicOptionsOrBuilder in interface UdpListenerConfigOrBuilder
      • getQuicOptionsFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<QuicProtocolOptions,​QuicProtocolOptions.Builder,​QuicProtocolOptionsOrBuilder> getQuicOptionsFieldBuilder()
         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 interface UdpListenerConfigOrBuilder
        Returns:
        Whether the udpPacketPacketWriterConfig field is set.
      • getUdpPacketPacketWriterConfig

        public 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;
        Specified by:
        getUdpPacketPacketWriterConfig in interface UdpListenerConfigOrBuilder
        Returns:
        The udpPacketPacketWriterConfig.
      • setUdpPacketPacketWriterConfig

        public UdpListenerConfig.Builder setUdpPacketPacketWriterConfig​(TypedExtensionConfig value)
         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

        public UdpListenerConfig.Builder mergeUdpPacketPacketWriterConfig​(TypedExtensionConfig value)
         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

        public UdpListenerConfig.Builder 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

        public TypedExtensionConfig.Builder 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

        public 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;
        Specified by:
        getUdpPacketPacketWriterConfigOrBuilder in interface UdpListenerConfigOrBuilder
      • getUdpPacketPacketWriterConfigFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<TypedExtensionConfig,​TypedExtensionConfig.Builder,​TypedExtensionConfigOrBuilder> getUdpPacketPacketWriterConfigFieldBuilder()
         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;