Class HttpProtocolOptions.AutoHttpConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.AutoHttpConfig.Builder>
-
- io.envoyproxy.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,HttpProtocolOptions.AutoHttpConfigOrBuilder,Cloneable
- Enclosing class:
- HttpProtocolOptions.AutoHttpConfig
public static final class HttpProtocolOptions.AutoHttpConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.AutoHttpConfig.Builder> implements HttpProtocolOptions.AutoHttpConfigOrBuilder
If this is used, the cluster can use either HTTP/1 or HTTP/2, and will use whichever protocol is negotiated by ALPN with the upstream. Clusters configured with ``AutoHttpConfig`` will use the highest available protocol; HTTP/2 if supported, otherwise HTTP/1. If the upstream does not support ALPN, ``AutoHttpConfig`` will fail over to HTTP/1. This can only be used with transport sockets which support ALPN. Using a transport socket which does not support ALPN will result in configuration failure. The transport layer may be configured with custom ALPN, but the default ALPN for the cluster (or if custom ALPN fails) will be "h2,http/1.1".
Protobuf typeenvoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpProtocolOptions.AutoHttpConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HttpProtocolOptions.AutoHttpConfigbuild()HttpProtocolOptions.AutoHttpConfigbuildPartial()HttpProtocolOptions.AutoHttpConfig.Builderclear()HttpProtocolOptions.AutoHttpConfig.BuilderclearAlternateProtocolsCacheOptions()The presence of alternate protocols cache options causes the use of the alternate protocols cache, which is responsible for parsing and caching HTTP Alt-Svc headers.HttpProtocolOptions.AutoHttpConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)HttpProtocolOptions.AutoHttpConfig.BuilderclearHttp2ProtocolOptions().envoy.config.core.v3.Http2ProtocolOptions http2_protocol_options = 2;HttpProtocolOptions.AutoHttpConfig.BuilderclearHttp3ProtocolOptions()Unlike HTTP/1 and HTTP/2, HTTP/3 will not be configured unless it is present, and (soon) only if there is an indication of server side support.HttpProtocolOptions.AutoHttpConfig.BuilderclearHttpProtocolOptions().envoy.config.core.v3.Http1ProtocolOptions http_protocol_options = 1;HttpProtocolOptions.AutoHttpConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)HttpProtocolOptions.AutoHttpConfig.Builderclone()AlternateProtocolsCacheOptionsgetAlternateProtocolsCacheOptions()The presence of alternate protocols cache options causes the use of the alternate protocols cache, which is responsible for parsing and caching HTTP Alt-Svc headers.AlternateProtocolsCacheOptions.BuildergetAlternateProtocolsCacheOptionsBuilder()The presence of alternate protocols cache options causes the use of the alternate protocols cache, which is responsible for parsing and caching HTTP Alt-Svc headers.AlternateProtocolsCacheOptionsOrBuildergetAlternateProtocolsCacheOptionsOrBuilder()The presence of alternate protocols cache options causes the use of the alternate protocols cache, which is responsible for parsing and caching HTTP Alt-Svc headers.HttpProtocolOptions.AutoHttpConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Http2ProtocolOptionsgetHttp2ProtocolOptions().envoy.config.core.v3.Http2ProtocolOptions http2_protocol_options = 2;Http2ProtocolOptions.BuildergetHttp2ProtocolOptionsBuilder().envoy.config.core.v3.Http2ProtocolOptions http2_protocol_options = 2;Http2ProtocolOptionsOrBuildergetHttp2ProtocolOptionsOrBuilder().envoy.config.core.v3.Http2ProtocolOptions http2_protocol_options = 2;Http3ProtocolOptionsgetHttp3ProtocolOptions()Unlike HTTP/1 and HTTP/2, HTTP/3 will not be configured unless it is present, and (soon) only if there is an indication of server side support.Http3ProtocolOptions.BuildergetHttp3ProtocolOptionsBuilder()Unlike HTTP/1 and HTTP/2, HTTP/3 will not be configured unless it is present, and (soon) only if there is an indication of server side support.Http3ProtocolOptionsOrBuildergetHttp3ProtocolOptionsOrBuilder()Unlike HTTP/1 and HTTP/2, HTTP/3 will not be configured unless it is present, and (soon) only if there is an indication of server side support.Http1ProtocolOptionsgetHttpProtocolOptions().envoy.config.core.v3.Http1ProtocolOptions http_protocol_options = 1;Http1ProtocolOptions.BuildergetHttpProtocolOptionsBuilder().envoy.config.core.v3.Http1ProtocolOptions http_protocol_options = 1;Http1ProtocolOptionsOrBuildergetHttpProtocolOptionsOrBuilder().envoy.config.core.v3.Http1ProtocolOptions http_protocol_options = 1;booleanhasAlternateProtocolsCacheOptions()The presence of alternate protocols cache options causes the use of the alternate protocols cache, which is responsible for parsing and caching HTTP Alt-Svc headers.booleanhasHttp2ProtocolOptions().envoy.config.core.v3.Http2ProtocolOptions http2_protocol_options = 2;booleanhasHttp3ProtocolOptions()Unlike HTTP/1 and HTTP/2, HTTP/3 will not be configured unless it is present, and (soon) only if there is an indication of server side support.booleanhasHttpProtocolOptions().envoy.config.core.v3.Http1ProtocolOptions http_protocol_options = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()HttpProtocolOptions.AutoHttpConfig.BuildermergeAlternateProtocolsCacheOptions(AlternateProtocolsCacheOptions value)The presence of alternate protocols cache options causes the use of the alternate protocols cache, which is responsible for parsing and caching HTTP Alt-Svc headers.HttpProtocolOptions.AutoHttpConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)HttpProtocolOptions.AutoHttpConfig.BuildermergeFrom(com.google.protobuf.Message other)HttpProtocolOptions.AutoHttpConfig.BuildermergeFrom(HttpProtocolOptions.AutoHttpConfig other)HttpProtocolOptions.AutoHttpConfig.BuildermergeHttp2ProtocolOptions(Http2ProtocolOptions value).envoy.config.core.v3.Http2ProtocolOptions http2_protocol_options = 2;HttpProtocolOptions.AutoHttpConfig.BuildermergeHttp3ProtocolOptions(Http3ProtocolOptions value)Unlike HTTP/1 and HTTP/2, HTTP/3 will not be configured unless it is present, and (soon) only if there is an indication of server side support.HttpProtocolOptions.AutoHttpConfig.BuildermergeHttpProtocolOptions(Http1ProtocolOptions value).envoy.config.core.v3.Http1ProtocolOptions http_protocol_options = 1;HttpProtocolOptions.AutoHttpConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)HttpProtocolOptions.AutoHttpConfig.BuildersetAlternateProtocolsCacheOptions(AlternateProtocolsCacheOptions value)The presence of alternate protocols cache options causes the use of the alternate protocols cache, which is responsible for parsing and caching HTTP Alt-Svc headers.HttpProtocolOptions.AutoHttpConfig.BuildersetAlternateProtocolsCacheOptions(AlternateProtocolsCacheOptions.Builder builderForValue)The presence of alternate protocols cache options causes the use of the alternate protocols cache, which is responsible for parsing and caching HTTP Alt-Svc headers.HttpProtocolOptions.AutoHttpConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)HttpProtocolOptions.AutoHttpConfig.BuildersetHttp2ProtocolOptions(Http2ProtocolOptions value).envoy.config.core.v3.Http2ProtocolOptions http2_protocol_options = 2;HttpProtocolOptions.AutoHttpConfig.BuildersetHttp2ProtocolOptions(Http2ProtocolOptions.Builder builderForValue).envoy.config.core.v3.Http2ProtocolOptions http2_protocol_options = 2;HttpProtocolOptions.AutoHttpConfig.BuildersetHttp3ProtocolOptions(Http3ProtocolOptions value)Unlike HTTP/1 and HTTP/2, HTTP/3 will not be configured unless it is present, and (soon) only if there is an indication of server side support.HttpProtocolOptions.AutoHttpConfig.BuildersetHttp3ProtocolOptions(Http3ProtocolOptions.Builder builderForValue)Unlike HTTP/1 and HTTP/2, HTTP/3 will not be configured unless it is present, and (soon) only if there is an indication of server side support.HttpProtocolOptions.AutoHttpConfig.BuildersetHttpProtocolOptions(Http1ProtocolOptions value).envoy.config.core.v3.Http1ProtocolOptions http_protocol_options = 1;HttpProtocolOptions.AutoHttpConfig.BuildersetHttpProtocolOptions(Http1ProtocolOptions.Builder builderForValue).envoy.config.core.v3.Http1ProtocolOptions http_protocol_options = 1;HttpProtocolOptions.AutoHttpConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)HttpProtocolOptions.AutoHttpConfig.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<HttpProtocolOptions.AutoHttpConfig.Builder>
-
clear
public HttpProtocolOptions.AutoHttpConfig.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<HttpProtocolOptions.AutoHttpConfig.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<HttpProtocolOptions.AutoHttpConfig.Builder>
-
getDefaultInstanceForType
public HttpProtocolOptions.AutoHttpConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public HttpProtocolOptions.AutoHttpConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HttpProtocolOptions.AutoHttpConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HttpProtocolOptions.AutoHttpConfig.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<HttpProtocolOptions.AutoHttpConfig.Builder>
-
setField
public HttpProtocolOptions.AutoHttpConfig.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<HttpProtocolOptions.AutoHttpConfig.Builder>
-
clearField
public HttpProtocolOptions.AutoHttpConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.AutoHttpConfig.Builder>
-
clearOneof
public HttpProtocolOptions.AutoHttpConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.AutoHttpConfig.Builder>
-
setRepeatedField
public HttpProtocolOptions.AutoHttpConfig.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<HttpProtocolOptions.AutoHttpConfig.Builder>
-
addRepeatedField
public HttpProtocolOptions.AutoHttpConfig.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<HttpProtocolOptions.AutoHttpConfig.Builder>
-
mergeFrom
public HttpProtocolOptions.AutoHttpConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HttpProtocolOptions.AutoHttpConfig.Builder>
-
mergeFrom
public HttpProtocolOptions.AutoHttpConfig.Builder mergeFrom(HttpProtocolOptions.AutoHttpConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.AutoHttpConfig.Builder>
-
mergeFrom
public HttpProtocolOptions.AutoHttpConfig.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<HttpProtocolOptions.AutoHttpConfig.Builder>- Throws:
IOException
-
hasHttpProtocolOptions
public boolean hasHttpProtocolOptions()
.envoy.config.core.v3.Http1ProtocolOptions http_protocol_options = 1;- Specified by:
hasHttpProtocolOptionsin interfaceHttpProtocolOptions.AutoHttpConfigOrBuilder- Returns:
- Whether the httpProtocolOptions field is set.
-
getHttpProtocolOptions
public Http1ProtocolOptions getHttpProtocolOptions()
.envoy.config.core.v3.Http1ProtocolOptions http_protocol_options = 1;- Specified by:
getHttpProtocolOptionsin interfaceHttpProtocolOptions.AutoHttpConfigOrBuilder- Returns:
- The httpProtocolOptions.
-
setHttpProtocolOptions
public HttpProtocolOptions.AutoHttpConfig.Builder setHttpProtocolOptions(Http1ProtocolOptions value)
.envoy.config.core.v3.Http1ProtocolOptions http_protocol_options = 1;
-
setHttpProtocolOptions
public HttpProtocolOptions.AutoHttpConfig.Builder setHttpProtocolOptions(Http1ProtocolOptions.Builder builderForValue)
.envoy.config.core.v3.Http1ProtocolOptions http_protocol_options = 1;
-
mergeHttpProtocolOptions
public HttpProtocolOptions.AutoHttpConfig.Builder mergeHttpProtocolOptions(Http1ProtocolOptions value)
.envoy.config.core.v3.Http1ProtocolOptions http_protocol_options = 1;
-
clearHttpProtocolOptions
public HttpProtocolOptions.AutoHttpConfig.Builder clearHttpProtocolOptions()
.envoy.config.core.v3.Http1ProtocolOptions http_protocol_options = 1;
-
getHttpProtocolOptionsBuilder
public Http1ProtocolOptions.Builder getHttpProtocolOptionsBuilder()
.envoy.config.core.v3.Http1ProtocolOptions http_protocol_options = 1;
-
getHttpProtocolOptionsOrBuilder
public Http1ProtocolOptionsOrBuilder getHttpProtocolOptionsOrBuilder()
.envoy.config.core.v3.Http1ProtocolOptions http_protocol_options = 1;- Specified by:
getHttpProtocolOptionsOrBuilderin interfaceHttpProtocolOptions.AutoHttpConfigOrBuilder
-
hasHttp2ProtocolOptions
public boolean hasHttp2ProtocolOptions()
.envoy.config.core.v3.Http2ProtocolOptions http2_protocol_options = 2;- Specified by:
hasHttp2ProtocolOptionsin interfaceHttpProtocolOptions.AutoHttpConfigOrBuilder- Returns:
- Whether the http2ProtocolOptions field is set.
-
getHttp2ProtocolOptions
public Http2ProtocolOptions getHttp2ProtocolOptions()
.envoy.config.core.v3.Http2ProtocolOptions http2_protocol_options = 2;- Specified by:
getHttp2ProtocolOptionsin interfaceHttpProtocolOptions.AutoHttpConfigOrBuilder- Returns:
- The http2ProtocolOptions.
-
setHttp2ProtocolOptions
public HttpProtocolOptions.AutoHttpConfig.Builder setHttp2ProtocolOptions(Http2ProtocolOptions value)
.envoy.config.core.v3.Http2ProtocolOptions http2_protocol_options = 2;
-
setHttp2ProtocolOptions
public HttpProtocolOptions.AutoHttpConfig.Builder setHttp2ProtocolOptions(Http2ProtocolOptions.Builder builderForValue)
.envoy.config.core.v3.Http2ProtocolOptions http2_protocol_options = 2;
-
mergeHttp2ProtocolOptions
public HttpProtocolOptions.AutoHttpConfig.Builder mergeHttp2ProtocolOptions(Http2ProtocolOptions value)
.envoy.config.core.v3.Http2ProtocolOptions http2_protocol_options = 2;
-
clearHttp2ProtocolOptions
public HttpProtocolOptions.AutoHttpConfig.Builder clearHttp2ProtocolOptions()
.envoy.config.core.v3.Http2ProtocolOptions http2_protocol_options = 2;
-
getHttp2ProtocolOptionsBuilder
public Http2ProtocolOptions.Builder getHttp2ProtocolOptionsBuilder()
.envoy.config.core.v3.Http2ProtocolOptions http2_protocol_options = 2;
-
getHttp2ProtocolOptionsOrBuilder
public Http2ProtocolOptionsOrBuilder getHttp2ProtocolOptionsOrBuilder()
.envoy.config.core.v3.Http2ProtocolOptions http2_protocol_options = 2;- Specified by:
getHttp2ProtocolOptionsOrBuilderin interfaceHttpProtocolOptions.AutoHttpConfigOrBuilder
-
hasHttp3ProtocolOptions
public boolean hasHttp3ProtocolOptions()
Unlike HTTP/1 and HTTP/2, HTTP/3 will not be configured unless it is present, and (soon) only if there is an indication of server side support. See :ref:`here <arch_overview_http3_upstream>` for more information on when HTTP/3 will be used, and when Envoy will fail over to TCP. .. warning:: QUIC upstream support is currently not ready for internet use. Please see :ref:`here <arch_overview_http3>` for details.
.envoy.config.core.v3.Http3ProtocolOptions http3_protocol_options = 3;- Specified by:
hasHttp3ProtocolOptionsin interfaceHttpProtocolOptions.AutoHttpConfigOrBuilder- Returns:
- Whether the http3ProtocolOptions field is set.
-
getHttp3ProtocolOptions
public Http3ProtocolOptions getHttp3ProtocolOptions()
Unlike HTTP/1 and HTTP/2, HTTP/3 will not be configured unless it is present, and (soon) only if there is an indication of server side support. See :ref:`here <arch_overview_http3_upstream>` for more information on when HTTP/3 will be used, and when Envoy will fail over to TCP. .. warning:: QUIC upstream support is currently not ready for internet use. Please see :ref:`here <arch_overview_http3>` for details.
.envoy.config.core.v3.Http3ProtocolOptions http3_protocol_options = 3;- Specified by:
getHttp3ProtocolOptionsin interfaceHttpProtocolOptions.AutoHttpConfigOrBuilder- Returns:
- The http3ProtocolOptions.
-
setHttp3ProtocolOptions
public HttpProtocolOptions.AutoHttpConfig.Builder setHttp3ProtocolOptions(Http3ProtocolOptions value)
Unlike HTTP/1 and HTTP/2, HTTP/3 will not be configured unless it is present, and (soon) only if there is an indication of server side support. See :ref:`here <arch_overview_http3_upstream>` for more information on when HTTP/3 will be used, and when Envoy will fail over to TCP. .. warning:: QUIC upstream support is currently not ready for internet use. Please see :ref:`here <arch_overview_http3>` for details.
.envoy.config.core.v3.Http3ProtocolOptions http3_protocol_options = 3;
-
setHttp3ProtocolOptions
public HttpProtocolOptions.AutoHttpConfig.Builder setHttp3ProtocolOptions(Http3ProtocolOptions.Builder builderForValue)
Unlike HTTP/1 and HTTP/2, HTTP/3 will not be configured unless it is present, and (soon) only if there is an indication of server side support. See :ref:`here <arch_overview_http3_upstream>` for more information on when HTTP/3 will be used, and when Envoy will fail over to TCP. .. warning:: QUIC upstream support is currently not ready for internet use. Please see :ref:`here <arch_overview_http3>` for details.
.envoy.config.core.v3.Http3ProtocolOptions http3_protocol_options = 3;
-
mergeHttp3ProtocolOptions
public HttpProtocolOptions.AutoHttpConfig.Builder mergeHttp3ProtocolOptions(Http3ProtocolOptions value)
Unlike HTTP/1 and HTTP/2, HTTP/3 will not be configured unless it is present, and (soon) only if there is an indication of server side support. See :ref:`here <arch_overview_http3_upstream>` for more information on when HTTP/3 will be used, and when Envoy will fail over to TCP. .. warning:: QUIC upstream support is currently not ready for internet use. Please see :ref:`here <arch_overview_http3>` for details.
.envoy.config.core.v3.Http3ProtocolOptions http3_protocol_options = 3;
-
clearHttp3ProtocolOptions
public HttpProtocolOptions.AutoHttpConfig.Builder clearHttp3ProtocolOptions()
Unlike HTTP/1 and HTTP/2, HTTP/3 will not be configured unless it is present, and (soon) only if there is an indication of server side support. See :ref:`here <arch_overview_http3_upstream>` for more information on when HTTP/3 will be used, and when Envoy will fail over to TCP. .. warning:: QUIC upstream support is currently not ready for internet use. Please see :ref:`here <arch_overview_http3>` for details.
.envoy.config.core.v3.Http3ProtocolOptions http3_protocol_options = 3;
-
getHttp3ProtocolOptionsBuilder
public Http3ProtocolOptions.Builder getHttp3ProtocolOptionsBuilder()
Unlike HTTP/1 and HTTP/2, HTTP/3 will not be configured unless it is present, and (soon) only if there is an indication of server side support. See :ref:`here <arch_overview_http3_upstream>` for more information on when HTTP/3 will be used, and when Envoy will fail over to TCP. .. warning:: QUIC upstream support is currently not ready for internet use. Please see :ref:`here <arch_overview_http3>` for details.
.envoy.config.core.v3.Http3ProtocolOptions http3_protocol_options = 3;
-
getHttp3ProtocolOptionsOrBuilder
public Http3ProtocolOptionsOrBuilder getHttp3ProtocolOptionsOrBuilder()
Unlike HTTP/1 and HTTP/2, HTTP/3 will not be configured unless it is present, and (soon) only if there is an indication of server side support. See :ref:`here <arch_overview_http3_upstream>` for more information on when HTTP/3 will be used, and when Envoy will fail over to TCP. .. warning:: QUIC upstream support is currently not ready for internet use. Please see :ref:`here <arch_overview_http3>` for details.
.envoy.config.core.v3.Http3ProtocolOptions http3_protocol_options = 3;- Specified by:
getHttp3ProtocolOptionsOrBuilderin interfaceHttpProtocolOptions.AutoHttpConfigOrBuilder
-
hasAlternateProtocolsCacheOptions
public boolean hasAlternateProtocolsCacheOptions()
The presence of alternate protocols cache options causes the use of the alternate protocols cache, which is responsible for parsing and caching HTTP Alt-Svc headers. This enables the use of HTTP/3 for origins that advertise supporting it. .. note:: This is required when HTTP/3 is enabled.
.envoy.config.core.v3.AlternateProtocolsCacheOptions alternate_protocols_cache_options = 4;- Specified by:
hasAlternateProtocolsCacheOptionsin interfaceHttpProtocolOptions.AutoHttpConfigOrBuilder- Returns:
- Whether the alternateProtocolsCacheOptions field is set.
-
getAlternateProtocolsCacheOptions
public AlternateProtocolsCacheOptions getAlternateProtocolsCacheOptions()
The presence of alternate protocols cache options causes the use of the alternate protocols cache, which is responsible for parsing and caching HTTP Alt-Svc headers. This enables the use of HTTP/3 for origins that advertise supporting it. .. note:: This is required when HTTP/3 is enabled.
.envoy.config.core.v3.AlternateProtocolsCacheOptions alternate_protocols_cache_options = 4;- Specified by:
getAlternateProtocolsCacheOptionsin interfaceHttpProtocolOptions.AutoHttpConfigOrBuilder- Returns:
- The alternateProtocolsCacheOptions.
-
setAlternateProtocolsCacheOptions
public HttpProtocolOptions.AutoHttpConfig.Builder setAlternateProtocolsCacheOptions(AlternateProtocolsCacheOptions value)
The presence of alternate protocols cache options causes the use of the alternate protocols cache, which is responsible for parsing and caching HTTP Alt-Svc headers. This enables the use of HTTP/3 for origins that advertise supporting it. .. note:: This is required when HTTP/3 is enabled.
.envoy.config.core.v3.AlternateProtocolsCacheOptions alternate_protocols_cache_options = 4;
-
setAlternateProtocolsCacheOptions
public HttpProtocolOptions.AutoHttpConfig.Builder setAlternateProtocolsCacheOptions(AlternateProtocolsCacheOptions.Builder builderForValue)
The presence of alternate protocols cache options causes the use of the alternate protocols cache, which is responsible for parsing and caching HTTP Alt-Svc headers. This enables the use of HTTP/3 for origins that advertise supporting it. .. note:: This is required when HTTP/3 is enabled.
.envoy.config.core.v3.AlternateProtocolsCacheOptions alternate_protocols_cache_options = 4;
-
mergeAlternateProtocolsCacheOptions
public HttpProtocolOptions.AutoHttpConfig.Builder mergeAlternateProtocolsCacheOptions(AlternateProtocolsCacheOptions value)
The presence of alternate protocols cache options causes the use of the alternate protocols cache, which is responsible for parsing and caching HTTP Alt-Svc headers. This enables the use of HTTP/3 for origins that advertise supporting it. .. note:: This is required when HTTP/3 is enabled.
.envoy.config.core.v3.AlternateProtocolsCacheOptions alternate_protocols_cache_options = 4;
-
clearAlternateProtocolsCacheOptions
public HttpProtocolOptions.AutoHttpConfig.Builder clearAlternateProtocolsCacheOptions()
The presence of alternate protocols cache options causes the use of the alternate protocols cache, which is responsible for parsing and caching HTTP Alt-Svc headers. This enables the use of HTTP/3 for origins that advertise supporting it. .. note:: This is required when HTTP/3 is enabled.
.envoy.config.core.v3.AlternateProtocolsCacheOptions alternate_protocols_cache_options = 4;
-
getAlternateProtocolsCacheOptionsBuilder
public AlternateProtocolsCacheOptions.Builder getAlternateProtocolsCacheOptionsBuilder()
The presence of alternate protocols cache options causes the use of the alternate protocols cache, which is responsible for parsing and caching HTTP Alt-Svc headers. This enables the use of HTTP/3 for origins that advertise supporting it. .. note:: This is required when HTTP/3 is enabled.
.envoy.config.core.v3.AlternateProtocolsCacheOptions alternate_protocols_cache_options = 4;
-
getAlternateProtocolsCacheOptionsOrBuilder
public AlternateProtocolsCacheOptionsOrBuilder getAlternateProtocolsCacheOptionsOrBuilder()
The presence of alternate protocols cache options causes the use of the alternate protocols cache, which is responsible for parsing and caching HTTP Alt-Svc headers. This enables the use of HTTP/3 for origins that advertise supporting it. .. note:: This is required when HTTP/3 is enabled.
.envoy.config.core.v3.AlternateProtocolsCacheOptions alternate_protocols_cache_options = 4;- Specified by:
getAlternateProtocolsCacheOptionsOrBuilderin interfaceHttpProtocolOptions.AutoHttpConfigOrBuilder
-
setUnknownFields
public final HttpProtocolOptions.AutoHttpConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.AutoHttpConfig.Builder>
-
mergeUnknownFields
public final HttpProtocolOptions.AutoHttpConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.AutoHttpConfig.Builder>
-
-