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: 12]
Protobuf type envoy.extensions.upstreams.http.v3.HttpProtocolOptions-
Method Summary
Modifier and TypeMethodDescriptionaddAllHashPolicy(Iterable<? extends RouteAction.HashPolicy> values) Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster.addAllHttpFilters(Iterable<? extends HttpFilter> values) Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha.addAllRequestMirrorPolicies(Iterable<? extends RouteAction.RequestMirrorPolicy> values) Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.addHashPolicy(int index, RouteAction.HashPolicy value) Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster.addHashPolicy(int index, RouteAction.HashPolicy.Builder builderForValue) Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster.Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster.addHashPolicy(RouteAction.HashPolicy.Builder builderForValue) Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster.Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster.addHashPolicyBuilder(int index) Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster.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) addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value) Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue) Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.addRequestMirrorPolicies(RouteAction.RequestMirrorPolicy.Builder builderForValue) Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.addRequestMirrorPoliciesBuilder(int index) Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.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) Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster.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) Defines http specific outlier detection parameters.Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.Specifies the retry policy for requests routed to this cluster.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!)getHashPolicy(int index) Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster.getHashPolicyBuilder(int index) Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster.Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster.intSpecifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster.Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster.getHashPolicyOrBuilder(int index) Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster.List<? extends RouteAction.HashPolicyOrBuilder>Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster.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.Defines http specific outlier detection parameters.Defines http specific outlier detection parameters.Defines http specific outlier detection parameters.getRequestMirrorPolicies(int index) Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.getRequestMirrorPoliciesBuilder(int index) Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.intSpecifies a list of HTTP-level mirroring policies for requests routed to this cluster.Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.getRequestMirrorPoliciesOrBuilder(int index) Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.List<? extends RouteAction.RequestMirrorPolicyOrBuilder>Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.Specifies the retry policy for requests routed to this cluster.Specifies the retry policy for requests routed to this cluster.Specifies the retry policy for requests routed to this cluster.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).booleanDefines http specific outlier detection parameters.booleanSpecifies the retry policy for requests routed to this cluster.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).Defines http specific outlier detection parameters.mergeRetryPolicy(RetryPolicy value) Specifies the retry policy for requests routed to this cluster.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.removeHashPolicy(int index) Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster.removeHttpFilters(int index) Optional HTTP filters for the upstream HTTP filter chain. .. note:: Upstream HTTP filters are currently in alpha.removeRequestMirrorPolicies(int index) Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.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!)setHashPolicy(int index, RouteAction.HashPolicy value) Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster.setHashPolicy(int index, RouteAction.HashPolicy.Builder builderForValue) Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster.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.Defines http specific outlier detection parameters.setOutlierDetection(HttpProtocolOptions.OutlierDetection.Builder builderForValue) Defines http specific outlier detection parameters.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value) Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue) Specifies a list of HTTP-level mirroring policies for requests routed to this cluster.setRetryPolicy(RetryPolicy value) Specifies the retry policy for requests routed to this cluster.setRetryPolicy(RetryPolicy.Builder builderForValue) Specifies the retry policy for requests routed to this cluster.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
-
hasOutlierDetection
public boolean hasOutlierDetection()Defines http specific outlier detection parameters.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.OutlierDetection outlier_detection = 8;- Specified by:
hasOutlierDetectionin interfaceHttpProtocolOptionsOrBuilder- Returns:
- Whether the outlierDetection field is set.
-
getOutlierDetection
Defines http specific outlier detection parameters.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.OutlierDetection outlier_detection = 8;- Specified by:
getOutlierDetectionin interfaceHttpProtocolOptionsOrBuilder- Returns:
- The outlierDetection.
-
setOutlierDetection
Defines http specific outlier detection parameters.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.OutlierDetection outlier_detection = 8; -
setOutlierDetection
public HttpProtocolOptions.Builder setOutlierDetection(HttpProtocolOptions.OutlierDetection.Builder builderForValue) Defines http specific outlier detection parameters.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.OutlierDetection outlier_detection = 8; -
mergeOutlierDetection
public HttpProtocolOptions.Builder mergeOutlierDetection(HttpProtocolOptions.OutlierDetection value) Defines http specific outlier detection parameters.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.OutlierDetection outlier_detection = 8; -
clearOutlierDetection
Defines http specific outlier detection parameters.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.OutlierDetection outlier_detection = 8; -
getOutlierDetectionBuilder
Defines http specific outlier detection parameters.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.OutlierDetection outlier_detection = 8; -
getOutlierDetectionOrBuilder
Defines http specific outlier detection parameters.
.envoy.extensions.upstreams.http.v3.HttpProtocolOptions.OutlierDetection outlier_detection = 8;- Specified by:
getOutlierDetectionOrBuilderin interfaceHttpProtocolOptionsOrBuilder
-
getRequestMirrorPoliciesList
Specifies a list of HTTP-level mirroring policies for requests routed to this cluster. Cluster-level policies override route-level policies when they both are configured. .. note:: Mirroring will not be triggered if the :ref:`primary cluster <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9;- Specified by:
getRequestMirrorPoliciesListin interfaceHttpProtocolOptionsOrBuilder
-
getRequestMirrorPoliciesCount
public int getRequestMirrorPoliciesCount()Specifies a list of HTTP-level mirroring policies for requests routed to this cluster. Cluster-level policies override route-level policies when they both are configured. .. note:: Mirroring will not be triggered if the :ref:`primary cluster <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9;- Specified by:
getRequestMirrorPoliciesCountin interfaceHttpProtocolOptionsOrBuilder
-
getRequestMirrorPolicies
Specifies a list of HTTP-level mirroring policies for requests routed to this cluster. Cluster-level policies override route-level policies when they both are configured. .. note:: Mirroring will not be triggered if the :ref:`primary cluster <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9;- Specified by:
getRequestMirrorPoliciesin interfaceHttpProtocolOptionsOrBuilder
-
setRequestMirrorPolicies
public HttpProtocolOptions.Builder setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value) Specifies a list of HTTP-level mirroring policies for requests routed to this cluster. Cluster-level policies override route-level policies when they both are configured. .. note:: Mirroring will not be triggered if the :ref:`primary cluster <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9; -
setRequestMirrorPolicies
public HttpProtocolOptions.Builder setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue) Specifies a list of HTTP-level mirroring policies for requests routed to this cluster. Cluster-level policies override route-level policies when they both are configured. .. note:: Mirroring will not be triggered if the :ref:`primary cluster <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9; -
addRequestMirrorPolicies
Specifies a list of HTTP-level mirroring policies for requests routed to this cluster. Cluster-level policies override route-level policies when they both are configured. .. note:: Mirroring will not be triggered if the :ref:`primary cluster <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9; -
addRequestMirrorPolicies
public HttpProtocolOptions.Builder addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value) Specifies a list of HTTP-level mirroring policies for requests routed to this cluster. Cluster-level policies override route-level policies when they both are configured. .. note:: Mirroring will not be triggered if the :ref:`primary cluster <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9; -
addRequestMirrorPolicies
public HttpProtocolOptions.Builder addRequestMirrorPolicies(RouteAction.RequestMirrorPolicy.Builder builderForValue) Specifies a list of HTTP-level mirroring policies for requests routed to this cluster. Cluster-level policies override route-level policies when they both are configured. .. note:: Mirroring will not be triggered if the :ref:`primary cluster <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9; -
addRequestMirrorPolicies
public HttpProtocolOptions.Builder addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue) Specifies a list of HTTP-level mirroring policies for requests routed to this cluster. Cluster-level policies override route-level policies when they both are configured. .. note:: Mirroring will not be triggered if the :ref:`primary cluster <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9; -
addAllRequestMirrorPolicies
public HttpProtocolOptions.Builder addAllRequestMirrorPolicies(Iterable<? extends RouteAction.RequestMirrorPolicy> values) Specifies a list of HTTP-level mirroring policies for requests routed to this cluster. Cluster-level policies override route-level policies when they both are configured. .. note:: Mirroring will not be triggered if the :ref:`primary cluster <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9; -
clearRequestMirrorPolicies
Specifies a list of HTTP-level mirroring policies for requests routed to this cluster. Cluster-level policies override route-level policies when they both are configured. .. note:: Mirroring will not be triggered if the :ref:`primary cluster <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9; -
removeRequestMirrorPolicies
Specifies a list of HTTP-level mirroring policies for requests routed to this cluster. Cluster-level policies override route-level policies when they both are configured. .. note:: Mirroring will not be triggered if the :ref:`primary cluster <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9; -
getRequestMirrorPoliciesBuilder
Specifies a list of HTTP-level mirroring policies for requests routed to this cluster. Cluster-level policies override route-level policies when they both are configured. .. note:: Mirroring will not be triggered if the :ref:`primary cluster <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9; -
getRequestMirrorPoliciesOrBuilder
Specifies a list of HTTP-level mirroring policies for requests routed to this cluster. Cluster-level policies override route-level policies when they both are configured. .. note:: Mirroring will not be triggered if the :ref:`primary cluster <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9;- Specified by:
getRequestMirrorPoliciesOrBuilderin interfaceHttpProtocolOptionsOrBuilder
-
getRequestMirrorPoliciesOrBuilderList
public List<? extends RouteAction.RequestMirrorPolicyOrBuilder> getRequestMirrorPoliciesOrBuilderList()Specifies a list of HTTP-level mirroring policies for requests routed to this cluster. Cluster-level policies override route-level policies when they both are configured. .. note:: Mirroring will not be triggered if the :ref:`primary cluster <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9;- Specified by:
getRequestMirrorPoliciesOrBuilderListin interfaceHttpProtocolOptionsOrBuilder
-
addRequestMirrorPoliciesBuilder
Specifies a list of HTTP-level mirroring policies for requests routed to this cluster. Cluster-level policies override route-level policies when they both are configured. .. note:: Mirroring will not be triggered if the :ref:`primary cluster <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9; -
addRequestMirrorPoliciesBuilder
Specifies a list of HTTP-level mirroring policies for requests routed to this cluster. Cluster-level policies override route-level policies when they both are configured. .. note:: Mirroring will not be triggered if the :ref:`primary cluster <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9; -
getRequestMirrorPoliciesBuilderList
Specifies a list of HTTP-level mirroring policies for requests routed to this cluster. Cluster-level policies override route-level policies when they both are configured. .. note:: Mirroring will not be triggered if the :ref:`primary cluster <envoy_v3_api_field_config.route.v3.RouteAction.cluster>` does not exist.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 9; -
getHashPolicyList
Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster. When configured, cluster-level policies override route-level policies. When not configured, route-level policies (if any) will be used. This enables consistent routing to the same upstream host for all requests to a cluster, which is particularly useful for stateful services like caching, session management, or sticky routing requirements. .. note:: Hash policies are only effective when the cluster is configured with a hash-based load balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>` or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10;- Specified by:
getHashPolicyListin interfaceHttpProtocolOptionsOrBuilder
-
getHashPolicyCount
public int getHashPolicyCount()Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster. When configured, cluster-level policies override route-level policies. When not configured, route-level policies (if any) will be used. This enables consistent routing to the same upstream host for all requests to a cluster, which is particularly useful for stateful services like caching, session management, or sticky routing requirements. .. note:: Hash policies are only effective when the cluster is configured with a hash-based load balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>` or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10;- Specified by:
getHashPolicyCountin interfaceHttpProtocolOptionsOrBuilder
-
getHashPolicy
Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster. When configured, cluster-level policies override route-level policies. When not configured, route-level policies (if any) will be used. This enables consistent routing to the same upstream host for all requests to a cluster, which is particularly useful for stateful services like caching, session management, or sticky routing requirements. .. note:: Hash policies are only effective when the cluster is configured with a hash-based load balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>` or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10;- Specified by:
getHashPolicyin interfaceHttpProtocolOptionsOrBuilder
-
setHashPolicy
Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster. When configured, cluster-level policies override route-level policies. When not configured, route-level policies (if any) will be used. This enables consistent routing to the same upstream host for all requests to a cluster, which is particularly useful for stateful services like caching, session management, or sticky routing requirements. .. note:: Hash policies are only effective when the cluster is configured with a hash-based load balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>` or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10; -
setHashPolicy
public HttpProtocolOptions.Builder setHashPolicy(int index, RouteAction.HashPolicy.Builder builderForValue) Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster. When configured, cluster-level policies override route-level policies. When not configured, route-level policies (if any) will be used. This enables consistent routing to the same upstream host for all requests to a cluster, which is particularly useful for stateful services like caching, session management, or sticky routing requirements. .. note:: Hash policies are only effective when the cluster is configured with a hash-based load balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>` or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10; -
addHashPolicy
Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster. When configured, cluster-level policies override route-level policies. When not configured, route-level policies (if any) will be used. This enables consistent routing to the same upstream host for all requests to a cluster, which is particularly useful for stateful services like caching, session management, or sticky routing requirements. .. note:: Hash policies are only effective when the cluster is configured with a hash-based load balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>` or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10; -
addHashPolicy
Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster. When configured, cluster-level policies override route-level policies. When not configured, route-level policies (if any) will be used. This enables consistent routing to the same upstream host for all requests to a cluster, which is particularly useful for stateful services like caching, session management, or sticky routing requirements. .. note:: Hash policies are only effective when the cluster is configured with a hash-based load balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>` or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10; -
addHashPolicy
Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster. When configured, cluster-level policies override route-level policies. When not configured, route-level policies (if any) will be used. This enables consistent routing to the same upstream host for all requests to a cluster, which is particularly useful for stateful services like caching, session management, or sticky routing requirements. .. note:: Hash policies are only effective when the cluster is configured with a hash-based load balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>` or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10; -
addHashPolicy
public HttpProtocolOptions.Builder addHashPolicy(int index, RouteAction.HashPolicy.Builder builderForValue) Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster. When configured, cluster-level policies override route-level policies. When not configured, route-level policies (if any) will be used. This enables consistent routing to the same upstream host for all requests to a cluster, which is particularly useful for stateful services like caching, session management, or sticky routing requirements. .. note:: Hash policies are only effective when the cluster is configured with a hash-based load balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>` or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10; -
addAllHashPolicy
public HttpProtocolOptions.Builder addAllHashPolicy(Iterable<? extends RouteAction.HashPolicy> values) Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster. When configured, cluster-level policies override route-level policies. When not configured, route-level policies (if any) will be used. This enables consistent routing to the same upstream host for all requests to a cluster, which is particularly useful for stateful services like caching, session management, or sticky routing requirements. .. note:: Hash policies are only effective when the cluster is configured with a hash-based load balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>` or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10; -
clearHashPolicy
Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster. When configured, cluster-level policies override route-level policies. When not configured, route-level policies (if any) will be used. This enables consistent routing to the same upstream host for all requests to a cluster, which is particularly useful for stateful services like caching, session management, or sticky routing requirements. .. note:: Hash policies are only effective when the cluster is configured with a hash-based load balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>` or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10; -
removeHashPolicy
Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster. When configured, cluster-level policies override route-level policies. When not configured, route-level policies (if any) will be used. This enables consistent routing to the same upstream host for all requests to a cluster, which is particularly useful for stateful services like caching, session management, or sticky routing requirements. .. note:: Hash policies are only effective when the cluster is configured with a hash-based load balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>` or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10; -
getHashPolicyBuilder
Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster. When configured, cluster-level policies override route-level policies. When not configured, route-level policies (if any) will be used. This enables consistent routing to the same upstream host for all requests to a cluster, which is particularly useful for stateful services like caching, session management, or sticky routing requirements. .. note:: Hash policies are only effective when the cluster is configured with a hash-based load balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>` or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10; -
getHashPolicyOrBuilder
Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster. When configured, cluster-level policies override route-level policies. When not configured, route-level policies (if any) will be used. This enables consistent routing to the same upstream host for all requests to a cluster, which is particularly useful for stateful services like caching, session management, or sticky routing requirements. .. note:: Hash policies are only effective when the cluster is configured with a hash-based load balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>` or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10;- Specified by:
getHashPolicyOrBuilderin interfaceHttpProtocolOptionsOrBuilder
-
getHashPolicyOrBuilderList
Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster. When configured, cluster-level policies override route-level policies. When not configured, route-level policies (if any) will be used. This enables consistent routing to the same upstream host for all requests to a cluster, which is particularly useful for stateful services like caching, session management, or sticky routing requirements. .. note:: Hash policies are only effective when the cluster is configured with a hash-based load balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>` or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10;- Specified by:
getHashPolicyOrBuilderListin interfaceHttpProtocolOptionsOrBuilder
-
addHashPolicyBuilder
Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster. When configured, cluster-level policies override route-level policies. When not configured, route-level policies (if any) will be used. This enables consistent routing to the same upstream host for all requests to a cluster, which is particularly useful for stateful services like caching, session management, or sticky routing requirements. .. note:: Hash policies are only effective when the cluster is configured with a hash-based load balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>` or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10; -
addHashPolicyBuilder
Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster. When configured, cluster-level policies override route-level policies. When not configured, route-level policies (if any) will be used. This enables consistent routing to the same upstream host for all requests to a cluster, which is particularly useful for stateful services like caching, session management, or sticky routing requirements. .. note:: Hash policies are only effective when the cluster is configured with a hash-based load balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>` or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10; -
getHashPolicyBuilderList
Specifies a list of hash policies for consistent hashing load balancing (e.g., Ring Hash or Maglev) for requests routed to this cluster. When configured, cluster-level policies override route-level policies. When not configured, route-level policies (if any) will be used. This enables consistent routing to the same upstream host for all requests to a cluster, which is particularly useful for stateful services like caching, session management, or sticky routing requirements. .. note:: Hash policies are only effective when the cluster is configured with a hash-based load balancing policy (e.g., :ref:`RING_HASH <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.RING_HASH>` or :ref:`MAGLEV <envoy_v3_api_enum_value_config.cluster.v3.Cluster.LbPolicy.MAGLEV>`).
repeated .envoy.config.route.v3.RouteAction.HashPolicy hash_policy = 10; -
hasRetryPolicy
public boolean hasRetryPolicy()Specifies the retry policy for requests routed to this cluster. When configured, cluster-level retry policy overrides route-level retry policy. When not configured, route-level retry policy (if any) will be used. .. note:: Cluster-level retry policy will override route-level retry policy entirely. Policies are not merged.
.envoy.config.route.v3.RetryPolicy retry_policy = 11;- Specified by:
hasRetryPolicyin interfaceHttpProtocolOptionsOrBuilder- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
Specifies the retry policy for requests routed to this cluster. When configured, cluster-level retry policy overrides route-level retry policy. When not configured, route-level retry policy (if any) will be used. .. note:: Cluster-level retry policy will override route-level retry policy entirely. Policies are not merged.
.envoy.config.route.v3.RetryPolicy retry_policy = 11;- Specified by:
getRetryPolicyin interfaceHttpProtocolOptionsOrBuilder- Returns:
- The retryPolicy.
-
setRetryPolicy
Specifies the retry policy for requests routed to this cluster. When configured, cluster-level retry policy overrides route-level retry policy. When not configured, route-level retry policy (if any) will be used. .. note:: Cluster-level retry policy will override route-level retry policy entirely. Policies are not merged.
.envoy.config.route.v3.RetryPolicy retry_policy = 11; -
setRetryPolicy
Specifies the retry policy for requests routed to this cluster. When configured, cluster-level retry policy overrides route-level retry policy. When not configured, route-level retry policy (if any) will be used. .. note:: Cluster-level retry policy will override route-level retry policy entirely. Policies are not merged.
.envoy.config.route.v3.RetryPolicy retry_policy = 11; -
mergeRetryPolicy
Specifies the retry policy for requests routed to this cluster. When configured, cluster-level retry policy overrides route-level retry policy. When not configured, route-level retry policy (if any) will be used. .. note:: Cluster-level retry policy will override route-level retry policy entirely. Policies are not merged.
.envoy.config.route.v3.RetryPolicy retry_policy = 11; -
clearRetryPolicy
Specifies the retry policy for requests routed to this cluster. When configured, cluster-level retry policy overrides route-level retry policy. When not configured, route-level retry policy (if any) will be used. .. note:: Cluster-level retry policy will override route-level retry policy entirely. Policies are not merged.
.envoy.config.route.v3.RetryPolicy retry_policy = 11; -
getRetryPolicyBuilder
Specifies the retry policy for requests routed to this cluster. When configured, cluster-level retry policy overrides route-level retry policy. When not configured, route-level retry policy (if any) will be used. .. note:: Cluster-level retry policy will override route-level retry policy entirely. Policies are not merged.
.envoy.config.route.v3.RetryPolicy retry_policy = 11; -
getRetryPolicyOrBuilder
Specifies the retry policy for requests routed to this cluster. When configured, cluster-level retry policy overrides route-level retry policy. When not configured, route-level retry policy (if any) will be used. .. note:: Cluster-level retry policy will override route-level retry policy entirely. Policies are not merged.
.envoy.config.route.v3.RetryPolicy retry_policy = 11;- Specified by:
getRetryPolicyOrBuilderin 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>
-