public final class Router extends com.google.protobuf.GeneratedMessageV3 implements RouterOrBuilder
[#next-free-field: 7]Protobuf type
envoy.extensions.filters.http.router.v4alpha.Router| Modifier and Type | Class and Description |
|---|---|
static class |
Router.Builder
[#next-free-field: 7]
Protobuf type
envoy.extensions.filters.http.router.v4alpha.Router |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DYNAMIC_STATS_FIELD_NUMBER |
static int |
RESPECT_EXPECTED_RQ_TIMEOUT_FIELD_NUMBER |
static int |
START_CHILD_SPAN_FIELD_NUMBER |
static int |
STRICT_CHECK_HEADERS_FIELD_NUMBER |
static int |
SUPPRESS_ENVOY_HEADERS_FIELD_NUMBER |
static int |
UPSTREAM_LOG_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Router |
getDefaultInstance() |
Router |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.BoolValue |
getDynamicStats()
Whether the router generates dynamic cluster statistics.
|
com.google.protobuf.BoolValueOrBuilder |
getDynamicStatsOrBuilder()
Whether the router generates dynamic cluster statistics.
|
com.google.protobuf.Parser<Router> |
getParserForType() |
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.
|
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
AccessLog |
getUpstreamLog(int index)
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.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Router.Builder |
newBuilder() |
static Router.Builder |
newBuilder(Router prototype) |
Router.Builder |
newBuilderForType() |
protected Router.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Router |
parseDelimitedFrom(InputStream input) |
static Router |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Router |
parseFrom(byte[] data) |
static Router |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Router |
parseFrom(ByteBuffer data) |
static Router |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Router |
parseFrom(com.google.protobuf.ByteString data) |
static Router |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Router |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Router |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Router |
parseFrom(InputStream input) |
static Router |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Router> |
parser() |
Router.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DYNAMIC_STATS_FIELD_NUMBER
public static final int START_CHILD_SPAN_FIELD_NUMBER
public static final int UPSTREAM_LOG_FIELD_NUMBER
public static final int SUPPRESS_ENVOY_HEADERS_FIELD_NUMBER
public static final int STRICT_CHECK_HEADERS_FIELD_NUMBER
public static final int RESPECT_EXPECTED_RQ_TIMEOUT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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.v4alpha.AccessLog upstream_log = 3;getUpstreamLogList 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.v4alpha.AccessLog upstream_log = 3;getUpstreamLogOrBuilderList 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.v4alpha.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.v4alpha.AccessLog upstream_log = 3;getUpstreamLog in interface RouterOrBuilderpublic 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.v4alpha.AccessLog upstream_log = 3;getUpstreamLogOrBuilder in interface RouterOrBuilderpublic 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Router parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Router parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Router parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Router parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Router parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Router parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Router parseFrom(InputStream input) throws IOException
IOExceptionpublic static Router parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Router parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Router parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Router parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Router parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Router.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Router.Builder newBuilder()
public static Router.Builder newBuilder(Router prototype)
public Router.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Router.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Router getDefaultInstance()
public static com.google.protobuf.Parser<Router> parser()
public com.google.protobuf.Parser<Router> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Router getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.