public static final class Router.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Router.Builder> implements RouterOrBuilder
[#next-free-field: 7]Protobuf type
envoy.extensions.filters.http.router.v3.Router| Modifier and Type | Method and Description |
|---|---|
Router.Builder |
addAllStrictCheckHeaders(Iterable<String> values)
Specifies a list of HTTP headers to strictly validate.
|
Router.Builder |
addAllUpstreamLog(Iterable<? extends AccessLog> values)
Configuration for HTTP upstream logs emitted by the router.
|
Router.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Router.Builder |
addStrictCheckHeaders(String value)
Specifies a list of HTTP headers to strictly validate.
|
Router.Builder |
addStrictCheckHeadersBytes(com.google.protobuf.ByteString value)
Specifies a list of HTTP headers to strictly validate.
|
Router.Builder |
addUpstreamLog(AccessLog.Builder builderForValue)
Configuration for HTTP upstream logs emitted by the router.
|
Router.Builder |
addUpstreamLog(AccessLog value)
Configuration for HTTP upstream logs emitted by the router.
|
Router.Builder |
addUpstreamLog(int index,
AccessLog.Builder builderForValue)
Configuration for HTTP upstream logs emitted by the router.
|
Router.Builder |
addUpstreamLog(int index,
AccessLog value)
Configuration for HTTP upstream logs emitted by the router.
|
AccessLog.Builder |
addUpstreamLogBuilder()
Configuration for HTTP upstream logs emitted by the router.
|
AccessLog.Builder |
addUpstreamLogBuilder(int index)
Configuration for HTTP upstream logs emitted by the router.
|
Router |
build() |
Router |
buildPartial() |
Router.Builder |
clear() |
Router.Builder |
clearDynamicStats()
Whether the router generates dynamic cluster statistics.
|
Router.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Router.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Router.Builder |
clearRespectExpectedRqTimeout()
If not set, ingress Envoy will ignore
:ref:`config_http_filters_router_x-envoy-expected-rq-timeout-ms` header, populated by egress
Envoy, when deriving timeout for upstream cluster.
|
Router.Builder |
clearStartChildSpan()
Whether to start a child span for egress routed calls.
|
Router.Builder |
clearStrictCheckHeaders()
Specifies a list of HTTP headers to strictly validate.
|
Router.Builder |
clearSuppressEnvoyHeaders()
Do not add any additional *x-envoy-* headers to requests or responses.
|
Router.Builder |
clearUpstreamLog()
Configuration for HTTP upstream logs emitted by the router.
|
Router.Builder |
clone() |
Router |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.BoolValue |
getDynamicStats()
Whether the router generates dynamic cluster statistics.
|
com.google.protobuf.BoolValue.Builder |
getDynamicStatsBuilder()
Whether the router generates dynamic cluster statistics.
|
com.google.protobuf.BoolValueOrBuilder |
getDynamicStatsOrBuilder()
Whether the router generates dynamic cluster statistics.
|
boolean |
getRespectExpectedRqTimeout()
If not set, ingress Envoy will ignore
:ref:`config_http_filters_router_x-envoy-expected-rq-timeout-ms` header, populated by egress
Envoy, when deriving timeout for upstream cluster.
|
boolean |
getStartChildSpan()
Whether to start a child span for egress routed calls.
|
String |
getStrictCheckHeaders(int index)
Specifies a list of HTTP headers to strictly validate.
|
com.google.protobuf.ByteString |
getStrictCheckHeadersBytes(int index)
Specifies a list of HTTP headers to strictly validate.
|
int |
getStrictCheckHeadersCount()
Specifies a list of HTTP headers to strictly validate.
|
com.google.protobuf.ProtocolStringList |
getStrictCheckHeadersList()
Specifies a list of HTTP headers to strictly validate.
|
boolean |
getSuppressEnvoyHeaders()
Do not add any additional *x-envoy-* headers to requests or responses.
|
AccessLog |
getUpstreamLog(int index)
Configuration for HTTP upstream logs emitted by the router.
|
AccessLog.Builder |
getUpstreamLogBuilder(int index)
Configuration for HTTP upstream logs emitted by the router.
|
List<AccessLog.Builder> |
getUpstreamLogBuilderList()
Configuration for HTTP upstream logs emitted by the router.
|
int |
getUpstreamLogCount()
Configuration for HTTP upstream logs emitted by the router.
|
List<AccessLog> |
getUpstreamLogList()
Configuration for HTTP upstream logs emitted by the router.
|
AccessLogOrBuilder |
getUpstreamLogOrBuilder(int index)
Configuration for HTTP upstream logs emitted by the router.
|
List<? extends AccessLogOrBuilder> |
getUpstreamLogOrBuilderList()
Configuration for HTTP upstream logs emitted by the router.
|
boolean |
hasDynamicStats()
Whether the router generates dynamic cluster statistics.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Router.Builder |
mergeDynamicStats(com.google.protobuf.BoolValue value)
Whether the router generates dynamic cluster statistics.
|
Router.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Router.Builder |
mergeFrom(com.google.protobuf.Message other) |
Router.Builder |
mergeFrom(Router other) |
Router.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Router.Builder |
removeUpstreamLog(int index)
Configuration for HTTP upstream logs emitted by the router.
|
Router.Builder |
setDynamicStats(com.google.protobuf.BoolValue.Builder builderForValue)
Whether the router generates dynamic cluster statistics.
|
Router.Builder |
setDynamicStats(com.google.protobuf.BoolValue value)
Whether the router generates dynamic cluster statistics.
|
Router.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Router.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Router.Builder |
setRespectExpectedRqTimeout(boolean value)
If not set, ingress Envoy will ignore
:ref:`config_http_filters_router_x-envoy-expected-rq-timeout-ms` header, populated by egress
Envoy, when deriving timeout for upstream cluster.
|
Router.Builder |
setStartChildSpan(boolean value)
Whether to start a child span for egress routed calls.
|
Router.Builder |
setStrictCheckHeaders(int index,
String value)
Specifies a list of HTTP headers to strictly validate.
|
Router.Builder |
setSuppressEnvoyHeaders(boolean value)
Do not add any additional *x-envoy-* headers to requests or responses.
|
Router.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Router.Builder |
setUpstreamLog(int index,
AccessLog.Builder builderForValue)
Configuration for HTTP upstream logs emitted by the router.
|
Router.Builder |
setUpstreamLog(int index,
AccessLog value)
Configuration for HTTP upstream logs emitted by the router.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>public Router.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>public Router getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Router build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Router buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Router.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>public Router.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>public Router.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>public Router.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>public Router.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>public Router.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>public Router.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Router.Builder>public Router.Builder mergeFrom(Router other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>public Router.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Router.Builder>IOExceptionpublic boolean hasDynamicStats()
Whether the router generates dynamic cluster statistics. Defaults to true. Can be disabled in high performance scenarios.
.google.protobuf.BoolValue dynamic_stats = 1;hasDynamicStats in interface RouterOrBuilderpublic com.google.protobuf.BoolValue getDynamicStats()
Whether the router generates dynamic cluster statistics. Defaults to true. Can be disabled in high performance scenarios.
.google.protobuf.BoolValue dynamic_stats = 1;getDynamicStats in interface RouterOrBuilderpublic Router.Builder setDynamicStats(com.google.protobuf.BoolValue value)
Whether the router generates dynamic cluster statistics. Defaults to true. Can be disabled in high performance scenarios.
.google.protobuf.BoolValue dynamic_stats = 1;public Router.Builder setDynamicStats(com.google.protobuf.BoolValue.Builder builderForValue)
Whether the router generates dynamic cluster statistics. Defaults to true. Can be disabled in high performance scenarios.
.google.protobuf.BoolValue dynamic_stats = 1;public Router.Builder mergeDynamicStats(com.google.protobuf.BoolValue value)
Whether the router generates dynamic cluster statistics. Defaults to true. Can be disabled in high performance scenarios.
.google.protobuf.BoolValue dynamic_stats = 1;public Router.Builder clearDynamicStats()
Whether the router generates dynamic cluster statistics. Defaults to true. Can be disabled in high performance scenarios.
.google.protobuf.BoolValue dynamic_stats = 1;public com.google.protobuf.BoolValue.Builder getDynamicStatsBuilder()
Whether the router generates dynamic cluster statistics. Defaults to true. Can be disabled in high performance scenarios.
.google.protobuf.BoolValue dynamic_stats = 1;public com.google.protobuf.BoolValueOrBuilder getDynamicStatsOrBuilder()
Whether the router generates dynamic cluster statistics. Defaults to true. Can be disabled in high performance scenarios.
.google.protobuf.BoolValue dynamic_stats = 1;getDynamicStatsOrBuilder in interface RouterOrBuilderpublic boolean getStartChildSpan()
Whether to start a child span for egress routed calls. This can be useful in scenarios where other filters (auth, ratelimit, etc.) make outbound calls and have child spans rooted at the same ingress parent. Defaults to false.
bool start_child_span = 2;getStartChildSpan in interface RouterOrBuilderpublic Router.Builder setStartChildSpan(boolean value)
Whether to start a child span for egress routed calls. This can be useful in scenarios where other filters (auth, ratelimit, etc.) make outbound calls and have child spans rooted at the same ingress parent. Defaults to false.
bool start_child_span = 2;public Router.Builder clearStartChildSpan()
Whether to start a child span for egress routed calls. This can be useful in scenarios where other filters (auth, ratelimit, etc.) make outbound calls and have child spans rooted at the same ingress parent. Defaults to false.
bool start_child_span = 2;public List<AccessLog> getUpstreamLogList()
Configuration for HTTP upstream logs emitted by the router. Upstream logs are configured in the same way as access logs, but each log entry represents an upstream request. Presuming retries are configured, multiple upstream requests may be made for each downstream (inbound) request.
repeated .envoy.config.accesslog.v3.AccessLog upstream_log = 3;getUpstreamLogList in interface RouterOrBuilderpublic int getUpstreamLogCount()
Configuration for HTTP upstream logs emitted by the router. Upstream logs are configured in the same way as access logs, but each log entry represents an upstream request. Presuming retries are configured, multiple upstream requests may be made for each downstream (inbound) request.
repeated .envoy.config.accesslog.v3.AccessLog upstream_log = 3;getUpstreamLogCount in interface RouterOrBuilderpublic AccessLog getUpstreamLog(int index)
Configuration for HTTP upstream logs emitted by the router. Upstream logs are configured in the same way as access logs, but each log entry represents an upstream request. Presuming retries are configured, multiple upstream requests may be made for each downstream (inbound) request.
repeated .envoy.config.accesslog.v3.AccessLog upstream_log = 3;getUpstreamLog in interface RouterOrBuilderpublic Router.Builder setUpstreamLog(int index, AccessLog value)
Configuration for HTTP upstream logs emitted by the router. Upstream logs are configured in the same way as access logs, but each log entry represents an upstream request. Presuming retries are configured, multiple upstream requests may be made for each downstream (inbound) request.
repeated .envoy.config.accesslog.v3.AccessLog upstream_log = 3;public Router.Builder setUpstreamLog(int index, AccessLog.Builder builderForValue)
Configuration for HTTP upstream logs emitted by the router. Upstream logs are configured in the same way as access logs, but each log entry represents an upstream request. Presuming retries are configured, multiple upstream requests may be made for each downstream (inbound) request.
repeated .envoy.config.accesslog.v3.AccessLog upstream_log = 3;public Router.Builder addUpstreamLog(AccessLog value)
Configuration for HTTP upstream logs emitted by the router. Upstream logs are configured in the same way as access logs, but each log entry represents an upstream request. Presuming retries are configured, multiple upstream requests may be made for each downstream (inbound) request.
repeated .envoy.config.accesslog.v3.AccessLog upstream_log = 3;public Router.Builder addUpstreamLog(int index, AccessLog value)
Configuration for HTTP upstream logs emitted by the router. Upstream logs are configured in the same way as access logs, but each log entry represents an upstream request. Presuming retries are configured, multiple upstream requests may be made for each downstream (inbound) request.
repeated .envoy.config.accesslog.v3.AccessLog upstream_log = 3;public Router.Builder addUpstreamLog(AccessLog.Builder builderForValue)
Configuration for HTTP upstream logs emitted by the router. Upstream logs are configured in the same way as access logs, but each log entry represents an upstream request. Presuming retries are configured, multiple upstream requests may be made for each downstream (inbound) request.
repeated .envoy.config.accesslog.v3.AccessLog upstream_log = 3;public Router.Builder addUpstreamLog(int index, AccessLog.Builder builderForValue)
Configuration for HTTP upstream logs emitted by the router. Upstream logs are configured in the same way as access logs, but each log entry represents an upstream request. Presuming retries are configured, multiple upstream requests may be made for each downstream (inbound) request.
repeated .envoy.config.accesslog.v3.AccessLog upstream_log = 3;public Router.Builder addAllUpstreamLog(Iterable<? extends AccessLog> values)
Configuration for HTTP upstream logs emitted by the router. Upstream logs are configured in the same way as access logs, but each log entry represents an upstream request. Presuming retries are configured, multiple upstream requests may be made for each downstream (inbound) request.
repeated .envoy.config.accesslog.v3.AccessLog upstream_log = 3;public Router.Builder clearUpstreamLog()
Configuration for HTTP upstream logs emitted by the router. Upstream logs are configured in the same way as access logs, but each log entry represents an upstream request. Presuming retries are configured, multiple upstream requests may be made for each downstream (inbound) request.
repeated .envoy.config.accesslog.v3.AccessLog upstream_log = 3;public Router.Builder removeUpstreamLog(int index)
Configuration for HTTP upstream logs emitted by the router. Upstream logs are configured in the same way as access logs, but each log entry represents an upstream request. Presuming retries are configured, multiple upstream requests may be made for each downstream (inbound) request.
repeated .envoy.config.accesslog.v3.AccessLog upstream_log = 3;public AccessLog.Builder getUpstreamLogBuilder(int index)
Configuration for HTTP upstream logs emitted by the router. Upstream logs are configured in the same way as access logs, but each log entry represents an upstream request. Presuming retries are configured, multiple upstream requests may be made for each downstream (inbound) request.
repeated .envoy.config.accesslog.v3.AccessLog upstream_log = 3;public AccessLogOrBuilder getUpstreamLogOrBuilder(int index)
Configuration for HTTP upstream logs emitted by the router. Upstream logs are configured in the same way as access logs, but each log entry represents an upstream request. Presuming retries are configured, multiple upstream requests may be made for each downstream (inbound) request.
repeated .envoy.config.accesslog.v3.AccessLog upstream_log = 3;getUpstreamLogOrBuilder in interface RouterOrBuilderpublic List<? extends AccessLogOrBuilder> getUpstreamLogOrBuilderList()
Configuration for HTTP upstream logs emitted by the router. Upstream logs are configured in the same way as access logs, but each log entry represents an upstream request. Presuming retries are configured, multiple upstream requests may be made for each downstream (inbound) request.
repeated .envoy.config.accesslog.v3.AccessLog upstream_log = 3;getUpstreamLogOrBuilderList in interface RouterOrBuilderpublic AccessLog.Builder addUpstreamLogBuilder()
Configuration for HTTP upstream logs emitted by the router. Upstream logs are configured in the same way as access logs, but each log entry represents an upstream request. Presuming retries are configured, multiple upstream requests may be made for each downstream (inbound) request.
repeated .envoy.config.accesslog.v3.AccessLog upstream_log = 3;public AccessLog.Builder addUpstreamLogBuilder(int index)
Configuration for HTTP upstream logs emitted by the router. Upstream logs are configured in the same way as access logs, but each log entry represents an upstream request. Presuming retries are configured, multiple upstream requests may be made for each downstream (inbound) request.
repeated .envoy.config.accesslog.v3.AccessLog upstream_log = 3;public List<AccessLog.Builder> getUpstreamLogBuilderList()
Configuration for HTTP upstream logs emitted by the router. Upstream logs are configured in the same way as access logs, but each log entry represents an upstream request. Presuming retries are configured, multiple upstream requests may be made for each downstream (inbound) request.
repeated .envoy.config.accesslog.v3.AccessLog upstream_log = 3;public boolean getSuppressEnvoyHeaders()
Do not add any additional *x-envoy-* headers to requests or responses. This only affects the :ref:`router filter generated *x-envoy-* headers <config_http_filters_router_headers_set>`, other Envoy filters and the HTTP connection manager may continue to set *x-envoy-* headers.
bool suppress_envoy_headers = 4;getSuppressEnvoyHeaders in interface RouterOrBuilderpublic Router.Builder setSuppressEnvoyHeaders(boolean value)
Do not add any additional *x-envoy-* headers to requests or responses. This only affects the :ref:`router filter generated *x-envoy-* headers <config_http_filters_router_headers_set>`, other Envoy filters and the HTTP connection manager may continue to set *x-envoy-* headers.
bool suppress_envoy_headers = 4;public Router.Builder clearSuppressEnvoyHeaders()
Do not add any additional *x-envoy-* headers to requests or responses. This only affects the :ref:`router filter generated *x-envoy-* headers <config_http_filters_router_headers_set>`, other Envoy filters and the HTTP connection manager may continue to set *x-envoy-* headers.
bool suppress_envoy_headers = 4;public com.google.protobuf.ProtocolStringList getStrictCheckHeadersList()
Specifies a list of HTTP headers to strictly validate. Envoy will reject a request and respond with HTTP status 400 if the request contains an invalid value for any of the headers listed in this field. Strict header checking is only supported for the following headers: Value must be a ','-delimited list (i.e. no spaces) of supported retry policy values: * :ref:`config_http_filters_router_x-envoy-retry-grpc-on` * :ref:`config_http_filters_router_x-envoy-retry-on` Value must be an integer: * :ref:`config_http_filters_router_x-envoy-max-retries` * :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms` * :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`
repeated string strict_check_headers = 5 [(.validate.rules) = { ... }getStrictCheckHeadersList in interface RouterOrBuilderpublic int getStrictCheckHeadersCount()
Specifies a list of HTTP headers to strictly validate. Envoy will reject a request and respond with HTTP status 400 if the request contains an invalid value for any of the headers listed in this field. Strict header checking is only supported for the following headers: Value must be a ','-delimited list (i.e. no spaces) of supported retry policy values: * :ref:`config_http_filters_router_x-envoy-retry-grpc-on` * :ref:`config_http_filters_router_x-envoy-retry-on` Value must be an integer: * :ref:`config_http_filters_router_x-envoy-max-retries` * :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms` * :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`
repeated string strict_check_headers = 5 [(.validate.rules) = { ... }getStrictCheckHeadersCount in interface RouterOrBuilderpublic String getStrictCheckHeaders(int index)
Specifies a list of HTTP headers to strictly validate. Envoy will reject a request and respond with HTTP status 400 if the request contains an invalid value for any of the headers listed in this field. Strict header checking is only supported for the following headers: Value must be a ','-delimited list (i.e. no spaces) of supported retry policy values: * :ref:`config_http_filters_router_x-envoy-retry-grpc-on` * :ref:`config_http_filters_router_x-envoy-retry-on` Value must be an integer: * :ref:`config_http_filters_router_x-envoy-max-retries` * :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms` * :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`
repeated string strict_check_headers = 5 [(.validate.rules) = { ... }getStrictCheckHeaders in interface RouterOrBuilderpublic com.google.protobuf.ByteString getStrictCheckHeadersBytes(int index)
Specifies a list of HTTP headers to strictly validate. Envoy will reject a request and respond with HTTP status 400 if the request contains an invalid value for any of the headers listed in this field. Strict header checking is only supported for the following headers: Value must be a ','-delimited list (i.e. no spaces) of supported retry policy values: * :ref:`config_http_filters_router_x-envoy-retry-grpc-on` * :ref:`config_http_filters_router_x-envoy-retry-on` Value must be an integer: * :ref:`config_http_filters_router_x-envoy-max-retries` * :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms` * :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`
repeated string strict_check_headers = 5 [(.validate.rules) = { ... }getStrictCheckHeadersBytes in interface RouterOrBuilderpublic Router.Builder setStrictCheckHeaders(int index, String value)
Specifies a list of HTTP headers to strictly validate. Envoy will reject a request and respond with HTTP status 400 if the request contains an invalid value for any of the headers listed in this field. Strict header checking is only supported for the following headers: Value must be a ','-delimited list (i.e. no spaces) of supported retry policy values: * :ref:`config_http_filters_router_x-envoy-retry-grpc-on` * :ref:`config_http_filters_router_x-envoy-retry-on` Value must be an integer: * :ref:`config_http_filters_router_x-envoy-max-retries` * :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms` * :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`
repeated string strict_check_headers = 5 [(.validate.rules) = { ... }public Router.Builder addStrictCheckHeaders(String value)
Specifies a list of HTTP headers to strictly validate. Envoy will reject a request and respond with HTTP status 400 if the request contains an invalid value for any of the headers listed in this field. Strict header checking is only supported for the following headers: Value must be a ','-delimited list (i.e. no spaces) of supported retry policy values: * :ref:`config_http_filters_router_x-envoy-retry-grpc-on` * :ref:`config_http_filters_router_x-envoy-retry-on` Value must be an integer: * :ref:`config_http_filters_router_x-envoy-max-retries` * :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms` * :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`
repeated string strict_check_headers = 5 [(.validate.rules) = { ... }public Router.Builder addAllStrictCheckHeaders(Iterable<String> values)
Specifies a list of HTTP headers to strictly validate. Envoy will reject a request and respond with HTTP status 400 if the request contains an invalid value for any of the headers listed in this field. Strict header checking is only supported for the following headers: Value must be a ','-delimited list (i.e. no spaces) of supported retry policy values: * :ref:`config_http_filters_router_x-envoy-retry-grpc-on` * :ref:`config_http_filters_router_x-envoy-retry-on` Value must be an integer: * :ref:`config_http_filters_router_x-envoy-max-retries` * :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms` * :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`
repeated string strict_check_headers = 5 [(.validate.rules) = { ... }public Router.Builder clearStrictCheckHeaders()
Specifies a list of HTTP headers to strictly validate. Envoy will reject a request and respond with HTTP status 400 if the request contains an invalid value for any of the headers listed in this field. Strict header checking is only supported for the following headers: Value must be a ','-delimited list (i.e. no spaces) of supported retry policy values: * :ref:`config_http_filters_router_x-envoy-retry-grpc-on` * :ref:`config_http_filters_router_x-envoy-retry-on` Value must be an integer: * :ref:`config_http_filters_router_x-envoy-max-retries` * :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms` * :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`
repeated string strict_check_headers = 5 [(.validate.rules) = { ... }public Router.Builder addStrictCheckHeadersBytes(com.google.protobuf.ByteString value)
Specifies a list of HTTP headers to strictly validate. Envoy will reject a request and respond with HTTP status 400 if the request contains an invalid value for any of the headers listed in this field. Strict header checking is only supported for the following headers: Value must be a ','-delimited list (i.e. no spaces) of supported retry policy values: * :ref:`config_http_filters_router_x-envoy-retry-grpc-on` * :ref:`config_http_filters_router_x-envoy-retry-on` Value must be an integer: * :ref:`config_http_filters_router_x-envoy-max-retries` * :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms` * :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`
repeated string strict_check_headers = 5 [(.validate.rules) = { ... }public boolean getRespectExpectedRqTimeout()
If not set, ingress Envoy will ignore :ref:`config_http_filters_router_x-envoy-expected-rq-timeout-ms` header, populated by egress Envoy, when deriving timeout for upstream cluster.
bool respect_expected_rq_timeout = 6;getRespectExpectedRqTimeout in interface RouterOrBuilderpublic Router.Builder setRespectExpectedRqTimeout(boolean value)
If not set, ingress Envoy will ignore :ref:`config_http_filters_router_x-envoy-expected-rq-timeout-ms` header, populated by egress Envoy, when deriving timeout for upstream cluster.
bool respect_expected_rq_timeout = 6;public Router.Builder clearRespectExpectedRqTimeout()
If not set, ingress Envoy will ignore :ref:`config_http_filters_router_x-envoy-expected-rq-timeout-ms` header, populated by egress Envoy, when deriving timeout for upstream cluster.
bool respect_expected_rq_timeout = 6;public final Router.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>public final Router.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.