public static interface RouteOuterClass.VirtualHostOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsPerFilterConfig(String key)
The per_filter_config field can be used to provide virtual host-specific
configurations for filters.
|
RouteOuterClass.CorsPolicy |
getCors()
Indicates that the virtual host has a CORS policy.
|
RouteOuterClass.CorsPolicyOrBuilder |
getCorsOrBuilder()
Indicates that the virtual host has a CORS policy.
|
String |
getDomains(int index)
A list of domains (host/authority header) that will be matched to this
virtual host.
|
com.google.protobuf.ByteString |
getDomainsBytes(int index)
A list of domains (host/authority header) that will be matched to this
virtual host.
|
int |
getDomainsCount()
A list of domains (host/authority header) that will be matched to this
virtual host.
|
List<String> |
getDomainsList()
A list of domains (host/authority header) that will be matched to this
virtual host.
|
String |
getName()
The logical name of the virtual host.
|
com.google.protobuf.ByteString |
getNameBytes()
The logical name of the virtual host.
|
Map<String,com.google.protobuf.Struct> |
getPerFilterConfig()
Deprecated.
|
int |
getPerFilterConfigCount()
The per_filter_config field can be used to provide virtual host-specific
configurations for filters.
|
Map<String,com.google.protobuf.Struct> |
getPerFilterConfigMap()
The per_filter_config field can be used to provide virtual host-specific
configurations for filters.
|
com.google.protobuf.Struct |
getPerFilterConfigOrDefault(String key,
com.google.protobuf.Struct defaultValue)
The per_filter_config field can be used to provide virtual host-specific
configurations for filters.
|
com.google.protobuf.Struct |
getPerFilterConfigOrThrow(String key)
The per_filter_config field can be used to provide virtual host-specific
configurations for filters.
|
RouteOuterClass.RateLimit |
getRateLimits(int index)
Specifies a set of rate limit configurations that will be applied to the
virtual host.
|
int |
getRateLimitsCount()
Specifies a set of rate limit configurations that will be applied to the
virtual host.
|
List<RouteOuterClass.RateLimit> |
getRateLimitsList()
Specifies a set of rate limit configurations that will be applied to the
virtual host.
|
RouteOuterClass.RateLimitOrBuilder |
getRateLimitsOrBuilder(int index)
Specifies a set of rate limit configurations that will be applied to the
virtual host.
|
List<? extends RouteOuterClass.RateLimitOrBuilder> |
getRateLimitsOrBuilderList()
Specifies a set of rate limit configurations that will be applied to the
virtual host.
|
Base.HeaderValueOption |
getRequestHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each request
handled by this virtual host.
|
int |
getRequestHeadersToAddCount()
Specifies a list of HTTP headers that should be added to each request
handled by this virtual host.
|
List<Base.HeaderValueOption> |
getRequestHeadersToAddList()
Specifies a list of HTTP headers that should be added to each request
handled by this virtual host.
|
Base.HeaderValueOptionOrBuilder |
getRequestHeadersToAddOrBuilder(int index)
Specifies a list of HTTP headers that should be added to each request
handled by this virtual host.
|
List<? extends Base.HeaderValueOptionOrBuilder> |
getRequestHeadersToAddOrBuilderList()
Specifies a list of HTTP headers that should be added to each request
handled by this virtual host.
|
String |
getRequestHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each request
handled by this virtual host.
|
com.google.protobuf.ByteString |
getRequestHeadersToRemoveBytes(int index)
Specifies a list of HTTP headers that should be removed from each request
handled by this virtual host.
|
int |
getRequestHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each request
handled by this virtual host.
|
List<String> |
getRequestHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each request
handled by this virtual host.
|
RouteOuterClass.VirtualHost.TlsRequirementType |
getRequireTls()
Specifies the type of TLS enforcement the virtual host expects.
|
int |
getRequireTlsValue()
Specifies the type of TLS enforcement the virtual host expects.
|
Base.HeaderValueOption |
getResponseHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each response
handled by this virtual host.
|
int |
getResponseHeadersToAddCount()
Specifies a list of HTTP headers that should be added to each response
handled by this virtual host.
|
List<Base.HeaderValueOption> |
getResponseHeadersToAddList()
Specifies a list of HTTP headers that should be added to each response
handled by this virtual host.
|
Base.HeaderValueOptionOrBuilder |
getResponseHeadersToAddOrBuilder(int index)
Specifies a list of HTTP headers that should be added to each response
handled by this virtual host.
|
List<? extends Base.HeaderValueOptionOrBuilder> |
getResponseHeadersToAddOrBuilderList()
Specifies a list of HTTP headers that should be added to each response
handled by this virtual host.
|
String |
getResponseHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each response
handled by this virtual host.
|
com.google.protobuf.ByteString |
getResponseHeadersToRemoveBytes(int index)
Specifies a list of HTTP headers that should be removed from each response
handled by this virtual host.
|
int |
getResponseHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each response
handled by this virtual host.
|
List<String> |
getResponseHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each response
handled by this virtual host.
|
RouteOuterClass.Route |
getRoutes(int index)
The list of routes that will be matched, in order, for incoming requests.
|
int |
getRoutesCount()
The list of routes that will be matched, in order, for incoming requests.
|
List<RouteOuterClass.Route> |
getRoutesList()
The list of routes that will be matched, in order, for incoming requests.
|
RouteOuterClass.RouteOrBuilder |
getRoutesOrBuilder(int index)
The list of routes that will be matched, in order, for incoming requests.
|
List<? extends RouteOuterClass.RouteOrBuilder> |
getRoutesOrBuilderList()
The list of routes that will be matched, in order, for incoming requests.
|
RouteOuterClass.VirtualCluster |
getVirtualClusters(int index)
A list of virtual clusters defined for this virtual host.
|
int |
getVirtualClustersCount()
A list of virtual clusters defined for this virtual host.
|
List<RouteOuterClass.VirtualCluster> |
getVirtualClustersList()
A list of virtual clusters defined for this virtual host.
|
RouteOuterClass.VirtualClusterOrBuilder |
getVirtualClustersOrBuilder(int index)
A list of virtual clusters defined for this virtual host.
|
List<? extends RouteOuterClass.VirtualClusterOrBuilder> |
getVirtualClustersOrBuilderList()
A list of virtual clusters defined for this virtual host.
|
boolean |
hasCors()
Indicates that the virtual host has a CORS policy.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
The logical name of the virtual host. This is used when emitting certain statistics but is not relevant for routing.
string name = 1 [(.validate.rules) = { ... }com.google.protobuf.ByteString getNameBytes()
The logical name of the virtual host. This is used when emitting certain statistics but is not relevant for routing.
string name = 1 [(.validate.rules) = { ... }List<String> getDomainsList()
A list of domains (host/authority header) that will be matched to this virtual host. Wildcard hosts are supported in the form of ``*.foo.com`` or ``*-bar.foo.com``. .. note:: The wildcard will not match the empty string. e.g. ``*-bar.foo.com`` will match ``baz-bar.foo.com`` but not ``-bar.foo.com``. Additionally, a special entry ``*`` is allowed which will match any host/authority header. Only a single virtual host in the entire route configuration can match on ``*``. A domain must be unique across all virtual hosts or the config will fail to load.
repeated string domains = 2 [(.validate.rules) = { ... }int getDomainsCount()
A list of domains (host/authority header) that will be matched to this virtual host. Wildcard hosts are supported in the form of ``*.foo.com`` or ``*-bar.foo.com``. .. note:: The wildcard will not match the empty string. e.g. ``*-bar.foo.com`` will match ``baz-bar.foo.com`` but not ``-bar.foo.com``. Additionally, a special entry ``*`` is allowed which will match any host/authority header. Only a single virtual host in the entire route configuration can match on ``*``. A domain must be unique across all virtual hosts or the config will fail to load.
repeated string domains = 2 [(.validate.rules) = { ... }String getDomains(int index)
A list of domains (host/authority header) that will be matched to this virtual host. Wildcard hosts are supported in the form of ``*.foo.com`` or ``*-bar.foo.com``. .. note:: The wildcard will not match the empty string. e.g. ``*-bar.foo.com`` will match ``baz-bar.foo.com`` but not ``-bar.foo.com``. Additionally, a special entry ``*`` is allowed which will match any host/authority header. Only a single virtual host in the entire route configuration can match on ``*``. A domain must be unique across all virtual hosts or the config will fail to load.
repeated string domains = 2 [(.validate.rules) = { ... }com.google.protobuf.ByteString getDomainsBytes(int index)
A list of domains (host/authority header) that will be matched to this virtual host. Wildcard hosts are supported in the form of ``*.foo.com`` or ``*-bar.foo.com``. .. note:: The wildcard will not match the empty string. e.g. ``*-bar.foo.com`` will match ``baz-bar.foo.com`` but not ``-bar.foo.com``. Additionally, a special entry ``*`` is allowed which will match any host/authority header. Only a single virtual host in the entire route configuration can match on ``*``. A domain must be unique across all virtual hosts or the config will fail to load.
repeated string domains = 2 [(.validate.rules) = { ... }List<RouteOuterClass.Route> getRoutesList()
The list of routes that will be matched, in order, for incoming requests. The first route that matches will be used.
repeated .envoy.api.v2.route.Route routes = 3 [(.gogoproto.nullable) = false];RouteOuterClass.Route getRoutes(int index)
The list of routes that will be matched, in order, for incoming requests. The first route that matches will be used.
repeated .envoy.api.v2.route.Route routes = 3 [(.gogoproto.nullable) = false];int getRoutesCount()
The list of routes that will be matched, in order, for incoming requests. The first route that matches will be used.
repeated .envoy.api.v2.route.Route routes = 3 [(.gogoproto.nullable) = false];List<? extends RouteOuterClass.RouteOrBuilder> getRoutesOrBuilderList()
The list of routes that will be matched, in order, for incoming requests. The first route that matches will be used.
repeated .envoy.api.v2.route.Route routes = 3 [(.gogoproto.nullable) = false];RouteOuterClass.RouteOrBuilder getRoutesOrBuilder(int index)
The list of routes that will be matched, in order, for incoming requests. The first route that matches will be used.
repeated .envoy.api.v2.route.Route routes = 3 [(.gogoproto.nullable) = false];int getRequireTlsValue()
Specifies the type of TLS enforcement the virtual host expects. If this option is not specified, there is no TLS requirement for the virtual host.
.envoy.api.v2.route.VirtualHost.TlsRequirementType require_tls = 4;RouteOuterClass.VirtualHost.TlsRequirementType getRequireTls()
Specifies the type of TLS enforcement the virtual host expects. If this option is not specified, there is no TLS requirement for the virtual host.
.envoy.api.v2.route.VirtualHost.TlsRequirementType require_tls = 4;List<RouteOuterClass.VirtualCluster> getVirtualClustersList()
A list of virtual clusters defined for this virtual host. Virtual clusters are used for additional statistics gathering.
repeated .envoy.api.v2.route.VirtualCluster virtual_clusters = 5;RouteOuterClass.VirtualCluster getVirtualClusters(int index)
A list of virtual clusters defined for this virtual host. Virtual clusters are used for additional statistics gathering.
repeated .envoy.api.v2.route.VirtualCluster virtual_clusters = 5;int getVirtualClustersCount()
A list of virtual clusters defined for this virtual host. Virtual clusters are used for additional statistics gathering.
repeated .envoy.api.v2.route.VirtualCluster virtual_clusters = 5;List<? extends RouteOuterClass.VirtualClusterOrBuilder> getVirtualClustersOrBuilderList()
A list of virtual clusters defined for this virtual host. Virtual clusters are used for additional statistics gathering.
repeated .envoy.api.v2.route.VirtualCluster virtual_clusters = 5;RouteOuterClass.VirtualClusterOrBuilder getVirtualClustersOrBuilder(int index)
A list of virtual clusters defined for this virtual host. Virtual clusters are used for additional statistics gathering.
repeated .envoy.api.v2.route.VirtualCluster virtual_clusters = 5;List<RouteOuterClass.RateLimit> getRateLimitsList()
Specifies a set of rate limit configurations that will be applied to the virtual host.
repeated .envoy.api.v2.route.RateLimit rate_limits = 6;RouteOuterClass.RateLimit getRateLimits(int index)
Specifies a set of rate limit configurations that will be applied to the virtual host.
repeated .envoy.api.v2.route.RateLimit rate_limits = 6;int getRateLimitsCount()
Specifies a set of rate limit configurations that will be applied to the virtual host.
repeated .envoy.api.v2.route.RateLimit rate_limits = 6;List<? extends RouteOuterClass.RateLimitOrBuilder> getRateLimitsOrBuilderList()
Specifies a set of rate limit configurations that will be applied to the virtual host.
repeated .envoy.api.v2.route.RateLimit rate_limits = 6;RouteOuterClass.RateLimitOrBuilder getRateLimitsOrBuilder(int index)
Specifies a set of rate limit configurations that will be applied to the virtual host.
repeated .envoy.api.v2.route.RateLimit rate_limits = 6;List<Base.HeaderValueOption> getRequestHeadersToAddList()
Specifies a list of HTTP headers that should be added to each request handled by this virtual host. Headers specified at this level are applied after headers from enclosed :ref:`envoy_api_msg_route.Route` and before headers from the enclosing :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 = 7;Base.HeaderValueOption getRequestHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each request handled by this virtual host. Headers specified at this level are applied after headers from enclosed :ref:`envoy_api_msg_route.Route` and before headers from the enclosing :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 = 7;int getRequestHeadersToAddCount()
Specifies a list of HTTP headers that should be added to each request handled by this virtual host. Headers specified at this level are applied after headers from enclosed :ref:`envoy_api_msg_route.Route` and before headers from the enclosing :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 = 7;List<? extends Base.HeaderValueOptionOrBuilder> getRequestHeadersToAddOrBuilderList()
Specifies a list of HTTP headers that should be added to each request handled by this virtual host. Headers specified at this level are applied after headers from enclosed :ref:`envoy_api_msg_route.Route` and before headers from the enclosing :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 = 7;Base.HeaderValueOptionOrBuilder getRequestHeadersToAddOrBuilder(int index)
Specifies a list of HTTP headers that should be added to each request handled by this virtual host. Headers specified at this level are applied after headers from enclosed :ref:`envoy_api_msg_route.Route` and before headers from the enclosing :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 = 7;List<String> getRequestHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each request handled by this virtual host.
repeated string request_headers_to_remove = 13;int getRequestHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each request handled by this virtual host.
repeated string request_headers_to_remove = 13;String getRequestHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each request handled by this virtual host.
repeated string request_headers_to_remove = 13;com.google.protobuf.ByteString getRequestHeadersToRemoveBytes(int index)
Specifies a list of HTTP headers that should be removed from each request handled by this virtual host.
repeated string request_headers_to_remove = 13;List<Base.HeaderValueOption> getResponseHeadersToAddList()
Specifies a list of HTTP headers that should be added to each response handled by this virtual host. Headers specified at this level are applied after headers from enclosed :ref:`envoy_api_msg_route.Route` and before headers from the enclosing :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;Base.HeaderValueOption getResponseHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each response handled by this virtual host. Headers specified at this level are applied after headers from enclosed :ref:`envoy_api_msg_route.Route` and before headers from the enclosing :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;int getResponseHeadersToAddCount()
Specifies a list of HTTP headers that should be added to each response handled by this virtual host. Headers specified at this level are applied after headers from enclosed :ref:`envoy_api_msg_route.Route` and before headers from the enclosing :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;List<? extends Base.HeaderValueOptionOrBuilder> getResponseHeadersToAddOrBuilderList()
Specifies a list of HTTP headers that should be added to each response handled by this virtual host. Headers specified at this level are applied after headers from enclosed :ref:`envoy_api_msg_route.Route` and before headers from the enclosing :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;Base.HeaderValueOptionOrBuilder getResponseHeadersToAddOrBuilder(int index)
Specifies a list of HTTP headers that should be added to each response handled by this virtual host. Headers specified at this level are applied after headers from enclosed :ref:`envoy_api_msg_route.Route` and before headers from the enclosing :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;List<String> getResponseHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each response handled by this virtual host.
repeated string response_headers_to_remove = 11;int getResponseHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each response handled by this virtual host.
repeated string response_headers_to_remove = 11;String getResponseHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each response handled by this virtual host.
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 handled by this virtual host.
repeated string response_headers_to_remove = 11;boolean hasCors()
Indicates that the virtual host has a CORS policy.
.envoy.api.v2.route.CorsPolicy cors = 8;RouteOuterClass.CorsPolicy getCors()
Indicates that the virtual host has a CORS policy.
.envoy.api.v2.route.CorsPolicy cors = 8;RouteOuterClass.CorsPolicyOrBuilder getCorsOrBuilder()
Indicates that the virtual host has a CORS policy.
.envoy.api.v2.route.CorsPolicy cors = 8;int getPerFilterConfigCount()
The per_filter_config field can be used to provide virtual host-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 = 12;boolean containsPerFilterConfig(String key)
The per_filter_config field can be used to provide virtual host-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 = 12;@Deprecated Map<String,com.google.protobuf.Struct> getPerFilterConfig()
getPerFilterConfigMap() instead.Map<String,com.google.protobuf.Struct> getPerFilterConfigMap()
The per_filter_config field can be used to provide virtual host-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 = 12;com.google.protobuf.Struct getPerFilterConfigOrDefault(String key, com.google.protobuf.Struct defaultValue)
The per_filter_config field can be used to provide virtual host-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 = 12;com.google.protobuf.Struct getPerFilterConfigOrThrow(String key)
The per_filter_config field can be used to provide virtual host-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 = 12;Copyright © 2018 The Envoy Project. All rights reserved.