Class QuicProtocolOptions
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.envoyproxy.envoy.config.listener.v3.QuicProtocolOptions
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,QuicProtocolOptionsOrBuilder
,Serializable
public final class QuicProtocolOptions
extends com.google.protobuf.GeneratedMessage
implements QuicProtocolOptionsOrBuilder
Configuration specific to the UDP QUIC listener. [#next-free-field: 12]Protobuf type
envoy.config.listener.v3.QuicProtocolOptions
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Configuration specific to the UDP QUIC listener.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>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParent
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
static final int
static final int
private TypedExtensionConfig
private TypedExtensionConfig
static final int
static final int
private com.google.protobuf.Duration
private TypedExtensionConfig
private static final QuicProtocolOptions
private RuntimeFeatureFlag
static final int
static final int
private com.google.protobuf.Duration
private byte
static final int
private com.google.protobuf.UInt32Value
private static final com.google.protobuf.Parser
<QuicProtocolOptions> static final int
private TypedExtensionConfig
static final int
private QuicProtocolOptions
static final int
private com.google.protobuf.BoolValue
private static final long
static final int
private TypedExtensionConfig
Fields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
private
QuicProtocolOptions
(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Configure which implementation of ``quic::QuicConnectionDebugVisitor`` to be used for this listener.Configure which implementation of ``quic::QuicConnectionDebugVisitor`` to be used for this listener.Config which implementation of ``quic::ConnectionIdGeneratorInterface`` to be used for this listener.Config which implementation of ``quic::ConnectionIdGeneratorInterface`` to be used for this listener.com.google.protobuf.Duration
Connection timeout in milliseconds before the crypto handshake is finished.com.google.protobuf.DurationOrBuilder
Connection timeout in milliseconds before the crypto handshake is finished.Configure which implementation of ``quic::QuicCryptoClientStreamBase`` to be used for this listener.Configure which implementation of ``quic::QuicCryptoClientStreamBase`` to be used for this listener.static QuicProtocolOptions
static final com.google.protobuf.Descriptors.Descriptor
Runtime flag that controls whether the listener is enabled or not.Runtime flag that controls whether the listener is enabled or not.com.google.protobuf.Duration
Maximum number of milliseconds that connection will be alive when there is no network activity.com.google.protobuf.DurationOrBuilder
Maximum number of milliseconds that connection will be alive when there is no network activity.com.google.protobuf.UInt32Value
A multiplier to number of connections which is used to determine how many packets to read per event loop.com.google.protobuf.UInt32ValueOrBuilder
A multiplier to number of connections which is used to determine how many packets to read per event loop.com.google.protobuf.Parser
<QuicProtocolOptions> Configure which implementation of ``quic::ProofSource`` to be used for this listener.Configure which implementation of ``quic::ProofSource`` to be used for this listener..envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
com.google.protobuf.BoolValue
Configure the server to send transport parameter `disable_active_migration <https://www.rfc-editor.org/rfc/rfc9000#section-18.2-4.30.1>`_.com.google.protobuf.BoolValueOrBuilder
Configure the server to send transport parameter `disable_active_migration <https://www.rfc-editor.org/rfc/rfc9000#section-18.2-4.30.1>`_.int
Configure the server's preferred address to advertise so that client can migrate to it.Configure the server's preferred address to advertise so that client can migrate to it.boolean
Configure which implementation of ``quic::QuicConnectionDebugVisitor`` to be used for this listener.boolean
Config which implementation of ``quic::ConnectionIdGeneratorInterface`` to be used for this listener.boolean
Connection timeout in milliseconds before the crypto handshake is finished.boolean
Configure which implementation of ``quic::QuicCryptoClientStreamBase`` to be used for this listener.boolean
Runtime flag that controls whether the listener is enabled or not.int
hashCode()
boolean
Maximum number of milliseconds that connection will be alive when there is no network activity.boolean
A multiplier to number of connections which is used to determine how many packets to read per event loop.boolean
Configure which implementation of ``quic::ProofSource`` to be used for this listener.boolean
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
boolean
Configure the server to send transport parameter `disable_active_migration <https://www.rfc-editor.org/rfc/rfc9000#section-18.2-4.30.1>`_.boolean
Configure the server's preferred address to advertise so that client can migrate to it.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
static QuicProtocolOptions.Builder
static QuicProtocolOptions.Builder
newBuilder
(QuicProtocolOptions prototype) protected QuicProtocolOptions.Builder
newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) static QuicProtocolOptions
parseDelimitedFrom
(InputStream input) static QuicProtocolOptions
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QuicProtocolOptions
parseFrom
(byte[] data) static QuicProtocolOptions
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QuicProtocolOptions
parseFrom
(com.google.protobuf.ByteString data) static QuicProtocolOptions
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QuicProtocolOptions
parseFrom
(com.google.protobuf.CodedInputStream input) static QuicProtocolOptions
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QuicProtocolOptions
parseFrom
(InputStream input) static QuicProtocolOptions
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static QuicProtocolOptions
parseFrom
(ByteBuffer data) static QuicProtocolOptions
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser
<QuicProtocolOptions> parser()
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
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bitField0_
private int bitField0_ -
QUIC_PROTOCOL_OPTIONS_FIELD_NUMBER
public static final int QUIC_PROTOCOL_OPTIONS_FIELD_NUMBER- See Also:
-
quicProtocolOptions_
-
IDLE_TIMEOUT_FIELD_NUMBER
public static final int IDLE_TIMEOUT_FIELD_NUMBER- See Also:
-
idleTimeout_
private com.google.protobuf.Duration idleTimeout_ -
CRYPTO_HANDSHAKE_TIMEOUT_FIELD_NUMBER
public static final int CRYPTO_HANDSHAKE_TIMEOUT_FIELD_NUMBER- See Also:
-
cryptoHandshakeTimeout_
private com.google.protobuf.Duration cryptoHandshakeTimeout_ -
ENABLED_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER- See Also:
-
enabled_
-
PACKETS_TO_READ_TO_CONNECTION_COUNT_RATIO_FIELD_NUMBER
public static final int PACKETS_TO_READ_TO_CONNECTION_COUNT_RATIO_FIELD_NUMBER- See Also:
-
packetsToReadToConnectionCountRatio_
private com.google.protobuf.UInt32Value packetsToReadToConnectionCountRatio_ -
CRYPTO_STREAM_CONFIG_FIELD_NUMBER
public static final int CRYPTO_STREAM_CONFIG_FIELD_NUMBER- See Also:
-
cryptoStreamConfig_
-
PROOF_SOURCE_CONFIG_FIELD_NUMBER
public static final int PROOF_SOURCE_CONFIG_FIELD_NUMBER- See Also:
-
proofSourceConfig_
-
CONNECTION_ID_GENERATOR_CONFIG_FIELD_NUMBER
public static final int CONNECTION_ID_GENERATOR_CONFIG_FIELD_NUMBER- See Also:
-
connectionIdGeneratorConfig_
-
SERVER_PREFERRED_ADDRESS_CONFIG_FIELD_NUMBER
public static final int SERVER_PREFERRED_ADDRESS_CONFIG_FIELD_NUMBER- See Also:
-
serverPreferredAddressConfig_
-
SEND_DISABLE_ACTIVE_MIGRATION_FIELD_NUMBER
public static final int SEND_DISABLE_ACTIVE_MIGRATION_FIELD_NUMBER- See Also:
-
sendDisableActiveMigration_
private com.google.protobuf.BoolValue sendDisableActiveMigration_ -
CONNECTION_DEBUG_VISITOR_CONFIG_FIELD_NUMBER
public static final int CONNECTION_DEBUG_VISITOR_CONFIG_FIELD_NUMBER- See Also:
-
connectionDebugVisitorConfig_
-
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
QuicProtocolOptions
private QuicProtocolOptions(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
QuicProtocolOptions
private QuicProtocolOptions()
-
-
Method Details
-
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
-
hasQuicProtocolOptions
public boolean hasQuicProtocolOptions().envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
- Specified by:
hasQuicProtocolOptions
in interfaceQuicProtocolOptionsOrBuilder
- Returns:
- Whether the quicProtocolOptions field is set.
-
getQuicProtocolOptions
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
- Specified by:
getQuicProtocolOptions
in interfaceQuicProtocolOptionsOrBuilder
- Returns:
- The quicProtocolOptions.
-
getQuicProtocolOptionsOrBuilder
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
- Specified by:
getQuicProtocolOptionsOrBuilder
in interfaceQuicProtocolOptionsOrBuilder
-
hasIdleTimeout
public boolean hasIdleTimeout()Maximum number of milliseconds that connection will be alive when there is no network activity. If it is less than 1ms, Envoy will use 1ms. 300000ms if not specified.
.google.protobuf.Duration idle_timeout = 2;
- Specified by:
hasIdleTimeout
in interfaceQuicProtocolOptionsOrBuilder
- Returns:
- Whether the idleTimeout field is set.
-
getIdleTimeout
public com.google.protobuf.Duration getIdleTimeout()Maximum number of milliseconds that connection will be alive when there is no network activity. If it is less than 1ms, Envoy will use 1ms. 300000ms if not specified.
.google.protobuf.Duration idle_timeout = 2;
- Specified by:
getIdleTimeout
in interfaceQuicProtocolOptionsOrBuilder
- Returns:
- The idleTimeout.
-
getIdleTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getIdleTimeoutOrBuilder()Maximum number of milliseconds that connection will be alive when there is no network activity. If it is less than 1ms, Envoy will use 1ms. 300000ms if not specified.
.google.protobuf.Duration idle_timeout = 2;
- Specified by:
getIdleTimeoutOrBuilder
in interfaceQuicProtocolOptionsOrBuilder
-
hasCryptoHandshakeTimeout
public boolean hasCryptoHandshakeTimeout()Connection timeout in milliseconds before the crypto handshake is finished. If it is less than 5000ms, Envoy will use 5000ms. 20000ms if not specified.
.google.protobuf.Duration crypto_handshake_timeout = 3;
- Specified by:
hasCryptoHandshakeTimeout
in interfaceQuicProtocolOptionsOrBuilder
- Returns:
- Whether the cryptoHandshakeTimeout field is set.
-
getCryptoHandshakeTimeout
public com.google.protobuf.Duration getCryptoHandshakeTimeout()Connection timeout in milliseconds before the crypto handshake is finished. If it is less than 5000ms, Envoy will use 5000ms. 20000ms if not specified.
.google.protobuf.Duration crypto_handshake_timeout = 3;
- Specified by:
getCryptoHandshakeTimeout
in interfaceQuicProtocolOptionsOrBuilder
- Returns:
- The cryptoHandshakeTimeout.
-
getCryptoHandshakeTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getCryptoHandshakeTimeoutOrBuilder()Connection timeout in milliseconds before the crypto handshake is finished. If it is less than 5000ms, Envoy will use 5000ms. 20000ms if not specified.
.google.protobuf.Duration crypto_handshake_timeout = 3;
- Specified by:
getCryptoHandshakeTimeoutOrBuilder
in interfaceQuicProtocolOptionsOrBuilder
-
hasEnabled
public boolean hasEnabled()Runtime flag that controls whether the listener is enabled or not. If not specified, defaults to enabled.
.envoy.config.core.v3.RuntimeFeatureFlag enabled = 4;
- Specified by:
hasEnabled
in interfaceQuicProtocolOptionsOrBuilder
- Returns:
- Whether the enabled field is set.
-
getEnabled
Runtime flag that controls whether the listener is enabled or not. If not specified, defaults to enabled.
.envoy.config.core.v3.RuntimeFeatureFlag enabled = 4;
- Specified by:
getEnabled
in interfaceQuicProtocolOptionsOrBuilder
- Returns:
- The enabled.
-
getEnabledOrBuilder
Runtime flag that controls whether the listener is enabled or not. If not specified, defaults to enabled.
.envoy.config.core.v3.RuntimeFeatureFlag enabled = 4;
- Specified by:
getEnabledOrBuilder
in interfaceQuicProtocolOptionsOrBuilder
-
hasPacketsToReadToConnectionCountRatio
public boolean hasPacketsToReadToConnectionCountRatio()A multiplier to number of connections which is used to determine how many packets to read per event loop. A reasonable number should allow the listener to process enough payload but not starve TCP and other UDP sockets and also prevent long event loop duration. The default value is 32. This means if there are N QUIC connections, the total number of packets to read in each read event will be 32 * N. The actual number of packets to read in total by the UDP listener is also bound by 6000, regardless of this field or how many connections there are.
.google.protobuf.UInt32Value packets_to_read_to_connection_count_ratio = 5 [(.validate.rules) = { ... }
- Specified by:
hasPacketsToReadToConnectionCountRatio
in interfaceQuicProtocolOptionsOrBuilder
- Returns:
- Whether the packetsToReadToConnectionCountRatio field is set.
-
getPacketsToReadToConnectionCountRatio
public com.google.protobuf.UInt32Value getPacketsToReadToConnectionCountRatio()A multiplier to number of connections which is used to determine how many packets to read per event loop. A reasonable number should allow the listener to process enough payload but not starve TCP and other UDP sockets and also prevent long event loop duration. The default value is 32. This means if there are N QUIC connections, the total number of packets to read in each read event will be 32 * N. The actual number of packets to read in total by the UDP listener is also bound by 6000, regardless of this field or how many connections there are.
.google.protobuf.UInt32Value packets_to_read_to_connection_count_ratio = 5 [(.validate.rules) = { ... }
- Specified by:
getPacketsToReadToConnectionCountRatio
in interfaceQuicProtocolOptionsOrBuilder
- Returns:
- The packetsToReadToConnectionCountRatio.
-
getPacketsToReadToConnectionCountRatioOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getPacketsToReadToConnectionCountRatioOrBuilder()A multiplier to number of connections which is used to determine how many packets to read per event loop. A reasonable number should allow the listener to process enough payload but not starve TCP and other UDP sockets and also prevent long event loop duration. The default value is 32. This means if there are N QUIC connections, the total number of packets to read in each read event will be 32 * N. The actual number of packets to read in total by the UDP listener is also bound by 6000, regardless of this field or how many connections there are.
.google.protobuf.UInt32Value packets_to_read_to_connection_count_ratio = 5 [(.validate.rules) = { ... }
- Specified by:
getPacketsToReadToConnectionCountRatioOrBuilder
in interfaceQuicProtocolOptionsOrBuilder
-
hasCryptoStreamConfig
public boolean hasCryptoStreamConfig()Configure which implementation of ``quic::QuicCryptoClientStreamBase`` to be used for this listener. If not specified the :ref:`QUICHE default one configured by <envoy_v3_api_msg_extensions.quic.crypto_stream.v3.CryptoServerStreamConfig>` will be used. [#extension-category: envoy.quic.server.crypto_stream]
.envoy.config.core.v3.TypedExtensionConfig crypto_stream_config = 6;
- Specified by:
hasCryptoStreamConfig
in interfaceQuicProtocolOptionsOrBuilder
- Returns:
- Whether the cryptoStreamConfig field is set.
-
getCryptoStreamConfig
Configure which implementation of ``quic::QuicCryptoClientStreamBase`` to be used for this listener. If not specified the :ref:`QUICHE default one configured by <envoy_v3_api_msg_extensions.quic.crypto_stream.v3.CryptoServerStreamConfig>` will be used. [#extension-category: envoy.quic.server.crypto_stream]
.envoy.config.core.v3.TypedExtensionConfig crypto_stream_config = 6;
- Specified by:
getCryptoStreamConfig
in interfaceQuicProtocolOptionsOrBuilder
- Returns:
- The cryptoStreamConfig.
-
getCryptoStreamConfigOrBuilder
Configure which implementation of ``quic::QuicCryptoClientStreamBase`` to be used for this listener. If not specified the :ref:`QUICHE default one configured by <envoy_v3_api_msg_extensions.quic.crypto_stream.v3.CryptoServerStreamConfig>` will be used. [#extension-category: envoy.quic.server.crypto_stream]
.envoy.config.core.v3.TypedExtensionConfig crypto_stream_config = 6;
- Specified by:
getCryptoStreamConfigOrBuilder
in interfaceQuicProtocolOptionsOrBuilder
-
hasProofSourceConfig
public boolean hasProofSourceConfig()Configure which implementation of ``quic::ProofSource`` to be used for this listener. If not specified the :ref:`default one configured by <envoy_v3_api_msg_extensions.quic.proof_source.v3.ProofSourceConfig>` will be used. [#extension-category: envoy.quic.proof_source]
.envoy.config.core.v3.TypedExtensionConfig proof_source_config = 7;
- Specified by:
hasProofSourceConfig
in interfaceQuicProtocolOptionsOrBuilder
- Returns:
- Whether the proofSourceConfig field is set.
-
getProofSourceConfig
Configure which implementation of ``quic::ProofSource`` to be used for this listener. If not specified the :ref:`default one configured by <envoy_v3_api_msg_extensions.quic.proof_source.v3.ProofSourceConfig>` will be used. [#extension-category: envoy.quic.proof_source]
.envoy.config.core.v3.TypedExtensionConfig proof_source_config = 7;
- Specified by:
getProofSourceConfig
in interfaceQuicProtocolOptionsOrBuilder
- Returns:
- The proofSourceConfig.
-
getProofSourceConfigOrBuilder
Configure which implementation of ``quic::ProofSource`` to be used for this listener. If not specified the :ref:`default one configured by <envoy_v3_api_msg_extensions.quic.proof_source.v3.ProofSourceConfig>` will be used. [#extension-category: envoy.quic.proof_source]
.envoy.config.core.v3.TypedExtensionConfig proof_source_config = 7;
- Specified by:
getProofSourceConfigOrBuilder
in interfaceQuicProtocolOptionsOrBuilder
-
hasConnectionIdGeneratorConfig
public boolean hasConnectionIdGeneratorConfig()Config which implementation of ``quic::ConnectionIdGeneratorInterface`` to be used for this listener. If not specified the :ref:`default one configured by <envoy_v3_api_msg_extensions.quic.connection_id_generator.v3.DeterministicConnectionIdGeneratorConfig>` will be used. [#extension-category: envoy.quic.connection_id_generator]
.envoy.config.core.v3.TypedExtensionConfig connection_id_generator_config = 8;
- Specified by:
hasConnectionIdGeneratorConfig
in interfaceQuicProtocolOptionsOrBuilder
- Returns:
- Whether the connectionIdGeneratorConfig field is set.
-
getConnectionIdGeneratorConfig
Config which implementation of ``quic::ConnectionIdGeneratorInterface`` to be used for this listener. If not specified the :ref:`default one configured by <envoy_v3_api_msg_extensions.quic.connection_id_generator.v3.DeterministicConnectionIdGeneratorConfig>` will be used. [#extension-category: envoy.quic.connection_id_generator]
.envoy.config.core.v3.TypedExtensionConfig connection_id_generator_config = 8;
- Specified by:
getConnectionIdGeneratorConfig
in interfaceQuicProtocolOptionsOrBuilder
- Returns:
- The connectionIdGeneratorConfig.
-
getConnectionIdGeneratorConfigOrBuilder
Config which implementation of ``quic::ConnectionIdGeneratorInterface`` to be used for this listener. If not specified the :ref:`default one configured by <envoy_v3_api_msg_extensions.quic.connection_id_generator.v3.DeterministicConnectionIdGeneratorConfig>` will be used. [#extension-category: envoy.quic.connection_id_generator]
.envoy.config.core.v3.TypedExtensionConfig connection_id_generator_config = 8;
- Specified by:
getConnectionIdGeneratorConfigOrBuilder
in interfaceQuicProtocolOptionsOrBuilder
-
hasServerPreferredAddressConfig
public boolean hasServerPreferredAddressConfig()Configure the server's preferred address to advertise so that client can migrate to it. See :ref:`example <envoy_v3_api_msg_extensions.quic.server_preferred_address.v3.FixedServerPreferredAddressConfig>` which configures a pair of v4 and v6 preferred addresses. The current QUICHE implementation will advertise only one of the preferred IPv4 and IPv6 addresses based on the address family the client initially connects with. If not specified, Envoy will not advertise any server's preferred address. [#extension-category: envoy.quic.server_preferred_address]
.envoy.config.core.v3.TypedExtensionConfig server_preferred_address_config = 9 [(.xds.annotations.v3.field_status) = { ... }
- Specified by:
hasServerPreferredAddressConfig
in interfaceQuicProtocolOptionsOrBuilder
- Returns:
- Whether the serverPreferredAddressConfig field is set.
-
getServerPreferredAddressConfig
Configure the server's preferred address to advertise so that client can migrate to it. See :ref:`example <envoy_v3_api_msg_extensions.quic.server_preferred_address.v3.FixedServerPreferredAddressConfig>` which configures a pair of v4 and v6 preferred addresses. The current QUICHE implementation will advertise only one of the preferred IPv4 and IPv6 addresses based on the address family the client initially connects with. If not specified, Envoy will not advertise any server's preferred address. [#extension-category: envoy.quic.server_preferred_address]
.envoy.config.core.v3.TypedExtensionConfig server_preferred_address_config = 9 [(.xds.annotations.v3.field_status) = { ... }
- Specified by:
getServerPreferredAddressConfig
in interfaceQuicProtocolOptionsOrBuilder
- Returns:
- The serverPreferredAddressConfig.
-
getServerPreferredAddressConfigOrBuilder
Configure the server's preferred address to advertise so that client can migrate to it. See :ref:`example <envoy_v3_api_msg_extensions.quic.server_preferred_address.v3.FixedServerPreferredAddressConfig>` which configures a pair of v4 and v6 preferred addresses. The current QUICHE implementation will advertise only one of the preferred IPv4 and IPv6 addresses based on the address family the client initially connects with. If not specified, Envoy will not advertise any server's preferred address. [#extension-category: envoy.quic.server_preferred_address]
.envoy.config.core.v3.TypedExtensionConfig server_preferred_address_config = 9 [(.xds.annotations.v3.field_status) = { ... }
- Specified by:
getServerPreferredAddressConfigOrBuilder
in interfaceQuicProtocolOptionsOrBuilder
-
hasSendDisableActiveMigration
public boolean hasSendDisableActiveMigration()Configure the server to send transport parameter `disable_active_migration <https://www.rfc-editor.org/rfc/rfc9000#section-18.2-4.30.1>`_. Defaults to false (do not send this transport parameter).
.google.protobuf.BoolValue send_disable_active_migration = 10;
- Specified by:
hasSendDisableActiveMigration
in interfaceQuicProtocolOptionsOrBuilder
- Returns:
- Whether the sendDisableActiveMigration field is set.
-
getSendDisableActiveMigration
public com.google.protobuf.BoolValue getSendDisableActiveMigration()Configure the server to send transport parameter `disable_active_migration <https://www.rfc-editor.org/rfc/rfc9000#section-18.2-4.30.1>`_. Defaults to false (do not send this transport parameter).
.google.protobuf.BoolValue send_disable_active_migration = 10;
- Specified by:
getSendDisableActiveMigration
in interfaceQuicProtocolOptionsOrBuilder
- Returns:
- The sendDisableActiveMigration.
-
getSendDisableActiveMigrationOrBuilder
public com.google.protobuf.BoolValueOrBuilder getSendDisableActiveMigrationOrBuilder()Configure the server to send transport parameter `disable_active_migration <https://www.rfc-editor.org/rfc/rfc9000#section-18.2-4.30.1>`_. Defaults to false (do not send this transport parameter).
.google.protobuf.BoolValue send_disable_active_migration = 10;
- Specified by:
getSendDisableActiveMigrationOrBuilder
in interfaceQuicProtocolOptionsOrBuilder
-
hasConnectionDebugVisitorConfig
public boolean hasConnectionDebugVisitorConfig()Configure which implementation of ``quic::QuicConnectionDebugVisitor`` to be used for this listener. If not specified, no debug visitor will be attached to connections. [#extension-category: envoy.quic.connection_debug_visitor]
.envoy.config.core.v3.TypedExtensionConfig connection_debug_visitor_config = 11;
- Specified by:
hasConnectionDebugVisitorConfig
in interfaceQuicProtocolOptionsOrBuilder
- Returns:
- Whether the connectionDebugVisitorConfig field is set.
-
getConnectionDebugVisitorConfig
Configure which implementation of ``quic::QuicConnectionDebugVisitor`` to be used for this listener. If not specified, no debug visitor will be attached to connections. [#extension-category: envoy.quic.connection_debug_visitor]
.envoy.config.core.v3.TypedExtensionConfig connection_debug_visitor_config = 11;
- Specified by:
getConnectionDebugVisitorConfig
in interfaceQuicProtocolOptionsOrBuilder
- Returns:
- The connectionDebugVisitorConfig.
-
getConnectionDebugVisitorConfigOrBuilder
Configure which implementation of ``quic::QuicConnectionDebugVisitor`` to be used for this listener. If not specified, no debug visitor will be attached to connections. [#extension-category: envoy.quic.connection_debug_visitor]
.envoy.config.core.v3.TypedExtensionConfig connection_debug_visitor_config = 11;
- Specified by:
getConnectionDebugVisitorConfigOrBuilder
in interfaceQuicProtocolOptionsOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
- 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 QuicProtocolOptions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuicProtocolOptions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuicProtocolOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuicProtocolOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuicProtocolOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuicProtocolOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static QuicProtocolOptions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static QuicProtocolOptions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static QuicProtocolOptions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static QuicProtocolOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected QuicProtocolOptions.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
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
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-