public final class Route extends com.google.protobuf.GeneratedMessageV3 implements RouteOrBuilder
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_config.route.v4alpha.HeaderMatcher>`. [#next-free-field: 18]Protobuf type
envoy.config.route.v4alpha.Route| Modifier and Type | Class and Description |
|---|---|
static class |
Route.ActionCase |
static class |
Route.Builder
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_config.route.v4alpha.HeaderMatcher>`.
|
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 |
DECORATOR_FIELD_NUMBER |
static int |
DIRECT_RESPONSE_FIELD_NUMBER |
static int |
FILTER_ACTION_FIELD_NUMBER |
static int |
MATCH_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PER_REQUEST_BUFFER_LIMIT_BYTES_FIELD_NUMBER |
static int |
REDIRECT_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 |
ROUTE_FIELD_NUMBER |
static int |
TRACING_FIELD_NUMBER |
static int |
TYPED_PER_FILTER_CONFIG_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsTypedPerFilterConfig(String key)
The typed_per_filter_config field can be used to provide route-specific
configurations for filters.
|
boolean |
equals(Object obj) |
Route.ActionCase |
getActionCase() |
Decorator |
getDecorator()
Decorator for the matched route.
|
DecoratorOrBuilder |
getDecoratorOrBuilder()
Decorator for the matched route.
|
static Route |
getDefaultInstance() |
Route |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
DirectResponseAction |
getDirectResponse()
Return an arbitrary HTTP response directly, without proxying.
|
DirectResponseActionOrBuilder |
getDirectResponseOrBuilder()
Return an arbitrary HTTP response directly, without proxying.
|
FilterAction |
getFilterAction()
[#not-implemented-hide:]
If true, a filter will define the action (e.g., it could dynamically generate the
RouteAction).
|
FilterActionOrBuilder |
getFilterActionOrBuilder()
[#not-implemented-hide:]
If true, a filter will define the action (e.g., it could dynamically generate the
RouteAction).
|
RouteMatch |
getMatch()
Route matching parameters.
|
RouteMatchOrBuilder |
getMatchOrBuilder()
Route matching parameters.
|
Metadata |
getMetadata()
The Metadata field can be used to provide additional information
about the route.
|
MetadataOrBuilder |
getMetadataOrBuilder()
The Metadata field can be used to provide additional information
about the route.
|
String |
getName()
Name for the route.
|
com.google.protobuf.ByteString |
getNameBytes()
Name for the route.
|
com.google.protobuf.Parser<Route> |
getParserForType() |
com.google.protobuf.UInt32Value |
getPerRequestBufferLimitBytes()
The maximum bytes which will be buffered for retries and shadowing.
|
com.google.protobuf.UInt32ValueOrBuilder |
getPerRequestBufferLimitBytesOrBuilder()
The maximum bytes which will be buffered for retries and shadowing.
|
RedirectAction |
getRedirect()
Return a redirect.
|
RedirectActionOrBuilder |
getRedirectOrBuilder()
Return a redirect.
|
HeaderValueOption |
getRequestHeadersToAdd(int index)
Specifies a set of headers that will be added to requests matching this
route.
|
int |
getRequestHeadersToAddCount()
Specifies a set of headers that will be added to requests matching this
route.
|
List<HeaderValueOption> |
getRequestHeadersToAddList()
Specifies a set of headers that will be added to requests matching this
route.
|
HeaderValueOptionOrBuilder |
getRequestHeadersToAddOrBuilder(int index)
Specifies a set of headers that will be added to requests matching this
route.
|
List<? extends HeaderValueOptionOrBuilder> |
getRequestHeadersToAddOrBuilderList()
Specifies a set of headers that will be added to requests matching this
route.
|
String |
getRequestHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each request
matching this route.
|
com.google.protobuf.ByteString |
getRequestHeadersToRemoveBytes(int index)
Specifies a list of HTTP headers that should be removed from each request
matching this route.
|
int |
getRequestHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each request
matching this route.
|
com.google.protobuf.ProtocolStringList |
getRequestHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each request
matching this route.
|
HeaderValueOption |
getResponseHeadersToAdd(int index)
Specifies a set of headers that will be added to responses to requests
matching this route.
|
int |
getResponseHeadersToAddCount()
Specifies a set of headers that will be added to responses to requests
matching this route.
|
List<HeaderValueOption> |
getResponseHeadersToAddList()
Specifies a set of headers that will be added to responses to requests
matching this route.
|
HeaderValueOptionOrBuilder |
getResponseHeadersToAddOrBuilder(int index)
Specifies a set of headers that will be added to responses to requests
matching this route.
|
List<? extends HeaderValueOptionOrBuilder> |
getResponseHeadersToAddOrBuilderList()
Specifies a set of headers that will be added to responses to requests
matching this route.
|
String |
getResponseHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each response
to requests matching this route.
|
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.
|
int |
getResponseHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each response
to requests matching this route.
|
com.google.protobuf.ProtocolStringList |
getResponseHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each response
to requests matching this route.
|
RouteAction |
getRoute()
Route request to some upstream cluster.
|
RouteActionOrBuilder |
getRouteOrBuilder()
Route request to some upstream cluster.
|
int |
getSerializedSize() |
Tracing |
getTracing()
Presence of the object defines whether the connection manager's tracing configuration
is overridden by this route specific instance.
|
TracingOrBuilder |
getTracingOrBuilder()
Presence of the object defines whether the connection manager's tracing configuration
is overridden by this route specific instance.
|
Map<String,com.google.protobuf.Any> |
getTypedPerFilterConfig()
Deprecated.
|
int |
getTypedPerFilterConfigCount()
The typed_per_filter_config field can be used to provide route-specific
configurations for filters.
|
Map<String,com.google.protobuf.Any> |
getTypedPerFilterConfigMap()
The typed_per_filter_config field can be used to provide route-specific
configurations for filters.
|
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.
|
com.google.protobuf.Any |
getTypedPerFilterConfigOrThrow(String key)
The typed_per_filter_config field can be used to provide route-specific
configurations for filters.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDecorator()
Decorator for the matched route.
|
boolean |
hasDirectResponse()
Return an arbitrary HTTP response directly, without proxying.
|
boolean |
hasFilterAction()
[#not-implemented-hide:]
If true, a filter will define the action (e.g., it could dynamically generate the
RouteAction).
|
int |
hashCode() |
boolean |
hasMatch()
Route matching parameters.
|
boolean |
hasMetadata()
The Metadata field can be used to provide additional information
about the route.
|
boolean |
hasPerRequestBufferLimitBytes()
The maximum bytes which will be buffered for retries and shadowing.
|
boolean |
hasRedirect()
Return a redirect.
|
boolean |
hasRoute()
Route request to some upstream cluster.
|
boolean |
hasTracing()
Presence of the object defines whether the connection manager's tracing configuration
is overridden by this route specific instance.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Route.Builder |
newBuilder() |
static Route.Builder |
newBuilder(Route prototype) |
Route.Builder |
newBuilderForType() |
protected Route.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Route |
parseDelimitedFrom(InputStream input) |
static Route |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Route |
parseFrom(byte[] data) |
static Route |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Route |
parseFrom(ByteBuffer data) |
static Route |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Route |
parseFrom(com.google.protobuf.ByteString data) |
static Route |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Route |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Route |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Route |
parseFrom(InputStream input) |
static Route |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Route> |
parser() |
Route.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, 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 MATCH_FIELD_NUMBER
public static final int ROUTE_FIELD_NUMBER
public static final int REDIRECT_FIELD_NUMBER
public static final int DIRECT_RESPONSE_FIELD_NUMBER
public static final int FILTER_ACTION_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
public static final int DECORATOR_FIELD_NUMBER
public static final int TYPED_PER_FILTER_CONFIG_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 RESPONSE_HEADERS_TO_ADD_FIELD_NUMBER
public static final int RESPONSE_HEADERS_TO_REMOVE_FIELD_NUMBER
public static final int TRACING_FIELD_NUMBER
public static final int PER_REQUEST_BUFFER_LIMIT_BYTES_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.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Route.ActionCase getActionCase()
getActionCase in interface RouteOrBuilderpublic String getName()
Name for the route.
string name = 14;getName in interface RouteOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name for the route.
string name = 14;getNameBytes in interface RouteOrBuilderpublic boolean hasMatch()
Route matching parameters.
.envoy.config.route.v4alpha.RouteMatch match = 1 [(.validate.rules) = { ... }hasMatch in interface RouteOrBuilderpublic RouteMatch getMatch()
Route matching parameters.
.envoy.config.route.v4alpha.RouteMatch match = 1 [(.validate.rules) = { ... }getMatch in interface RouteOrBuilderpublic RouteMatchOrBuilder getMatchOrBuilder()
Route matching parameters.
.envoy.config.route.v4alpha.RouteMatch match = 1 [(.validate.rules) = { ... }getMatchOrBuilder in interface RouteOrBuilderpublic boolean hasRoute()
Route request to some upstream cluster.
.envoy.config.route.v4alpha.RouteAction route = 2;hasRoute in interface RouteOrBuilderpublic RouteAction getRoute()
Route request to some upstream cluster.
.envoy.config.route.v4alpha.RouteAction route = 2;getRoute in interface RouteOrBuilderpublic RouteActionOrBuilder getRouteOrBuilder()
Route request to some upstream cluster.
.envoy.config.route.v4alpha.RouteAction route = 2;getRouteOrBuilder in interface RouteOrBuilderpublic boolean hasRedirect()
Return a redirect.
.envoy.config.route.v4alpha.RedirectAction redirect = 3;hasRedirect in interface RouteOrBuilderpublic RedirectAction getRedirect()
Return a redirect.
.envoy.config.route.v4alpha.RedirectAction redirect = 3;getRedirect in interface RouteOrBuilderpublic RedirectActionOrBuilder getRedirectOrBuilder()
Return a redirect.
.envoy.config.route.v4alpha.RedirectAction redirect = 3;getRedirectOrBuilder in interface RouteOrBuilderpublic boolean hasDirectResponse()
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v4alpha.DirectResponseAction direct_response = 7;hasDirectResponse in interface RouteOrBuilderpublic DirectResponseAction getDirectResponse()
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v4alpha.DirectResponseAction direct_response = 7;getDirectResponse in interface RouteOrBuilderpublic DirectResponseActionOrBuilder getDirectResponseOrBuilder()
Return an arbitrary HTTP response directly, without proxying.
.envoy.config.route.v4alpha.DirectResponseAction direct_response = 7;getDirectResponseOrBuilder in interface RouteOrBuilderpublic boolean hasFilterAction()
[#not-implemented-hide:] If true, a filter will define the action (e.g., it could dynamically generate the RouteAction). [#comment: TODO(samflattery): Remove cleanup in route_fuzz_test.cc when implemented]
.envoy.config.route.v4alpha.FilterAction filter_action = 17;hasFilterAction in interface RouteOrBuilderpublic FilterAction getFilterAction()
[#not-implemented-hide:] If true, a filter will define the action (e.g., it could dynamically generate the RouteAction). [#comment: TODO(samflattery): Remove cleanup in route_fuzz_test.cc when implemented]
.envoy.config.route.v4alpha.FilterAction filter_action = 17;getFilterAction in interface RouteOrBuilderpublic FilterActionOrBuilder getFilterActionOrBuilder()
[#not-implemented-hide:] If true, a filter will define the action (e.g., it could dynamically generate the RouteAction). [#comment: TODO(samflattery): Remove cleanup in route_fuzz_test.cc when implemented]
.envoy.config.route.v4alpha.FilterAction filter_action = 17;getFilterActionOrBuilder in interface RouteOrBuilderpublic 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.config.core.v4alpha.Metadata metadata = 4;hasMetadata in interface RouteOrBuilderpublic Metadata 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.config.core.v4alpha.Metadata metadata = 4;getMetadata in interface RouteOrBuilderpublic MetadataOrBuilder 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.config.core.v4alpha.Metadata metadata = 4;getMetadataOrBuilder in interface RouteOrBuilderpublic boolean hasDecorator()
Decorator for the matched route.
.envoy.config.route.v4alpha.Decorator decorator = 5;hasDecorator in interface RouteOrBuilderpublic Decorator getDecorator()
Decorator for the matched route.
.envoy.config.route.v4alpha.Decorator decorator = 5;getDecorator in interface RouteOrBuilderpublic DecoratorOrBuilder getDecoratorOrBuilder()
Decorator for the matched route.
.envoy.config.route.v4alpha.Decorator decorator = 5;getDecoratorOrBuilder in interface RouteOrBuilderpublic int getTypedPerFilterConfigCount()
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;getTypedPerFilterConfigCount in interface RouteOrBuilderpublic boolean containsTypedPerFilterConfig(String key)
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;containsTypedPerFilterConfig in interface RouteOrBuilder@Deprecated public Map<String,com.google.protobuf.Any> getTypedPerFilterConfig()
getTypedPerFilterConfigMap() instead.getTypedPerFilterConfig in interface RouteOrBuilderpublic Map<String,com.google.protobuf.Any> 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;getTypedPerFilterConfigMap in interface RouteOrBuilderpublic 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;getTypedPerFilterConfigOrDefault in interface RouteOrBuilderpublic com.google.protobuf.Any getTypedPerFilterConfigOrThrow(String key)
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;getTypedPerFilterConfigOrThrow in interface RouteOrBuilderpublic List<HeaderValueOption> 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_config.route.v4alpha.VirtualHost` and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }getRequestHeadersToAddList in interface RouteOrBuilderpublic List<? extends HeaderValueOptionOrBuilder> 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_config.route.v4alpha.VirtualHost` and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }getRequestHeadersToAddOrBuilderList in interface RouteOrBuilderpublic 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_config.route.v4alpha.VirtualHost` and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }getRequestHeadersToAddCount in interface RouteOrBuilderpublic HeaderValueOption getRequestHeadersToAdd(int index)
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_config.route.v4alpha.VirtualHost` and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }getRequestHeadersToAdd in interface RouteOrBuilderpublic HeaderValueOptionOrBuilder getRequestHeadersToAddOrBuilder(int index)
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_config.route.v4alpha.VirtualHost` and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption request_headers_to_add = 9 [(.validate.rules) = { ... }getRequestHeadersToAddOrBuilder in interface RouteOrBuilderpublic 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 [(.validate.rules) = { ... }getRequestHeadersToRemoveList in interface RouteOrBuilderpublic 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 [(.validate.rules) = { ... }getRequestHeadersToRemoveCount in interface RouteOrBuilderpublic String getRequestHeadersToRemove(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 [(.validate.rules) = { ... }getRequestHeadersToRemove in interface RouteOrBuilderpublic 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 [(.validate.rules) = { ... }getRequestHeadersToRemoveBytes in interface RouteOrBuilderpublic List<HeaderValueOption> 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_config.route.v4alpha.VirtualHost` and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }getResponseHeadersToAddList in interface RouteOrBuilderpublic List<? extends HeaderValueOptionOrBuilder> 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_config.route.v4alpha.VirtualHost` and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }getResponseHeadersToAddOrBuilderList in interface RouteOrBuilderpublic 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_config.route.v4alpha.VirtualHost` and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }getResponseHeadersToAddCount in interface RouteOrBuilderpublic HeaderValueOption getResponseHeadersToAdd(int index)
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_config.route.v4alpha.VirtualHost` and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }getResponseHeadersToAdd in interface RouteOrBuilderpublic HeaderValueOptionOrBuilder getResponseHeadersToAddOrBuilder(int index)
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_config.route.v4alpha.VirtualHost` and :ref:`envoy_api_msg_config.route.v4alpha.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.config.core.v4alpha.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }getResponseHeadersToAddOrBuilder in interface RouteOrBuilderpublic 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 [(.validate.rules) = { ... }getResponseHeadersToRemoveList in interface RouteOrBuilderpublic 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 [(.validate.rules) = { ... }getResponseHeadersToRemoveCount in interface RouteOrBuilderpublic String getResponseHeadersToRemove(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 [(.validate.rules) = { ... }getResponseHeadersToRemove in interface RouteOrBuilderpublic 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 [(.validate.rules) = { ... }getResponseHeadersToRemoveBytes in interface RouteOrBuilderpublic boolean hasTracing()
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.config.route.v4alpha.Tracing tracing = 15;hasTracing in interface RouteOrBuilderpublic Tracing getTracing()
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.config.route.v4alpha.Tracing tracing = 15;getTracing in interface RouteOrBuilderpublic TracingOrBuilder getTracingOrBuilder()
Presence of the object defines whether the connection manager's tracing configuration is overridden by this route specific instance.
.envoy.config.route.v4alpha.Tracing tracing = 15;getTracingOrBuilder in interface RouteOrBuilderpublic 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;hasPerRequestBufferLimitBytes in interface RouteOrBuilderpublic 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;getPerRequestBufferLimitBytes in interface RouteOrBuilderpublic 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;getPerRequestBufferLimitBytesOrBuilder in interface RouteOrBuilderpublic 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 Route parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Route parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Route parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Route parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Route parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Route parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Route parseFrom(InputStream input) throws IOException
IOExceptionpublic static Route parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Route parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Route parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Route parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Route parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Route.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Route.Builder newBuilder()
public static Route.Builder newBuilder(Route prototype)
public Route.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Route.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Route getDefaultInstance()
public static com.google.protobuf.Parser<Route> parser()
public com.google.protobuf.Parser<Route> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Route getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.