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 booleanprivate booleanprivate intprivate com.google.protobuf.BoolValueprivate com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> private QuicProtocolOptionsprivate com.google.protobuf.SingleFieldBuilder<QuicProtocolOptions, QuicProtocolOptions.Builder, QuicProtocolOptionsOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()private voidbuildPartial0(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;booleanAllows 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.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.BoolValueAllows invalid HTTP messaging and headers.com.google.protobuf.BoolValue.BuilderAllows invalid HTTP messaging and headers.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> Allows invalid HTTP messaging and headers.com.google.protobuf.BoolValueOrBuilderAllows invalid HTTP messaging and headers..envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;private com.google.protobuf.SingleFieldBuilder<QuicProtocolOptions, QuicProtocolOptions.Builder, QuicProtocolOptionsOrBuilder> .envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;booleanAllows invalid HTTP messaging and headers.boolean.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanprivate voidmergeFrom(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Http3ProtocolOptions.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Http3ProtocolOptions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Http3ProtocolOptions.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Http3ProtocolOptions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Http3ProtocolOptions.Builder>- Throws:
IOException
-
hasQuicProtocolOptions
public boolean hasQuicProtocolOptions().envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;- Specified by:
hasQuicProtocolOptionsin interfaceHttp3ProtocolOptionsOrBuilder- Returns:
- Whether the quicProtocolOptions field is set.
-
getQuicProtocolOptions
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;- Specified by:
getQuicProtocolOptionsin 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:
getQuicProtocolOptionsOrBuilderin interfaceHttp3ProtocolOptionsOrBuilder
-
getQuicProtocolOptionsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<QuicProtocolOptions,QuicProtocolOptions.Builder, getQuicProtocolOptionsFieldBuilder()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:
hasOverrideStreamErrorOnInvalidHttpMessagein 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:
getOverrideStreamErrorOnInvalidHttpMessagein 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:
getOverrideStreamErrorOnInvalidHttpMessageOrBuilderin interfaceHttp3ProtocolOptionsOrBuilder
-
getOverrideStreamErrorOnInvalidHttpMessageFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.BoolValue,com.google.protobuf.BoolValue.Builder, getOverrideStreamErrorOnInvalidHttpMessageFieldBuilder()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:
getAllowExtendedConnectin 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:
getAllowMetadatain 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.
-