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 classQuicProtocolOptions.BuilderConfiguration 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 privateQuicProtocolOptions()privateQuicProtocolOptions(com.google.protobuf.GeneratedMessage.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)TypedExtensionConfiggetConnectionDebugVisitorConfig()Configure which implementation of ``quic::QuicConnectionDebugVisitor`` to be used for this listener.TypedExtensionConfigOrBuildergetConnectionDebugVisitorConfigOrBuilder()Configure which implementation of ``quic::QuicConnectionDebugVisitor`` to be used for this listener.TypedExtensionConfiggetConnectionIdGeneratorConfig()Config which implementation of ``quic::ConnectionIdGeneratorInterface`` to be used for this listener.TypedExtensionConfigOrBuildergetConnectionIdGeneratorConfigOrBuilder()Config which implementation of ``quic::ConnectionIdGeneratorInterface`` to be used for this listener.com.google.protobuf.DurationgetCryptoHandshakeTimeout()Connection timeout in milliseconds before the crypto handshake is finished.com.google.protobuf.DurationOrBuildergetCryptoHandshakeTimeoutOrBuilder()Connection timeout in milliseconds before the crypto handshake is finished.TypedExtensionConfiggetCryptoStreamConfig()Configure which implementation of ``quic::QuicCryptoClientStreamBase`` to be used for this listener.TypedExtensionConfigOrBuildergetCryptoStreamConfigOrBuilder()Configure which implementation of ``quic::QuicCryptoClientStreamBase`` to be used for this listener.static QuicProtocolOptionsgetDefaultInstance()QuicProtocolOptionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()RuntimeFeatureFlaggetEnabled()Runtime flag that controls whether the listener is enabled or not.RuntimeFeatureFlagOrBuildergetEnabledOrBuilder()Runtime flag that controls whether the listener is enabled or not.com.google.protobuf.DurationgetIdleTimeout()Maximum number of milliseconds that connection will be alive when there is no network activity.com.google.protobuf.DurationOrBuildergetIdleTimeoutOrBuilder()Maximum number of milliseconds that connection will be alive when there is no network activity.com.google.protobuf.UInt32ValuegetPacketsToReadToConnectionCountRatio()A multiplier to number of connections which is used to determine how many packets to read per event loop.com.google.protobuf.UInt32ValueOrBuildergetPacketsToReadToConnectionCountRatioOrBuilder()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()TypedExtensionConfiggetProofSourceConfig()Configure which implementation of ``quic::ProofSource`` to be used for this listener.TypedExtensionConfigOrBuildergetProofSourceConfigOrBuilder()Configure which implementation of ``quic::ProofSource`` to be used for this listener.QuicProtocolOptionsgetQuicProtocolOptions().envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;QuicProtocolOptionsOrBuildergetQuicProtocolOptionsOrBuilder().envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;com.google.protobuf.BoolValuegetSendDisableActiveMigration()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.BoolValueOrBuildergetSendDisableActiveMigrationOrBuilder()Configure the server to send transport parameter `disable_active_migration <https://www.rfc-editor.org/rfc/rfc9000#section-18.2-4.30.1>`_.intgetSerializedSize()TypedExtensionConfiggetServerPreferredAddressConfig()Configure the server's preferred address to advertise so that client can migrate to it.TypedExtensionConfigOrBuildergetServerPreferredAddressConfigOrBuilder()Configure the server's preferred address to advertise so that client can migrate to it.booleanhasConnectionDebugVisitorConfig()Configure which implementation of ``quic::QuicConnectionDebugVisitor`` to be used for this listener.booleanhasConnectionIdGeneratorConfig()Config which implementation of ``quic::ConnectionIdGeneratorInterface`` to be used for this listener.booleanhasCryptoHandshakeTimeout()Connection timeout in milliseconds before the crypto handshake is finished.booleanhasCryptoStreamConfig()Configure which implementation of ``quic::QuicCryptoClientStreamBase`` to be used for this listener.booleanhasEnabled()Runtime flag that controls whether the listener is enabled or not.inthashCode()booleanhasIdleTimeout()Maximum number of milliseconds that connection will be alive when there is no network activity.booleanhasPacketsToReadToConnectionCountRatio()A multiplier to number of connections which is used to determine how many packets to read per event loop.booleanhasProofSourceConfig()Configure which implementation of ``quic::ProofSource`` to be used for this listener.booleanhasQuicProtocolOptions().envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;booleanhasSendDisableActiveMigration()Configure the server to send transport parameter `disable_active_migration <https://www.rfc-editor.org/rfc/rfc9000#section-18.2-4.30.1>`_.booleanhasServerPreferredAddressConfig()Configure the server's preferred address to advertise so that client can migrate to it.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static QuicProtocolOptions.BuildernewBuilder()static QuicProtocolOptions.BuildernewBuilder(QuicProtocolOptions prototype)QuicProtocolOptions.BuildernewBuilderForType()protected QuicProtocolOptions.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static QuicProtocolOptionsparseDelimitedFrom(java.io.InputStream input)static QuicProtocolOptionsparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuicProtocolOptionsparseFrom(byte[] data)static QuicProtocolOptionsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuicProtocolOptionsparseFrom(com.google.protobuf.ByteString data)static QuicProtocolOptionsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuicProtocolOptionsparseFrom(com.google.protobuf.CodedInputStream input)static QuicProtocolOptionsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuicProtocolOptionsparseFrom(java.io.InputStream input)static QuicProtocolOptionsparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuicProtocolOptionsparseFrom(java.nio.ByteBuffer data)static QuicProtocolOptionsparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<QuicProtocolOptions>parser()QuicProtocolOptions.BuildertoBuilder()voidwriteTo(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasQuicProtocolOptions
public boolean hasQuicProtocolOptions()
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;- Specified by:
hasQuicProtocolOptionsin interfaceQuicProtocolOptionsOrBuilder- Returns:
- Whether the quicProtocolOptions field is set.
-
getQuicProtocolOptions
public QuicProtocolOptions getQuicProtocolOptions()
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;- Specified by:
getQuicProtocolOptionsin interfaceQuicProtocolOptionsOrBuilder- Returns:
- The quicProtocolOptions.
-
getQuicProtocolOptionsOrBuilder
public QuicProtocolOptionsOrBuilder getQuicProtocolOptionsOrBuilder()
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;- Specified by:
getQuicProtocolOptionsOrBuilderin 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:
hasIdleTimeoutin 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:
getIdleTimeoutin 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:
getIdleTimeoutOrBuilderin 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:
hasCryptoHandshakeTimeoutin 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:
getCryptoHandshakeTimeoutin 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:
getCryptoHandshakeTimeoutOrBuilderin 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:
hasEnabledin 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:
getEnabledin 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:
getEnabledOrBuilderin 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:
hasPacketsToReadToConnectionCountRatioin 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:
getPacketsToReadToConnectionCountRatioin 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:
getPacketsToReadToConnectionCountRatioOrBuilderin 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:
hasCryptoStreamConfigin 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:
getCryptoStreamConfigin 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:
getCryptoStreamConfigOrBuilderin 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:
hasProofSourceConfigin 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:
getProofSourceConfigin 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:
getProofSourceConfigOrBuilderin 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:
hasConnectionIdGeneratorConfigin 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:
getConnectionIdGeneratorConfigin 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:
getConnectionIdGeneratorConfigOrBuilderin 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:
hasServerPreferredAddressConfigin 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:
getServerPreferredAddressConfigin 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:
getServerPreferredAddressConfigOrBuilderin 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:
hasSendDisableActiveMigrationin 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:
getSendDisableActiveMigrationin 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:
getSendDisableActiveMigrationOrBuilderin 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:
hasConnectionDebugVisitorConfigin 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:
getConnectionDebugVisitorConfigin 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:
getConnectionDebugVisitorConfigOrBuilderin interfaceQuicProtocolOptionsOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected QuicProtocolOptions.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public QuicProtocolOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-