public final class Router extends com.google.protobuf.GeneratedMessageV3 implements RouterOrBuilder
envoy.config.filter.http.router.v2.Router| Modifier and Type | Class and Description |
|---|---|
static class |
Router.Builder
Protobuf type
envoy.config.filter.http.router.v2.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| Modifier and Type | Field and Description |
|---|---|
static int |
DYNAMIC_STATS_FIELD_NUMBER |
static int |
START_CHILD_SPAN_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() |
int |
getSerializedSize() |
boolean |
getStartChildSpan()
Whether to start a child span for egress routed calls.
|
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) |
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, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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 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.filter.accesslog.v2.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.filter.accesslog.v2.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.filter.accesslog.v2.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.filter.accesslog.v2.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.filter.accesslog.v2.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 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–2019 The Envoy Project. All rights reserved.