public static final class RouteOuterClass.VirtualHost extends com.google.protobuf.GeneratedMessageV3 implements RouteOuterClass.VirtualHostOrBuilder
The top level element in the routing configuration is a virtual host. Each virtual host has a logical name as well as a set of domains that get routed to it based on the incoming request's host header. This allows a single listener to service multiple top level domain path trees. Once a virtual host is selected based on the domain, the routes are processed in order to see which upstream cluster to route to or whether to perform a redirect. [#comment:next free field: 14]Protobuf type
envoy.api.v2.route.VirtualHost| Modifier and Type | Class and Description |
|---|---|
static class |
RouteOuterClass.VirtualHost.Builder
The top level element in the routing configuration is a virtual host.
|
static class |
RouteOuterClass.VirtualHost.TlsRequirementType
Protobuf enum
envoy.api.v2.route.VirtualHost.TlsRequirementType |
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| Modifier and Type | Field and Description |
|---|---|
static int |
CORS_FIELD_NUMBER |
static int |
DOMAINS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PER_FILTER_CONFIG_FIELD_NUMBER |
static int |
RATE_LIMITS_FIELD_NUMBER |
static int |
REQUEST_HEADERS_TO_ADD_FIELD_NUMBER |
static int |
REQUEST_HEADERS_TO_REMOVE_FIELD_NUMBER |
static int |
REQUIRE_TLS_FIELD_NUMBER |
static int |
RESPONSE_HEADERS_TO_ADD_FIELD_NUMBER |
static int |
RESPONSE_HEADERS_TO_REMOVE_FIELD_NUMBER |
static int |
ROUTES_FIELD_NUMBER |
static int |
VIRTUAL_CLUSTERS_FIELD_NUMBER |
| 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.
|
boolean |
equals(Object obj) |
RouteOuterClass.CorsPolicy |
getCors()
Indicates that the virtual host has a CORS policy.
|
RouteOuterClass.CorsPolicyOrBuilder |
getCorsOrBuilder()
Indicates that the virtual host has a CORS policy.
|
static RouteOuterClass.VirtualHost |
getDefaultInstance() |
RouteOuterClass.VirtualHost |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.ProtocolStringList |
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.
|
com.google.protobuf.Parser<RouteOuterClass.VirtualHost> |
getParserForType() |
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.
|
com.google.protobuf.ProtocolStringList |
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.
|
com.google.protobuf.ProtocolStringList |
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.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static RouteOuterClass.VirtualHost.Builder |
newBuilder() |
static RouteOuterClass.VirtualHost.Builder |
newBuilder(RouteOuterClass.VirtualHost prototype) |
RouteOuterClass.VirtualHost.Builder |
newBuilderForType() |
protected RouteOuterClass.VirtualHost.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static RouteOuterClass.VirtualHost |
parseDelimitedFrom(InputStream input) |
static RouteOuterClass.VirtualHost |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.VirtualHost |
parseFrom(byte[] data) |
static RouteOuterClass.VirtualHost |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.VirtualHost |
parseFrom(ByteBuffer data) |
static RouteOuterClass.VirtualHost |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.VirtualHost |
parseFrom(com.google.protobuf.ByteString data) |
static RouteOuterClass.VirtualHost |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.VirtualHost |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RouteOuterClass.VirtualHost |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouteOuterClass.VirtualHost |
parseFrom(InputStream input) |
static RouteOuterClass.VirtualHost |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RouteOuterClass.VirtualHost> |
parser() |
RouteOuterClass.VirtualHost.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, 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 DOMAINS_FIELD_NUMBER
public static final int ROUTES_FIELD_NUMBER
public static final int REQUIRE_TLS_FIELD_NUMBER
public static final int VIRTUAL_CLUSTERS_FIELD_NUMBER
public static final int RATE_LIMITS_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 CORS_FIELD_NUMBER
public static final int PER_FILTER_CONFIG_FIELD_NUMBER
public 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 String 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) = { ... }getName in interface RouteOuterClass.VirtualHostOrBuilderpublic 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) = { ... }getNameBytes in interface RouteOuterClass.VirtualHostOrBuilderpublic com.google.protobuf.ProtocolStringList 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) = { ... }getDomainsList in interface RouteOuterClass.VirtualHostOrBuilderpublic 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) = { ... }getDomainsCount in interface RouteOuterClass.VirtualHostOrBuilderpublic 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) = { ... }getDomains in interface RouteOuterClass.VirtualHostOrBuilderpublic 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) = { ... }getDomainsBytes in interface RouteOuterClass.VirtualHostOrBuilderpublic 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];getRoutesList in interface RouteOuterClass.VirtualHostOrBuilderpublic 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];getRoutesOrBuilderList in interface RouteOuterClass.VirtualHostOrBuilderpublic 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];getRoutesCount in interface RouteOuterClass.VirtualHostOrBuilderpublic 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];getRoutes in interface RouteOuterClass.VirtualHostOrBuilderpublic 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];getRoutesOrBuilder in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getRequireTlsValue in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getRequireTls in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getVirtualClustersList in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getVirtualClustersOrBuilderList in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getVirtualClustersCount in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getVirtualClusters in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getVirtualClustersOrBuilder in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getRateLimitsList in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getRateLimitsOrBuilderList in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getRateLimitsCount in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getRateLimits in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getRateLimitsOrBuilder in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getRequestHeadersToAddList in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getRequestHeadersToAddOrBuilderList in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getRequestHeadersToAddCount in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getRequestHeadersToAdd in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getRequestHeadersToAddOrBuilder in interface RouteOuterClass.VirtualHostOrBuilderpublic com.google.protobuf.ProtocolStringList 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;getRequestHeadersToRemoveList in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getRequestHeadersToRemoveCount in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getRequestHeadersToRemove in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getRequestHeadersToRemoveBytes in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getResponseHeadersToAddList in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getResponseHeadersToAddOrBuilderList in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getResponseHeadersToAddCount in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getResponseHeadersToAdd in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getResponseHeadersToAddOrBuilder in interface RouteOuterClass.VirtualHostOrBuilderpublic com.google.protobuf.ProtocolStringList 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;getResponseHeadersToRemoveList in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getResponseHeadersToRemoveCount in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getResponseHeadersToRemove in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getResponseHeadersToRemoveBytes in interface RouteOuterClass.VirtualHostOrBuilderpublic boolean hasCors()
Indicates that the virtual host has a CORS policy.
.envoy.api.v2.route.CorsPolicy cors = 8;hasCors in interface RouteOuterClass.VirtualHostOrBuilderpublic RouteOuterClass.CorsPolicy getCors()
Indicates that the virtual host has a CORS policy.
.envoy.api.v2.route.CorsPolicy cors = 8;getCors in interface RouteOuterClass.VirtualHostOrBuilderpublic RouteOuterClass.CorsPolicyOrBuilder getCorsOrBuilder()
Indicates that the virtual host has a CORS policy.
.envoy.api.v2.route.CorsPolicy cors = 8;getCorsOrBuilder in interface RouteOuterClass.VirtualHostOrBuilderpublic int getPerFilterConfigCount()
RouteOuterClass.VirtualHostOrBuilderThe 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;getPerFilterConfigCount in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;containsPerFilterConfig in interface RouteOuterClass.VirtualHostOrBuilder@Deprecated public Map<String,com.google.protobuf.Struct> getPerFilterConfig()
getPerFilterConfigMap() instead.getPerFilterConfig in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getPerFilterConfigMap in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getPerFilterConfigOrDefault in interface RouteOuterClass.VirtualHostOrBuilderpublic 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;getPerFilterConfigOrThrow in interface RouteOuterClass.VirtualHostOrBuilderpublic 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 RouteOuterClass.VirtualHost parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.VirtualHost parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.VirtualHost parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.VirtualHost parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.VirtualHost parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.VirtualHost parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouteOuterClass.VirtualHost parseFrom(InputStream input) throws IOException
IOExceptionpublic static RouteOuterClass.VirtualHost parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteOuterClass.VirtualHost parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RouteOuterClass.VirtualHost parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouteOuterClass.VirtualHost parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RouteOuterClass.VirtualHost parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RouteOuterClass.VirtualHost.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RouteOuterClass.VirtualHost.Builder newBuilder()
public static RouteOuterClass.VirtualHost.Builder newBuilder(RouteOuterClass.VirtualHost prototype)
public RouteOuterClass.VirtualHost.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RouteOuterClass.VirtualHost.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RouteOuterClass.VirtualHost getDefaultInstance()
public static com.google.protobuf.Parser<RouteOuterClass.VirtualHost> parser()
public com.google.protobuf.Parser<RouteOuterClass.VirtualHost> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RouteOuterClass.VirtualHost getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 The Envoy Project. All rights reserved.