Class UdpListenerConfig

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UdpListenerConfigOrBuilder, java.io.Serializable

    public final class UdpListenerConfig
    extends com.google.protobuf.GeneratedMessage
    implements UdpListenerConfigOrBuilder
     [#next-free-field: 9]
     
    Protobuf type envoy.config.listener.v3.UdpListenerConfig
    See Also:
    Serialized Form
    • Field Detail

      • bitField0_

        private int bitField0_
      • DOWNSTREAM_SOCKET_CONFIG_FIELD_NUMBER

        public static final int DOWNSTREAM_SOCKET_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • QUIC_OPTIONS_FIELD_NUMBER

        public static final int QUIC_OPTIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • UDP_PACKET_PACKET_WRITER_CONFIG_FIELD_NUMBER

        public static final int UDP_PACKET_PACKET_WRITER_CONFIG_FIELD_NUMBER
        See Also:
        Constant Field Values
      • memoizedIsInitialized

        private byte memoizedIsInitialized
    • Constructor Detail

      • UdpListenerConfig

        private UdpListenerConfig​(com.google.protobuf.GeneratedMessage.Builder<?> builder)
      • UdpListenerConfig

        private UdpListenerConfig()
    • 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
      • 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.
      • 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
      • 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.
      • 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
      • 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.
      • 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessage
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessage
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static UdpListenerConfig parseFrom​(java.nio.ByteBuffer data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UdpListenerConfig parseFrom​(java.nio.ByteBuffer data,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UdpListenerConfig parseFrom​(com.google.protobuf.ByteString data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UdpListenerConfig parseFrom​(com.google.protobuf.ByteString data,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UdpListenerConfig parseFrom​(byte[] data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UdpListenerConfig parseFrom​(byte[] data,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static UdpListenerConfig parseFrom​(java.io.InputStream input)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static UdpListenerConfig parseFrom​(java.io.InputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static UdpListenerConfig parseDelimitedFrom​(java.io.InputStream input)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static UdpListenerConfig parseDelimitedFrom​(java.io.InputStream input,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static UdpListenerConfig parseFrom​(com.google.protobuf.CodedInputStream input)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static UdpListenerConfig parseFrom​(com.google.protobuf.CodedInputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

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

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

        protected UdpListenerConfig.Builder newBuilderForType​(com.google.protobuf.AbstractMessage.BuilderParent parent)
        Overrides:
        newBuilderForType in class com.google.protobuf.AbstractMessage
      • getParserForType

        public com.google.protobuf.Parser<UdpListenerConfig> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessage
      • getDefaultInstanceForType

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