Class Router
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.envoyproxy.envoy.extensions.filters.http.router.v3.Router
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RouterOrBuilder,java.io.Serializable
public final class Router extends com.google.protobuf.GeneratedMessage implements RouterOrBuilder
[#next-free-field: 10]
Protobuf typeenvoy.extensions.filters.http.router.v3.Router- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRouter.Builder[#next-free-field: 10]static classRouter.UpstreamAccessLogOptionsProtobuf typeenvoy.extensions.filters.http.router.v3.Router.UpstreamAccessLogOptionsstatic interfaceRouter.UpstreamAccessLogOptionsOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static RoutergetDefaultInstance()RoutergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.BoolValuegetDynamicStats()Whether the router generates dynamic cluster statistics.com.google.protobuf.BoolValueOrBuildergetDynamicStatsOrBuilder()Whether the router generates dynamic cluster statistics.com.google.protobuf.Parser<Router>getParserForType()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.intgetSerializedSize()booleangetStartChildSpan()Deprecated.envoy.extensions.filters.http.router.v3.Router.start_child_span is deprecated.java.lang.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)..intgetUpstreamHttpFiltersCount()..java.util.List<HttpFilter>getUpstreamHttpFiltersList()..HttpFilterOrBuildergetUpstreamHttpFiltersOrBuilder(int index)..java.util.List<? extends HttpFilterOrBuilder>getUpstreamHttpFiltersOrBuilderList()..AccessLoggetUpstreamLog(int index)Configuration for HTTP upstream logs emitted by the router.intgetUpstreamLogCount()Configuration for HTTP upstream logs emitted by the router.java.util.List<AccessLog>getUpstreamLogList()Configuration for HTTP upstream logs emitted by the router.Router.UpstreamAccessLogOptionsgetUpstreamLogOptions()Additional upstream access log options.Router.UpstreamAccessLogOptionsOrBuildergetUpstreamLogOptionsOrBuilder()Additional upstream access log options.AccessLogOrBuildergetUpstreamLogOrBuilder(int index)Configuration for HTTP upstream logs emitted by the router.java.util.List<? extends AccessLogOrBuilder>getUpstreamLogOrBuilderList()Configuration for HTTP upstream logs emitted by the router.booleanhasDynamicStats()Whether the router generates dynamic cluster statistics.inthashCode()booleanhasUpstreamLogOptions()Additional upstream access log options.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Router.BuildernewBuilder()static Router.BuildernewBuilder(Router prototype)Router.BuildernewBuilderForType()protected Router.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static RouterparseDelimitedFrom(java.io.InputStream input)static RouterparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouterparseFrom(byte[] data)static RouterparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouterparseFrom(com.google.protobuf.ByteString data)static RouterparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouterparseFrom(com.google.protobuf.CodedInputStream input)static RouterparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouterparseFrom(java.io.InputStream input)static RouterparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouterparseFrom(java.nio.ByteBuffer data)static RouterparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Router>parser()Router.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
bitField0_
private int bitField0_
-
DYNAMIC_STATS_FIELD_NUMBER
public static final int DYNAMIC_STATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
dynamicStats_
private com.google.protobuf.BoolValue dynamicStats_
-
START_CHILD_SPAN_FIELD_NUMBER
public static final int START_CHILD_SPAN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
startChildSpan_
private boolean startChildSpan_
-
UPSTREAM_LOG_FIELD_NUMBER
public static final int UPSTREAM_LOG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
upstreamLog_
private java.util.List<AccessLog> upstreamLog_
-
UPSTREAM_LOG_OPTIONS_FIELD_NUMBER
public static final int UPSTREAM_LOG_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
upstreamLogOptions_
private Router.UpstreamAccessLogOptions upstreamLogOptions_
-
SUPPRESS_ENVOY_HEADERS_FIELD_NUMBER
public static final int SUPPRESS_ENVOY_HEADERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
suppressEnvoyHeaders_
private boolean suppressEnvoyHeaders_
-
STRICT_CHECK_HEADERS_FIELD_NUMBER
public static final int STRICT_CHECK_HEADERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
strictCheckHeaders_
private com.google.protobuf.LazyStringArrayList strictCheckHeaders_
-
RESPECT_EXPECTED_RQ_TIMEOUT_FIELD_NUMBER
public static final int RESPECT_EXPECTED_RQ_TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
respectExpectedRqTimeout_
private boolean respectExpectedRqTimeout_
-
SUPPRESS_GRPC_REQUEST_FAILURE_CODE_STATS_FIELD_NUMBER
public static final int SUPPRESS_GRPC_REQUEST_FAILURE_CODE_STATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
suppressGrpcRequestFailureCodeStats_
private boolean suppressGrpcRequestFailureCodeStats_
-
UPSTREAM_HTTP_FILTERS_FIELD_NUMBER
public static final int UPSTREAM_HTTP_FILTERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
upstreamHttpFilters_
private java.util.List<HttpFilter> upstreamHttpFilters_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final Router DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<Router> PARSER
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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.
-
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.
-
getUpstreamLogList
public java.util.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
-
getUpstreamLogOrBuilderList
public java.util.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
-
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
-
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
-
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.
-
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.
-
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 java.lang.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.
-
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.
-
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.
-
getUpstreamHttpFiltersList
public java.util.List<HttpFilter> getUpstreamHttpFiltersList()
.. note:: Upstream HTTP filters are currently in alpha. Optional HTTP filters for the upstream HTTP filter chain. These filters will be applied for all requests that pass through the router. They will also be applied to shadowed requests. Upstream HTTP filters cannot change route or cluster. Upstream HTTP filters specified on the cluster will override these filters. If using upstream HTTP filters, please be aware that local errors sent by upstream HTTP filters will not trigger retries, and local errors sent by upstream HTTP filters will count as a final response if hedging is configured. [#extension-category: envoy.filters.http.upstream]
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter upstream_http_filters = 8;- Specified by:
getUpstreamHttpFiltersListin interfaceRouterOrBuilder
-
getUpstreamHttpFiltersOrBuilderList
public java.util.List<? extends HttpFilterOrBuilder> getUpstreamHttpFiltersOrBuilderList()
.. note:: Upstream HTTP filters are currently in alpha. Optional HTTP filters for the upstream HTTP filter chain. These filters will be applied for all requests that pass through the router. They will also be applied to shadowed requests. Upstream HTTP filters cannot change route or cluster. Upstream HTTP filters specified on the cluster will override these filters. If using upstream HTTP filters, please be aware that local errors sent by upstream HTTP filters will not trigger retries, and local errors sent by upstream HTTP filters will count as a final response if hedging is configured. [#extension-category: envoy.filters.http.upstream]
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter upstream_http_filters = 8;- Specified by:
getUpstreamHttpFiltersOrBuilderListin interfaceRouterOrBuilder
-
getUpstreamHttpFiltersCount
public int getUpstreamHttpFiltersCount()
.. note:: Upstream HTTP filters are currently in alpha. Optional HTTP filters for the upstream HTTP filter chain. These filters will be applied for all requests that pass through the router. They will also be applied to shadowed requests. Upstream HTTP filters cannot change route or cluster. Upstream HTTP filters specified on the cluster will override these filters. If using upstream HTTP filters, please be aware that local errors sent by upstream HTTP filters will not trigger retries, and local errors sent by upstream HTTP filters will count as a final response if hedging is configured. [#extension-category: envoy.filters.http.upstream]
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter 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 HTTP filter chain. These filters will be applied for all requests that pass through the router. They will also be applied to shadowed requests. Upstream HTTP filters cannot change route or cluster. Upstream HTTP filters specified on the cluster will override these filters. If using upstream HTTP filters, please be aware that local errors sent by upstream HTTP filters will not trigger retries, and local errors sent by upstream HTTP filters will count as a final response if hedging is configured. [#extension-category: envoy.filters.http.upstream]
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter upstream_http_filters = 8;- Specified by:
getUpstreamHttpFiltersin interfaceRouterOrBuilder
-
getUpstreamHttpFiltersOrBuilder
public HttpFilterOrBuilder getUpstreamHttpFiltersOrBuilder(int index)
.. note:: Upstream HTTP filters are currently in alpha. Optional HTTP filters for the upstream HTTP filter chain. These filters will be applied for all requests that pass through the router. They will also be applied to shadowed requests. Upstream HTTP filters cannot change route or cluster. Upstream HTTP filters specified on the cluster will override these filters. If using upstream HTTP filters, please be aware that local errors sent by upstream HTTP filters will not trigger retries, and local errors sent by upstream HTTP filters will count as a final response if hedging is configured. [#extension-category: envoy.filters.http.upstream]
repeated .envoy.extensions.filters.network.http_connection_manager.v3.HttpFilter upstream_http_filters = 8;- Specified by:
getUpstreamHttpFiltersOrBuilderin interfaceRouterOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Router parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Router parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Router parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Router parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Router parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Router parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Router parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Router parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Router parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Router parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Router parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Router parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Router.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Router.Builder newBuilder()
-
newBuilder
public static Router.Builder newBuilder(Router prototype)
-
toBuilder
public Router.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Router.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static Router getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Router> parser()
-
getParserForType
public com.google.protobuf.Parser<Router> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public Router getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-