Class HttpProtocolOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
io.envoyproxy.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,HttpProtocolOptionsOrBuilder,Cloneable
- Enclosing class:
- HttpProtocolOptions
public static final class HttpProtocolOptions.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
implements HttpProtocolOptionsOrBuilder
HttpProtocolOptions specifies Http upstream protocol options. This object
is used in
:ref:`typed_extension_protocol_options<envoy_v3_api_field_config.cluster.v3.Cluster.typed_extension_protocol_options>`,
keyed by the name ``envoy.extensions.upstreams.http.v3.HttpProtocolOptions``.
This controls what protocol(s) should be used for upstream and how said protocol(s) are configured.
This replaces the prior pattern of explicit protocol configuration directly
in the cluster. So a configuration like this, explicitly configuring the use of HTTP/2 upstream:
.. code::
clusters:
- name: some_service
connect_timeout: 5s
upstream_http_protocol_options:
auto_sni: true
common_http_protocol_options:
idle_timeout: 1s
http2_protocol_options:
max_concurrent_streams: 100
.... [further cluster config]
Would now look like this:
.. code::
clusters:
- name: some_service
connect_timeout: 5s
typed_extension_protocol_options:
envoy.extensions.upstreams.http.v3.HttpProtocolOptions:
"@type": type.googleapis.com/envoy.extensions.upstreams.http.v3.HttpProtocolOptions
upstream_http_protocol_options:
auto_sni: true
common_http_protocol_options:
idle_timeout: 1s
explicit_http_config:
http2_protocol_options:
max_concurrent_streams: 100
.... [further cluster config]
[#next-free-field: 8]
Protobuf type envoy.extensions.upstreams.http.v3.HttpProtocolOptions-
Method Summary
Modifier and TypeMethodDescriptionaddAllHttpFilters(Iterable<? extends HttpFilter> values) Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha.addHttpFilters(int index, HttpFilter value) Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha.addHttpFilters(int index, HttpFilter.Builder builderForValue) Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha.addHttpFilters(HttpFilter value) Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha.addHttpFilters(HttpFilter.Builder builderForValue) Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha.Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha.addHttpFiltersBuilder(int index) Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()This allows switching on protocol based on ALPNThis contains options common across HTTP/1 and HTTP/2To explicitly configure either HTTP/1 or HTTP/2 (but not both!)clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Configuration options for Unified Header Validation (UHV).Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) This contains common protocol options which are only applied upstream.This allows switching on protocol based on what protocol the downstream connection used.clone()This allows switching on protocol based on ALPNThis allows switching on protocol based on ALPNThis allows switching on protocol based on ALPNThis contains options common across HTTP/1 and HTTP/2This contains options common across HTTP/1 and HTTP/2This contains options common across HTTP/1 and HTTP/2static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorTo explicitly configure either HTTP/1 or HTTP/2 (but not both!)To explicitly configure either HTTP/1 or HTTP/2 (but not both!)To explicitly configure either HTTP/1 or HTTP/2 (but not both!)Configuration options for Unified Header Validation (UHV).Configuration options for Unified Header Validation (UHV).Configuration options for Unified Header Validation (UHV).getHttpFilters(int index) Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha.getHttpFiltersBuilder(int index) Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha.Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha.intOptional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha.Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha.getHttpFiltersOrBuilder(int index) Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha.List<? extends HttpFilterOrBuilder>Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha.This contains common protocol options which are only applied upstream.This contains common protocol options which are only applied upstream.This contains common protocol options which are only applied upstream.This allows switching on protocol based on what protocol the downstream connection used.This allows switching on protocol based on what protocol the downstream connection used.This allows switching on protocol based on what protocol the downstream connection used.booleanThis allows switching on protocol based on ALPNbooleanThis contains options common across HTTP/1 and HTTP/2booleanTo explicitly configure either HTTP/1 or HTTP/2 (but not both!)booleanConfiguration options for Unified Header Validation (UHV).booleanThis contains common protocol options which are only applied upstream.booleanThis allows switching on protocol based on what protocol the downstream connection used.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanThis allows switching on protocol based on ALPNThis contains options common across HTTP/1 and HTTP/2To explicitly configure either HTTP/1 or HTTP/2 (but not both!)mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(HttpProtocolOptions other) Configuration options for Unified Header Validation (UHV).mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) This contains common protocol options which are only applied upstream.This allows switching on protocol based on what protocol the downstream connection used.removeHttpFilters(int index) Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha.This allows switching on protocol based on ALPNsetAutoConfig(HttpProtocolOptions.AutoHttpConfig.Builder builderForValue) This allows switching on protocol based on ALPNThis contains options common across HTTP/1 and HTTP/2setCommonHttpProtocolOptions(HttpProtocolOptions.Builder builderForValue) This contains options common across HTTP/1 and HTTP/2To explicitly configure either HTTP/1 or HTTP/2 (but not both!)setExplicitHttpConfig(HttpProtocolOptions.ExplicitHttpConfig.Builder builderForValue) To explicitly configure either HTTP/1 or HTTP/2 (but not both!)Configuration options for Unified Header Validation (UHV).setHeaderValidationConfig(TypedExtensionConfig.Builder builderForValue) Configuration options for Unified Header Validation (UHV).setHttpFilters(int index, HttpFilter value) Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha.setHttpFilters(int index, HttpFilter.Builder builderForValue) Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) This contains common protocol options which are only applied upstream.setUpstreamHttpProtocolOptions(UpstreamHttpProtocolOptions.Builder builderForValue) This contains common protocol options which are only applied upstream.This allows switching on protocol based on what protocol the downstream connection used.This allows switching on protocol based on what protocol the downstream connection used.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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
-
Method Details
-
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.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.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.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
-
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.Builder>
-
setField
public HttpProtocolOptions.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.Builder>
-
clearField
public HttpProtocolOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
-
clearOneof
public HttpProtocolOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
-
setRepeatedField
public HttpProtocolOptions.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.Builder>
-
addRepeatedField
public HttpProtocolOptions.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.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HttpProtocolOptions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
-
mergeFrom
public HttpProtocolOptions.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.Builder>- Throws:
IOException
-
getUpstreamProtocolOptionsCase
- Specified by:
getUpstreamProtocolOptionsCasein interfaceHttpProtocolOptionsOrBuilder
-
clearUpstreamProtocolOptions
-
hasCommonHttpProtocolOptions
public boolean hasCommonHttpProtocolOptions()This contains options common across HTTP/1 and HTTP/2
.envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1;- Specified by:
hasCommonHttpProtocolOptionsin interfaceHttpProtocolOptionsOrBuilder- Returns:
- Whether the commonHttpProtocolOptions field is set.
-
getCommonHttpProtocolOptions
This contains options common across HTTP/1 and HTTP/2
.envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1;- Specified by:
getCommonHttpProtocolOptionsin interfaceHttpProtocolOptionsOrBuilder- Returns:
- The commonHttpProtocolOptions.
-
setCommonHttpProtocolOptions
This contains options common across HTTP/1 and HTTP/2
.envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1; -
setCommonHttpProtocolOptions
public HttpProtocolOptions.Builder setCommonHttpProtocolOptions(HttpProtocolOptions.Builder builderForValue) This contains options common across HTTP/1 and HTTP/2
.envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1; -
mergeCommonHttpProtocolOptions
This contains options common across HTTP/1 and HTTP/2
.envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1; -
clearCommonHttpProtocolOptions
This contains options common across HTTP/1 and HTTP/2
.envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1; -
getCommonHttpProtocolOptionsBuilder
This contains options common across HTTP/1 and HTTP/2
.envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1; -
getCommonHttpProtocolOptionsOrBuilder
This contains options common across HTTP/1 and HTTP/2
.envoy.config.core.v3.HttpProtocolOptions common_http_protocol_options = 1;- Specified by:
getCommonHttpProtocolOptionsOrBuilderin interfaceHttpProtocolOptionsOrBuilder
-
hasUpstreamHttpProtocolOptions
public boolean hasUpstreamHttpProtocolOptions()This contains common protocol options which are only applied upstream.
.envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2;- Specified by:
hasUpstreamHttpProtocolOptionsin interfaceHttpProtocolOptionsOrBuilder- Returns:
- Whether the upstreamHttpProtocolOptions field is set.
-
getUpstreamHttpProtocolOptions
This contains common protocol options which are only applied upstream.
.envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2;- Specified by:
getUpstreamHttpProtocolOptionsin interfaceHttpProtocolOptionsOrBuilder- Returns:
- The upstreamHttpProtocolOptions.
-
setUpstreamHttpProtocolOptions
public HttpProtocolOptions.Builder setUpstreamHttpProtocolOptions(UpstreamHttpProtocolOptions value) This contains common protocol options which are only applied upstream.
.envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2; -
setUpstreamHttpProtocolOptions
public HttpProtocolOptions.Builder setUpstreamHttpProtocolOptions(UpstreamHttpProtocolOptions.Builder builderForValue) This contains common protocol options which are only applied upstream.
.envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2; -
mergeUpstreamHttpProtocolOptions
public HttpProtocolOptions.Builder mergeUpstreamHttpProtocolOptions(UpstreamHttpProtocolOptions value) This contains common protocol options which are only applied upstream.
.envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2; -
clearUpstreamHttpProtocolOptions
This contains common protocol options which are only applied upstream.
.envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2; -
getUpstreamHttpProtocolOptionsBuilder
This contains common protocol options which are only applied upstream.
.envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2; -
getUpstreamHttpProtocolOptionsOrBuilder
This contains common protocol options which are only applied upstream.
.envoy.config.core.v3.UpstreamHttpProtocolOptions upstream_http_protocol_options = 2;- Specified by:
getUpstreamHttpProtocolOptionsOrBuilderin interfaceHttpProtocolOptionsOrBuilder
-
hasExplicitHttpConfig
public boolean hasExplicitHttpConfig()To explicitly configure either HTTP/1 or HTTP/2 (but not both!) use ``explicit_http_config``.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig explicit_http_config = 3;- Specified by:
hasExplicitHttpConfigin interfaceHttpProtocolOptionsOrBuilder- Returns:
- Whether the explicitHttpConfig field is set.
-
getExplicitHttpConfig
To explicitly configure either HTTP/1 or HTTP/2 (but not both!) use ``explicit_http_config``.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig explicit_http_config = 3;- Specified by:
getExplicitHttpConfigin interfaceHttpProtocolOptionsOrBuilder- Returns:
- The explicitHttpConfig.
-
setExplicitHttpConfig
public HttpProtocolOptions.Builder setExplicitHttpConfig(HttpProtocolOptions.ExplicitHttpConfig value) To explicitly configure either HTTP/1 or HTTP/2 (but not both!) use ``explicit_http_config``.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig explicit_http_config = 3; -
setExplicitHttpConfig
public HttpProtocolOptions.Builder setExplicitHttpConfig(HttpProtocolOptions.ExplicitHttpConfig.Builder builderForValue) To explicitly configure either HTTP/1 or HTTP/2 (but not both!) use ``explicit_http_config``.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig explicit_http_config = 3; -
mergeExplicitHttpConfig
public HttpProtocolOptions.Builder mergeExplicitHttpConfig(HttpProtocolOptions.ExplicitHttpConfig value) To explicitly configure either HTTP/1 or HTTP/2 (but not both!) use ``explicit_http_config``.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig explicit_http_config = 3; -
clearExplicitHttpConfig
To explicitly configure either HTTP/1 or HTTP/2 (but not both!) use ``explicit_http_config``.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig explicit_http_config = 3; -
getExplicitHttpConfigBuilder
To explicitly configure either HTTP/1 or HTTP/2 (but not both!) use ``explicit_http_config``.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig explicit_http_config = 3; -
getExplicitHttpConfigOrBuilder
To explicitly configure either HTTP/1 or HTTP/2 (but not both!) use ``explicit_http_config``.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.ExplicitHttpConfig explicit_http_config = 3;- Specified by:
getExplicitHttpConfigOrBuilderin interfaceHttpProtocolOptionsOrBuilder
-
hasUseDownstreamProtocolConfig
public boolean hasUseDownstreamProtocolConfig()This allows switching on protocol based on what protocol the downstream connection used.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.UseDownstreamHttpConfig use_downstream_protocol_config = 4;- Specified by:
hasUseDownstreamProtocolConfigin interfaceHttpProtocolOptionsOrBuilder- Returns:
- Whether the useDownstreamProtocolConfig field is set.
-
getUseDownstreamProtocolConfig
This allows switching on protocol based on what protocol the downstream connection used.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.UseDownstreamHttpConfig use_downstream_protocol_config = 4;- Specified by:
getUseDownstreamProtocolConfigin interfaceHttpProtocolOptionsOrBuilder- Returns:
- The useDownstreamProtocolConfig.
-
setUseDownstreamProtocolConfig
public HttpProtocolOptions.Builder setUseDownstreamProtocolConfig(HttpProtocolOptions.UseDownstreamHttpConfig value) This allows switching on protocol based on what protocol the downstream connection used.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.UseDownstreamHttpConfig use_downstream_protocol_config = 4; -
setUseDownstreamProtocolConfig
public HttpProtocolOptions.Builder setUseDownstreamProtocolConfig(HttpProtocolOptions.UseDownstreamHttpConfig.Builder builderForValue) This allows switching on protocol based on what protocol the downstream connection used.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.UseDownstreamHttpConfig use_downstream_protocol_config = 4; -
mergeUseDownstreamProtocolConfig
public HttpProtocolOptions.Builder mergeUseDownstreamProtocolConfig(HttpProtocolOptions.UseDownstreamHttpConfig value) This allows switching on protocol based on what protocol the downstream connection used.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.UseDownstreamHttpConfig use_downstream_protocol_config = 4; -
clearUseDownstreamProtocolConfig
This allows switching on protocol based on what protocol the downstream connection used.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.UseDownstreamHttpConfig use_downstream_protocol_config = 4; -
getUseDownstreamProtocolConfigBuilder
This allows switching on protocol based on what protocol the downstream connection used.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.UseDownstreamHttpConfig use_downstream_protocol_config = 4; -
getUseDownstreamProtocolConfigOrBuilder
public HttpProtocolOptions.UseDownstreamHttpConfigOrBuilder getUseDownstreamProtocolConfigOrBuilder()This allows switching on protocol based on what protocol the downstream connection used.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.UseDownstreamHttpConfig use_downstream_protocol_config = 4;- Specified by:
getUseDownstreamProtocolConfigOrBuilderin interfaceHttpProtocolOptionsOrBuilder
-
hasAutoConfig
public boolean hasAutoConfig()This allows switching on protocol based on ALPN
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5;- Specified by:
hasAutoConfigin interfaceHttpProtocolOptionsOrBuilder- Returns:
- Whether the autoConfig field is set.
-
getAutoConfig
This allows switching on protocol based on ALPN
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5;- Specified by:
getAutoConfigin interfaceHttpProtocolOptionsOrBuilder- Returns:
- The autoConfig.
-
setAutoConfig
This allows switching on protocol based on ALPN
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5; -
setAutoConfig
public HttpProtocolOptions.Builder setAutoConfig(HttpProtocolOptions.AutoHttpConfig.Builder builderForValue) This allows switching on protocol based on ALPN
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5; -
mergeAutoConfig
This allows switching on protocol based on ALPN
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5; -
clearAutoConfig
This allows switching on protocol based on ALPN
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5; -
getAutoConfigBuilder
This allows switching on protocol based on ALPN
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5; -
getAutoConfigOrBuilder
This allows switching on protocol based on ALPN
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.AutoHttpConfig auto_config = 5;- Specified by:
getAutoConfigOrBuilderin interfaceHttpProtocolOptionsOrBuilder
-
getHttpFiltersList
Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha. These filters will be applied for all HTTP streams which flow through this cluster. Unlike downstream HTTP filters, they will *not* be applied to terminated CONNECT requests. If using upstream HTTP filters, please be aware that local errors sent by upstream HTTP filters will not trigger retries, and local errors sent by upstream HTTP filters will count as a final response if hedging is configured. [#extension-category: envoy.filters.http.upstream]
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6;- Specified by:
getHttpFiltersListin interfaceHttpProtocolOptionsOrBuilder
-
getHttpFiltersCount
public int getHttpFiltersCount()Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha. These filters will be applied for all HTTP streams which flow through this cluster. Unlike downstream HTTP filters, they will *not* be applied to terminated CONNECT requests. If using upstream HTTP filters, please be aware that local errors sent by upstream HTTP filters will not trigger retries, and local errors sent by upstream HTTP filters will count as a final response if hedging is configured. [#extension-category: envoy.filters.http.upstream]
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6;- Specified by:
getHttpFiltersCountin interfaceHttpProtocolOptionsOrBuilder
-
getHttpFilters
Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha. These filters will be applied for all HTTP streams which flow through this cluster. Unlike downstream HTTP filters, they will *not* be applied to terminated CONNECT requests. If using upstream HTTP filters, please be aware that local errors sent by upstream HTTP filters will not trigger retries, and local errors sent by upstream HTTP filters will count as a final response if hedging is configured. [#extension-category: envoy.filters.http.upstream]
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6;- Specified by:
getHttpFiltersin interfaceHttpProtocolOptionsOrBuilder
-
setHttpFilters
Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha. These filters will be applied for all HTTP streams which flow through this cluster. Unlike downstream HTTP filters, they will *not* be applied to terminated CONNECT requests. If using upstream HTTP filters, please be aware that local errors sent by upstream HTTP filters will not trigger retries, and local errors sent by upstream HTTP filters will count as a final response if hedging is configured. [#extension-category: envoy.filters.http.upstream]
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6; -
setHttpFilters
Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha. These filters will be applied for all HTTP streams which flow through this cluster. Unlike downstream HTTP filters, they will *not* be applied to terminated CONNECT requests. If using upstream HTTP filters, please be aware that local errors sent by upstream HTTP filters will not trigger retries, and local errors sent by upstream HTTP filters will count as a final response if hedging is configured. [#extension-category: envoy.filters.http.upstream]
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6; -
addHttpFilters
Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha. These filters will be applied for all HTTP streams which flow through this cluster. Unlike downstream HTTP filters, they will *not* be applied to terminated CONNECT requests. If using upstream HTTP filters, please be aware that local errors sent by upstream HTTP filters will not trigger retries, and local errors sent by upstream HTTP filters will count as a final response if hedging is configured. [#extension-category: envoy.filters.http.upstream]
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6; -
addHttpFilters
Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha. These filters will be applied for all HTTP streams which flow through this cluster. Unlike downstream HTTP filters, they will *not* be applied to terminated CONNECT requests. If using upstream HTTP filters, please be aware that local errors sent by upstream HTTP filters will not trigger retries, and local errors sent by upstream HTTP filters will count as a final response if hedging is configured. [#extension-category: envoy.filters.http.upstream]
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6; -
addHttpFilters
Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha. These filters will be applied for all HTTP streams which flow through this cluster. Unlike downstream HTTP filters, they will *not* be applied to terminated CONNECT requests. If using upstream HTTP filters, please be aware that local errors sent by upstream HTTP filters will not trigger retries, and local errors sent by upstream HTTP filters will count as a final response if hedging is configured. [#extension-category: envoy.filters.http.upstream]
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6; -
addHttpFilters
Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha. These filters will be applied for all HTTP streams which flow through this cluster. Unlike downstream HTTP filters, they will *not* be applied to terminated CONNECT requests. If using upstream HTTP filters, please be aware that local errors sent by upstream HTTP filters will not trigger retries, and local errors sent by upstream HTTP filters will count as a final response if hedging is configured. [#extension-category: envoy.filters.http.upstream]
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6; -
addAllHttpFilters
Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha. These filters will be applied for all HTTP streams which flow through this cluster. Unlike downstream HTTP filters, they will *not* be applied to terminated CONNECT requests. If using upstream HTTP filters, please be aware that local errors sent by upstream HTTP filters will not trigger retries, and local errors sent by upstream HTTP filters will count as a final response if hedging is configured. [#extension-category: envoy.filters.http.upstream]
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6; -
clearHttpFilters
Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha. These filters will be applied for all HTTP streams which flow through this cluster. Unlike downstream HTTP filters, they will *not* be applied to terminated CONNECT requests. If using upstream HTTP filters, please be aware that local errors sent by upstream HTTP filters will not trigger retries, and local errors sent by upstream HTTP filters will count as a final response if hedging is configured. [#extension-category: envoy.filters.http.upstream]
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6; -
removeHttpFilters
Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha. These filters will be applied for all HTTP streams which flow through this cluster. Unlike downstream HTTP filters, they will *not* be applied to terminated CONNECT requests. If using upstream HTTP filters, please be aware that local errors sent by upstream HTTP filters will not trigger retries, and local errors sent by upstream HTTP filters will count as a final response if hedging is configured. [#extension-category: envoy.filters.http.upstream]
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6; -
getHttpFiltersBuilder
Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha. These filters will be applied for all HTTP streams which flow through this cluster. Unlike downstream HTTP filters, they will *not* be applied to terminated CONNECT requests. If using upstream HTTP filters, please be aware that local errors sent by upstream HTTP filters will not trigger retries, and local errors sent by upstream HTTP filters will count as a final response if hedging is configured. [#extension-category: envoy.filters.http.upstream]
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6; -
getHttpFiltersOrBuilder
Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha. These filters will be applied for all HTTP streams which flow through this cluster. Unlike downstream HTTP filters, they will *not* be applied to terminated CONNECT requests. If using upstream HTTP filters, please be aware that local errors sent by upstream HTTP filters will not trigger retries, and local errors sent by upstream HTTP filters will count as a final response if hedging is configured. [#extension-category: envoy.filters.http.upstream]
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6;- Specified by:
getHttpFiltersOrBuilderin interfaceHttpProtocolOptionsOrBuilder
-
getHttpFiltersOrBuilderList
Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha. These filters will be applied for all HTTP streams which flow through this cluster. Unlike downstream HTTP filters, they will *not* be applied to terminated CONNECT requests. If using upstream HTTP filters, please be aware that local errors sent by upstream HTTP filters will not trigger retries, and local errors sent by upstream HTTP filters will count as a final response if hedging is configured. [#extension-category: envoy.filters.http.upstream]
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6;- Specified by:
getHttpFiltersOrBuilderListin interfaceHttpProtocolOptionsOrBuilder
-
addHttpFiltersBuilder
Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha. These filters will be applied for all HTTP streams which flow through this cluster. Unlike downstream HTTP filters, they will *not* be applied to terminated CONNECT requests. If using upstream HTTP filters, please be aware that local errors sent by upstream HTTP filters will not trigger retries, and local errors sent by upstream HTTP filters will count as a final response if hedging is configured. [#extension-category: envoy.filters.http.upstream]
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6; -
addHttpFiltersBuilder
Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha. These filters will be applied for all HTTP streams which flow through this cluster. Unlike downstream HTTP filters, they will *not* be applied to terminated CONNECT requests. If using upstream HTTP filters, please be aware that local errors sent by upstream HTTP filters will not trigger retries, and local errors sent by upstream HTTP filters will count as a final response if hedging is configured. [#extension-category: envoy.filters.http.upstream]
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6; -
getHttpFiltersBuilderList
Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha. These filters will be applied for all HTTP streams which flow through this cluster. Unlike downstream HTTP filters, they will *not* be applied to terminated CONNECT requests. If using upstream HTTP filters, please be aware that local errors sent by upstream HTTP filters will not trigger retries, and local errors sent by upstream HTTP filters will count as a final response if hedging is configured. [#extension-category: envoy.filters.http.upstream]
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter http_filters = 6; -
hasHeaderValidationConfig
public boolean hasHeaderValidationConfig()Configuration options for Unified Header Validation (UHV). UHV is an extensible mechanism for checking validity of HTTP responses. [#comment:TODO(yanavlasov): Make it a link to the default header validator doc when it becomes visible.] Leaving this field unspecified, selects the default header validator ``envoy.http.header_validators.envoy_default``. [#not-implemented-hide:] [#extension-category: envoy.http.header_validators]
.envoy.config.core.v3.TypedExtensionConfig header_validation_config = 7;- Specified by:
hasHeaderValidationConfigin interfaceHttpProtocolOptionsOrBuilder- Returns:
- Whether the headerValidationConfig field is set.
-
getHeaderValidationConfig
Configuration options for Unified Header Validation (UHV). UHV is an extensible mechanism for checking validity of HTTP responses. [#comment:TODO(yanavlasov): Make it a link to the default header validator doc when it becomes visible.] Leaving this field unspecified, selects the default header validator ``envoy.http.header_validators.envoy_default``. [#not-implemented-hide:] [#extension-category: envoy.http.header_validators]
.envoy.config.core.v3.TypedExtensionConfig header_validation_config = 7;- Specified by:
getHeaderValidationConfigin interfaceHttpProtocolOptionsOrBuilder- Returns:
- The headerValidationConfig.
-
setHeaderValidationConfig
Configuration options for Unified Header Validation (UHV). UHV is an extensible mechanism for checking validity of HTTP responses. [#comment:TODO(yanavlasov): Make it a link to the default header validator doc when it becomes visible.] Leaving this field unspecified, selects the default header validator ``envoy.http.header_validators.envoy_default``. [#not-implemented-hide:] [#extension-category: envoy.http.header_validators]
.envoy.config.core.v3.TypedExtensionConfig header_validation_config = 7; -
setHeaderValidationConfig
public HttpProtocolOptions.Builder setHeaderValidationConfig(TypedExtensionConfig.Builder builderForValue) Configuration options for Unified Header Validation (UHV). UHV is an extensible mechanism for checking validity of HTTP responses. [#comment:TODO(yanavlasov): Make it a link to the default header validator doc when it becomes visible.] Leaving this field unspecified, selects the default header validator ``envoy.http.header_validators.envoy_default``. [#not-implemented-hide:] [#extension-category: envoy.http.header_validators]
.envoy.config.core.v3.TypedExtensionConfig header_validation_config = 7; -
mergeHeaderValidationConfig
Configuration options for Unified Header Validation (UHV). UHV is an extensible mechanism for checking validity of HTTP responses. [#comment:TODO(yanavlasov): Make it a link to the default header validator doc when it becomes visible.] Leaving this field unspecified, selects the default header validator ``envoy.http.header_validators.envoy_default``. [#not-implemented-hide:] [#extension-category: envoy.http.header_validators]
.envoy.config.core.v3.TypedExtensionConfig header_validation_config = 7; -
clearHeaderValidationConfig
Configuration options for Unified Header Validation (UHV). UHV is an extensible mechanism for checking validity of HTTP responses. [#comment:TODO(yanavlasov): Make it a link to the default header validator doc when it becomes visible.] Leaving this field unspecified, selects the default header validator ``envoy.http.header_validators.envoy_default``. [#not-implemented-hide:] [#extension-category: envoy.http.header_validators]
.envoy.config.core.v3.TypedExtensionConfig header_validation_config = 7; -
getHeaderValidationConfigBuilder
Configuration options for Unified Header Validation (UHV). UHV is an extensible mechanism for checking validity of HTTP responses. [#comment:TODO(yanavlasov): Make it a link to the default header validator doc when it becomes visible.] Leaving this field unspecified, selects the default header validator ``envoy.http.header_validators.envoy_default``. [#not-implemented-hide:] [#extension-category: envoy.http.header_validators]
.envoy.config.core.v3.TypedExtensionConfig header_validation_config = 7; -
getHeaderValidationConfigOrBuilder
Configuration options for Unified Header Validation (UHV). UHV is an extensible mechanism for checking validity of HTTP responses. [#comment:TODO(yanavlasov): Make it a link to the default header validator doc when it becomes visible.] Leaving this field unspecified, selects the default header validator ``envoy.http.header_validators.envoy_default``. [#not-implemented-hide:] [#extension-category: envoy.http.header_validators]
.envoy.config.core.v3.TypedExtensionConfig header_validation_config = 7;- Specified by:
getHeaderValidationConfigOrBuilderin interfaceHttpProtocolOptionsOrBuilder
-
setUnknownFields
public final HttpProtocolOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
-
mergeUnknownFields
public final HttpProtocolOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<HttpProtocolOptions.Builder>
-