Class UdpListenerConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.envoyproxy.envoy.config.listener.v3.UdpListenerConfig
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, UdpListenerConfigOrBuilder, 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:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • bitField0_

      private int bitField0_
    • DOWNSTREAM_SOCKET_CONFIG_FIELD_NUMBER

      public static final int DOWNSTREAM_SOCKET_CONFIG_FIELD_NUMBER
      See Also:
    • downstreamSocketConfig_

      private UdpSocketConfig downstreamSocketConfig_
    • QUIC_OPTIONS_FIELD_NUMBER

      public static final int QUIC_OPTIONS_FIELD_NUMBER
      See Also:
    • quicOptions_

      private QuicProtocolOptions quicOptions_
    • UDP_PACKET_PACKET_WRITER_CONFIG_FIELD_NUMBER

      public static final int UDP_PACKET_PACKET_WRITER_CONFIG_FIELD_NUMBER
      See Also:
    • udpPacketPacketWriterConfig_

      private TypedExtensionConfig udpPacketPacketWriterConfig_
    • memoizedIsInitialized

      private byte memoizedIsInitialized
    • DEFAULT_INSTANCE

      private static final UdpListenerConfig DEFAULT_INSTANCE
    • PARSER

      private static final com.google.protobuf.Parser<UdpListenerConfig> PARSER
  • Constructor Details

    • UdpListenerConfig

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

      private UdpListenerConfig()
  • Method Details

    • 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 IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      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(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(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UdpListenerConfig parseFrom(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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static UdpListenerConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static UdpListenerConfig.Builder newBuilder()
    • newBuilder

      public static UdpListenerConfig.Builder newBuilder(UdpListenerConfig prototype)
    • 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
    • getDefaultInstance

      public static UdpListenerConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<UdpListenerConfig> parser()
    • 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