Class Http3ProtocolOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Http3ProtocolOptions.Builder>
com.google.protobuf.GeneratedMessage.Builder<Http3ProtocolOptions.Builder>
io.envoyproxy.envoy.config.core.v3.Http3ProtocolOptions.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Http3ProtocolOptionsOrBuilder
,Cloneable
- Enclosing class:
Http3ProtocolOptions
public static final class Http3ProtocolOptions.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Http3ProtocolOptions.Builder>
implements Http3ProtocolOptionsOrBuilder
A message which allows using HTTP/3. [#next-free-field: 7]Protobuf type
envoy.config.core.v3.Http3ProtocolOptions
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private boolean
private int
private com.google.protobuf.BoolValue
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> private QuicProtocolOptions
private com.google.protobuf.SingleFieldBuilder
<QuicProtocolOptions, QuicProtocolOptions.Builder, QuicProtocolOptionsOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
private void
buildPartial0
(Http3ProtocolOptions result) clear()
Allows proxying Websocket and other upgrades over HTTP/3 CONNECT using the header mechanisms from the `HTTP/2 extended connect RFC <https://datatracker.ietf.org/doc/html/rfc8441>`_ and settings `proposed for HTTP/3 <https://datatracker.ietf.org/doc/draft-ietf-httpbis-h3-websockets/>`_ Note that HTTP/3 CONNECT is not yet an RFC.[#not-implemented-hide:] Hiding until Envoy has full metadata support.Allows invalid HTTP messaging and headers..envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
boolean
Allows proxying Websocket and other upgrades over HTTP/3 CONNECT using the header mechanisms from the `HTTP/2 extended connect RFC <https://datatracker.ietf.org/doc/html/rfc8441>`_ and settings `proposed for HTTP/3 <https://datatracker.ietf.org/doc/draft-ietf-httpbis-h3-websockets/>`_ Note that HTTP/3 CONNECT is not yet an RFC.boolean
[#not-implemented-hide:] Hiding until Envoy has full metadata support.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.BoolValue
Allows invalid HTTP messaging and headers.com.google.protobuf.BoolValue.Builder
Allows invalid HTTP messaging and headers.com.google.protobuf.BoolValueOrBuilder
Allows invalid HTTP messaging and headers..envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
boolean
Allows invalid HTTP messaging and headers.boolean
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
private com.google.protobuf.SingleFieldBuilder
<com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> Allows invalid HTTP messaging and headers.private com.google.protobuf.SingleFieldBuilder
<QuicProtocolOptions, QuicProtocolOptions.Builder, QuicProtocolOptionsOrBuilder> .envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
final boolean
private void
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Http3ProtocolOptions other) mergeOverrideStreamErrorOnInvalidHttpMessage
(com.google.protobuf.BoolValue value) Allows invalid HTTP messaging and headers..envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
setAllowExtendedConnect
(boolean value) Allows proxying Websocket and other upgrades over HTTP/3 CONNECT using the header mechanisms from the `HTTP/2 extended connect RFC <https://datatracker.ietf.org/doc/html/rfc8441>`_ and settings `proposed for HTTP/3 <https://datatracker.ietf.org/doc/draft-ietf-httpbis-h3-websockets/>`_ Note that HTTP/3 CONNECT is not yet an RFC.setAllowMetadata
(boolean value) [#not-implemented-hide:] Hiding until Envoy has full metadata support.setOverrideStreamErrorOnInvalidHttpMessage
(com.google.protobuf.BoolValue value) Allows invalid HTTP messaging and headers.setOverrideStreamErrorOnInvalidHttpMessage
(com.google.protobuf.BoolValue.Builder builderForValue) Allows invalid HTTP messaging and headers..envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
setQuicProtocolOptions
(QuicProtocolOptions.Builder builderForValue) .envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
quicProtocolOptions_
-
quicProtocolOptionsBuilder_
private com.google.protobuf.SingleFieldBuilder<QuicProtocolOptions,QuicProtocolOptions.Builder, quicProtocolOptionsBuilder_QuicProtocolOptionsOrBuilder> -
overrideStreamErrorOnInvalidHttpMessage_
private com.google.protobuf.BoolValue overrideStreamErrorOnInvalidHttpMessage_ -
overrideStreamErrorOnInvalidHttpMessageBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder, overrideStreamErrorOnInvalidHttpMessageBuilder_com.google.protobuf.BoolValueOrBuilder> -
allowExtendedConnect_
private boolean allowExtendedConnect_ -
allowMetadata_
private boolean allowMetadata_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Http3ProtocolOptions.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Http3ProtocolOptions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Http3ProtocolOptions.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Http3ProtocolOptions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Http3ProtocolOptions.Builder>
-
mergeFrom
public Http3ProtocolOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Http3ProtocolOptions.Builder>
- Throws:
IOException
-
hasQuicProtocolOptions
public boolean hasQuicProtocolOptions().envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
- Specified by:
hasQuicProtocolOptions
in interfaceHttp3ProtocolOptionsOrBuilder
- Returns:
- Whether the quicProtocolOptions field is set.
-
getQuicProtocolOptions
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
- Specified by:
getQuicProtocolOptions
in interfaceHttp3ProtocolOptionsOrBuilder
- Returns:
- The quicProtocolOptions.
-
setQuicProtocolOptions
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
-
setQuicProtocolOptions
public Http3ProtocolOptions.Builder setQuicProtocolOptions(QuicProtocolOptions.Builder builderForValue) .envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
-
mergeQuicProtocolOptions
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
-
clearQuicProtocolOptions
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
-
getQuicProtocolOptionsBuilder
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
-
getQuicProtocolOptionsOrBuilder
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
- Specified by:
getQuicProtocolOptionsOrBuilder
in interfaceHttp3ProtocolOptionsOrBuilder
-
internalGetQuicProtocolOptionsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<QuicProtocolOptions,QuicProtocolOptions.Builder, internalGetQuicProtocolOptionsFieldBuilder()QuicProtocolOptionsOrBuilder> .envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
-
hasOverrideStreamErrorOnInvalidHttpMessage
public boolean hasOverrideStreamErrorOnInvalidHttpMessage()Allows invalid HTTP messaging and headers. When this option is disabled (default), then the whole HTTP/3 connection is terminated upon receiving invalid HEADERS frame. However, when this option is enabled, only the offending stream is terminated. If set, 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>`.
.google.protobuf.BoolValue override_stream_error_on_invalid_http_message = 2;
- Specified by:
hasOverrideStreamErrorOnInvalidHttpMessage
in interfaceHttp3ProtocolOptionsOrBuilder
- 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/3 connection is terminated upon receiving invalid HEADERS frame. However, when this option is enabled, only the offending stream is terminated. If set, 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>`.
.google.protobuf.BoolValue override_stream_error_on_invalid_http_message = 2;
- Specified by:
getOverrideStreamErrorOnInvalidHttpMessage
in interfaceHttp3ProtocolOptionsOrBuilder
- Returns:
- The overrideStreamErrorOnInvalidHttpMessage.
-
setOverrideStreamErrorOnInvalidHttpMessage
public Http3ProtocolOptions.Builder setOverrideStreamErrorOnInvalidHttpMessage(com.google.protobuf.BoolValue value) Allows invalid HTTP messaging and headers. When this option is disabled (default), then the whole HTTP/3 connection is terminated upon receiving invalid HEADERS frame. However, when this option is enabled, only the offending stream is terminated. If set, 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>`.
.google.protobuf.BoolValue override_stream_error_on_invalid_http_message = 2;
-
setOverrideStreamErrorOnInvalidHttpMessage
public Http3ProtocolOptions.Builder setOverrideStreamErrorOnInvalidHttpMessage(com.google.protobuf.BoolValue.Builder builderForValue) Allows invalid HTTP messaging and headers. When this option is disabled (default), then the whole HTTP/3 connection is terminated upon receiving invalid HEADERS frame. However, when this option is enabled, only the offending stream is terminated. If set, 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>`.
.google.protobuf.BoolValue override_stream_error_on_invalid_http_message = 2;
-
mergeOverrideStreamErrorOnInvalidHttpMessage
public Http3ProtocolOptions.Builder mergeOverrideStreamErrorOnInvalidHttpMessage(com.google.protobuf.BoolValue value) Allows invalid HTTP messaging and headers. When this option is disabled (default), then the whole HTTP/3 connection is terminated upon receiving invalid HEADERS frame. However, when this option is enabled, only the offending stream is terminated. If set, 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>`.
.google.protobuf.BoolValue override_stream_error_on_invalid_http_message = 2;
-
clearOverrideStreamErrorOnInvalidHttpMessage
Allows invalid HTTP messaging and headers. When this option is disabled (default), then the whole HTTP/3 connection is terminated upon receiving invalid HEADERS frame. However, when this option is enabled, only the offending stream is terminated. If set, 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>`.
.google.protobuf.BoolValue override_stream_error_on_invalid_http_message = 2;
-
getOverrideStreamErrorOnInvalidHttpMessageBuilder
public com.google.protobuf.BoolValue.Builder getOverrideStreamErrorOnInvalidHttpMessageBuilder()Allows invalid HTTP messaging and headers. When this option is disabled (default), then the whole HTTP/3 connection is terminated upon receiving invalid HEADERS frame. However, when this option is enabled, only the offending stream is terminated. If set, 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>`.
.google.protobuf.BoolValue override_stream_error_on_invalid_http_message = 2;
-
getOverrideStreamErrorOnInvalidHttpMessageOrBuilder
public com.google.protobuf.BoolValueOrBuilder getOverrideStreamErrorOnInvalidHttpMessageOrBuilder()Allows invalid HTTP messaging and headers. When this option is disabled (default), then the whole HTTP/3 connection is terminated upon receiving invalid HEADERS frame. However, when this option is enabled, only the offending stream is terminated. If set, 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>`.
.google.protobuf.BoolValue override_stream_error_on_invalid_http_message = 2;
- Specified by:
getOverrideStreamErrorOnInvalidHttpMessageOrBuilder
in interfaceHttp3ProtocolOptionsOrBuilder
-
internalGetOverrideStreamErrorOnInvalidHttpMessageFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder, internalGetOverrideStreamErrorOnInvalidHttpMessageFieldBuilder()com.google.protobuf.BoolValueOrBuilder> Allows invalid HTTP messaging and headers. When this option is disabled (default), then the whole HTTP/3 connection is terminated upon receiving invalid HEADERS frame. However, when this option is enabled, only the offending stream is terminated. If set, 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>`.
.google.protobuf.BoolValue override_stream_error_on_invalid_http_message = 2;
-
getAllowExtendedConnect
public boolean getAllowExtendedConnect()Allows proxying Websocket and other upgrades over HTTP/3 CONNECT using the header mechanisms from the `HTTP/2 extended connect RFC <https://datatracker.ietf.org/doc/html/rfc8441>`_ and settings `proposed for HTTP/3 <https://datatracker.ietf.org/doc/draft-ietf-httpbis-h3-websockets/>`_ Note that HTTP/3 CONNECT is not yet an RFC.
bool allow_extended_connect = 5 [(.xds.annotations.v3.field_status) = { ... }
- Specified by:
getAllowExtendedConnect
in interfaceHttp3ProtocolOptionsOrBuilder
- Returns:
- The allowExtendedConnect.
-
setAllowExtendedConnect
Allows proxying Websocket and other upgrades over HTTP/3 CONNECT using the header mechanisms from the `HTTP/2 extended connect RFC <https://datatracker.ietf.org/doc/html/rfc8441>`_ and settings `proposed for HTTP/3 <https://datatracker.ietf.org/doc/draft-ietf-httpbis-h3-websockets/>`_ Note that HTTP/3 CONNECT is not yet an RFC.
bool allow_extended_connect = 5 [(.xds.annotations.v3.field_status) = { ... }
- Parameters:
value
- The allowExtendedConnect to set.- Returns:
- This builder for chaining.
-
clearAllowExtendedConnect
Allows proxying Websocket and other upgrades over HTTP/3 CONNECT using the header mechanisms from the `HTTP/2 extended connect RFC <https://datatracker.ietf.org/doc/html/rfc8441>`_ and settings `proposed for HTTP/3 <https://datatracker.ietf.org/doc/draft-ietf-httpbis-h3-websockets/>`_ Note that HTTP/3 CONNECT is not yet an RFC.
bool allow_extended_connect = 5 [(.xds.annotations.v3.field_status) = { ... }
- Returns:
- This builder for chaining.
-
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/3 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 interfaceHttp3ProtocolOptionsOrBuilder
- Returns:
- The allowMetadata.
-
setAllowMetadata
[#not-implemented-hide:] Hiding until Envoy has full metadata support. Still under implementation. DO NOT USE. Allows sending and receiving HTTP/3 METADATA frames. See [metadata docs](https://github.com/envoyproxy/envoy/blob/main/source/docs/h2_metadata.md) for more information.
bool allow_metadata = 6;
- Parameters:
value
- The allowMetadata to set.- Returns:
- This builder for chaining.
-
clearAllowMetadata
[#not-implemented-hide:] Hiding until Envoy has full metadata support. Still under implementation. DO NOT USE. Allows sending and receiving HTTP/3 METADATA frames. See [metadata docs](https://github.com/envoyproxy/envoy/blob/main/source/docs/h2_metadata.md) for more information.
bool allow_metadata = 6;
- Returns:
- This builder for chaining.
-