public interface RouteOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsPerFilterConfig(String key)
Deprecated.
|
boolean |
containsTypedPerFilterConfig(String key)
The per_filter_config field can be used to provide route-specific
configurations for filters.
|
Route.ActionCase |
getActionCase() |
Decorator |
getDecorator()
Decorator for the matched route.
|
DecoratorOrBuilder |
getDecoratorOrBuilder()
Decorator for the matched route.
|
DirectResponseAction |
getDirectResponse()
Return an arbitrary HTTP response directly, without proxying.
|
DirectResponseActionOrBuilder |
getDirectResponseOrBuilder()
Return an arbitrary HTTP response directly, without proxying.
|
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.
|
Map<String,com.google.protobuf.Struct> |
getPerFilterConfig()
Deprecated.
|
int |
getPerFilterConfigCount()
Deprecated.
|
Map<String,com.google.protobuf.Struct> |
getPerFilterConfigMap()
Deprecated.
|
com.google.protobuf.Struct |
getPerFilterConfigOrDefault(String key,
com.google.protobuf.Struct defaultValue)
Deprecated.
|
com.google.protobuf.Struct |
getPerFilterConfigOrThrow(String key)
Deprecated.
|
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.
|
List<String> |
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.
|
List<String> |
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.
|
Map<String,com.google.protobuf.Any> |
getTypedPerFilterConfig()
Deprecated.
|
int |
getTypedPerFilterConfigCount()
The per_filter_config field can be used to provide route-specific
configurations for filters.
|
Map<String,com.google.protobuf.Any> |
getTypedPerFilterConfigMap()
The 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 per_filter_config field can be used to provide route-specific
configurations for filters.
|
com.google.protobuf.Any |
getTypedPerFilterConfigOrThrow(String key)
The per_filter_config field can be used to provide route-specific
configurations for filters.
|
boolean |
hasDecorator()
Decorator for the matched route.
|
boolean |
hasDirectResponse()
Return an arbitrary HTTP response directly, without proxying.
|
boolean |
hasMatch()
Route matching parameters.
|
boolean |
hasMetadata()
The Metadata field can be used to provide additional information
about the route.
|
boolean |
hasRedirect()
Return a redirect.
|
boolean |
hasRoute()
Route request to some upstream cluster.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasMatch()
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.gogoproto.nullable) = false, (.validate.rules) = { ... }RouteMatch getMatch()
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.gogoproto.nullable) = false, (.validate.rules) = { ... }RouteMatchOrBuilder getMatchOrBuilder()
Route matching parameters.
.envoy.api.v2.route.RouteMatch match = 1 [(.gogoproto.nullable) = false, (.validate.rules) = { ... }boolean hasRoute()
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;RouteAction getRoute()
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;RouteActionOrBuilder getRouteOrBuilder()
Route request to some upstream cluster.
.envoy.api.v2.route.RouteAction route = 2;boolean hasRedirect()
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;RedirectAction getRedirect()
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;RedirectActionOrBuilder getRedirectOrBuilder()
Return a redirect.
.envoy.api.v2.route.RedirectAction redirect = 3;boolean hasDirectResponse()
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;DirectResponseAction getDirectResponse()
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;DirectResponseActionOrBuilder getDirectResponseOrBuilder()
Return an arbitrary HTTP response directly, without proxying.
.envoy.api.v2.route.DirectResponseAction direct_response = 7;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.router*.
.envoy.api.v2.core.Metadata metadata = 4;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.router*.
.envoy.api.v2.core.Metadata metadata = 4;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.router*.
.envoy.api.v2.core.Metadata metadata = 4;boolean hasDecorator()
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;Decorator getDecorator()
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;DecoratorOrBuilder getDecoratorOrBuilder()
Decorator for the matched route.
.envoy.api.v2.route.Decorator decorator = 5;@Deprecated int getPerFilterConfigCount()
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.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];@Deprecated boolean containsPerFilterConfig(String key)
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.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];@Deprecated Map<String,com.google.protobuf.Struct> getPerFilterConfig()
getPerFilterConfigMap() instead.@Deprecated Map<String,com.google.protobuf.Struct> getPerFilterConfigMap()
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.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];@Deprecated com.google.protobuf.Struct getPerFilterConfigOrDefault(String key, com.google.protobuf.Struct defaultValue)
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.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];@Deprecated com.google.protobuf.Struct getPerFilterConfigOrThrow(String key)
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.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];int getTypedPerFilterConfigCount()
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.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;boolean containsTypedPerFilterConfig(String key)
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.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;@Deprecated Map<String,com.google.protobuf.Any> getTypedPerFilterConfig()
getTypedPerFilterConfigMap() instead.Map<String,com.google.protobuf.Any> getTypedPerFilterConfigMap()
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.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;com.google.protobuf.Any getTypedPerFilterConfigOrDefault(String key, com.google.protobuf.Any defaultValue)
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.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;com.google.protobuf.Any getTypedPerFilterConfigOrThrow(String key)
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.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;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_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) = { ... }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_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) = { ... }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) = { ... }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_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) = { ... }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_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) = { ... }List<String> getRequestHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each request matching this route.
repeated string request_headers_to_remove = 12;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;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;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;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_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) = { ... }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_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) = { ... }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) = { ... }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_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) = { ... }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_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) = { ... }List<String> 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;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;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;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;Route.ActionCase getActionCase()
Copyright © 2018–2019 The Envoy Project. All rights reserved.