Interface UdpSocketConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
UdpSocketConfig, UdpSocketConfig.Builder

public interface UdpSocketConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.UInt64Value
    The maximum size of received UDP datagrams.
    com.google.protobuf.UInt64ValueOrBuilder
    The maximum size of received UDP datagrams.
    com.google.protobuf.BoolValue
    Configures whether Generic Receive Offload (GRO) <https://en.wikipedia.org/wiki/Large_receive_offload>_ is preferred when reading from the UDP socket.
    com.google.protobuf.BoolValueOrBuilder
    Configures whether Generic Receive Offload (GRO) <https://en.wikipedia.org/wiki/Large_receive_offload>_ is preferred when reading from the UDP socket.
    boolean
    The maximum size of received UDP datagrams.
    boolean
    Configures whether Generic Receive Offload (GRO) <https://en.wikipedia.org/wiki/Large_receive_offload>_ is preferred when reading from the UDP socket.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasMaxRxDatagramSize

      boolean hasMaxRxDatagramSize()
       The maximum size of received UDP datagrams. Using a larger size will cause Envoy to allocate
       more memory per socket. Received datagrams above this size will be dropped. If not set
       defaults to 1500 bytes.
       
      .google.protobuf.UInt64Value max_rx_datagram_size = 1 [(.validate.rules) = { ... }
      Returns:
      Whether the maxRxDatagramSize field is set.
    • getMaxRxDatagramSize

      com.google.protobuf.UInt64Value getMaxRxDatagramSize()
       The maximum size of received UDP datagrams. Using a larger size will cause Envoy to allocate
       more memory per socket. Received datagrams above this size will be dropped. If not set
       defaults to 1500 bytes.
       
      .google.protobuf.UInt64Value max_rx_datagram_size = 1 [(.validate.rules) = { ... }
      Returns:
      The maxRxDatagramSize.
    • getMaxRxDatagramSizeOrBuilder

      com.google.protobuf.UInt64ValueOrBuilder getMaxRxDatagramSizeOrBuilder()
       The maximum size of received UDP datagrams. Using a larger size will cause Envoy to allocate
       more memory per socket. Received datagrams above this size will be dropped. If not set
       defaults to 1500 bytes.
       
      .google.protobuf.UInt64Value max_rx_datagram_size = 1 [(.validate.rules) = { ... }
    • hasPreferGro

      boolean hasPreferGro()
       Configures whether Generic Receive Offload (GRO)
       <https://en.wikipedia.org/wiki/Large_receive_offload>_ is preferred when reading from the
       UDP socket. The default is context dependent and is documented where UdpSocketConfig is used.
       This option affects performance but not functionality. If GRO is not supported by the operating
       system, non-GRO receive will be used.
       
      .google.protobuf.BoolValue prefer_gro = 2;
      Returns:
      Whether the preferGro field is set.
    • getPreferGro

      com.google.protobuf.BoolValue getPreferGro()
       Configures whether Generic Receive Offload (GRO)
       <https://en.wikipedia.org/wiki/Large_receive_offload>_ is preferred when reading from the
       UDP socket. The default is context dependent and is documented where UdpSocketConfig is used.
       This option affects performance but not functionality. If GRO is not supported by the operating
       system, non-GRO receive will be used.
       
      .google.protobuf.BoolValue prefer_gro = 2;
      Returns:
      The preferGro.
    • getPreferGroOrBuilder

      com.google.protobuf.BoolValueOrBuilder getPreferGroOrBuilder()
       Configures whether Generic Receive Offload (GRO)
       <https://en.wikipedia.org/wiki/Large_receive_offload>_ is preferred when reading from the
       UDP socket. The default is context dependent and is documented where UdpSocketConfig is used.
       This option affects performance but not functionality. If GRO is not supported by the operating
       system, non-GRO receive will be used.
       
      .google.protobuf.BoolValue prefer_gro = 2;