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
,java.io.Serializable
public final class QuicProtocolOptions extends com.google.protobuf.GeneratedMessage implements QuicProtocolOptionsOrBuilder
Configuration specific to the UDP QUIC listener. [#next-free-field: 12]
Protobuf typeenvoy.config.listener.v3.QuicProtocolOptions
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QuicProtocolOptions.Builder
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 extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description private
QuicProtocolOptions()
private
QuicProtocolOptions(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)
TypedExtensionConfig
getConnectionDebugVisitorConfig()
Configure which implementation of ``quic::QuicConnectionDebugVisitor`` to be used for this listener.TypedExtensionConfigOrBuilder
getConnectionDebugVisitorConfigOrBuilder()
Configure which implementation of ``quic::QuicConnectionDebugVisitor`` to be used for this listener.TypedExtensionConfig
getConnectionIdGeneratorConfig()
Config which implementation of ``quic::ConnectionIdGeneratorInterface`` to be used for this listener.TypedExtensionConfigOrBuilder
getConnectionIdGeneratorConfigOrBuilder()
Config which implementation of ``quic::ConnectionIdGeneratorInterface`` to be used for this listener.com.google.protobuf.Duration
getCryptoHandshakeTimeout()
Connection timeout in milliseconds before the crypto handshake is finished.com.google.protobuf.DurationOrBuilder
getCryptoHandshakeTimeoutOrBuilder()
Connection timeout in milliseconds before the crypto handshake is finished.TypedExtensionConfig
getCryptoStreamConfig()
Configure which implementation of ``quic::QuicCryptoClientStreamBase`` to be used for this listener.TypedExtensionConfigOrBuilder
getCryptoStreamConfigOrBuilder()
Configure which implementation of ``quic::QuicCryptoClientStreamBase`` to be used for this listener.static QuicProtocolOptions
getDefaultInstance()
QuicProtocolOptions
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
RuntimeFeatureFlag
getEnabled()
Runtime flag that controls whether the listener is enabled or not.RuntimeFeatureFlagOrBuilder
getEnabledOrBuilder()
Runtime flag that controls whether the listener is enabled or not.com.google.protobuf.Duration
getIdleTimeout()
Maximum number of milliseconds that connection will be alive when there is no network activity.com.google.protobuf.DurationOrBuilder
getIdleTimeoutOrBuilder()
Maximum number of milliseconds that connection will be alive when there is no network activity.com.google.protobuf.UInt32Value
getPacketsToReadToConnectionCountRatio()
A multiplier to number of connections which is used to determine how many packets to read per event loop.com.google.protobuf.UInt32ValueOrBuilder
getPacketsToReadToConnectionCountRatioOrBuilder()
A multiplier to number of connections which is used to determine how many packets to read per event loop.com.google.protobuf.Parser<QuicProtocolOptions>
getParserForType()
TypedExtensionConfig
getProofSourceConfig()
Configure which implementation of ``quic::ProofSource`` to be used for this listener.TypedExtensionConfigOrBuilder
getProofSourceConfigOrBuilder()
Configure which implementation of ``quic::ProofSource`` to be used for this listener.QuicProtocolOptions
getQuicProtocolOptions()
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
QuicProtocolOptionsOrBuilder
getQuicProtocolOptionsOrBuilder()
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
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>`_.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>`_.int
getSerializedSize()
TypedExtensionConfig
getServerPreferredAddressConfig()
Configure the server's preferred address to advertise so that client can migrate to it.TypedExtensionConfigOrBuilder
getServerPreferredAddressConfigOrBuilder()
Configure the server's preferred address to advertise so that client can migrate to it.boolean
hasConnectionDebugVisitorConfig()
Configure which implementation of ``quic::QuicConnectionDebugVisitor`` to be used for this listener.boolean
hasConnectionIdGeneratorConfig()
Config which implementation of ``quic::ConnectionIdGeneratorInterface`` to be used for this listener.boolean
hasCryptoHandshakeTimeout()
Connection timeout in milliseconds before the crypto handshake is finished.boolean
hasCryptoStreamConfig()
Configure which implementation of ``quic::QuicCryptoClientStreamBase`` to be used for this listener.boolean
hasEnabled()
Runtime flag that controls whether the listener is enabled or not.int
hashCode()
boolean
hasIdleTimeout()
Maximum number of milliseconds that connection will be alive when there is no network activity.boolean
hasPacketsToReadToConnectionCountRatio()
A multiplier to number of connections which is used to determine how many packets to read per event loop.boolean
hasProofSourceConfig()
Configure which implementation of ``quic::ProofSource`` to be used for this listener.boolean
hasQuicProtocolOptions()
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
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>`_.boolean
hasServerPreferredAddressConfig()
Configure the server's preferred address to advertise so that client can migrate to it.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static QuicProtocolOptions.Builder
newBuilder()
static QuicProtocolOptions.Builder
newBuilder(QuicProtocolOptions prototype)
QuicProtocolOptions.Builder
newBuilderForType()
protected QuicProtocolOptions.Builder
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
static QuicProtocolOptions
parseDelimitedFrom(java.io.InputStream input)
static QuicProtocolOptions
parseDelimitedFrom(java.io.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(java.io.InputStream input)
static QuicProtocolOptions
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static QuicProtocolOptions
parseFrom(java.nio.ByteBuffer data)
static QuicProtocolOptions
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<QuicProtocolOptions>
parser()
QuicProtocolOptions.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_
-
QUIC_PROTOCOL_OPTIONS_FIELD_NUMBER
public static final int QUIC_PROTOCOL_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
quicProtocolOptions_
private QuicProtocolOptions quicProtocolOptions_
-
IDLE_TIMEOUT_FIELD_NUMBER
public static final int IDLE_TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
idleTimeout_
private com.google.protobuf.Duration idleTimeout_
-
CRYPTO_HANDSHAKE_TIMEOUT_FIELD_NUMBER
public static final int CRYPTO_HANDSHAKE_TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
cryptoHandshakeTimeout_
private com.google.protobuf.Duration cryptoHandshakeTimeout_
-
ENABLED_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
enabled_
private RuntimeFeatureFlag 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:
- Constant Field Values
-
packetsToReadToConnectionCountRatio_
private com.google.protobuf.UInt32Value packetsToReadToConnectionCountRatio_
-
CRYPTO_STREAM_CONFIG_FIELD_NUMBER
public static final int CRYPTO_STREAM_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
cryptoStreamConfig_
private TypedExtensionConfig cryptoStreamConfig_
-
PROOF_SOURCE_CONFIG_FIELD_NUMBER
public static final int PROOF_SOURCE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
proofSourceConfig_
private TypedExtensionConfig proofSourceConfig_
-
CONNECTION_ID_GENERATOR_CONFIG_FIELD_NUMBER
public static final int CONNECTION_ID_GENERATOR_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
connectionIdGeneratorConfig_
private TypedExtensionConfig connectionIdGeneratorConfig_
-
SERVER_PREFERRED_ADDRESS_CONFIG_FIELD_NUMBER
public static final int SERVER_PREFERRED_ADDRESS_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
serverPreferredAddressConfig_
private TypedExtensionConfig serverPreferredAddressConfig_
-
SEND_DISABLE_ACTIVE_MIGRATION_FIELD_NUMBER
public static final int SEND_DISABLE_ACTIVE_MIGRATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
connectionDebugVisitorConfig_
private TypedExtensionConfig connectionDebugVisitorConfig_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final QuicProtocolOptions DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<QuicProtocolOptions> 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
-
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
public QuicProtocolOptions getQuicProtocolOptions()
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
- Specified by:
getQuicProtocolOptions
in interfaceQuicProtocolOptionsOrBuilder
- Returns:
- The quicProtocolOptions.
-
getQuicProtocolOptionsOrBuilder
public QuicProtocolOptionsOrBuilder 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
public RuntimeFeatureFlag 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
public RuntimeFeatureFlagOrBuilder 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
public TypedExtensionConfig 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
public TypedExtensionConfigOrBuilder 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
public TypedExtensionConfig 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
public TypedExtensionConfigOrBuilder 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
public TypedExtensionConfig 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
public TypedExtensionConfigOrBuilder 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
public TypedExtensionConfig 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
public TypedExtensionConfigOrBuilder 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
public TypedExtensionConfig 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
public TypedExtensionConfigOrBuilder 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
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 QuicProtocolOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuicProtocolOptions parseFrom(java.nio.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
public static QuicProtocolOptions parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static QuicProtocolOptions parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static QuicProtocolOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static QuicProtocolOptions parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static QuicProtocolOptions parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static QuicProtocolOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public QuicProtocolOptions.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static QuicProtocolOptions.Builder newBuilder()
-
newBuilder
public static QuicProtocolOptions.Builder newBuilder(QuicProtocolOptions prototype)
-
toBuilder
public QuicProtocolOptions.Builder 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
public static QuicProtocolOptions getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<QuicProtocolOptions> parser()
-
getParserForType
public com.google.protobuf.Parser<QuicProtocolOptions> 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 QuicProtocolOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-