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
,java.io.Serializable
public final class UdpListenerConfig extends com.google.protobuf.GeneratedMessage implements UdpListenerConfigOrBuilder
[#next-free-field: 9]
Protobuf typeenvoy.config.listener.v3.UdpListenerConfig
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UdpListenerConfig.Builder
[#next-free-field: 9]-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private static UdpListenerConfig
DEFAULT_INSTANCE
static int
DOWNSTREAM_SOCKET_CONFIG_FIELD_NUMBER
private UdpSocketConfig
downstreamSocketConfig_
private byte
memoizedIsInitialized
private static com.google.protobuf.Parser<UdpListenerConfig>
PARSER
static int
QUIC_OPTIONS_FIELD_NUMBER
private QuicProtocolOptions
quicOptions_
private static long
serialVersionUID
static int
UDP_PACKET_PACKET_WRITER_CONFIG_FIELD_NUMBER
private TypedExtensionConfig
udpPacketPacketWriterConfig_
-
Constructor Summary
Constructors Modifier Constructor Description private
UdpListenerConfig()
private
UdpListenerConfig(com.google.protobuf.GeneratedMessage.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
static UdpListenerConfig
getDefaultInstance()
UdpListenerConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
UdpSocketConfig
getDownstreamSocketConfig()
UDP socket configuration for the listener.UdpSocketConfigOrBuilder
getDownstreamSocketConfigOrBuilder()
UDP socket configuration for the listener.com.google.protobuf.Parser<UdpListenerConfig>
getParserForType()
QuicProtocolOptions
getQuicOptions()
Configuration for QUIC protocol.QuicProtocolOptionsOrBuilder
getQuicOptionsOrBuilder()
Configuration for QUIC protocol.int
getSerializedSize()
TypedExtensionConfig
getUdpPacketPacketWriterConfig()
Configuration for the UDP packet writer.TypedExtensionConfigOrBuilder
getUdpPacketPacketWriterConfigOrBuilder()
Configuration for the UDP packet writer.boolean
hasDownstreamSocketConfig()
UDP socket configuration for the listener.int
hashCode()
boolean
hasQuicOptions()
Configuration for QUIC protocol.boolean
hasUdpPacketPacketWriterConfig()
Configuration for the UDP packet writer.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static UdpListenerConfig.Builder
newBuilder()
static UdpListenerConfig.Builder
newBuilder(UdpListenerConfig prototype)
UdpListenerConfig.Builder
newBuilderForType()
protected UdpListenerConfig.Builder
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
static UdpListenerConfig
parseDelimitedFrom(java.io.InputStream input)
static UdpListenerConfig
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static UdpListenerConfig
parseFrom(byte[] data)
static UdpListenerConfig
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static UdpListenerConfig
parseFrom(com.google.protobuf.ByteString data)
static UdpListenerConfig
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static UdpListenerConfig
parseFrom(com.google.protobuf.CodedInputStream input)
static UdpListenerConfig
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static UdpListenerConfig
parseFrom(java.io.InputStream input)
static UdpListenerConfig
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static UdpListenerConfig
parseFrom(java.nio.ByteBuffer data)
static UdpListenerConfig
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<UdpListenerConfig>
parser()
UdpListenerConfig.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
bitField0_
private int bitField0_
-
DOWNSTREAM_SOCKET_CONFIG_FIELD_NUMBER
public static final int DOWNSTREAM_SOCKET_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
downstreamSocketConfig_
private UdpSocketConfig downstreamSocketConfig_
-
QUIC_OPTIONS_FIELD_NUMBER
public static final int QUIC_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
quicOptions_
private QuicProtocolOptions quicOptions_
-
UDP_PACKET_PACKET_WRITER_CONFIG_FIELD_NUMBER
public static final int UDP_PACKET_PACKET_WRITER_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
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
-
-
Method Detail
-
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
-
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
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 interfaceUdpListenerConfigOrBuilder
- 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 interfaceUdpListenerConfigOrBuilder
-
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
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 interfaceUdpListenerConfigOrBuilder
- 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 interfaceUdpListenerConfigOrBuilder
-
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
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 interfaceUdpListenerConfigOrBuilder
- 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 interfaceUdpListenerConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.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 interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.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 interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected UdpListenerConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForType
in classcom.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 interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public UdpListenerConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-