Class Http3ProtocolOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Http3ProtocolOptions.Builder> implements Http3ProtocolOptionsOrBuilder
A message which allows using HTTP/3. [#next-free-field: 6]
Protobuf typeenvoy.config.core.v3.Http3ProtocolOptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Http3ProtocolOptions.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Http3ProtocolOptionsbuild()Http3ProtocolOptionsbuildPartial()Http3ProtocolOptions.Builderclear()Http3ProtocolOptions.BuilderclearAllowExtendedConnect()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.Http3ProtocolOptions.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Http3ProtocolOptions.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Http3ProtocolOptions.BuilderclearOverrideStreamErrorOnInvalidHttpMessage()Allows invalid HTTP messaging and headers.Http3ProtocolOptions.BuilderclearQuicProtocolOptions().envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;Http3ProtocolOptions.Builderclone()booleangetAllowExtendedConnect()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.Http3ProtocolOptionsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.BoolValuegetOverrideStreamErrorOnInvalidHttpMessage()Allows invalid HTTP messaging and headers.com.google.protobuf.BoolValue.BuildergetOverrideStreamErrorOnInvalidHttpMessageBuilder()Allows invalid HTTP messaging and headers.com.google.protobuf.BoolValueOrBuildergetOverrideStreamErrorOnInvalidHttpMessageOrBuilder()Allows invalid HTTP messaging and headers.QuicProtocolOptionsgetQuicProtocolOptions().envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;QuicProtocolOptions.BuildergetQuicProtocolOptionsBuilder().envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;QuicProtocolOptionsOrBuildergetQuicProtocolOptionsOrBuilder().envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;booleanhasOverrideStreamErrorOnInvalidHttpMessage()Allows invalid HTTP messaging and headers.booleanhasQuicProtocolOptions().envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Http3ProtocolOptions.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Http3ProtocolOptions.BuildermergeFrom(com.google.protobuf.Message other)Http3ProtocolOptions.BuildermergeFrom(Http3ProtocolOptions other)Http3ProtocolOptions.BuildermergeOverrideStreamErrorOnInvalidHttpMessage(com.google.protobuf.BoolValue value)Allows invalid HTTP messaging and headers.Http3ProtocolOptions.BuildermergeQuicProtocolOptions(QuicProtocolOptions value).envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;Http3ProtocolOptions.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Http3ProtocolOptions.BuildersetAllowExtendedConnect(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.Http3ProtocolOptions.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Http3ProtocolOptions.BuildersetOverrideStreamErrorOnInvalidHttpMessage(com.google.protobuf.BoolValue value)Allows invalid HTTP messaging and headers.Http3ProtocolOptions.BuildersetOverrideStreamErrorOnInvalidHttpMessage(com.google.protobuf.BoolValue.Builder builderForValue)Allows invalid HTTP messaging and headers.Http3ProtocolOptions.BuildersetQuicProtocolOptions(QuicProtocolOptions value).envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;Http3ProtocolOptions.BuildersetQuicProtocolOptions(QuicProtocolOptions.Builder builderForValue).envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;Http3ProtocolOptions.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Http3ProtocolOptions.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Http3ProtocolOptions.Builder>
-
clear
public Http3ProtocolOptions.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Http3ProtocolOptions.Builder>
-
getDefaultInstanceForType
public Http3ProtocolOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Http3ProtocolOptions build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Http3ProtocolOptions buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Http3ProtocolOptions.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Http3ProtocolOptions.Builder>
-
setField
public Http3ProtocolOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Http3ProtocolOptions.Builder>
-
clearField
public Http3ProtocolOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Http3ProtocolOptions.Builder>
-
clearOneof
public Http3ProtocolOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Http3ProtocolOptions.Builder>
-
setRepeatedField
public Http3ProtocolOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Http3ProtocolOptions.Builder>
-
addRepeatedField
public Http3ProtocolOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Http3ProtocolOptions.Builder>
-
mergeFrom
public Http3ProtocolOptions.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Http3ProtocolOptions.Builder>
-
mergeFrom
public Http3ProtocolOptions.Builder mergeFrom(Http3ProtocolOptions other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public QuicProtocolOptions getQuicProtocolOptions()
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;- Specified by:
getQuicProtocolOptionsin interfaceHttp3ProtocolOptionsOrBuilder- Returns:
- The quicProtocolOptions.
-
setQuicProtocolOptions
public Http3ProtocolOptions.Builder setQuicProtocolOptions(QuicProtocolOptions value)
.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
public Http3ProtocolOptions.Builder mergeQuicProtocolOptions(QuicProtocolOptions value)
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
-
clearQuicProtocolOptions
public Http3ProtocolOptions.Builder clearQuicProtocolOptions()
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
-
getQuicProtocolOptionsBuilder
public QuicProtocolOptions.Builder getQuicProtocolOptionsBuilder()
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;
-
getQuicProtocolOptionsOrBuilder
public QuicProtocolOptionsOrBuilder getQuicProtocolOptionsOrBuilder()
.envoy.config.core.v3.QuicProtocolOptions quic_protocol_options = 1;- Specified by:
getQuicProtocolOptionsOrBuilderin interfaceHttp3ProtocolOptionsOrBuilder
-
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
public Http3ProtocolOptions.Builder 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
-
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
public Http3ProtocolOptions.Builder 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.
bool allow_extended_connect = 5 [(.xds.annotations.v3.field_status) = { ... }- Parameters:
value- The allowExtendedConnect to set.- Returns:
- This builder for chaining.
-
clearAllowExtendedConnect
public Http3ProtocolOptions.Builder 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.
-
setUnknownFields
public final Http3ProtocolOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Http3ProtocolOptions.Builder>
-
mergeUnknownFields
public final Http3ProtocolOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Http3ProtocolOptions.Builder>
-
-