Package io.envoyproxy.envoy.api.v2.route
Class Route
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.api.v2.route.Route
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RouteOrBuilder,Serializable
A route is both a specification of how to match a request as well as an indication of what to do next (e.g., redirect, forward, rewrite, etc.). .. attention:: Envoy supports routing on HTTP method via :ref:`header matching <envoy_api_msg_route.HeaderMatcher>`. [#next-free-field: 18]Protobuf type
envoy.api.v2.route.Route- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic final classA route is both a specification of how to match a request as well as an indication of what to do next (e.g., redirect, forward, rewrite, etc.). .. attention:: Envoy supports routing on HTTP method via :ref:`header matching <envoy_api_msg_route.HeaderMatcher>`.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 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 TypeMethodDescriptionbooleanDeprecated.booleanThe typed_per_filter_config field can be used to provide route-specific configurations for filters.booleanDecorator for the matched route.Decorator for the matched route.static Routestatic final com.google.protobuf.Descriptors.DescriptorReturn an arbitrary HTTP response directly, without proxying.Return an arbitrary HTTP response directly, without proxying.[#not-implemented-hide:] If true, a filter will define the action (e.g., it could dynamically generate the RouteAction).[#not-implemented-hide:] If true, a filter will define the action (e.g., it could dynamically generate the RouteAction).getMatch()Route matching parameters.Route matching parameters.The Metadata field can be used to provide additional information about the route.The Metadata field can be used to provide additional information about the route.getName()Name for the route.com.google.protobuf.ByteStringName for the route.com.google.protobuf.Parser<Route>Deprecated.intDeprecated.Deprecated.com.google.protobuf.StructgetPerFilterConfigOrDefault(String key, com.google.protobuf.Struct defaultValue) Deprecated.com.google.protobuf.StructDeprecated.com.google.protobuf.UInt32ValueThe maximum bytes which will be buffered for retries and shadowing.com.google.protobuf.UInt32ValueOrBuilderThe maximum bytes which will be buffered for retries and shadowing.Return a redirect.Return a redirect.getRequestHeadersToAdd(int index) Specifies a set of headers that will be added to requests matching this route.intSpecifies a set of headers that will be added to requests matching this route.Specifies a set of headers that will be added to requests matching this route.getRequestHeadersToAddOrBuilder(int index) Specifies a set of headers that will be added to requests matching this route.List<? extends HeaderValueOptionOrBuilder>Specifies a set of headers that will be added to requests matching this route.getRequestHeadersToRemove(int index) Specifies a list of HTTP headers that should be removed from each request matching this route.com.google.protobuf.ByteStringgetRequestHeadersToRemoveBytes(int index) Specifies a list of HTTP headers that should be removed from each request matching this route.intSpecifies a list of HTTP headers that should be removed from each request matching this route.com.google.protobuf.ProtocolStringListSpecifies a list of HTTP headers that should be removed from each request matching this route.getResponseHeadersToAdd(int index) Specifies a set of headers that will be added to responses to requests matching this route.intSpecifies a set of headers that will be added to responses to requests matching this route.Specifies a set of headers that will be added to responses to requests matching this route.getResponseHeadersToAddOrBuilder(int index) Specifies a set of headers that will be added to responses to requests matching this route.List<? extends HeaderValueOptionOrBuilder>Specifies a set of headers that will be added to responses to requests matching this route.getResponseHeadersToRemove(int index) Specifies a list of HTTP headers that should be removed from each response to requests matching this route.com.google.protobuf.ByteStringgetResponseHeadersToRemoveBytes(int index) Specifies a list of HTTP headers that should be removed from each response to requests matching this route.intSpecifies a list of HTTP headers that should be removed from each response to requests matching this route.com.google.protobuf.ProtocolStringListSpecifies a list of HTTP headers that should be removed from each response to requests matching this route.getRoute()Route request to some upstream cluster.Route request to some upstream cluster.intPresence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.Deprecated.intThe typed_per_filter_config field can be used to provide route-specific configurations for filters.The typed_per_filter_config field can be used to provide route-specific configurations for filters.com.google.protobuf.AnygetTypedPerFilterConfigOrDefault(String key, com.google.protobuf.Any defaultValue) The typed_per_filter_config field can be used to provide route-specific configurations for filters.com.google.protobuf.AnyThe typed_per_filter_config field can be used to provide route-specific configurations for filters.booleanDecorator for the matched route.booleanReturn an arbitrary HTTP response directly, without proxying.boolean[#not-implemented-hide:] If true, a filter will define the action (e.g., it could dynamically generate the RouteAction).inthashCode()booleanhasMatch()Route matching parameters.booleanThe Metadata field can be used to provide additional information about the route.booleanThe maximum bytes which will be buffered for retries and shadowing.booleanReturn a redirect.booleanhasRoute()Route request to some upstream cluster.booleanPresence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Route.Builderstatic Route.BuildernewBuilder(Route prototype) protected Route.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static RouteparseDelimitedFrom(InputStream input) static RouteparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RouteparseFrom(byte[] data) static RouteparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RouteparseFrom(com.google.protobuf.ByteString data) static RouteparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RouteparseFrom(com.google.protobuf.CodedInputStream input) static RouteparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RouteparseFrom(InputStream input) static RouteparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RouteparseFrom(ByteBuffer data) static RouteparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Route>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, 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:
-
MATCH_FIELD_NUMBER
public static final int MATCH_FIELD_NUMBER- See Also:
-
ROUTE_FIELD_NUMBER
public static final int ROUTE_FIELD_NUMBER- See Also:
-
REDIRECT_FIELD_NUMBER
public static final int REDIRECT_FIELD_NUMBER- See Also:
-
DIRECT_RESPONSE_FIELD_NUMBER
public static final int DIRECT_RESPONSE_FIELD_NUMBER- See Also:
-
FILTER_ACTION_FIELD_NUMBER
public static final int FILTER_ACTION_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
DECORATOR_FIELD_NUMBER
public static final int DECORATOR_FIELD_NUMBER- See Also:
-
PER_FILTER_CONFIG_FIELD_NUMBER
public static final int PER_FILTER_CONFIG_FIELD_NUMBER- See Also:
-
TYPED_PER_FILTER_CONFIG_FIELD_NUMBER
public static final int TYPED_PER_FILTER_CONFIG_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:
-
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:
-
TRACING_FIELD_NUMBER
public static final int TRACING_FIELD_NUMBER- See Also:
-
PER_REQUEST_BUFFER_LIMIT_BYTES_FIELD_NUMBER
public static final int PER_REQUEST_BUFFER_LIMIT_BYTES_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getActionCase
- Specified by:
getActionCasein interfaceRouteOrBuilder
-
getName
Name for the route.
string name = 14;- Specified by:
getNamein interfaceRouteOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name for the route.
string name = 14;- Specified by:
getNameBytesin interfaceRouteOrBuilder- Returns:
- The bytes for name.
-
hasMatch
public boolean hasMatch()Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.validate.rules) = { ... }- Specified by:
hasMatchin interfaceRouteOrBuilder- Returns:
- Whether the match field is set.
-
getMatch
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.validate.rules) = { ... }- Specified by:
getMatchin interfaceRouteOrBuilder- Returns:
- The match.
-
getMatchOrBuilder
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.validate.rules) = { ... }- Specified by:
getMatchOrBuilderin interfaceRouteOrBuilder
-
hasRoute
public boolean hasRoute()Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;- Specified by:
hasRoutein interfaceRouteOrBuilder- Returns:
- Whether the route field is set.
-
getRoute
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;- Specified by:
getRoutein interfaceRouteOrBuilder- Returns:
- The route.
-
getRouteOrBuilder
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;- Specified by:
getRouteOrBuilderin interfaceRouteOrBuilder
-
hasRedirect
public boolean hasRedirect()Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;- Specified by:
hasRedirectin interfaceRouteOrBuilder- Returns:
- Whether the redirect field is set.
-
getRedirect
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;- Specified by:
getRedirectin interfaceRouteOrBuilder- Returns:
- The redirect.
-
getRedirectOrBuilder
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;- Specified by:
getRedirectOrBuilderin interfaceRouteOrBuilder
-
hasDirectResponse
public boolean hasDirectResponse()Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;- Specified by:
hasDirectResponsein interfaceRouteOrBuilder- Returns:
- Whether the directResponse field is set.
-
getDirectResponse
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;- Specified by:
getDirectResponsein interfaceRouteOrBuilder- Returns:
- The directResponse.
-
getDirectResponseOrBuilder
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;- Specified by:
getDirectResponseOrBuilderin interfaceRouteOrBuilder
-
hasFilterAction
public boolean hasFilterAction()[#not-implemented-hide:] If true, a filter will define the action (e.g., it could dynamically generate the RouteAction).
.envoy.api.v2.route.FilterAction filter_action = 17;- Specified by:
hasFilterActionin interfaceRouteOrBuilder- Returns:
- Whether the filterAction field is set.
-
getFilterAction
[#not-implemented-hide:] If true, a filter will define the action (e.g., it could dynamically generate the RouteAction).
.envoy.api.v2.route.FilterAction filter_action = 17;- Specified by:
getFilterActionin interfaceRouteOrBuilder- Returns:
- The filterAction.
-
getFilterActionOrBuilder
[#not-implemented-hide:] If true, a filter will define the action (e.g., it could dynamically generate the RouteAction).
.envoy.api.v2.route.FilterAction filter_action = 17;- Specified by:
getFilterActionOrBuilderin interfaceRouteOrBuilder
-
hasMetadata
public boolean hasMetadata()The Metadata field can be used to provide additional information about the route. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as *envoy.filters.http.router*.
.envoy.api.v2.core.Metadata metadata = 4;- Specified by:
hasMetadatain interfaceRouteOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
The Metadata field can be used to provide additional information about the route. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as *envoy.filters.http.router*.
.envoy.api.v2.core.Metadata metadata = 4;- Specified by:
getMetadatain interfaceRouteOrBuilder- Returns:
- The metadata.
-
getMetadataOrBuilder
The Metadata field can be used to provide additional information about the route. It can be used for configuration, stats, and logging. The metadata should go under the filter namespace that will need it. For instance, if the metadata is intended for the Router filter, the filter name should be specified as *envoy.filters.http.router*.
.envoy.api.v2.core.Metadata metadata = 4;- Specified by:
getMetadataOrBuilderin interfaceRouteOrBuilder
-
hasDecorator
public boolean hasDecorator()Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;- Specified by:
hasDecoratorin interfaceRouteOrBuilder- Returns:
- Whether the decorator field is set.
-
getDecorator
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;- Specified by:
getDecoratorin interfaceRouteOrBuilder- Returns:
- The decorator.
-
getDecoratorOrBuilder
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;- Specified by:
getDecoratorOrBuilderin interfaceRouteOrBuilder
-
getPerFilterConfigCount
Deprecated.Description copied from interface:RouteOrBuilderThe per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];- Specified by:
getPerFilterConfigCountin interfaceRouteOrBuilder
-
containsPerFilterConfig
Deprecated.The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];- Specified by:
containsPerFilterConfigin interfaceRouteOrBuilder
-
getPerFilterConfig
Deprecated.UsegetPerFilterConfigMap()instead.- Specified by:
getPerFilterConfigin interfaceRouteOrBuilder
-
getPerFilterConfigMap
Deprecated.The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];- Specified by:
getPerFilterConfigMapin interfaceRouteOrBuilder
-
getPerFilterConfigOrDefault
@Deprecated public com.google.protobuf.Struct getPerFilterConfigOrDefault(String key, com.google.protobuf.Struct defaultValue) Deprecated.The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];- Specified by:
getPerFilterConfigOrDefaultin interfaceRouteOrBuilder
-
getPerFilterConfigOrThrow
Deprecated.The per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Struct> per_filter_config = 8 [deprecated = true];- Specified by:
getPerFilterConfigOrThrowin interfaceRouteOrBuilder
-
getTypedPerFilterConfigCount
public int getTypedPerFilterConfigCount()Description copied from interface:RouteOrBuilderThe typed_per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Any> typed_per_filter_config = 13;- Specified by:
getTypedPerFilterConfigCountin interfaceRouteOrBuilder
-
containsTypedPerFilterConfig
The typed_per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Any> typed_per_filter_config = 13;- Specified by:
containsTypedPerFilterConfigin interfaceRouteOrBuilder
-
getTypedPerFilterConfig
Deprecated.UsegetTypedPerFilterConfigMap()instead.- Specified by:
getTypedPerFilterConfigin interfaceRouteOrBuilder
-
getTypedPerFilterConfigMap
The typed_per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Any> typed_per_filter_config = 13;- Specified by:
getTypedPerFilterConfigMapin interfaceRouteOrBuilder
-
getTypedPerFilterConfigOrDefault
public com.google.protobuf.Any getTypedPerFilterConfigOrDefault(String key, com.google.protobuf.Any defaultValue) The typed_per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Any> typed_per_filter_config = 13;- Specified by:
getTypedPerFilterConfigOrDefaultin interfaceRouteOrBuilder
-
getTypedPerFilterConfigOrThrow
The typed_per_filter_config field can be used to provide route-specific configurations for filters. The key should match the filter name, such as *envoy.filters.http.buffer* for the HTTP buffer filter. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized.
map<string, .google.protobuf.Any> typed_per_filter_config = 13;- Specified by:
getTypedPerFilterConfigOrThrowin interfaceRouteOrBuilder
-
getRequestHeadersToAddList
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. 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 = 9 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddListin interfaceRouteOrBuilder
-
getRequestHeadersToAddOrBuilderList
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. 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 = 9 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddOrBuilderListin interfaceRouteOrBuilder
-
getRequestHeadersToAddCount
public int getRequestHeadersToAddCount()Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. 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 = 9 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddCountin interfaceRouteOrBuilder
-
getRequestHeadersToAdd
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. 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 = 9 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddin interfaceRouteOrBuilder
-
getRequestHeadersToAddOrBuilder
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. 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 = 9 [(.validate.rules) = { ... }- Specified by:
getRequestHeadersToAddOrBuilderin interfaceRouteOrBuilder
-
getRequestHeadersToRemoveList
public com.google.protobuf.ProtocolStringList getRequestHeadersToRemoveList()Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12;- Specified by:
getRequestHeadersToRemoveListin interfaceRouteOrBuilder- Returns:
- A list containing the requestHeadersToRemove.
-
getRequestHeadersToRemoveCount
public int getRequestHeadersToRemoveCount()Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12;- Specified by:
getRequestHeadersToRemoveCountin interfaceRouteOrBuilder- Returns:
- The count of requestHeadersToRemove.
-
getRequestHeadersToRemove
Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12;- Specified by:
getRequestHeadersToRemovein interfaceRouteOrBuilder- 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 matching this route.
repeated string request_headers_to_remove = 12;- Specified by:
getRequestHeadersToRemoveBytesin interfaceRouteOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the requestHeadersToRemove at the given index.
-
getResponseHeadersToAddList
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. 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 = 10 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToAddListin interfaceRouteOrBuilder
-
getResponseHeadersToAddOrBuilderList
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. 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 = 10 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToAddOrBuilderListin interfaceRouteOrBuilder
-
getResponseHeadersToAddCount
public int getResponseHeadersToAddCount()Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. 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 = 10 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToAddCountin interfaceRouteOrBuilder
-
getResponseHeadersToAdd
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. 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 = 10 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToAddin interfaceRouteOrBuilder
-
getResponseHeadersToAddOrBuilder
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. 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 = 10 [(.validate.rules) = { ... }- Specified by:
getResponseHeadersToAddOrBuilderin interfaceRouteOrBuilder
-
getResponseHeadersToRemoveList
public com.google.protobuf.ProtocolStringList getResponseHeadersToRemoveList()Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11;- Specified by:
getResponseHeadersToRemoveListin interfaceRouteOrBuilder- Returns:
- A list containing the responseHeadersToRemove.
-
getResponseHeadersToRemoveCount
public int getResponseHeadersToRemoveCount()Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11;- Specified by:
getResponseHeadersToRemoveCountin interfaceRouteOrBuilder- Returns:
- The count of responseHeadersToRemove.
-
getResponseHeadersToRemove
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 11;- Specified by:
getResponseHeadersToRemovein interfaceRouteOrBuilder- 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 to requests matching this route.
repeated string response_headers_to_remove = 11;- Specified by:
getResponseHeadersToRemoveBytesin interfaceRouteOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the responseHeadersToRemove at the given index.
-
hasTracing
public boolean hasTracing()Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.api.v2.route.Tracing tracing = 15;- Specified by:
hasTracingin interfaceRouteOrBuilder- Returns:
- Whether the tracing field is set.
-
getTracing
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.api.v2.route.Tracing tracing = 15;- Specified by:
getTracingin interfaceRouteOrBuilder- Returns:
- The tracing.
-
getTracingOrBuilder
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.api.v2.route.Tracing tracing = 15;- Specified by:
getTracingOrBuilderin interfaceRouteOrBuilder
-
hasPerRequestBufferLimitBytes
public boolean hasPerRequestBufferLimitBytes()The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16;- Specified by:
hasPerRequestBufferLimitBytesin interfaceRouteOrBuilder- Returns:
- Whether the perRequestBufferLimitBytes field is set.
-
getPerRequestBufferLimitBytes
public com.google.protobuf.UInt32Value getPerRequestBufferLimitBytes()The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16;- Specified by:
getPerRequestBufferLimitBytesin interfaceRouteOrBuilder- Returns:
- The perRequestBufferLimitBytes.
-
getPerRequestBufferLimitBytesOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getPerRequestBufferLimitBytesOrBuilder()The maximum bytes which will be buffered for retries and shadowing. If set, the bytes actually buffered will be the minimum value of this and the listener per_connection_buffer_limit_bytes.
.google.protobuf.UInt32Value per_request_buffer_limit_bytes = 16;- Specified by:
getPerRequestBufferLimitBytesOrBuilderin interfaceRouteOrBuilder
-
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 Route parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Route parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Route parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Route parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Route parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Route parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Route parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Route parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Route 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 Route.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
-