public final class RouteConfiguration extends com.google.protobuf.GeneratedMessageV3 implements RouteConfigurationOrBuilder
[#next-free-field: 11]Protobuf type
envoy.config.route.v4alpha.RouteConfiguration| Modifier and Type | Class and Description |
|---|---|
static class |
RouteConfiguration.Builder
[#next-free-field: 11]
Protobuf type
envoy.config.route.v4alpha.RouteConfiguration |
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 |
INTERNAL_ONLY_HEADERS_FIELD_NUMBER |
static int |
MOST_SPECIFIC_HEADER_MUTATIONS_WINS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
REQUEST_HEADERS_TO_ADD_FIELD_NUMBER |
static int |
REQUEST_HEADERS_TO_REMOVE_FIELD_NUMBER |
static int |
RESPONSE_HEADERS_TO_ADD_FIELD_NUMBER |
static int |
RESPONSE_HEADERS_TO_REMOVE_FIELD_NUMBER |
static int |
VALIDATE_CLUSTERS_FIELD_NUMBER |
static int |
VHDS_FIELD_NUMBER |
static int |
VIRTUAL_HOSTS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RouteConfiguration |
getDefaultInstance() |
RouteConfiguration |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getInternalOnlyHeaders(int index)
Optionally specifies a list of HTTP headers that the connection manager
will consider to be internal only.
|
com.google.protobuf.ByteString |
getInternalOnlyHeadersBytes(int index)
Optionally specifies a list of HTTP headers that the connection manager
will consider to be internal only.
|
int |
getInternalOnlyHeadersCount()
Optionally specifies a list of HTTP headers that the connection manager
will consider to be internal only.
|
com.google.protobuf.ProtocolStringList |
getInternalOnlyHeadersList()
Optionally specifies a list of HTTP headers that the connection manager
will consider to be internal only.
|
boolean |
getMostSpecificHeaderMutationsWins()
By default, headers that should be added/removed are evaluated from most to least specific:
* route level
* virtual host level
* connection manager level
To allow setting overrides at the route or virtual host level, this order can be reversed
by setting this option to true.
|
String |
getName()
The name of the route configuration.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the route configuration.
|
com.google.protobuf.Parser<RouteConfiguration> |
getParserForType() |
HeaderValueOption |
getRequestHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each request
routed by the HTTP connection manager.
|
int |
getRequestHeadersToAddCount()
Specifies a list of HTTP headers that should be added to each request
routed by the HTTP connection manager.
|
List<HeaderValueOption> |
getRequestHeadersToAddList()
Specifies a list of HTTP headers that should be added to each request
routed by the HTTP connection manager.
|
HeaderValueOptionOrBuilder |
getRequestHeadersToAddOrBuilder(int index)
Specifies a list of HTTP headers that should be added to each request
routed by the HTTP connection manager.
|
List<? extends HeaderValueOptionOrBuilder> |
getRequestHeadersToAddOrBuilderList()
Specifies a list of HTTP headers that should be added to each request
routed by the HTTP connection manager.
|
String |
getRequestHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each request
routed by the HTTP connection manager.
|
com.google.protobuf.ByteString |
getRequestHeadersToRemoveBytes(int index)
Specifies a list of HTTP headers that should be removed from each request
routed by the HTTP connection manager.
|
int |
getRequestHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each request
routed by the HTTP connection manager.
|
com.google.protobuf.ProtocolStringList |
getRequestHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each request
routed by the HTTP connection manager.
|
HeaderValueOption |
getResponseHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each response that
the connection manager encodes.
|
int |
getResponseHeadersToAddCount()
Specifies a list of HTTP headers that should be added to each response that
the connection manager encodes.
|
List<HeaderValueOption> |
getResponseHeadersToAddList()
Specifies a list of HTTP headers that should be added to each response that
the connection manager encodes.
|
HeaderValueOptionOrBuilder |
getResponseHeadersToAddOrBuilder(int index)
Specifies a list of HTTP headers that should be added to each response that
the connection manager encodes.
|
List<? extends HeaderValueOptionOrBuilder> |
getResponseHeadersToAddOrBuilderList()
Specifies a list of HTTP headers that should be added to each response that
the connection manager encodes.
|
String |
getResponseHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each response
that the connection manager encodes.
|
com.google.protobuf.ByteString |
getResponseHeadersToRemoveBytes(int index)
Specifies a list of HTTP headers that should be removed from each response
that the connection manager encodes.
|
int |
getResponseHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each response
that the connection manager encodes.
|
com.google.protobuf.ProtocolStringList |
getResponseHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each response
that the connection manager encodes.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.BoolValue |
getValidateClusters()
An optional boolean that specifies whether the clusters that the route
table refers to will be validated by the cluster manager.
|
com.google.protobuf.BoolValueOrBuilder |
getValidateClustersOrBuilder()
An optional boolean that specifies whether the clusters that the route
table refers to will be validated by the cluster manager.
|
Vhds |
getVhds()
An array of virtual hosts will be dynamically loaded via the VHDS API.
|
VhdsOrBuilder |
getVhdsOrBuilder()
An array of virtual hosts will be dynamically loaded via the VHDS API.
|
VirtualHost |
getVirtualHosts(int index)
An array of virtual hosts that make up the route table.
|
int |
getVirtualHostsCount()
An array of virtual hosts that make up the route table.
|
List<VirtualHost> |
getVirtualHostsList()
An array of virtual hosts that make up the route table.
|
VirtualHostOrBuilder |
getVirtualHostsOrBuilder(int index)
An array of virtual hosts that make up the route table.
|
List<? extends VirtualHostOrBuilder> |
getVirtualHostsOrBuilderList()
An array of virtual hosts that make up the route table.
|
int |
hashCode() |
boolean |
hasValidateClusters()
An optional boolean that specifies whether the clusters that the route
table refers to will be validated by the cluster manager.
|
boolean |
hasVhds()
An array of virtual hosts will be dynamically loaded via the VHDS API.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RouteConfiguration.Builder |
newBuilder() |
static RouteConfiguration.Builder |
newBuilder(RouteConfiguration prototype) |
RouteConfiguration.Builder |
newBuilderForType() |
protected RouteConfiguration.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RouteConfiguration |
parseDelimitedFrom(InputStream input) |
static RouteConfiguration |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteConfiguration |
parseFrom(byte[] data) |
static RouteConfiguration |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteConfiguration |
parseFrom(ByteBuffer data) |
static RouteConfiguration |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteConfiguration |
parseFrom(com.google.protobuf.ByteString data) |
static RouteConfiguration |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteConfiguration |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RouteConfiguration |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteConfiguration |
parseFrom(InputStream input) |
static RouteConfiguration |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RouteConfiguration> |
parser() |
RouteConfiguration.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 NAME_FIELD_NUMBER
public static final int VIRTUAL_HOSTS_FIELD_NUMBER
public static final int VHDS_FIELD_NUMBER
public static final int INTERNAL_ONLY_HEADERS_FIELD_NUMBER
public static final int RESPONSE_HEADERS_TO_ADD_FIELD_NUMBER
public static final int RESPONSE_HEADERS_TO_REMOVE_FIELD_NUMBER
public static final int REQUEST_HEADERS_TO_ADD_FIELD_NUMBER
public static final int REQUEST_HEADERS_TO_REMOVE_FIELD_NUMBER
public static final int MOST_SPECIFIC_HEADER_MUTATIONS_WINS_FIELD_NUMBER
public static final int VALIDATE_CLUSTERS_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 String getName()
The name of the route configuration. For example, it might match :ref:`route_config_name <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.Rds.route_config_name>` in :ref:`envoy_api_msg_extensions.filters.network.http_connection_manager.v4alpha.Rds`.
string name = 1;getName in interface RouteConfigurationOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of the route configuration. For example, it might match :ref:`route_config_name <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.Rds.route_config_name>` in :ref:`envoy_api_msg_extensions.filters.network.http_connection_manager.v4alpha.Rds`.
string name = 1;getNameBytes in interface RouteConfigurationOrBuilderpublic List<VirtualHost> getVirtualHostsList()
An array of virtual hosts that make up the route table.
repeated .envoy.config.route.v4alpha.VirtualHost virtual_hosts = 2;getVirtualHostsList in interface RouteConfigurationOrBuilderpublic List<? extends VirtualHostOrBuilder> getVirtualHostsOrBuilderList()
An array of virtual hosts that make up the route table.
repeated .envoy.config.route.v4alpha.VirtualHost virtual_hosts = 2;getVirtualHostsOrBuilderList in interface RouteConfigurationOrBuilderpublic int getVirtualHostsCount()
An array of virtual hosts that make up the route table.
repeated .envoy.config.route.v4alpha.VirtualHost virtual_hosts = 2;getVirtualHostsCount in interface RouteConfigurationOrBuilderpublic VirtualHost getVirtualHosts(int index)
An array of virtual hosts that make up the route table.
repeated .envoy.config.route.v4alpha.VirtualHost virtual_hosts = 2;getVirtualHosts in interface RouteConfigurationOrBuilderpublic VirtualHostOrBuilder getVirtualHostsOrBuilder(int index)
An array of virtual hosts that make up the route table.
repeated .envoy.config.route.v4alpha.VirtualHost virtual_hosts = 2;getVirtualHostsOrBuilder in interface RouteConfigurationOrBuilderpublic boolean hasVhds()
An array of virtual hosts will be dynamically loaded via the VHDS API. Both *virtual_hosts* and *vhds* fields will be used when present. *virtual_hosts* can be used for a base routing table or for infrequently changing virtual hosts. *vhds* is used for on-demand discovery of virtual hosts. The contents of these two fields will be merged to generate a routing table for a given RouteConfiguration, with *vhds* derived configuration taking precedence.
.envoy.config.route.v4alpha.Vhds vhds = 9;hasVhds in interface RouteConfigurationOrBuilderpublic Vhds getVhds()
An array of virtual hosts will be dynamically loaded via the VHDS API. Both *virtual_hosts* and *vhds* fields will be used when present. *virtual_hosts* can be used for a base routing table or for infrequently changing virtual hosts. *vhds* is used for on-demand discovery of virtual hosts. The contents of these two fields will be merged to generate a routing table for a given RouteConfiguration, with *vhds* derived configuration taking precedence.
.envoy.config.route.v4alpha.Vhds vhds = 9;getVhds in interface RouteConfigurationOrBuilderpublic VhdsOrBuilder getVhdsOrBuilder()
An array of virtual hosts will be dynamically loaded via the VHDS API. Both *virtual_hosts* and *vhds* fields will be used when present. *virtual_hosts* can be used for a base routing table or for infrequently changing virtual hosts. *vhds* is used for on-demand discovery of virtual hosts. The contents of these two fields will be merged to generate a routing table for a given RouteConfiguration, with *vhds* derived configuration taking precedence.
.envoy.config.route.v4alpha.Vhds vhds = 9;getVhdsOrBuilder in interface RouteConfigurationOrBuilderpublic com.google.protobuf.ProtocolStringList getInternalOnlyHeadersList()
Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only. If they are found on external requests they will be cleaned prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more information.
repeated string internal_only_headers = 3 [(.validate.rules) = { ... }getInternalOnlyHeadersList in interface RouteConfigurationOrBuilderpublic int getInternalOnlyHeadersCount()
Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only. If they are found on external requests they will be cleaned prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more information.
repeated string internal_only_headers = 3 [(.validate.rules) = { ... }getInternalOnlyHeadersCount in interface RouteConfigurationOrBuilderpublic String getInternalOnlyHeaders(int index)
Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only. If they are found on external requests they will be cleaned prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more information.
repeated string internal_only_headers = 3 [(.validate.rules) = { ... }getInternalOnlyHeaders in interface RouteConfigurationOrBuilderpublic com.google.protobuf.ByteString getInternalOnlyHeadersBytes(int index)
Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only. If they are found on external requests they will be cleaned prior to filter invocation. See :ref:`config_http_conn_man_headers_x-envoy-internal` for more information.
repeated string internal_only_headers = 3 [(.validate.rules) = { ... }getInternalOnlyHeadersBytes in interface RouteConfigurationOrBuilderpublic List<HeaderValueOption> getResponseHeadersToAddList()
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost` or :ref:`envoy_api_msg_config.route.v4alpha.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v4alpha.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }getResponseHeadersToAddList in interface RouteConfigurationOrBuilderpublic List<? extends HeaderValueOptionOrBuilder> getResponseHeadersToAddOrBuilderList()
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost` or :ref:`envoy_api_msg_config.route.v4alpha.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v4alpha.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }getResponseHeadersToAddOrBuilderList in interface RouteConfigurationOrBuilderpublic int getResponseHeadersToAddCount()
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost` or :ref:`envoy_api_msg_config.route.v4alpha.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v4alpha.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }getResponseHeadersToAddCount in interface RouteConfigurationOrBuilderpublic HeaderValueOption getResponseHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost` or :ref:`envoy_api_msg_config.route.v4alpha.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v4alpha.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }getResponseHeadersToAdd in interface RouteConfigurationOrBuilderpublic HeaderValueOptionOrBuilder getResponseHeadersToAddOrBuilder(int index)
Specifies a list of HTTP headers that should be added to each response that the connection manager encodes. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost` or :ref:`envoy_api_msg_config.route.v4alpha.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v4alpha.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }getResponseHeadersToAddOrBuilder in interface RouteConfigurationOrBuilderpublic com.google.protobuf.ProtocolStringList getResponseHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.
repeated string response_headers_to_remove = 5 [(.validate.rules) = { ... }getResponseHeadersToRemoveList in interface RouteConfigurationOrBuilderpublic int getResponseHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.
repeated string response_headers_to_remove = 5 [(.validate.rules) = { ... }getResponseHeadersToRemoveCount in interface RouteConfigurationOrBuilderpublic String getResponseHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.
repeated string response_headers_to_remove = 5 [(.validate.rules) = { ... }getResponseHeadersToRemove in interface RouteConfigurationOrBuilderpublic com.google.protobuf.ByteString getResponseHeadersToRemoveBytes(int index)
Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.
repeated string response_headers_to_remove = 5 [(.validate.rules) = { ... }getResponseHeadersToRemoveBytes in interface RouteConfigurationOrBuilderpublic List<HeaderValueOption> getRequestHeadersToAddList()
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost` or :ref:`envoy_api_msg_config.route.v4alpha.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v4alpha.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }getRequestHeadersToAddList in interface RouteConfigurationOrBuilderpublic List<? extends HeaderValueOptionOrBuilder> getRequestHeadersToAddOrBuilderList()
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost` or :ref:`envoy_api_msg_config.route.v4alpha.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v4alpha.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }getRequestHeadersToAddOrBuilderList in interface RouteConfigurationOrBuilderpublic int getRequestHeadersToAddCount()
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost` or :ref:`envoy_api_msg_config.route.v4alpha.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v4alpha.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }getRequestHeadersToAddCount in interface RouteConfigurationOrBuilderpublic HeaderValueOption getRequestHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost` or :ref:`envoy_api_msg_config.route.v4alpha.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v4alpha.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }getRequestHeadersToAdd in interface RouteConfigurationOrBuilderpublic HeaderValueOptionOrBuilder getRequestHeadersToAddOrBuilder(int index)
Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager. Headers specified at this level are applied after headers from any enclosed :ref:`envoy_api_msg_config.route.v4alpha.VirtualHost` or :ref:`envoy_api_msg_config.route.v4alpha.RouteAction`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.config.core.v4alpha.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }getRequestHeadersToAddOrBuilder in interface RouteConfigurationOrBuilderpublic com.google.protobuf.ProtocolStringList getRequestHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.
repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }getRequestHeadersToRemoveList in interface RouteConfigurationOrBuilderpublic int getRequestHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.
repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }getRequestHeadersToRemoveCount in interface RouteConfigurationOrBuilderpublic String getRequestHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.
repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }getRequestHeadersToRemove in interface RouteConfigurationOrBuilderpublic com.google.protobuf.ByteString getRequestHeadersToRemoveBytes(int index)
Specifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.
repeated string request_headers_to_remove = 8 [(.validate.rules) = { ... }getRequestHeadersToRemoveBytes in interface RouteConfigurationOrBuilderpublic boolean getMostSpecificHeaderMutationsWins()
By default, headers that should be added/removed are evaluated from most to least specific: * route level * virtual host level * connection manager level To allow setting overrides at the route or virtual host level, this order can be reversed by setting this option to true. Defaults to false. [#next-major-version: In the v3 API, this will default to true.]
bool most_specific_header_mutations_wins = 10;getMostSpecificHeaderMutationsWins in interface RouteConfigurationOrBuilderpublic boolean hasValidateClusters()
An optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager. If set to true and a route refers to a non-existent cluster, the route table will not load. If set to false and a route refers to a non-existent cluster, the route table will load and the router filter will return a 404 if the route is selected at runtime. This setting defaults to true if the route table is statically defined via the :ref:`route_config <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.HttpConnectionManager.route_config>` option. This setting default to false if the route table is loaded dynamically via the :ref:`rds <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.HttpConnectionManager.rds>` option. Users may wish to override the default behavior in certain cases (for example when using CDS with a static route table).
.google.protobuf.BoolValue validate_clusters = 7;hasValidateClusters in interface RouteConfigurationOrBuilderpublic com.google.protobuf.BoolValue getValidateClusters()
An optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager. If set to true and a route refers to a non-existent cluster, the route table will not load. If set to false and a route refers to a non-existent cluster, the route table will load and the router filter will return a 404 if the route is selected at runtime. This setting defaults to true if the route table is statically defined via the :ref:`route_config <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.HttpConnectionManager.route_config>` option. This setting default to false if the route table is loaded dynamically via the :ref:`rds <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.HttpConnectionManager.rds>` option. Users may wish to override the default behavior in certain cases (for example when using CDS with a static route table).
.google.protobuf.BoolValue validate_clusters = 7;getValidateClusters in interface RouteConfigurationOrBuilderpublic com.google.protobuf.BoolValueOrBuilder getValidateClustersOrBuilder()
An optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager. If set to true and a route refers to a non-existent cluster, the route table will not load. If set to false and a route refers to a non-existent cluster, the route table will load and the router filter will return a 404 if the route is selected at runtime. This setting defaults to true if the route table is statically defined via the :ref:`route_config <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.HttpConnectionManager.route_config>` option. This setting default to false if the route table is loaded dynamically via the :ref:`rds <envoy_api_field_extensions.filters.network.http_connection_manager.v4alpha.HttpConnectionManager.rds>` option. Users may wish to override the default behavior in certain cases (for example when using CDS with a static route table).
.google.protobuf.BoolValue validate_clusters = 7;getValidateClustersOrBuilder in interface RouteConfigurationOrBuilderpublic 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 RouteConfiguration parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteConfiguration parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteConfiguration parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteConfiguration parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteConfiguration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteConfiguration parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteConfiguration parseFrom(InputStream input) throws IOException
IOExceptionpublic static RouteConfiguration parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteConfiguration parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RouteConfiguration parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteConfiguration parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RouteConfiguration parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RouteConfiguration.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RouteConfiguration.Builder newBuilder()
public static RouteConfiguration.Builder newBuilder(RouteConfiguration prototype)
public RouteConfiguration.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RouteConfiguration.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RouteConfiguration getDefaultInstance()
public static com.google.protobuf.Parser<RouteConfiguration> parser()
public com.google.protobuf.Parser<RouteConfiguration> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RouteConfiguration getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.