Class Router.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>
-
- io.envoyproxy.envoy.extensions.filters.http.router.v3.Router.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RouterOrBuilder,Cloneable
- Enclosing class:
- Router
public static final class Router.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Router.Builder> implements RouterOrBuilder
[#next-free-field: 10]
Protobuf typeenvoy.extensions.filters.http.router.v3.Router
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Router.BuilderaddAllStrictCheckHeaders(Iterable<String> values)Specifies a list of HTTP headers to strictly validate.Router.BuilderaddAllUpstreamHttpFilters(Iterable<? extends HttpFilter> values).. note:: Upstream HTTP filters are currently in alpha.Router.BuilderaddAllUpstreamLog(Iterable<? extends AccessLog> values)Configuration for HTTP upstream logs emitted by the router.Router.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Router.BuilderaddStrictCheckHeaders(String value)Specifies a list of HTTP headers to strictly validate.Router.BuilderaddStrictCheckHeadersBytes(com.google.protobuf.ByteString value)Specifies a list of HTTP headers to strictly validate.Router.BuilderaddUpstreamHttpFilters(int index, HttpFilter value).. note:: Upstream HTTP filters are currently in alpha.Router.BuilderaddUpstreamHttpFilters(int index, HttpFilter.Builder builderForValue).. note:: Upstream HTTP filters are currently in alpha.Router.BuilderaddUpstreamHttpFilters(HttpFilter value).. note:: Upstream HTTP filters are currently in alpha.Router.BuilderaddUpstreamHttpFilters(HttpFilter.Builder builderForValue).. note:: Upstream HTTP filters are currently in alpha.HttpFilter.BuilderaddUpstreamHttpFiltersBuilder().. note:: Upstream HTTP filters are currently in alpha.HttpFilter.BuilderaddUpstreamHttpFiltersBuilder(int index).. note:: Upstream HTTP filters are currently in alpha.Router.BuilderaddUpstreamLog(int index, AccessLog value)Configuration for HTTP upstream logs emitted by the router.Router.BuilderaddUpstreamLog(int index, AccessLog.Builder builderForValue)Configuration for HTTP upstream logs emitted by the router.Router.BuilderaddUpstreamLog(AccessLog value)Configuration for HTTP upstream logs emitted by the router.Router.BuilderaddUpstreamLog(AccessLog.Builder builderForValue)Configuration for HTTP upstream logs emitted by the router.AccessLog.BuilderaddUpstreamLogBuilder()Configuration for HTTP upstream logs emitted by the router.AccessLog.BuilderaddUpstreamLogBuilder(int index)Configuration for HTTP upstream logs emitted by the router.Routerbuild()RouterbuildPartial()Router.Builderclear()Router.BuilderclearDynamicStats()Whether the router generates dynamic cluster statistics.Router.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Router.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Router.BuilderclearRespectExpectedRqTimeout()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.BuilderclearStartChildSpan()Deprecated.envoy.extensions.filters.http.router.v3.Router.start_child_span is deprecated.Router.BuilderclearStrictCheckHeaders()Specifies a list of HTTP headers to strictly validate.Router.BuilderclearSuppressEnvoyHeaders()Do not add any additional ``x-envoy-`` headers to requests or responses.Router.BuilderclearSuppressGrpcRequestFailureCodeStats()If set, Envoy will avoid incrementing HTTP failure code stats on gRPC requests.Router.BuilderclearUpstreamHttpFilters().. note:: Upstream HTTP filters are currently in alpha.Router.BuilderclearUpstreamLog()Configuration for HTTP upstream logs emitted by the router.Router.BuilderclearUpstreamLogOptions()Additional upstream access log options.Router.Builderclone()RoutergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.BoolValuegetDynamicStats()Whether the router generates dynamic cluster statistics.com.google.protobuf.BoolValue.BuildergetDynamicStatsBuilder()Whether the router generates dynamic cluster statistics.com.google.protobuf.BoolValueOrBuildergetDynamicStatsOrBuilder()Whether the router generates dynamic cluster statistics.booleangetRespectExpectedRqTimeout()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.booleangetStartChildSpan()Deprecated.envoy.extensions.filters.http.router.v3.Router.start_child_span is deprecated.StringgetStrictCheckHeaders(int index)Specifies a list of HTTP headers to strictly validate.com.google.protobuf.ByteStringgetStrictCheckHeadersBytes(int index)Specifies a list of HTTP headers to strictly validate.intgetStrictCheckHeadersCount()Specifies a list of HTTP headers to strictly validate.com.google.protobuf.ProtocolStringListgetStrictCheckHeadersList()Specifies a list of HTTP headers to strictly validate.booleangetSuppressEnvoyHeaders()Do not add any additional ``x-envoy-`` headers to requests or responses.booleangetSuppressGrpcRequestFailureCodeStats()If set, Envoy will avoid incrementing HTTP failure code stats on gRPC requests.HttpFiltergetUpstreamHttpFilters(int index).. note:: Upstream HTTP filters are currently in alpha.HttpFilter.BuildergetUpstreamHttpFiltersBuilder(int index).. note:: Upstream HTTP filters are currently in alpha.List<HttpFilter.Builder>getUpstreamHttpFiltersBuilderList().. note:: Upstream HTTP filters are currently in alpha.intgetUpstreamHttpFiltersCount().. note:: Upstream HTTP filters are currently in alpha.List<HttpFilter>getUpstreamHttpFiltersList().. note:: Upstream HTTP filters are currently in alpha.HttpFilterOrBuildergetUpstreamHttpFiltersOrBuilder(int index).. note:: Upstream HTTP filters are currently in alpha.List<? extends HttpFilterOrBuilder>getUpstreamHttpFiltersOrBuilderList().. note:: Upstream HTTP filters are currently in alpha.AccessLoggetUpstreamLog(int index)Configuration for HTTP upstream logs emitted by the router.AccessLog.BuildergetUpstreamLogBuilder(int index)Configuration for HTTP upstream logs emitted by the router.List<AccessLog.Builder>getUpstreamLogBuilderList()Configuration for HTTP upstream logs emitted by the router.intgetUpstreamLogCount()Configuration for HTTP upstream logs emitted by the router.List<AccessLog>getUpstreamLogList()Configuration for HTTP upstream logs emitted by the router.Router.UpstreamAccessLogOptionsgetUpstreamLogOptions()Additional upstream access log options.Router.UpstreamAccessLogOptions.BuildergetUpstreamLogOptionsBuilder()Additional upstream access log options.Router.UpstreamAccessLogOptionsOrBuildergetUpstreamLogOptionsOrBuilder()Additional upstream access log options.AccessLogOrBuildergetUpstreamLogOrBuilder(int index)Configuration for HTTP upstream logs emitted by the router.List<? extends AccessLogOrBuilder>getUpstreamLogOrBuilderList()Configuration for HTTP upstream logs emitted by the router.booleanhasDynamicStats()Whether the router generates dynamic cluster statistics.booleanhasUpstreamLogOptions()Additional upstream access log options.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Router.BuildermergeDynamicStats(com.google.protobuf.BoolValue value)Whether the router generates dynamic cluster statistics.Router.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Router.BuildermergeFrom(com.google.protobuf.Message other)Router.BuildermergeFrom(Router other)Router.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Router.BuildermergeUpstreamLogOptions(Router.UpstreamAccessLogOptions value)Additional upstream access log options.Router.BuilderremoveUpstreamHttpFilters(int index).. note:: Upstream HTTP filters are currently in alpha.Router.BuilderremoveUpstreamLog(int index)Configuration for HTTP upstream logs emitted by the router.Router.BuildersetDynamicStats(com.google.protobuf.BoolValue value)Whether the router generates dynamic cluster statistics.Router.BuildersetDynamicStats(com.google.protobuf.BoolValue.Builder builderForValue)Whether the router generates dynamic cluster statistics.Router.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Router.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Router.BuildersetRespectExpectedRqTimeout(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.BuildersetStartChildSpan(boolean value)Deprecated.envoy.extensions.filters.http.router.v3.Router.start_child_span is deprecated.Router.BuildersetStrictCheckHeaders(int index, String value)Specifies a list of HTTP headers to strictly validate.Router.BuildersetSuppressEnvoyHeaders(boolean value)Do not add any additional ``x-envoy-`` headers to requests or responses.Router.BuildersetSuppressGrpcRequestFailureCodeStats(boolean value)If set, Envoy will avoid incrementing HTTP failure code stats on gRPC requests.Router.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Router.BuildersetUpstreamHttpFilters(int index, HttpFilter value).. note:: Upstream HTTP filters are currently in alpha.Router.BuildersetUpstreamHttpFilters(int index, HttpFilter.Builder builderForValue).. note:: Upstream HTTP filters are currently in alpha.Router.BuildersetUpstreamLog(int index, AccessLog value)Configuration for HTTP upstream logs emitted by the router.Router.BuildersetUpstreamLog(int index, AccessLog.Builder builderForValue)Configuration for HTTP upstream logs emitted by the router.Router.BuildersetUpstreamLogOptions(Router.UpstreamAccessLogOptions value)Additional upstream access log options.Router.BuildersetUpstreamLogOptions(Router.UpstreamAccessLogOptions.Builder builderForValue)Additional upstream access log options.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>
-
clear
public Router.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<Router.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<Router.Builder>
-
getDefaultInstanceForType
public Router getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Router build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Router buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Router.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<Router.Builder>
-
setField
public Router.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<Router.Builder>
-
clearField
public Router.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>
-
clearOneof
public Router.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>
-
setRepeatedField
public Router.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<Router.Builder>
-
addRepeatedField
public Router.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<Router.Builder>
-
mergeFrom
public Router.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Router.Builder>
-
mergeFrom
public Router.Builder mergeFrom(Router other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>
-
mergeFrom
public Router.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<Router.Builder>- Throws:
IOException
-
hasDynamicStats
public 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;- Specified by:
hasDynamicStatsin interfaceRouterOrBuilder- Returns:
- Whether the dynamicStats field is set.
-
getDynamicStats
public 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;- Specified by:
getDynamicStatsin interfaceRouterOrBuilder- Returns:
- The dynamicStats.
-
setDynamicStats
public 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;
-
setDynamicStats
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;
-
mergeDynamicStats
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;
-
clearDynamicStats
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;
-
getDynamicStatsBuilder
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;
-
getDynamicStatsOrBuilder
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;- Specified by:
getDynamicStatsOrBuilderin interfaceRouterOrBuilder
-
getStartChildSpan
@Deprecated public boolean getStartChildSpan()
Deprecated.envoy.extensions.filters.http.router.v3.Router.start_child_span is deprecated. See envoy/extensions/filters/http/router/v3/router.proto;l=60Whether 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. .. attention:: This field is deprecated by the :ref:`spawn_upstream_span <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.spawn_upstream_span>`. Please use that ``spawn_upstream_span`` field to control the span creation.
bool start_child_span = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Specified by:
getStartChildSpanin interfaceRouterOrBuilder- Returns:
- The startChildSpan.
-
setStartChildSpan
@Deprecated public Router.Builder setStartChildSpan(boolean value)
Deprecated.envoy.extensions.filters.http.router.v3.Router.start_child_span is deprecated. See envoy/extensions/filters/http/router/v3/router.proto;l=60Whether 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. .. attention:: This field is deprecated by the :ref:`spawn_upstream_span <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.spawn_upstream_span>`. Please use that ``spawn_upstream_span`` field to control the span creation.
bool start_child_span = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Parameters:
value- The startChildSpan to set.- Returns:
- This builder for chaining.
-
clearStartChildSpan
@Deprecated public Router.Builder clearStartChildSpan()
Deprecated.envoy.extensions.filters.http.router.v3.Router.start_child_span is deprecated. See envoy/extensions/filters/http/router/v3/router.proto;l=60Whether 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. .. attention:: This field is deprecated by the :ref:`spawn_upstream_span <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.spawn_upstream_span>`. Please use that ``spawn_upstream_span`` field to control the span creation.
bool start_child_span = 2 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];- Returns:
- This builder for chaining.
-
getUpstreamLogList
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;- Specified by:
getUpstreamLogListin interfaceRouterOrBuilder
-
getUpstreamLogCount
public 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;- Specified by:
getUpstreamLogCountin interfaceRouterOrBuilder
-
getUpstreamLog
public 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;- Specified by:
getUpstreamLogin interfaceRouterOrBuilder
-
setUpstreamLog
public 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;
-
setUpstreamLog
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;
-
addUpstreamLog
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;
-
addUpstreamLog
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;
-
addUpstreamLog
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;
-
addUpstreamLog
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;
-
addAllUpstreamLog
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;
-
clearUpstreamLog
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;
-
removeUpstreamLog
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;
-
getUpstreamLogBuilder
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;
-
getUpstreamLogOrBuilder
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;- Specified by:
getUpstreamLogOrBuilderin interfaceRouterOrBuilder
-
getUpstreamLogOrBuilderList
public 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;- Specified by:
getUpstreamLogOrBuilderListin interfaceRouterOrBuilder
-
addUpstreamLogBuilder
public 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;
-
addUpstreamLogBuilder
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;
-
getUpstreamLogBuilderList
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;
-
hasUpstreamLogOptions
public boolean hasUpstreamLogOptions()
Additional upstream access log options.
.envoy.extensions.filters.http.router.v3.Router.UpstreamAccessLogOptions upstream_log_options = 9;- Specified by:
hasUpstreamLogOptionsin interfaceRouterOrBuilder- Returns:
- Whether the upstreamLogOptions field is set.
-
getUpstreamLogOptions
public Router.UpstreamAccessLogOptions getUpstreamLogOptions()
Additional upstream access log options.
.envoy.extensions.filters.http.router.v3.Router.UpstreamAccessLogOptions upstream_log_options = 9;- Specified by:
getUpstreamLogOptionsin interfaceRouterOrBuilder- Returns:
- The upstreamLogOptions.
-
setUpstreamLogOptions
public Router.Builder setUpstreamLogOptions(Router.UpstreamAccessLogOptions value)
Additional upstream access log options.
.envoy.extensions.filters.http.router.v3.Router.UpstreamAccessLogOptions upstream_log_options = 9;
-
setUpstreamLogOptions
public Router.Builder setUpstreamLogOptions(Router.UpstreamAccessLogOptions.Builder builderForValue)
Additional upstream access log options.
.envoy.extensions.filters.http.router.v3.Router.UpstreamAccessLogOptions upstream_log_options = 9;
-
mergeUpstreamLogOptions
public Router.Builder mergeUpstreamLogOptions(Router.UpstreamAccessLogOptions value)
Additional upstream access log options.
.envoy.extensions.filters.http.router.v3.Router.UpstreamAccessLogOptions upstream_log_options = 9;
-
clearUpstreamLogOptions
public Router.Builder clearUpstreamLogOptions()
Additional upstream access log options.
.envoy.extensions.filters.http.router.v3.Router.UpstreamAccessLogOptions upstream_log_options = 9;
-
getUpstreamLogOptionsBuilder
public Router.UpstreamAccessLogOptions.Builder getUpstreamLogOptionsBuilder()
Additional upstream access log options.
.envoy.extensions.filters.http.router.v3.Router.UpstreamAccessLogOptions upstream_log_options = 9;
-
getUpstreamLogOptionsOrBuilder
public Router.UpstreamAccessLogOptionsOrBuilder getUpstreamLogOptionsOrBuilder()
Additional upstream access log options.
.envoy.extensions.filters.http.router.v3.Router.UpstreamAccessLogOptions upstream_log_options = 9;- Specified by:
getUpstreamLogOptionsOrBuilderin interfaceRouterOrBuilder
-
getSuppressEnvoyHeaders
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;- Specified by:
getSuppressEnvoyHeadersin interfaceRouterOrBuilder- Returns:
- The suppressEnvoyHeaders.
-
setSuppressEnvoyHeaders
public 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;- Parameters:
value- The suppressEnvoyHeaders to set.- Returns:
- This builder for chaining.
-
clearSuppressEnvoyHeaders
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;- Returns:
- This builder for chaining.
-
getStrictCheckHeadersList
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) = { ... }- Specified by:
getStrictCheckHeadersListin interfaceRouterOrBuilder- Returns:
- A list containing the strictCheckHeaders.
-
getStrictCheckHeadersCount
public 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) = { ... }- Specified by:
getStrictCheckHeadersCountin interfaceRouterOrBuilder- Returns:
- The count of strictCheckHeaders.
-
getStrictCheckHeaders
public 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) = { ... }- Specified by:
getStrictCheckHeadersin interfaceRouterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The strictCheckHeaders at the given index.
-
getStrictCheckHeadersBytes
public 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) = { ... }- Specified by:
getStrictCheckHeadersBytesin interfaceRouterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the strictCheckHeaders at the given index.
-
setStrictCheckHeaders
public 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) = { ... }- Parameters:
index- The index to set the value at.value- The strictCheckHeaders to set.- Returns:
- This builder for chaining.
-
addStrictCheckHeaders
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) = { ... }- Parameters:
value- The strictCheckHeaders to add.- Returns:
- This builder for chaining.
-
addAllStrictCheckHeaders
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) = { ... }- Parameters:
values- The strictCheckHeaders to add.- Returns:
- This builder for chaining.
-
clearStrictCheckHeaders
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) = { ... }- Returns:
- This builder for chaining.
-
addStrictCheckHeadersBytes
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) = { ... }- Parameters:
value- The bytes of the strictCheckHeaders to add.- Returns:
- This builder for chaining.
-
getRespectExpectedRqTimeout
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;- Specified by:
getRespectExpectedRqTimeoutin interfaceRouterOrBuilder- Returns:
- The respectExpectedRqTimeout.
-
setRespectExpectedRqTimeout
public 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;- Parameters:
value- The respectExpectedRqTimeout to set.- Returns:
- This builder for chaining.
-
clearRespectExpectedRqTimeout
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;- Returns:
- This builder for chaining.
-
getSuppressGrpcRequestFailureCodeStats
public boolean getSuppressGrpcRequestFailureCodeStats()
If set, Envoy will avoid incrementing HTTP failure code stats on gRPC requests. This includes the individual status code value (e.g. upstream_rq_504) and group stats (e.g. upstream_rq_5xx). This field is useful if interested in relying only on the gRPC stats filter to define success and failure metrics for gRPC requests as not all failed gRPC requests charge HTTP status code metrics. See :ref:`gRPC stats filter<config_http_filters_grpc_stats>` documentation for more details.
bool suppress_grpc_request_failure_code_stats = 7;- Specified by:
getSuppressGrpcRequestFailureCodeStatsin interfaceRouterOrBuilder- Returns:
- The suppressGrpcRequestFailureCodeStats.
-
setSuppressGrpcRequestFailureCodeStats
public Router.Builder setSuppressGrpcRequestFailureCodeStats(boolean value)
If set, Envoy will avoid incrementing HTTP failure code stats on gRPC requests. This includes the individual status code value (e.g. upstream_rq_504) and group stats (e.g. upstream_rq_5xx). This field is useful if interested in relying only on the gRPC stats filter to define success and failure metrics for gRPC requests as not all failed gRPC requests charge HTTP status code metrics. See :ref:`gRPC stats filter<config_http_filters_grpc_stats>` documentation for more details.
bool suppress_grpc_request_failure_code_stats = 7;- Parameters:
value- The suppressGrpcRequestFailureCodeStats to set.- Returns:
- This builder for chaining.
-
clearSuppressGrpcRequestFailureCodeStats
public Router.Builder clearSuppressGrpcRequestFailureCodeStats()
If set, Envoy will avoid incrementing HTTP failure code stats on gRPC requests. This includes the individual status code value (e.g. upstream_rq_504) and group stats (e.g. upstream_rq_5xx). This field is useful if interested in relying only on the gRPC stats filter to define success and failure metrics for gRPC requests as not all failed gRPC requests charge HTTP status code metrics. See :ref:`gRPC stats filter<config_http_filters_grpc_stats>` documentation for more details.
bool suppress_grpc_request_failure_code_stats = 7;- Returns:
- This builder for chaining.
-
getUpstreamHttpFiltersList
public List<HttpFilter> getUpstreamHttpFiltersList()
.. note:: Upstream HTTP filters are currently in alpha. Optional HTTP filters for the upstream filter chain. These filters will be applied for all requests that pass through the router. They will also be applied to shadowed requests. Upstream filters cannot change route or cluster. Upstream filters specified on the cluster will override these filters. If using upstream filters, please be aware that local errors sent by upstream filters will not trigger retries, and local errors sent by upstream 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 upstream_http_filters = 8;- Specified by:
getUpstreamHttpFiltersListin interfaceRouterOrBuilder
-
getUpstreamHttpFiltersCount
public int getUpstreamHttpFiltersCount()
.. note:: Upstream HTTP filters are currently in alpha. Optional HTTP filters for the upstream filter chain. These filters will be applied for all requests that pass through the router. They will also be applied to shadowed requests. Upstream filters cannot change route or cluster. Upstream filters specified on the cluster will override these filters. If using upstream filters, please be aware that local errors sent by upstream filters will not trigger retries, and local errors sent by upstream 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 upstream_http_filters = 8;- Specified by:
getUpstreamHttpFiltersCountin interfaceRouterOrBuilder
-
getUpstreamHttpFilters
public HttpFilter getUpstreamHttpFilters(int index)
.. note:: Upstream HTTP filters are currently in alpha. Optional HTTP filters for the upstream filter chain. These filters will be applied for all requests that pass through the router. They will also be applied to shadowed requests. Upstream filters cannot change route or cluster. Upstream filters specified on the cluster will override these filters. If using upstream filters, please be aware that local errors sent by upstream filters will not trigger retries, and local errors sent by upstream 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 upstream_http_filters = 8;- Specified by:
getUpstreamHttpFiltersin interfaceRouterOrBuilder
-
setUpstreamHttpFilters
public Router.Builder setUpstreamHttpFilters(int index, HttpFilter value)
.. note:: Upstream HTTP filters are currently in alpha. Optional HTTP filters for the upstream filter chain. These filters will be applied for all requests that pass through the router. They will also be applied to shadowed requests. Upstream filters cannot change route or cluster. Upstream filters specified on the cluster will override these filters. If using upstream filters, please be aware that local errors sent by upstream filters will not trigger retries, and local errors sent by upstream 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 upstream_http_filters = 8;
-
setUpstreamHttpFilters
public Router.Builder setUpstreamHttpFilters(int index, HttpFilter.Builder builderForValue)
.. note:: Upstream HTTP filters are currently in alpha. Optional HTTP filters for the upstream filter chain. These filters will be applied for all requests that pass through the router. They will also be applied to shadowed requests. Upstream filters cannot change route or cluster. Upstream filters specified on the cluster will override these filters. If using upstream filters, please be aware that local errors sent by upstream filters will not trigger retries, and local errors sent by upstream 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 upstream_http_filters = 8;
-
addUpstreamHttpFilters
public Router.Builder addUpstreamHttpFilters(HttpFilter value)
.. note:: Upstream HTTP filters are currently in alpha. Optional HTTP filters for the upstream filter chain. These filters will be applied for all requests that pass through the router. They will also be applied to shadowed requests. Upstream filters cannot change route or cluster. Upstream filters specified on the cluster will override these filters. If using upstream filters, please be aware that local errors sent by upstream filters will not trigger retries, and local errors sent by upstream 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 upstream_http_filters = 8;
-
addUpstreamHttpFilters
public Router.Builder addUpstreamHttpFilters(int index, HttpFilter value)
.. note:: Upstream HTTP filters are currently in alpha. Optional HTTP filters for the upstream filter chain. These filters will be applied for all requests that pass through the router. They will also be applied to shadowed requests. Upstream filters cannot change route or cluster. Upstream filters specified on the cluster will override these filters. If using upstream filters, please be aware that local errors sent by upstream filters will not trigger retries, and local errors sent by upstream 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 upstream_http_filters = 8;
-
addUpstreamHttpFilters
public Router.Builder addUpstreamHttpFilters(HttpFilter.Builder builderForValue)
.. note:: Upstream HTTP filters are currently in alpha. Optional HTTP filters for the upstream filter chain. These filters will be applied for all requests that pass through the router. They will also be applied to shadowed requests. Upstream filters cannot change route or cluster. Upstream filters specified on the cluster will override these filters. If using upstream filters, please be aware that local errors sent by upstream filters will not trigger retries, and local errors sent by upstream 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 upstream_http_filters = 8;
-
addUpstreamHttpFilters
public Router.Builder addUpstreamHttpFilters(int index, HttpFilter.Builder builderForValue)
.. note:: Upstream HTTP filters are currently in alpha. Optional HTTP filters for the upstream filter chain. These filters will be applied for all requests that pass through the router. They will also be applied to shadowed requests. Upstream filters cannot change route or cluster. Upstream filters specified on the cluster will override these filters. If using upstream filters, please be aware that local errors sent by upstream filters will not trigger retries, and local errors sent by upstream 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 upstream_http_filters = 8;
-
addAllUpstreamHttpFilters
public Router.Builder addAllUpstreamHttpFilters(Iterable<? extends HttpFilter> values)
.. note:: Upstream HTTP filters are currently in alpha. Optional HTTP filters for the upstream filter chain. These filters will be applied for all requests that pass through the router. They will also be applied to shadowed requests. Upstream filters cannot change route or cluster. Upstream filters specified on the cluster will override these filters. If using upstream filters, please be aware that local errors sent by upstream filters will not trigger retries, and local errors sent by upstream 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 upstream_http_filters = 8;
-
clearUpstreamHttpFilters
public Router.Builder clearUpstreamHttpFilters()
.. note:: Upstream HTTP filters are currently in alpha. Optional HTTP filters for the upstream filter chain. These filters will be applied for all requests that pass through the router. They will also be applied to shadowed requests. Upstream filters cannot change route or cluster. Upstream filters specified on the cluster will override these filters. If using upstream filters, please be aware that local errors sent by upstream filters will not trigger retries, and local errors sent by upstream 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 upstream_http_filters = 8;
-
removeUpstreamHttpFilters
public Router.Builder removeUpstreamHttpFilters(int index)
.. note:: Upstream HTTP filters are currently in alpha. Optional HTTP filters for the upstream filter chain. These filters will be applied for all requests that pass through the router. They will also be applied to shadowed requests. Upstream filters cannot change route or cluster. Upstream filters specified on the cluster will override these filters. If using upstream filters, please be aware that local errors sent by upstream filters will not trigger retries, and local errors sent by upstream 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 upstream_http_filters = 8;
-
getUpstreamHttpFiltersBuilder
public HttpFilter.Builder getUpstreamHttpFiltersBuilder(int index)
.. note:: Upstream HTTP filters are currently in alpha. Optional HTTP filters for the upstream filter chain. These filters will be applied for all requests that pass through the router. They will also be applied to shadowed requests. Upstream filters cannot change route or cluster. Upstream filters specified on the cluster will override these filters. If using upstream filters, please be aware that local errors sent by upstream filters will not trigger retries, and local errors sent by upstream 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 upstream_http_filters = 8;
-
getUpstreamHttpFiltersOrBuilder
public HttpFilterOrBuilder getUpstreamHttpFiltersOrBuilder(int index)
.. note:: Upstream HTTP filters are currently in alpha. Optional HTTP filters for the upstream filter chain. These filters will be applied for all requests that pass through the router. They will also be applied to shadowed requests. Upstream filters cannot change route or cluster. Upstream filters specified on the cluster will override these filters. If using upstream filters, please be aware that local errors sent by upstream filters will not trigger retries, and local errors sent by upstream 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 upstream_http_filters = 8;- Specified by:
getUpstreamHttpFiltersOrBuilderin interfaceRouterOrBuilder
-
getUpstreamHttpFiltersOrBuilderList
public List<? extends HttpFilterOrBuilder> getUpstreamHttpFiltersOrBuilderList()
.. note:: Upstream HTTP filters are currently in alpha. Optional HTTP filters for the upstream filter chain. These filters will be applied for all requests that pass through the router. They will also be applied to shadowed requests. Upstream filters cannot change route or cluster. Upstream filters specified on the cluster will override these filters. If using upstream filters, please be aware that local errors sent by upstream filters will not trigger retries, and local errors sent by upstream 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 upstream_http_filters = 8;- Specified by:
getUpstreamHttpFiltersOrBuilderListin interfaceRouterOrBuilder
-
addUpstreamHttpFiltersBuilder
public HttpFilter.Builder addUpstreamHttpFiltersBuilder()
.. note:: Upstream HTTP filters are currently in alpha. Optional HTTP filters for the upstream filter chain. These filters will be applied for all requests that pass through the router. They will also be applied to shadowed requests. Upstream filters cannot change route or cluster. Upstream filters specified on the cluster will override these filters. If using upstream filters, please be aware that local errors sent by upstream filters will not trigger retries, and local errors sent by upstream 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 upstream_http_filters = 8;
-
addUpstreamHttpFiltersBuilder
public HttpFilter.Builder addUpstreamHttpFiltersBuilder(int index)
.. note:: Upstream HTTP filters are currently in alpha. Optional HTTP filters for the upstream filter chain. These filters will be applied for all requests that pass through the router. They will also be applied to shadowed requests. Upstream filters cannot change route or cluster. Upstream filters specified on the cluster will override these filters. If using upstream filters, please be aware that local errors sent by upstream filters will not trigger retries, and local errors sent by upstream 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 upstream_http_filters = 8;
-
getUpstreamHttpFiltersBuilderList
public List<HttpFilter.Builder> getUpstreamHttpFiltersBuilderList()
.. note:: Upstream HTTP filters are currently in alpha. Optional HTTP filters for the upstream filter chain. These filters will be applied for all requests that pass through the router. They will also be applied to shadowed requests. Upstream filters cannot change route or cluster. Upstream filters specified on the cluster will override these filters. If using upstream filters, please be aware that local errors sent by upstream filters will not trigger retries, and local errors sent by upstream 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 upstream_http_filters = 8;
-
setUnknownFields
public final Router.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>
-
mergeUnknownFields
public final Router.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Router.Builder>
-
-