Package io.envoyproxy.envoy.api.v2
Class RouteConfiguration
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.api.v2.RouteConfiguration
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RouteConfigurationOrBuilder,Serializable
public final class RouteConfiguration
extends com.google.protobuf.GeneratedMessageV3
implements RouteConfigurationOrBuilder
[#next-free-field: 11]Protobuf type
envoy.api.v2.RouteConfiguration- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class[#next-free-field: 11]Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic RouteConfigurationstatic final com.google.protobuf.Descriptors.DescriptorgetInternalOnlyHeaders(int index) Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only.com.google.protobuf.ByteStringgetInternalOnlyHeadersBytes(int index) Optionally specifies a list of HTTP headers that the connection manager will consider to be internal only.intOptionally specifies a list of HTTP headers that the connection manager will consider to be internal only.com.google.protobuf.ProtocolStringListOptionally specifies a list of HTTP headers that the connection manager will consider to be internal only.booleanBy 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.getName()The name of the route configuration.com.google.protobuf.ByteStringThe name of the route configuration.com.google.protobuf.Parser<RouteConfiguration>getRequestHeadersToAdd(int index) Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager.intSpecifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager.Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager.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>Specifies a list of HTTP headers that should be added to each request routed by the HTTP connection manager.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.ByteStringgetRequestHeadersToRemoveBytes(int index) Specifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.intSpecifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.com.google.protobuf.ProtocolStringListSpecifies a list of HTTP headers that should be removed from each request routed by the HTTP connection manager.getResponseHeadersToAdd(int index) Specifies a list of HTTP headers that should be added to each response that the connection manager encodes.intSpecifies a list of HTTP headers that should be added to each response that the connection manager encodes.Specifies a list of HTTP headers that should be added to each response that the connection manager encodes.getResponseHeadersToAddOrBuilder(int index) Specifies a list of HTTP headers that should be added to each response that the connection manager encodes.List<? extends HeaderValueOptionOrBuilder>Specifies a list of HTTP headers that should be added to each response that the connection manager encodes.getResponseHeadersToRemove(int index) Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.com.google.protobuf.ByteStringgetResponseHeadersToRemoveBytes(int index) Specifies a list of HTTP headers that should be removed from each response that the connection manager encodes.intSpecifies a list of HTTP headers that should be removed from each response that the connection manager encodes.com.google.protobuf.ProtocolStringListSpecifies a list of HTTP headers that should be removed from each response that the connection manager encodes.intcom.google.protobuf.BoolValueAn optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager.com.google.protobuf.BoolValueOrBuilderAn optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager.getVhds()An array of virtual hosts will be dynamically loaded via the VHDS API.An array of virtual hosts will be dynamically loaded via the VHDS API.getVirtualHosts(int index) An array of virtual hosts that make up the route table.intAn array of virtual hosts that make up the route table.An array of virtual hosts that make up the route table.getVirtualHostsOrBuilder(int index) An array of virtual hosts that make up the route table.List<? extends VirtualHostOrBuilder>An array of virtual hosts that make up the route table.inthashCode()booleanAn optional boolean that specifies whether the clusters that the route table refers to will be validated by the cluster manager.booleanhasVhds()An array of virtual hosts will be dynamically loaded via the VHDS API.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic RouteConfiguration.Builderstatic RouteConfiguration.BuildernewBuilder(RouteConfiguration prototype) protected RouteConfiguration.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static RouteConfigurationparseDelimitedFrom(InputStream input) static RouteConfigurationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RouteConfigurationparseFrom(byte[] data) static RouteConfigurationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RouteConfigurationparseFrom(com.google.protobuf.ByteString data) static RouteConfigurationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RouteConfigurationparseFrom(com.google.protobuf.CodedInputStream input) static RouteConfigurationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RouteConfigurationparseFrom(InputStream input) static RouteConfigurationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RouteConfigurationparseFrom(ByteBuffer data) static RouteConfigurationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RouteConfiguration>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
VIRTUAL_HOSTS_FIELD_NUMBER
public static final int VIRTUAL_HOSTS_FIELD_NUMBER- See Also:
-
VHDS_FIELD_NUMBER
public static final int VHDS_FIELD_NUMBER- See Also:
-
INTERNAL_ONLY_HEADERS_FIELD_NUMBER
public static final int INTERNAL_ONLY_HEADERS_FIELD_NUMBER- See Also:
-
RESPONSE_HEADERS_TO_ADD_FIELD_NUMBER
public static final int RESPONSE_HEADERS_TO_ADD_FIELD_NUMBER- See Also:
-
RESPONSE_HEADERS_TO_REMOVE_FIELD_NUMBER
public static final int RESPONSE_HEADERS_TO_REMOVE_FIELD_NUMBER- See Also:
-
REQUEST_HEADERS_TO_ADD_FIELD_NUMBER
public static final int REQUEST_HEADERS_TO_ADD_FIELD_NUMBER- See Also:
-
REQUEST_HEADERS_TO_REMOVE_FIELD_NUMBER
public static final int REQUEST_HEADERS_TO_REMOVE_FIELD_NUMBER- See Also:
-
MOST_SPECIFIC_HEADER_MUTATIONS_WINS_FIELD_NUMBER
public static final int MOST_SPECIFIC_HEADER_MUTATIONS_WINS_FIELD_NUMBER- See Also:
-
VALIDATE_CLUSTERS_FIELD_NUMBER
public static final int VALIDATE_CLUSTERS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
The name of the route configuration. For example, it might match :ref:`route_config_name <envoy_api_field_config.filter.network.http_connection_manager.v2.Rds.route_config_name>` in :ref:`envoy_api_msg_config.filter.network.http_connection_manager.v2.Rds`.
string name = 1;- Specified by:
getNamein interfaceRouteConfigurationOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the route configuration. For example, it might match :ref:`route_config_name <envoy_api_field_config.filter.network.http_connection_manager.v2.Rds.route_config_name>` in :ref:`envoy_api_msg_config.filter.network.http_connection_manager.v2.Rds`.
string name = 1;- Specified by:
getNameBytesin interfaceRouteConfigurationOrBuilder- Returns:
- The bytes for name.
-
getVirtualHostsList
An array of virtual hosts that make up the route table.
repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2;- Specified by:
getVirtualHostsListin interfaceRouteConfigurationOrBuilder
-
getVirtualHostsOrBuilderList
An array of virtual hosts that make up the route table.
repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2;- Specified by:
getVirtualHostsOrBuilderListin interfaceRouteConfigurationOrBuilder
-
getVirtualHostsCount
public int getVirtualHostsCount()An array of virtual hosts that make up the route table.
repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2;- Specified by:
getVirtualHostsCountin interfaceRouteConfigurationOrBuilder
-
getVirtualHosts
An array of virtual hosts that make up the route table.
repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2;- Specified by:
getVirtualHostsin interfaceRouteConfigurationOrBuilder
-
getVirtualHostsOrBuilder
An array of virtual hosts that make up the route table.
repeated .envoy.api.v2.route.VirtualHost virtual_hosts = 2;- Specified by:
getVirtualHostsOrBuilderin interfaceRouteConfigurationOrBuilder
-
hasVhds
public 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.api.v2.Vhds vhds = 9;- Specified by:
hasVhdsin interfaceRouteConfigurationOrBuilder- Returns:
- Whether the vhds field is set.
-
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.api.v2.Vhds vhds = 9;- Specified by:
getVhdsin interfaceRouteConfigurationOrBuilder- Returns:
- The vhds.
-
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.api.v2.Vhds vhds = 9;- Specified by:
getVhdsOrBuilderin interfaceRouteConfigurationOrBuilder
-
getInternalOnlyHeadersList
public 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) = { ... }- Specified by:
getInternalOnlyHeadersListin interfaceRouteConfigurationOrBuilder- Returns:
- A list containing the internalOnlyHeaders.
-
getInternalOnlyHeadersCount
public 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) = { ... }- Specified by:
getInternalOnlyHeadersCountin interfaceRouteConfigurationOrBuilder- Returns:
- The count of internalOnlyHeaders.
-
getInternalOnlyHeaders
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) = { ... }- Specified by:
getInternalOnlyHeadersin interfaceRouteConfigurationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The internalOnlyHeaders at the given index.
-
getInternalOnlyHeadersBytes
public 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) = { ... }- Specified by:
getInternalOnlyHeadersBytesin interfaceRouteConfigurationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the internalOnlyHeaders at the given index.
-
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_route.VirtualHost` or :ref:`envoy_api_msg_route.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.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToAddListin interfaceRouteConfigurationOrBuilder
-
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_route.VirtualHost` or :ref:`envoy_api_msg_route.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.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToAddOrBuilderListin interfaceRouteConfigurationOrBuilder
-
getResponseHeadersToAddCount
public 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_route.VirtualHost` or :ref:`envoy_api_msg_route.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.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToAddCountin interfaceRouteConfigurationOrBuilder
-
getResponseHeadersToAdd
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_route.VirtualHost` or :ref:`envoy_api_msg_route.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.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToAddin interfaceRouteConfigurationOrBuilder
-
getResponseHeadersToAddOrBuilder
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_route.VirtualHost` or :ref:`envoy_api_msg_route.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.api.v2.core.HeaderValueOption response_headers_to_add = 4 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToAddOrBuilderin interfaceRouteConfigurationOrBuilder
-
getResponseHeadersToRemoveList
public 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) = { ... }- Specified by:
getResponseHeadersToRemoveListin interfaceRouteConfigurationOrBuilder- Returns:
- A list containing the responseHeadersToRemove.
-
getResponseHeadersToRemoveCount
public 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) = { ... }- Specified by:
getResponseHeadersToRemoveCountin interfaceRouteConfigurationOrBuilder- Returns:
- The count of responseHeadersToRemove.
-
getResponseHeadersToRemove
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) = { ... }- Specified by:
getResponseHeadersToRemovein interfaceRouteConfigurationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The responseHeadersToRemove at the given index.
-
getResponseHeadersToRemoveBytes
public 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) = { ... }- Specified by:
getResponseHeadersToRemoveBytesin interfaceRouteConfigurationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the responseHeadersToRemove at the given index.
-
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_route.VirtualHost` or :ref:`envoy_api_msg_route.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.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddListin interfaceRouteConfigurationOrBuilder
-
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_route.VirtualHost` or :ref:`envoy_api_msg_route.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.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddOrBuilderListin interfaceRouteConfigurationOrBuilder
-
getRequestHeadersToAddCount
public 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_route.VirtualHost` or :ref:`envoy_api_msg_route.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.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddCountin interfaceRouteConfigurationOrBuilder
-
getRequestHeadersToAdd
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_route.VirtualHost` or :ref:`envoy_api_msg_route.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.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddin interfaceRouteConfigurationOrBuilder
-
getRequestHeadersToAddOrBuilder
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_route.VirtualHost` or :ref:`envoy_api_msg_route.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.api.v2.core.HeaderValueOption request_headers_to_add = 6 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddOrBuilderin interfaceRouteConfigurationOrBuilder
-
getRequestHeadersToRemoveList
public 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) = { ... }- Specified by:
getRequestHeadersToRemoveListin interfaceRouteConfigurationOrBuilder- Returns:
- A list containing the requestHeadersToRemove.
-
getRequestHeadersToRemoveCount
public 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) = { ... }- Specified by:
getRequestHeadersToRemoveCountin interfaceRouteConfigurationOrBuilder- Returns:
- The count of requestHeadersToRemove.
-
getRequestHeadersToRemove
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) = { ... }- Specified by:
getRequestHeadersToRemovein interfaceRouteConfigurationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The requestHeadersToRemove at the given index.
-
getRequestHeadersToRemoveBytes
public 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) = { ... }- Specified by:
getRequestHeadersToRemoveBytesin interfaceRouteConfigurationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the requestHeadersToRemove at the given index.
-
getMostSpecificHeaderMutationsWins
public 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;- Specified by:
getMostSpecificHeaderMutationsWinsin interfaceRouteConfigurationOrBuilder- Returns:
- The mostSpecificHeaderMutationsWins.
-
hasValidateClusters
public 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_config.filter.network.http_connection_manager.v2.HttpConnectionManager.route_config>` option. This setting default to false if the route table is loaded dynamically via the :ref:`rds <envoy_api_field_config.filter.network.http_connection_manager.v2.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;- Specified by:
hasValidateClustersin interfaceRouteConfigurationOrBuilder- Returns:
- Whether the validateClusters field is set.
-
getValidateClusters
public 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_config.filter.network.http_connection_manager.v2.HttpConnectionManager.route_config>` option. This setting default to false if the route table is loaded dynamically via the :ref:`rds <envoy_api_field_config.filter.network.http_connection_manager.v2.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;- Specified by:
getValidateClustersin interfaceRouteConfigurationOrBuilder- Returns:
- The validateClusters.
-
getValidateClustersOrBuilder
public 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_config.filter.network.http_connection_manager.v2.HttpConnectionManager.route_config>` option. This setting default to false if the route table is loaded dynamically via the :ref:`rds <envoy_api_field_config.filter.network.http_connection_manager.v2.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;- Specified by:
getValidateClustersOrBuilderin interfaceRouteConfigurationOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- 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 RouteConfiguration parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteConfiguration parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteConfiguration parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteConfiguration parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteConfiguration parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RouteConfiguration parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RouteConfiguration parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RouteConfiguration parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static RouteConfiguration parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RouteConfiguration parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RouteConfiguration.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-