Class Http2ProtocolOptions
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.envoyproxy.envoy.config.core.v3.Http2ProtocolOptions
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Http2ProtocolOptionsOrBuilder
,java.io.Serializable
public final class Http2ProtocolOptions extends com.google.protobuf.GeneratedMessage implements Http2ProtocolOptionsOrBuilder
[#next-free-field: 17]
Protobuf typeenvoy.config.core.v3.Http2ProtocolOptions
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Http2ProtocolOptions.Builder
[#next-free-field: 17]static class
Http2ProtocolOptions.SettingsParameter
Defines a parameter to be sent in the SETTINGS frame.static interface
Http2ProtocolOptions.SettingsParameterOrBuilder
-
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
Http2ProtocolOptions()
private
Http2ProtocolOptions(com.google.protobuf.GeneratedMessage.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
boolean
getAllowConnect()
Allows proxying Websocket and other upgrades over H2 connect.boolean
getAllowMetadata()
[#not-implemented-hide:] Hiding until Envoy has full metadata support.KeepaliveSettings
getConnectionKeepalive()
Send HTTP/2 PING frames to verify that the connection is still healthy.KeepaliveSettingsOrBuilder
getConnectionKeepaliveOrBuilder()
Send HTTP/2 PING frames to verify that the connection is still healthy.Http2ProtocolOptions.SettingsParameter
getCustomSettingsParameters(int index)
[#not-implemented-hide:] Specifies SETTINGS frame parameters to be sent to the peer, with two exceptions: 1.int
getCustomSettingsParametersCount()
[#not-implemented-hide:] Specifies SETTINGS frame parameters to be sent to the peer, with two exceptions: 1.java.util.List<Http2ProtocolOptions.SettingsParameter>
getCustomSettingsParametersList()
[#not-implemented-hide:] Specifies SETTINGS frame parameters to be sent to the peer, with two exceptions: 1.Http2ProtocolOptions.SettingsParameterOrBuilder
getCustomSettingsParametersOrBuilder(int index)
[#not-implemented-hide:] Specifies SETTINGS frame parameters to be sent to the peer, with two exceptions: 1.java.util.List<? extends Http2ProtocolOptions.SettingsParameterOrBuilder>
getCustomSettingsParametersOrBuilderList()
[#not-implemented-hide:] Specifies SETTINGS frame parameters to be sent to the peer, with two exceptions: 1.static Http2ProtocolOptions
getDefaultInstance()
Http2ProtocolOptions
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.UInt32Value
getHpackTableSize()
`Maximum table size <https://httpwg.org/specs/rfc7541.html#rfc.section.4.2>`_ (in octets) that the encoder is permitted to use for the dynamic HPACK table.com.google.protobuf.UInt32ValueOrBuilder
getHpackTableSizeOrBuilder()
`Maximum table size <https://httpwg.org/specs/rfc7541.html#rfc.section.4.2>`_ (in octets) that the encoder is permitted to use for the dynamic HPACK table.com.google.protobuf.UInt32Value
getInitialConnectionWindowSize()
Similar to ``initial_stream_window_size``, but for connection-level flow-control window.com.google.protobuf.UInt32ValueOrBuilder
getInitialConnectionWindowSizeOrBuilder()
Similar to ``initial_stream_window_size``, but for connection-level flow-control window.com.google.protobuf.UInt32Value
getInitialStreamWindowSize()
`Initial stream-level flow-control window <https://httpwg.org/specs/rfc7540.html#rfc.section.6.9.2>`_ size.com.google.protobuf.UInt32ValueOrBuilder
getInitialStreamWindowSizeOrBuilder()
`Initial stream-level flow-control window <https://httpwg.org/specs/rfc7540.html#rfc.section.6.9.2>`_ size.com.google.protobuf.UInt32Value
getMaxConcurrentStreams()
`Maximum concurrent streams <https://httpwg.org/specs/rfc7540.html#rfc.section.5.1.2>`_ allowed for peer on one HTTP/2 connection.com.google.protobuf.UInt32ValueOrBuilder
getMaxConcurrentStreamsOrBuilder()
`Maximum concurrent streams <https://httpwg.org/specs/rfc7540.html#rfc.section.5.1.2>`_ allowed for peer on one HTTP/2 connection.com.google.protobuf.UInt32Value
getMaxConsecutiveInboundFramesWithEmptyPayload()
Limit the number of consecutive inbound frames of types HEADERS, CONTINUATION and DATA with an empty payload and no end stream flag.com.google.protobuf.UInt32ValueOrBuilder
getMaxConsecutiveInboundFramesWithEmptyPayloadOrBuilder()
Limit the number of consecutive inbound frames of types HEADERS, CONTINUATION and DATA with an empty payload and no end stream flag.com.google.protobuf.UInt32Value
getMaxInboundPriorityFramesPerStream()
Limit the number of inbound PRIORITY frames allowed per each opened stream.com.google.protobuf.UInt32ValueOrBuilder
getMaxInboundPriorityFramesPerStreamOrBuilder()
Limit the number of inbound PRIORITY frames allowed per each opened stream.com.google.protobuf.UInt32Value
getMaxInboundWindowUpdateFramesPerDataFrameSent()
Limit the number of inbound WINDOW_UPDATE frames allowed per DATA frame sent.com.google.protobuf.UInt32ValueOrBuilder
getMaxInboundWindowUpdateFramesPerDataFrameSentOrBuilder()
Limit the number of inbound WINDOW_UPDATE frames allowed per DATA frame sent.com.google.protobuf.UInt32Value
getMaxOutboundControlFrames()
Limit the number of pending outbound downstream frames of types PING, SETTINGS and RST_STREAM, preventing high memory utilization when receiving continuous stream of these frames.com.google.protobuf.UInt32ValueOrBuilder
getMaxOutboundControlFramesOrBuilder()
Limit the number of pending outbound downstream frames of types PING, SETTINGS and RST_STREAM, preventing high memory utilization when receiving continuous stream of these frames.com.google.protobuf.UInt32Value
getMaxOutboundFrames()
Limit the number of pending outbound downstream frames of all types (frames that are waiting to be written into the socket).com.google.protobuf.UInt32ValueOrBuilder
getMaxOutboundFramesOrBuilder()
Limit the number of pending outbound downstream frames of all types (frames that are waiting to be written into the socket).com.google.protobuf.BoolValue
getOverrideStreamErrorOnInvalidHttpMessage()
Allows invalid HTTP messaging and headers.com.google.protobuf.BoolValueOrBuilder
getOverrideStreamErrorOnInvalidHttpMessageOrBuilder()
Allows invalid HTTP messaging and headers.com.google.protobuf.Parser<Http2ProtocolOptions>
getParserForType()
int
getSerializedSize()
boolean
getStreamErrorOnInvalidHttpMessaging()
Deprecated.envoy.config.core.v3.Http2ProtocolOptions.stream_error_on_invalid_http_messaging is deprecated.com.google.protobuf.BoolValue
getUseOghttp2Codec()
[#not-implemented-hide:] Hiding so that the field can be removed after oghttp2 is rolled out.com.google.protobuf.BoolValueOrBuilder
getUseOghttp2CodecOrBuilder()
[#not-implemented-hide:] Hiding so that the field can be removed after oghttp2 is rolled out.boolean
hasConnectionKeepalive()
Send HTTP/2 PING frames to verify that the connection is still healthy.int
hashCode()
boolean
hasHpackTableSize()
`Maximum table size <https://httpwg.org/specs/rfc7541.html#rfc.section.4.2>`_ (in octets) that the encoder is permitted to use for the dynamic HPACK table.boolean
hasInitialConnectionWindowSize()
Similar to ``initial_stream_window_size``, but for connection-level flow-control window.boolean
hasInitialStreamWindowSize()
`Initial stream-level flow-control window <https://httpwg.org/specs/rfc7540.html#rfc.section.6.9.2>`_ size.boolean
hasMaxConcurrentStreams()
`Maximum concurrent streams <https://httpwg.org/specs/rfc7540.html#rfc.section.5.1.2>`_ allowed for peer on one HTTP/2 connection.boolean
hasMaxConsecutiveInboundFramesWithEmptyPayload()
Limit the number of consecutive inbound frames of types HEADERS, CONTINUATION and DATA with an empty payload and no end stream flag.boolean
hasMaxInboundPriorityFramesPerStream()
Limit the number of inbound PRIORITY frames allowed per each opened stream.boolean
hasMaxInboundWindowUpdateFramesPerDataFrameSent()
Limit the number of inbound WINDOW_UPDATE frames allowed per DATA frame sent.boolean
hasMaxOutboundControlFrames()
Limit the number of pending outbound downstream frames of types PING, SETTINGS and RST_STREAM, preventing high memory utilization when receiving continuous stream of these frames.boolean
hasMaxOutboundFrames()
Limit the number of pending outbound downstream frames of all types (frames that are waiting to be written into the socket).boolean
hasOverrideStreamErrorOnInvalidHttpMessage()
Allows invalid HTTP messaging and headers.boolean
hasUseOghttp2Codec()
[#not-implemented-hide:] Hiding so that the field can be removed after oghttp2 is rolled out.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Http2ProtocolOptions.Builder
newBuilder()
static Http2ProtocolOptions.Builder
newBuilder(Http2ProtocolOptions prototype)
Http2ProtocolOptions.Builder
newBuilderForType()
protected Http2ProtocolOptions.Builder
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
static Http2ProtocolOptions
parseDelimitedFrom(java.io.InputStream input)
static Http2ProtocolOptions
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Http2ProtocolOptions
parseFrom(byte[] data)
static Http2ProtocolOptions
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Http2ProtocolOptions
parseFrom(com.google.protobuf.ByteString data)
static Http2ProtocolOptions
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Http2ProtocolOptions
parseFrom(com.google.protobuf.CodedInputStream input)
static Http2ProtocolOptions
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Http2ProtocolOptions
parseFrom(java.io.InputStream input)
static Http2ProtocolOptions
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Http2ProtocolOptions
parseFrom(java.nio.ByteBuffer data)
static Http2ProtocolOptions
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Http2ProtocolOptions>
parser()
Http2ProtocolOptions.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_
-
HPACK_TABLE_SIZE_FIELD_NUMBER
public static final int HPACK_TABLE_SIZE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
hpackTableSize_
private com.google.protobuf.UInt32Value hpackTableSize_
-
MAX_CONCURRENT_STREAMS_FIELD_NUMBER
public static final int MAX_CONCURRENT_STREAMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
maxConcurrentStreams_
private com.google.protobuf.UInt32Value maxConcurrentStreams_
-
INITIAL_STREAM_WINDOW_SIZE_FIELD_NUMBER
public static final int INITIAL_STREAM_WINDOW_SIZE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
initialStreamWindowSize_
private com.google.protobuf.UInt32Value initialStreamWindowSize_
-
INITIAL_CONNECTION_WINDOW_SIZE_FIELD_NUMBER
public static final int INITIAL_CONNECTION_WINDOW_SIZE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
initialConnectionWindowSize_
private com.google.protobuf.UInt32Value initialConnectionWindowSize_
-
ALLOW_CONNECT_FIELD_NUMBER
public static final int ALLOW_CONNECT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
allowConnect_
private boolean allowConnect_
-
ALLOW_METADATA_FIELD_NUMBER
public static final int ALLOW_METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
allowMetadata_
private boolean allowMetadata_
-
MAX_OUTBOUND_FRAMES_FIELD_NUMBER
public static final int MAX_OUTBOUND_FRAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
maxOutboundFrames_
private com.google.protobuf.UInt32Value maxOutboundFrames_
-
MAX_OUTBOUND_CONTROL_FRAMES_FIELD_NUMBER
public static final int MAX_OUTBOUND_CONTROL_FRAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
maxOutboundControlFrames_
private com.google.protobuf.UInt32Value maxOutboundControlFrames_
-
MAX_CONSECUTIVE_INBOUND_FRAMES_WITH_EMPTY_PAYLOAD_FIELD_NUMBER
public static final int MAX_CONSECUTIVE_INBOUND_FRAMES_WITH_EMPTY_PAYLOAD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
maxConsecutiveInboundFramesWithEmptyPayload_
private com.google.protobuf.UInt32Value maxConsecutiveInboundFramesWithEmptyPayload_
-
MAX_INBOUND_PRIORITY_FRAMES_PER_STREAM_FIELD_NUMBER
public static final int MAX_INBOUND_PRIORITY_FRAMES_PER_STREAM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
maxInboundPriorityFramesPerStream_
private com.google.protobuf.UInt32Value maxInboundPriorityFramesPerStream_
-
MAX_INBOUND_WINDOW_UPDATE_FRAMES_PER_DATA_FRAME_SENT_FIELD_NUMBER
public static final int MAX_INBOUND_WINDOW_UPDATE_FRAMES_PER_DATA_FRAME_SENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
maxInboundWindowUpdateFramesPerDataFrameSent_
private com.google.protobuf.UInt32Value maxInboundWindowUpdateFramesPerDataFrameSent_
-
STREAM_ERROR_ON_INVALID_HTTP_MESSAGING_FIELD_NUMBER
public static final int STREAM_ERROR_ON_INVALID_HTTP_MESSAGING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
streamErrorOnInvalidHttpMessaging_
private boolean streamErrorOnInvalidHttpMessaging_
-
OVERRIDE_STREAM_ERROR_ON_INVALID_HTTP_MESSAGE_FIELD_NUMBER
public static final int OVERRIDE_STREAM_ERROR_ON_INVALID_HTTP_MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
overrideStreamErrorOnInvalidHttpMessage_
private com.google.protobuf.BoolValue overrideStreamErrorOnInvalidHttpMessage_
-
CUSTOM_SETTINGS_PARAMETERS_FIELD_NUMBER
public static final int CUSTOM_SETTINGS_PARAMETERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
customSettingsParameters_
private java.util.List<Http2ProtocolOptions.SettingsParameter> customSettingsParameters_
-
CONNECTION_KEEPALIVE_FIELD_NUMBER
public static final int CONNECTION_KEEPALIVE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
connectionKeepalive_
private KeepaliveSettings connectionKeepalive_
-
USE_OGHTTP2_CODEC_FIELD_NUMBER
public static final int USE_OGHTTP2_CODEC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
useOghttp2Codec_
private com.google.protobuf.BoolValue useOghttp2Codec_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Http2ProtocolOptions DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Http2ProtocolOptions> 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
-
hasHpackTableSize
public boolean hasHpackTableSize()
`Maximum table size <https://httpwg.org/specs/rfc7541.html#rfc.section.4.2>`_ (in octets) that the encoder is permitted to use for the dynamic HPACK table. Valid values range from 0 to 4294967295 (2^32 - 1) and defaults to 4096. 0 effectively disables header compression.
.google.protobuf.UInt32Value hpack_table_size = 1;
- Specified by:
hasHpackTableSize
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- Whether the hpackTableSize field is set.
-
getHpackTableSize
public com.google.protobuf.UInt32Value getHpackTableSize()
`Maximum table size <https://httpwg.org/specs/rfc7541.html#rfc.section.4.2>`_ (in octets) that the encoder is permitted to use for the dynamic HPACK table. Valid values range from 0 to 4294967295 (2^32 - 1) and defaults to 4096. 0 effectively disables header compression.
.google.protobuf.UInt32Value hpack_table_size = 1;
- Specified by:
getHpackTableSize
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- The hpackTableSize.
-
getHpackTableSizeOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getHpackTableSizeOrBuilder()
`Maximum table size <https://httpwg.org/specs/rfc7541.html#rfc.section.4.2>`_ (in octets) that the encoder is permitted to use for the dynamic HPACK table. Valid values range from 0 to 4294967295 (2^32 - 1) and defaults to 4096. 0 effectively disables header compression.
.google.protobuf.UInt32Value hpack_table_size = 1;
- Specified by:
getHpackTableSizeOrBuilder
in interfaceHttp2ProtocolOptionsOrBuilder
-
hasMaxConcurrentStreams
public boolean hasMaxConcurrentStreams()
`Maximum concurrent streams <https://httpwg.org/specs/rfc7540.html#rfc.section.5.1.2>`_ allowed for peer on one HTTP/2 connection. Valid values range from 1 to 2147483647 (2^31 - 1) and defaults to 2147483647. For upstream connections, this also limits how many streams Envoy will initiate concurrently on a single connection. If the limit is reached, Envoy may queue requests or establish additional connections (as allowed per circuit breaker limits). This acts as an upper bound: Envoy will lower the max concurrent streams allowed on a given connection based on upstream settings. Config dumps will reflect the configured upper bound, not the per-connection negotiated limits.
.google.protobuf.UInt32Value max_concurrent_streams = 2 [(.validate.rules) = { ... }
- Specified by:
hasMaxConcurrentStreams
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- Whether the maxConcurrentStreams field is set.
-
getMaxConcurrentStreams
public com.google.protobuf.UInt32Value getMaxConcurrentStreams()
`Maximum concurrent streams <https://httpwg.org/specs/rfc7540.html#rfc.section.5.1.2>`_ allowed for peer on one HTTP/2 connection. Valid values range from 1 to 2147483647 (2^31 - 1) and defaults to 2147483647. For upstream connections, this also limits how many streams Envoy will initiate concurrently on a single connection. If the limit is reached, Envoy may queue requests or establish additional connections (as allowed per circuit breaker limits). This acts as an upper bound: Envoy will lower the max concurrent streams allowed on a given connection based on upstream settings. Config dumps will reflect the configured upper bound, not the per-connection negotiated limits.
.google.protobuf.UInt32Value max_concurrent_streams = 2 [(.validate.rules) = { ... }
- Specified by:
getMaxConcurrentStreams
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- The maxConcurrentStreams.
-
getMaxConcurrentStreamsOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxConcurrentStreamsOrBuilder()
`Maximum concurrent streams <https://httpwg.org/specs/rfc7540.html#rfc.section.5.1.2>`_ allowed for peer on one HTTP/2 connection. Valid values range from 1 to 2147483647 (2^31 - 1) and defaults to 2147483647. For upstream connections, this also limits how many streams Envoy will initiate concurrently on a single connection. If the limit is reached, Envoy may queue requests or establish additional connections (as allowed per circuit breaker limits). This acts as an upper bound: Envoy will lower the max concurrent streams allowed on a given connection based on upstream settings. Config dumps will reflect the configured upper bound, not the per-connection negotiated limits.
.google.protobuf.UInt32Value max_concurrent_streams = 2 [(.validate.rules) = { ... }
- Specified by:
getMaxConcurrentStreamsOrBuilder
in interfaceHttp2ProtocolOptionsOrBuilder
-
hasInitialStreamWindowSize
public boolean hasInitialStreamWindowSize()
`Initial stream-level flow-control window <https://httpwg.org/specs/rfc7540.html#rfc.section.6.9.2>`_ size. Valid values range from 65535 (2^16 - 1, HTTP/2 default) to 2147483647 (2^31 - 1, HTTP/2 maximum) and defaults to 268435456 (256 * 1024 * 1024). NOTE: 65535 is the initial window size from HTTP/2 spec. We only support increasing the default window size now, so it's also the minimum. This field also acts as a soft limit on the number of bytes Envoy will buffer per-stream in the HTTP/2 codec buffers. Once the buffer reaches this pointer, watermark callbacks will fire to stop the flow of data to the codec buffers.
.google.protobuf.UInt32Value initial_stream_window_size = 3 [(.validate.rules) = { ... }
- Specified by:
hasInitialStreamWindowSize
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- Whether the initialStreamWindowSize field is set.
-
getInitialStreamWindowSize
public com.google.protobuf.UInt32Value getInitialStreamWindowSize()
`Initial stream-level flow-control window <https://httpwg.org/specs/rfc7540.html#rfc.section.6.9.2>`_ size. Valid values range from 65535 (2^16 - 1, HTTP/2 default) to 2147483647 (2^31 - 1, HTTP/2 maximum) and defaults to 268435456 (256 * 1024 * 1024). NOTE: 65535 is the initial window size from HTTP/2 spec. We only support increasing the default window size now, so it's also the minimum. This field also acts as a soft limit on the number of bytes Envoy will buffer per-stream in the HTTP/2 codec buffers. Once the buffer reaches this pointer, watermark callbacks will fire to stop the flow of data to the codec buffers.
.google.protobuf.UInt32Value initial_stream_window_size = 3 [(.validate.rules) = { ... }
- Specified by:
getInitialStreamWindowSize
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- The initialStreamWindowSize.
-
getInitialStreamWindowSizeOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getInitialStreamWindowSizeOrBuilder()
`Initial stream-level flow-control window <https://httpwg.org/specs/rfc7540.html#rfc.section.6.9.2>`_ size. Valid values range from 65535 (2^16 - 1, HTTP/2 default) to 2147483647 (2^31 - 1, HTTP/2 maximum) and defaults to 268435456 (256 * 1024 * 1024). NOTE: 65535 is the initial window size from HTTP/2 spec. We only support increasing the default window size now, so it's also the minimum. This field also acts as a soft limit on the number of bytes Envoy will buffer per-stream in the HTTP/2 codec buffers. Once the buffer reaches this pointer, watermark callbacks will fire to stop the flow of data to the codec buffers.
.google.protobuf.UInt32Value initial_stream_window_size = 3 [(.validate.rules) = { ... }
- Specified by:
getInitialStreamWindowSizeOrBuilder
in interfaceHttp2ProtocolOptionsOrBuilder
-
hasInitialConnectionWindowSize
public boolean hasInitialConnectionWindowSize()
Similar to ``initial_stream_window_size``, but for connection-level flow-control window. Currently, this has the same minimum/maximum/default as ``initial_stream_window_size``.
.google.protobuf.UInt32Value initial_connection_window_size = 4 [(.validate.rules) = { ... }
- Specified by:
hasInitialConnectionWindowSize
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- Whether the initialConnectionWindowSize field is set.
-
getInitialConnectionWindowSize
public com.google.protobuf.UInt32Value getInitialConnectionWindowSize()
Similar to ``initial_stream_window_size``, but for connection-level flow-control window. Currently, this has the same minimum/maximum/default as ``initial_stream_window_size``.
.google.protobuf.UInt32Value initial_connection_window_size = 4 [(.validate.rules) = { ... }
- Specified by:
getInitialConnectionWindowSize
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- The initialConnectionWindowSize.
-
getInitialConnectionWindowSizeOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getInitialConnectionWindowSizeOrBuilder()
Similar to ``initial_stream_window_size``, but for connection-level flow-control window. Currently, this has the same minimum/maximum/default as ``initial_stream_window_size``.
.google.protobuf.UInt32Value initial_connection_window_size = 4 [(.validate.rules) = { ... }
- Specified by:
getInitialConnectionWindowSizeOrBuilder
in interfaceHttp2ProtocolOptionsOrBuilder
-
getAllowConnect
public boolean getAllowConnect()
Allows proxying Websocket and other upgrades over H2 connect.
bool allow_connect = 5;
- Specified by:
getAllowConnect
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- The allowConnect.
-
getAllowMetadata
public boolean getAllowMetadata()
[#not-implemented-hide:] Hiding until Envoy has full metadata support. Still under implementation. DO NOT USE. Allows sending and receiving HTTP/2 METADATA frames. See [metadata docs](https://github.com/envoyproxy/envoy/blob/main/source/docs/h2_metadata.md) for more information.
bool allow_metadata = 6;
- Specified by:
getAllowMetadata
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- The allowMetadata.
-
hasMaxOutboundFrames
public boolean hasMaxOutboundFrames()
Limit the number of pending outbound downstream frames of all types (frames that are waiting to be written into the socket). Exceeding this limit triggers flood mitigation and connection is terminated. The ``http2.outbound_flood`` stat tracks the number of terminated connections due to flood mitigation. The default limit is 10000.
.google.protobuf.UInt32Value max_outbound_frames = 7 [(.validate.rules) = { ... }
- Specified by:
hasMaxOutboundFrames
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- Whether the maxOutboundFrames field is set.
-
getMaxOutboundFrames
public com.google.protobuf.UInt32Value getMaxOutboundFrames()
Limit the number of pending outbound downstream frames of all types (frames that are waiting to be written into the socket). Exceeding this limit triggers flood mitigation and connection is terminated. The ``http2.outbound_flood`` stat tracks the number of terminated connections due to flood mitigation. The default limit is 10000.
.google.protobuf.UInt32Value max_outbound_frames = 7 [(.validate.rules) = { ... }
- Specified by:
getMaxOutboundFrames
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- The maxOutboundFrames.
-
getMaxOutboundFramesOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxOutboundFramesOrBuilder()
Limit the number of pending outbound downstream frames of all types (frames that are waiting to be written into the socket). Exceeding this limit triggers flood mitigation and connection is terminated. The ``http2.outbound_flood`` stat tracks the number of terminated connections due to flood mitigation. The default limit is 10000.
.google.protobuf.UInt32Value max_outbound_frames = 7 [(.validate.rules) = { ... }
- Specified by:
getMaxOutboundFramesOrBuilder
in interfaceHttp2ProtocolOptionsOrBuilder
-
hasMaxOutboundControlFrames
public boolean hasMaxOutboundControlFrames()
Limit the number of pending outbound downstream frames of types PING, SETTINGS and RST_STREAM, preventing high memory utilization when receiving continuous stream of these frames. Exceeding this limit triggers flood mitigation and connection is terminated. The ``http2.outbound_control_flood`` stat tracks the number of terminated connections due to flood mitigation. The default limit is 1000.
.google.protobuf.UInt32Value max_outbound_control_frames = 8 [(.validate.rules) = { ... }
- Specified by:
hasMaxOutboundControlFrames
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- Whether the maxOutboundControlFrames field is set.
-
getMaxOutboundControlFrames
public com.google.protobuf.UInt32Value getMaxOutboundControlFrames()
Limit the number of pending outbound downstream frames of types PING, SETTINGS and RST_STREAM, preventing high memory utilization when receiving continuous stream of these frames. Exceeding this limit triggers flood mitigation and connection is terminated. The ``http2.outbound_control_flood`` stat tracks the number of terminated connections due to flood mitigation. The default limit is 1000.
.google.protobuf.UInt32Value max_outbound_control_frames = 8 [(.validate.rules) = { ... }
- Specified by:
getMaxOutboundControlFrames
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- The maxOutboundControlFrames.
-
getMaxOutboundControlFramesOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxOutboundControlFramesOrBuilder()
Limit the number of pending outbound downstream frames of types PING, SETTINGS and RST_STREAM, preventing high memory utilization when receiving continuous stream of these frames. Exceeding this limit triggers flood mitigation and connection is terminated. The ``http2.outbound_control_flood`` stat tracks the number of terminated connections due to flood mitigation. The default limit is 1000.
.google.protobuf.UInt32Value max_outbound_control_frames = 8 [(.validate.rules) = { ... }
- Specified by:
getMaxOutboundControlFramesOrBuilder
in interfaceHttp2ProtocolOptionsOrBuilder
-
hasMaxConsecutiveInboundFramesWithEmptyPayload
public boolean hasMaxConsecutiveInboundFramesWithEmptyPayload()
Limit the number of consecutive inbound frames of types HEADERS, CONTINUATION and DATA with an empty payload and no end stream flag. Those frames have no legitimate use and are abusive, but might be a result of a broken HTTP/2 implementation. The `http2.inbound_empty_frames_flood`` stat tracks the number of connections terminated due to flood mitigation. Setting this to 0 will terminate connection upon receiving first frame with an empty payload and no end stream flag. The default limit is 1.
.google.protobuf.UInt32Value max_consecutive_inbound_frames_with_empty_payload = 9;
- Specified by:
hasMaxConsecutiveInboundFramesWithEmptyPayload
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- Whether the maxConsecutiveInboundFramesWithEmptyPayload field is set.
-
getMaxConsecutiveInboundFramesWithEmptyPayload
public com.google.protobuf.UInt32Value getMaxConsecutiveInboundFramesWithEmptyPayload()
Limit the number of consecutive inbound frames of types HEADERS, CONTINUATION and DATA with an empty payload and no end stream flag. Those frames have no legitimate use and are abusive, but might be a result of a broken HTTP/2 implementation. The `http2.inbound_empty_frames_flood`` stat tracks the number of connections terminated due to flood mitigation. Setting this to 0 will terminate connection upon receiving first frame with an empty payload and no end stream flag. The default limit is 1.
.google.protobuf.UInt32Value max_consecutive_inbound_frames_with_empty_payload = 9;
- Specified by:
getMaxConsecutiveInboundFramesWithEmptyPayload
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- The maxConsecutiveInboundFramesWithEmptyPayload.
-
getMaxConsecutiveInboundFramesWithEmptyPayloadOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxConsecutiveInboundFramesWithEmptyPayloadOrBuilder()
Limit the number of consecutive inbound frames of types HEADERS, CONTINUATION and DATA with an empty payload and no end stream flag. Those frames have no legitimate use and are abusive, but might be a result of a broken HTTP/2 implementation. The `http2.inbound_empty_frames_flood`` stat tracks the number of connections terminated due to flood mitigation. Setting this to 0 will terminate connection upon receiving first frame with an empty payload and no end stream flag. The default limit is 1.
.google.protobuf.UInt32Value max_consecutive_inbound_frames_with_empty_payload = 9;
- Specified by:
getMaxConsecutiveInboundFramesWithEmptyPayloadOrBuilder
in interfaceHttp2ProtocolOptionsOrBuilder
-
hasMaxInboundPriorityFramesPerStream
public boolean hasMaxInboundPriorityFramesPerStream()
Limit the number of inbound PRIORITY frames allowed per each opened stream. If the number of PRIORITY frames received over the lifetime of connection exceeds the value calculated using this formula:: ``max_inbound_priority_frames_per_stream`` * (1 + ``opened_streams``) the connection is terminated. For downstream connections the ``opened_streams`` is incremented when Envoy receives complete response headers from the upstream server. For upstream connection the ``opened_streams`` is incremented when Envoy send the HEADERS frame for a new stream. The ``http2.inbound_priority_frames_flood`` stat tracks the number of connections terminated due to flood mitigation. The default limit is 100.
.google.protobuf.UInt32Value max_inbound_priority_frames_per_stream = 10;
- Specified by:
hasMaxInboundPriorityFramesPerStream
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- Whether the maxInboundPriorityFramesPerStream field is set.
-
getMaxInboundPriorityFramesPerStream
public com.google.protobuf.UInt32Value getMaxInboundPriorityFramesPerStream()
Limit the number of inbound PRIORITY frames allowed per each opened stream. If the number of PRIORITY frames received over the lifetime of connection exceeds the value calculated using this formula:: ``max_inbound_priority_frames_per_stream`` * (1 + ``opened_streams``) the connection is terminated. For downstream connections the ``opened_streams`` is incremented when Envoy receives complete response headers from the upstream server. For upstream connection the ``opened_streams`` is incremented when Envoy send the HEADERS frame for a new stream. The ``http2.inbound_priority_frames_flood`` stat tracks the number of connections terminated due to flood mitigation. The default limit is 100.
.google.protobuf.UInt32Value max_inbound_priority_frames_per_stream = 10;
- Specified by:
getMaxInboundPriorityFramesPerStream
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- The maxInboundPriorityFramesPerStream.
-
getMaxInboundPriorityFramesPerStreamOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxInboundPriorityFramesPerStreamOrBuilder()
Limit the number of inbound PRIORITY frames allowed per each opened stream. If the number of PRIORITY frames received over the lifetime of connection exceeds the value calculated using this formula:: ``max_inbound_priority_frames_per_stream`` * (1 + ``opened_streams``) the connection is terminated. For downstream connections the ``opened_streams`` is incremented when Envoy receives complete response headers from the upstream server. For upstream connection the ``opened_streams`` is incremented when Envoy send the HEADERS frame for a new stream. The ``http2.inbound_priority_frames_flood`` stat tracks the number of connections terminated due to flood mitigation. The default limit is 100.
.google.protobuf.UInt32Value max_inbound_priority_frames_per_stream = 10;
- Specified by:
getMaxInboundPriorityFramesPerStreamOrBuilder
in interfaceHttp2ProtocolOptionsOrBuilder
-
hasMaxInboundWindowUpdateFramesPerDataFrameSent
public boolean hasMaxInboundWindowUpdateFramesPerDataFrameSent()
Limit the number of inbound WINDOW_UPDATE frames allowed per DATA frame sent. If the number of WINDOW_UPDATE frames received over the lifetime of connection exceeds the value calculated using this formula:: 5 + 2 * (``opened_streams`` + ``max_inbound_window_update_frames_per_data_frame_sent`` * ``outbound_data_frames``) the connection is terminated. For downstream connections the ``opened_streams`` is incremented when Envoy receives complete response headers from the upstream server. For upstream connections the ``opened_streams`` is incremented when Envoy sends the HEADERS frame for a new stream. The ``http2.inbound_priority_frames_flood`` stat tracks the number of connections terminated due to flood mitigation. The default max_inbound_window_update_frames_per_data_frame_sent value is 10. Setting this to 1 should be enough to support HTTP/2 implementations with basic flow control, but more complex implementations that try to estimate available bandwidth require at least 2.
.google.protobuf.UInt32Value max_inbound_window_update_frames_per_data_frame_sent = 11 [(.validate.rules) = { ... }
- Specified by:
hasMaxInboundWindowUpdateFramesPerDataFrameSent
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- Whether the maxInboundWindowUpdateFramesPerDataFrameSent field is set.
-
getMaxInboundWindowUpdateFramesPerDataFrameSent
public com.google.protobuf.UInt32Value getMaxInboundWindowUpdateFramesPerDataFrameSent()
Limit the number of inbound WINDOW_UPDATE frames allowed per DATA frame sent. If the number of WINDOW_UPDATE frames received over the lifetime of connection exceeds the value calculated using this formula:: 5 + 2 * (``opened_streams`` + ``max_inbound_window_update_frames_per_data_frame_sent`` * ``outbound_data_frames``) the connection is terminated. For downstream connections the ``opened_streams`` is incremented when Envoy receives complete response headers from the upstream server. For upstream connections the ``opened_streams`` is incremented when Envoy sends the HEADERS frame for a new stream. The ``http2.inbound_priority_frames_flood`` stat tracks the number of connections terminated due to flood mitigation. The default max_inbound_window_update_frames_per_data_frame_sent value is 10. Setting this to 1 should be enough to support HTTP/2 implementations with basic flow control, but more complex implementations that try to estimate available bandwidth require at least 2.
.google.protobuf.UInt32Value max_inbound_window_update_frames_per_data_frame_sent = 11 [(.validate.rules) = { ... }
- Specified by:
getMaxInboundWindowUpdateFramesPerDataFrameSent
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- The maxInboundWindowUpdateFramesPerDataFrameSent.
-
getMaxInboundWindowUpdateFramesPerDataFrameSentOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxInboundWindowUpdateFramesPerDataFrameSentOrBuilder()
Limit the number of inbound WINDOW_UPDATE frames allowed per DATA frame sent. If the number of WINDOW_UPDATE frames received over the lifetime of connection exceeds the value calculated using this formula:: 5 + 2 * (``opened_streams`` + ``max_inbound_window_update_frames_per_data_frame_sent`` * ``outbound_data_frames``) the connection is terminated. For downstream connections the ``opened_streams`` is incremented when Envoy receives complete response headers from the upstream server. For upstream connections the ``opened_streams`` is incremented when Envoy sends the HEADERS frame for a new stream. The ``http2.inbound_priority_frames_flood`` stat tracks the number of connections terminated due to flood mitigation. The default max_inbound_window_update_frames_per_data_frame_sent value is 10. Setting this to 1 should be enough to support HTTP/2 implementations with basic flow control, but more complex implementations that try to estimate available bandwidth require at least 2.
.google.protobuf.UInt32Value max_inbound_window_update_frames_per_data_frame_sent = 11 [(.validate.rules) = { ... }
- Specified by:
getMaxInboundWindowUpdateFramesPerDataFrameSentOrBuilder
in interfaceHttp2ProtocolOptionsOrBuilder
-
getStreamErrorOnInvalidHttpMessaging
@Deprecated public boolean getStreamErrorOnInvalidHttpMessaging()
Deprecated.envoy.config.core.v3.Http2ProtocolOptions.stream_error_on_invalid_http_messaging is deprecated. See envoy/config/core/v3/protocol.proto;l=559Allows invalid HTTP messaging and headers. When this option is disabled (default), then the whole HTTP/2 connection is terminated upon receiving invalid HEADERS frame. However, when this option is enabled, only the offending stream is terminated. This is overridden by HCM :ref:`stream_error_on_invalid_http_messaging <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_error_on_invalid_http_message>` iff present. This is deprecated in favor of :ref:`override_stream_error_on_invalid_http_message <envoy_v3_api_field_config.core.v3.Http2ProtocolOptions.override_stream_error_on_invalid_http_message>` See `RFC7540, sec. 8.1 <https://tools.ietf.org/html/rfc7540#section-8.1>`_ for details.
bool stream_error_on_invalid_http_messaging = 12 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getStreamErrorOnInvalidHttpMessaging
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- The streamErrorOnInvalidHttpMessaging.
-
hasOverrideStreamErrorOnInvalidHttpMessage
public boolean hasOverrideStreamErrorOnInvalidHttpMessage()
Allows invalid HTTP messaging and headers. When this option is disabled (default), then the whole HTTP/2 connection is terminated upon receiving invalid HEADERS frame. However, when this option is enabled, only the offending stream is terminated. This overrides any HCM :ref:`stream_error_on_invalid_http_messaging <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_error_on_invalid_http_message>` See `RFC7540, sec. 8.1 <https://tools.ietf.org/html/rfc7540#section-8.1>`_ for details.
.google.protobuf.BoolValue override_stream_error_on_invalid_http_message = 14;
- Specified by:
hasOverrideStreamErrorOnInvalidHttpMessage
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- Whether the overrideStreamErrorOnInvalidHttpMessage field is set.
-
getOverrideStreamErrorOnInvalidHttpMessage
public com.google.protobuf.BoolValue getOverrideStreamErrorOnInvalidHttpMessage()
Allows invalid HTTP messaging and headers. When this option is disabled (default), then the whole HTTP/2 connection is terminated upon receiving invalid HEADERS frame. However, when this option is enabled, only the offending stream is terminated. This overrides any HCM :ref:`stream_error_on_invalid_http_messaging <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_error_on_invalid_http_message>` See `RFC7540, sec. 8.1 <https://tools.ietf.org/html/rfc7540#section-8.1>`_ for details.
.google.protobuf.BoolValue override_stream_error_on_invalid_http_message = 14;
- Specified by:
getOverrideStreamErrorOnInvalidHttpMessage
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- The overrideStreamErrorOnInvalidHttpMessage.
-
getOverrideStreamErrorOnInvalidHttpMessageOrBuilder
public com.google.protobuf.BoolValueOrBuilder getOverrideStreamErrorOnInvalidHttpMessageOrBuilder()
Allows invalid HTTP messaging and headers. When this option is disabled (default), then the whole HTTP/2 connection is terminated upon receiving invalid HEADERS frame. However, when this option is enabled, only the offending stream is terminated. This overrides any HCM :ref:`stream_error_on_invalid_http_messaging <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.stream_error_on_invalid_http_message>` See `RFC7540, sec. 8.1 <https://tools.ietf.org/html/rfc7540#section-8.1>`_ for details.
.google.protobuf.BoolValue override_stream_error_on_invalid_http_message = 14;
- Specified by:
getOverrideStreamErrorOnInvalidHttpMessageOrBuilder
in interfaceHttp2ProtocolOptionsOrBuilder
-
getCustomSettingsParametersList
public java.util.List<Http2ProtocolOptions.SettingsParameter> getCustomSettingsParametersList()
[#not-implemented-hide:] Specifies SETTINGS frame parameters to be sent to the peer, with two exceptions: 1. SETTINGS_ENABLE_PUSH (0x2) is not configurable as HTTP/2 server push is not supported by Envoy. 2. SETTINGS_ENABLE_CONNECT_PROTOCOL (0x8) is only configurable through the named field 'allow_connect'. Note that custom parameters specified through this field can not also be set in the corresponding named parameters: .. code-block:: text ID Field Name ---------------- 0x1 hpack_table_size 0x3 max_concurrent_streams 0x4 initial_stream_window_size Collisions will trigger config validation failure on load/update. Likewise, inconsistencies between custom parameters with the same identifier will trigger a failure. See `IANA HTTP/2 Settings <https://www.iana.org/assignments/http2-parameters/http2-parameters.xhtml#settings>`_ for standardized identifiers.
repeated .envoy.config.core.v3.Http2ProtocolOptions.SettingsParameter custom_settings_parameters = 13;
- Specified by:
getCustomSettingsParametersList
in interfaceHttp2ProtocolOptionsOrBuilder
-
getCustomSettingsParametersOrBuilderList
public java.util.List<? extends Http2ProtocolOptions.SettingsParameterOrBuilder> getCustomSettingsParametersOrBuilderList()
[#not-implemented-hide:] Specifies SETTINGS frame parameters to be sent to the peer, with two exceptions: 1. SETTINGS_ENABLE_PUSH (0x2) is not configurable as HTTP/2 server push is not supported by Envoy. 2. SETTINGS_ENABLE_CONNECT_PROTOCOL (0x8) is only configurable through the named field 'allow_connect'. Note that custom parameters specified through this field can not also be set in the corresponding named parameters: .. code-block:: text ID Field Name ---------------- 0x1 hpack_table_size 0x3 max_concurrent_streams 0x4 initial_stream_window_size Collisions will trigger config validation failure on load/update. Likewise, inconsistencies between custom parameters with the same identifier will trigger a failure. See `IANA HTTP/2 Settings <https://www.iana.org/assignments/http2-parameters/http2-parameters.xhtml#settings>`_ for standardized identifiers.
repeated .envoy.config.core.v3.Http2ProtocolOptions.SettingsParameter custom_settings_parameters = 13;
- Specified by:
getCustomSettingsParametersOrBuilderList
in interfaceHttp2ProtocolOptionsOrBuilder
-
getCustomSettingsParametersCount
public int getCustomSettingsParametersCount()
[#not-implemented-hide:] Specifies SETTINGS frame parameters to be sent to the peer, with two exceptions: 1. SETTINGS_ENABLE_PUSH (0x2) is not configurable as HTTP/2 server push is not supported by Envoy. 2. SETTINGS_ENABLE_CONNECT_PROTOCOL (0x8) is only configurable through the named field 'allow_connect'. Note that custom parameters specified through this field can not also be set in the corresponding named parameters: .. code-block:: text ID Field Name ---------------- 0x1 hpack_table_size 0x3 max_concurrent_streams 0x4 initial_stream_window_size Collisions will trigger config validation failure on load/update. Likewise, inconsistencies between custom parameters with the same identifier will trigger a failure. See `IANA HTTP/2 Settings <https://www.iana.org/assignments/http2-parameters/http2-parameters.xhtml#settings>`_ for standardized identifiers.
repeated .envoy.config.core.v3.Http2ProtocolOptions.SettingsParameter custom_settings_parameters = 13;
- Specified by:
getCustomSettingsParametersCount
in interfaceHttp2ProtocolOptionsOrBuilder
-
getCustomSettingsParameters
public Http2ProtocolOptions.SettingsParameter getCustomSettingsParameters(int index)
[#not-implemented-hide:] Specifies SETTINGS frame parameters to be sent to the peer, with two exceptions: 1. SETTINGS_ENABLE_PUSH (0x2) is not configurable as HTTP/2 server push is not supported by Envoy. 2. SETTINGS_ENABLE_CONNECT_PROTOCOL (0x8) is only configurable through the named field 'allow_connect'. Note that custom parameters specified through this field can not also be set in the corresponding named parameters: .. code-block:: text ID Field Name ---------------- 0x1 hpack_table_size 0x3 max_concurrent_streams 0x4 initial_stream_window_size Collisions will trigger config validation failure on load/update. Likewise, inconsistencies between custom parameters with the same identifier will trigger a failure. See `IANA HTTP/2 Settings <https://www.iana.org/assignments/http2-parameters/http2-parameters.xhtml#settings>`_ for standardized identifiers.
repeated .envoy.config.core.v3.Http2ProtocolOptions.SettingsParameter custom_settings_parameters = 13;
- Specified by:
getCustomSettingsParameters
in interfaceHttp2ProtocolOptionsOrBuilder
-
getCustomSettingsParametersOrBuilder
public Http2ProtocolOptions.SettingsParameterOrBuilder getCustomSettingsParametersOrBuilder(int index)
[#not-implemented-hide:] Specifies SETTINGS frame parameters to be sent to the peer, with two exceptions: 1. SETTINGS_ENABLE_PUSH (0x2) is not configurable as HTTP/2 server push is not supported by Envoy. 2. SETTINGS_ENABLE_CONNECT_PROTOCOL (0x8) is only configurable through the named field 'allow_connect'. Note that custom parameters specified through this field can not also be set in the corresponding named parameters: .. code-block:: text ID Field Name ---------------- 0x1 hpack_table_size 0x3 max_concurrent_streams 0x4 initial_stream_window_size Collisions will trigger config validation failure on load/update. Likewise, inconsistencies between custom parameters with the same identifier will trigger a failure. See `IANA HTTP/2 Settings <https://www.iana.org/assignments/http2-parameters/http2-parameters.xhtml#settings>`_ for standardized identifiers.
repeated .envoy.config.core.v3.Http2ProtocolOptions.SettingsParameter custom_settings_parameters = 13;
- Specified by:
getCustomSettingsParametersOrBuilder
in interfaceHttp2ProtocolOptionsOrBuilder
-
hasConnectionKeepalive
public boolean hasConnectionKeepalive()
Send HTTP/2 PING frames to verify that the connection is still healthy. If the remote peer does not respond within the configured timeout, the connection will be aborted.
.envoy.config.core.v3.KeepaliveSettings connection_keepalive = 15;
- Specified by:
hasConnectionKeepalive
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- Whether the connectionKeepalive field is set.
-
getConnectionKeepalive
public KeepaliveSettings getConnectionKeepalive()
Send HTTP/2 PING frames to verify that the connection is still healthy. If the remote peer does not respond within the configured timeout, the connection will be aborted.
.envoy.config.core.v3.KeepaliveSettings connection_keepalive = 15;
- Specified by:
getConnectionKeepalive
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- The connectionKeepalive.
-
getConnectionKeepaliveOrBuilder
public KeepaliveSettingsOrBuilder getConnectionKeepaliveOrBuilder()
Send HTTP/2 PING frames to verify that the connection is still healthy. If the remote peer does not respond within the configured timeout, the connection will be aborted.
.envoy.config.core.v3.KeepaliveSettings connection_keepalive = 15;
- Specified by:
getConnectionKeepaliveOrBuilder
in interfaceHttp2ProtocolOptionsOrBuilder
-
hasUseOghttp2Codec
public boolean hasUseOghttp2Codec()
[#not-implemented-hide:] Hiding so that the field can be removed after oghttp2 is rolled out. If set, force use of a particular HTTP/2 codec: oghttp2 if true, nghttp2 if false. If unset, HTTP/2 codec is selected based on envoy.reloadable_features.http2_use_oghttp2.
.google.protobuf.BoolValue use_oghttp2_codec = 16 [(.xds.annotations.v3.field_status) = { ... }
- Specified by:
hasUseOghttp2Codec
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- Whether the useOghttp2Codec field is set.
-
getUseOghttp2Codec
public com.google.protobuf.BoolValue getUseOghttp2Codec()
[#not-implemented-hide:] Hiding so that the field can be removed after oghttp2 is rolled out. If set, force use of a particular HTTP/2 codec: oghttp2 if true, nghttp2 if false. If unset, HTTP/2 codec is selected based on envoy.reloadable_features.http2_use_oghttp2.
.google.protobuf.BoolValue use_oghttp2_codec = 16 [(.xds.annotations.v3.field_status) = { ... }
- Specified by:
getUseOghttp2Codec
in interfaceHttp2ProtocolOptionsOrBuilder
- Returns:
- The useOghttp2Codec.
-
getUseOghttp2CodecOrBuilder
public com.google.protobuf.BoolValueOrBuilder getUseOghttp2CodecOrBuilder()
[#not-implemented-hide:] Hiding so that the field can be removed after oghttp2 is rolled out. If set, force use of a particular HTTP/2 codec: oghttp2 if true, nghttp2 if false. If unset, HTTP/2 codec is selected based on envoy.reloadable_features.http2_use_oghttp2.
.google.protobuf.BoolValue use_oghttp2_codec = 16 [(.xds.annotations.v3.field_status) = { ... }
- Specified by:
getUseOghttp2CodecOrBuilder
in interfaceHttp2ProtocolOptionsOrBuilder
-
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 Http2ProtocolOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Http2ProtocolOptions parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Http2ProtocolOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Http2ProtocolOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Http2ProtocolOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Http2ProtocolOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Http2ProtocolOptions parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Http2ProtocolOptions parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Http2ProtocolOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Http2ProtocolOptions parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Http2ProtocolOptions parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Http2ProtocolOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Http2ProtocolOptions.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Http2ProtocolOptions.Builder newBuilder()
-
newBuilder
public static Http2ProtocolOptions.Builder newBuilder(Http2ProtocolOptions prototype)
-
toBuilder
public Http2ProtocolOptions.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Http2ProtocolOptions.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static Http2ProtocolOptions getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Http2ProtocolOptions> parser()
-
getParserForType
public com.google.protobuf.Parser<Http2ProtocolOptions> 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 Http2ProtocolOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-