Interface QuicProtocolOptionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
QuicProtocolOptions,QuicProtocolOptions.Builder
public interface QuicProtocolOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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.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;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.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;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasQuicProtocolOptions
boolean hasQuicProtocolOptions()
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;- Returns:
- Whether the quicProtocolOptions field is set.
-
getQuicProtocolOptions
QuicProtocolOptions getQuicProtocolOptions()
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;- Returns:
- The quicProtocolOptions.
-
getQuicProtocolOptionsOrBuilder
QuicProtocolOptionsOrBuilder getQuicProtocolOptionsOrBuilder()
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
-
hasIdleTimeout
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;- Returns:
- Whether the idleTimeout field is set.
-
getIdleTimeout
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;- Returns:
- The idleTimeout.
-
getIdleTimeoutOrBuilder
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;
-
hasCryptoHandshakeTimeout
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;- Returns:
- Whether the cryptoHandshakeTimeout field is set.
-
getCryptoHandshakeTimeout
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;- Returns:
- The cryptoHandshakeTimeout.
-
getCryptoHandshakeTimeoutOrBuilder
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;
-
hasEnabled
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;- Returns:
- Whether the enabled field is set.
-
getEnabled
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;- Returns:
- The enabled.
-
getEnabledOrBuilder
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;
-
hasPacketsToReadToConnectionCountRatio
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) = { ... }- Returns:
- Whether the packetsToReadToConnectionCountRatio field is set.
-
getPacketsToReadToConnectionCountRatio
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) = { ... }- Returns:
- The packetsToReadToConnectionCountRatio.
-
getPacketsToReadToConnectionCountRatioOrBuilder
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) = { ... }
-
hasCryptoStreamConfig
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;- Returns:
- Whether the cryptoStreamConfig field is set.
-
getCryptoStreamConfig
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;- Returns:
- The cryptoStreamConfig.
-
getCryptoStreamConfigOrBuilder
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;
-
hasProofSourceConfig
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;- Returns:
- Whether the proofSourceConfig field is set.
-
getProofSourceConfig
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;- Returns:
- The proofSourceConfig.
-
getProofSourceConfigOrBuilder
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;
-
-