Class VirtualHost.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessage.Builder<VirtualHost.Builder>
-
- io.envoyproxy.envoy.config.route.v3.VirtualHost.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,VirtualHostOrBuilder
,java.lang.Cloneable
- Enclosing class:
- VirtualHost
public static final class VirtualHost.Builder extends com.google.protobuf.GeneratedMessage.Builder<VirtualHost.Builder> implements 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. [#next-free-field: 25]
Protobuf typeenvoy.config.route.v3.VirtualHost
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
VirtualHost.Builder.TypedPerFilterConfigConverter
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
private CorsPolicy
cors_
private com.google.protobuf.SingleFieldBuilder<CorsPolicy,CorsPolicy.Builder,CorsPolicyOrBuilder>
corsBuilder_
private com.google.protobuf.LazyStringArrayList
domains_
private HedgePolicy
hedgePolicy_
private com.google.protobuf.SingleFieldBuilder<HedgePolicy,HedgePolicy.Builder,HedgePolicyOrBuilder>
hedgePolicyBuilder_
private boolean
includeAttemptCountInResponse_
private boolean
includeIsTimeoutRetryHeader_
private boolean
includeRequestAttemptCount_
private Matcher
matcher_
private com.google.protobuf.SingleFieldBuilder<Matcher,Matcher.Builder,MatcherOrBuilder>
matcherBuilder_
private Metadata
metadata_
private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder,MetadataOrBuilder>
metadataBuilder_
private java.lang.Object
name_
private com.google.protobuf.UInt32Value
perRequestBufferLimitBytes_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
perRequestBufferLimitBytesBuilder_
private java.util.List<RateLimit>
rateLimits_
private com.google.protobuf.RepeatedFieldBuilder<RateLimit,RateLimit.Builder,RateLimitOrBuilder>
rateLimitsBuilder_
private java.util.List<HeaderValueOption>
requestHeadersToAdd_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder>
requestHeadersToAddBuilder_
private com.google.protobuf.LazyStringArrayList
requestHeadersToRemove_
private java.util.List<RouteAction.RequestMirrorPolicy>
requestMirrorPolicies_
private com.google.protobuf.RepeatedFieldBuilder<RouteAction.RequestMirrorPolicy,RouteAction.RequestMirrorPolicy.Builder,RouteAction.RequestMirrorPolicyOrBuilder>
requestMirrorPoliciesBuilder_
private int
requireTls_
private java.util.List<HeaderValueOption>
responseHeadersToAdd_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder>
responseHeadersToAddBuilder_
private com.google.protobuf.LazyStringArrayList
responseHeadersToRemove_
private RetryPolicy
retryPolicy_
private com.google.protobuf.SingleFieldBuilder<RetryPolicy,RetryPolicy.Builder,RetryPolicyOrBuilder>
retryPolicyBuilder_
private com.google.protobuf.Any
retryPolicyTypedConfig_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder,com.google.protobuf.AnyOrBuilder>
retryPolicyTypedConfigBuilder_
private java.util.List<Route>
routes_
private com.google.protobuf.RepeatedFieldBuilder<Route,Route.Builder,RouteOrBuilder>
routesBuilder_
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder>
typedPerFilterConfig_
private static VirtualHost.Builder.TypedPerFilterConfigConverter
typedPerFilterConfigConverter
private java.util.List<VirtualCluster>
virtualClusters_
private com.google.protobuf.RepeatedFieldBuilder<VirtualCluster,VirtualCluster.Builder,VirtualClusterOrBuilder>
virtualClustersBuilder_
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description VirtualHost.Builder
addAllDomains(java.lang.Iterable<java.lang.String> values)
A list of domains (host/authority header) that will be matched to this virtual host.VirtualHost.Builder
addAllRateLimits(java.lang.Iterable<? extends RateLimit> values)
Specifies a set of rate limit configurations that will be applied to the virtual host.VirtualHost.Builder
addAllRequestHeadersToAdd(java.lang.Iterable<? extends HeaderValueOption> values)
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.VirtualHost.Builder
addAllRequestHeadersToRemove(java.lang.Iterable<java.lang.String> values)
Specifies a list of HTTP headers that should be removed from each request handled by this virtual host.VirtualHost.Builder
addAllRequestMirrorPolicies(java.lang.Iterable<? extends RouteAction.RequestMirrorPolicy> values)
Specify a set of default request mirroring policies for every route under this virtual host.VirtualHost.Builder
addAllResponseHeadersToAdd(java.lang.Iterable<? extends HeaderValueOption> values)
Specifies a list of HTTP headers that should be added to each response handled by this virtual host.VirtualHost.Builder
addAllResponseHeadersToRemove(java.lang.Iterable<java.lang.String> values)
Specifies a list of HTTP headers that should be removed from each response handled by this virtual host.VirtualHost.Builder
addAllRoutes(java.lang.Iterable<? extends Route> values)
The list of routes that will be matched, in order, for incoming requests.VirtualHost.Builder
addAllVirtualClusters(java.lang.Iterable<? extends VirtualCluster> values)
A list of virtual clusters defined for this virtual host.VirtualHost.Builder
addDomains(java.lang.String value)
A list of domains (host/authority header) that will be matched to this virtual host.VirtualHost.Builder
addDomainsBytes(com.google.protobuf.ByteString value)
A list of domains (host/authority header) that will be matched to this virtual host.VirtualHost.Builder
addRateLimits(int index, RateLimit value)
Specifies a set of rate limit configurations that will be applied to the virtual host.VirtualHost.Builder
addRateLimits(int index, RateLimit.Builder builderForValue)
Specifies a set of rate limit configurations that will be applied to the virtual host.VirtualHost.Builder
addRateLimits(RateLimit value)
Specifies a set of rate limit configurations that will be applied to the virtual host.VirtualHost.Builder
addRateLimits(RateLimit.Builder builderForValue)
Specifies a set of rate limit configurations that will be applied to the virtual host.RateLimit.Builder
addRateLimitsBuilder()
Specifies a set of rate limit configurations that will be applied to the virtual host.RateLimit.Builder
addRateLimitsBuilder(int index)
Specifies a set of rate limit configurations that will be applied to the virtual host.VirtualHost.Builder
addRequestHeadersToAdd(int index, HeaderValueOption value)
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.VirtualHost.Builder
addRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.VirtualHost.Builder
addRequestHeadersToAdd(HeaderValueOption value)
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.VirtualHost.Builder
addRequestHeadersToAdd(HeaderValueOption.Builder builderForValue)
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.HeaderValueOption.Builder
addRequestHeadersToAddBuilder()
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.HeaderValueOption.Builder
addRequestHeadersToAddBuilder(int index)
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.VirtualHost.Builder
addRequestHeadersToRemove(java.lang.String value)
Specifies a list of HTTP headers that should be removed from each request handled by this virtual host.VirtualHost.Builder
addRequestHeadersToRemoveBytes(com.google.protobuf.ByteString value)
Specifies a list of HTTP headers that should be removed from each request handled by this virtual host.VirtualHost.Builder
addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value)
Specify a set of default request mirroring policies for every route under this virtual host.VirtualHost.Builder
addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue)
Specify a set of default request mirroring policies for every route under this virtual host.VirtualHost.Builder
addRequestMirrorPolicies(RouteAction.RequestMirrorPolicy value)
Specify a set of default request mirroring policies for every route under this virtual host.VirtualHost.Builder
addRequestMirrorPolicies(RouteAction.RequestMirrorPolicy.Builder builderForValue)
Specify a set of default request mirroring policies for every route under this virtual host.RouteAction.RequestMirrorPolicy.Builder
addRequestMirrorPoliciesBuilder()
Specify a set of default request mirroring policies for every route under this virtual host.RouteAction.RequestMirrorPolicy.Builder
addRequestMirrorPoliciesBuilder(int index)
Specify a set of default request mirroring policies for every route under this virtual host.VirtualHost.Builder
addResponseHeadersToAdd(int index, HeaderValueOption value)
Specifies a list of HTTP headers that should be added to each response handled by this virtual host.VirtualHost.Builder
addResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a list of HTTP headers that should be added to each response handled by this virtual host.VirtualHost.Builder
addResponseHeadersToAdd(HeaderValueOption value)
Specifies a list of HTTP headers that should be added to each response handled by this virtual host.VirtualHost.Builder
addResponseHeadersToAdd(HeaderValueOption.Builder builderForValue)
Specifies a list of HTTP headers that should be added to each response handled by this virtual host.HeaderValueOption.Builder
addResponseHeadersToAddBuilder()
Specifies a list of HTTP headers that should be added to each response handled by this virtual host.HeaderValueOption.Builder
addResponseHeadersToAddBuilder(int index)
Specifies a list of HTTP headers that should be added to each response handled by this virtual host.VirtualHost.Builder
addResponseHeadersToRemove(java.lang.String value)
Specifies a list of HTTP headers that should be removed from each response handled by this virtual host.VirtualHost.Builder
addResponseHeadersToRemoveBytes(com.google.protobuf.ByteString value)
Specifies a list of HTTP headers that should be removed from each response handled by this virtual host.VirtualHost.Builder
addRoutes(int index, Route value)
The list of routes that will be matched, in order, for incoming requests.VirtualHost.Builder
addRoutes(int index, Route.Builder builderForValue)
The list of routes that will be matched, in order, for incoming requests.VirtualHost.Builder
addRoutes(Route value)
The list of routes that will be matched, in order, for incoming requests.VirtualHost.Builder
addRoutes(Route.Builder builderForValue)
The list of routes that will be matched, in order, for incoming requests.Route.Builder
addRoutesBuilder()
The list of routes that will be matched, in order, for incoming requests.Route.Builder
addRoutesBuilder(int index)
The list of routes that will be matched, in order, for incoming requests.VirtualHost.Builder
addVirtualClusters(int index, VirtualCluster value)
A list of virtual clusters defined for this virtual host.VirtualHost.Builder
addVirtualClusters(int index, VirtualCluster.Builder builderForValue)
A list of virtual clusters defined for this virtual host.VirtualHost.Builder
addVirtualClusters(VirtualCluster value)
A list of virtual clusters defined for this virtual host.VirtualHost.Builder
addVirtualClusters(VirtualCluster.Builder builderForValue)
A list of virtual clusters defined for this virtual host.VirtualCluster.Builder
addVirtualClustersBuilder()
A list of virtual clusters defined for this virtual host.VirtualCluster.Builder
addVirtualClustersBuilder(int index)
A list of virtual clusters defined for this virtual host.VirtualHost
build()
VirtualHost
buildPartial()
private void
buildPartial0(VirtualHost result)
private void
buildPartialRepeatedFields(VirtualHost result)
VirtualHost.Builder
clear()
VirtualHost.Builder
clearCors()
Deprecated.VirtualHost.Builder
clearDomains()
A list of domains (host/authority header) that will be matched to this virtual host.VirtualHost.Builder
clearHedgePolicy()
Indicates the hedge policy for all routes in this virtual host.VirtualHost.Builder
clearIncludeAttemptCountInResponse()
Decides whether the :ref:`x-envoy-attempt-count <config_http_filters_router_x-envoy-attempt-count>` header should be included in the downstream response.VirtualHost.Builder
clearIncludeIsTimeoutRetryHeader()
Decides whether to include the :ref:`x-envoy-is-timeout-retry <config_http_filters_router_x-envoy-is-timeout-retry>` request header in retries initiated by per try timeouts.VirtualHost.Builder
clearIncludeRequestAttemptCount()
Decides whether the :ref:`x-envoy-attempt-count <config_http_filters_router_x-envoy-attempt-count>` header should be included in the upstream request.VirtualHost.Builder
clearMatcher()
[#next-major-version: This should be included in a oneof with routes wrapped in a message.] The match tree to use when resolving route actions for incoming requests.VirtualHost.Builder
clearMetadata()
The metadata field can be used to provide additional information about the virtual host.VirtualHost.Builder
clearName()
The logical name of the virtual host.VirtualHost.Builder
clearPerRequestBufferLimitBytes()
The maximum bytes which will be buffered for retries and shadowing.VirtualHost.Builder
clearRateLimits()
Specifies a set of rate limit configurations that will be applied to the virtual host.VirtualHost.Builder
clearRequestHeadersToAdd()
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.VirtualHost.Builder
clearRequestHeadersToRemove()
Specifies a list of HTTP headers that should be removed from each request handled by this virtual host.VirtualHost.Builder
clearRequestMirrorPolicies()
Specify a set of default request mirroring policies for every route under this virtual host.VirtualHost.Builder
clearRequireTls()
Specifies the type of TLS enforcement the virtual host expects.VirtualHost.Builder
clearResponseHeadersToAdd()
Specifies a list of HTTP headers that should be added to each response handled by this virtual host.VirtualHost.Builder
clearResponseHeadersToRemove()
Specifies a list of HTTP headers that should be removed from each response handled by this virtual host.VirtualHost.Builder
clearRetryPolicy()
Indicates the retry policy for all routes in this virtual host.VirtualHost.Builder
clearRetryPolicyTypedConfig()
[#not-implemented-hide:] Specifies the configuration for retry policy extension.VirtualHost.Builder
clearRoutes()
The list of routes that will be matched, in order, for incoming requests.VirtualHost.Builder
clearTypedPerFilterConfig()
VirtualHost.Builder
clearVirtualClusters()
A list of virtual clusters defined for this virtual host.boolean
containsTypedPerFilterConfig(java.lang.String key)
This field can be used to provide virtual host level per filter config.private void
ensureDomainsIsMutable()
private void
ensureRateLimitsIsMutable()
private void
ensureRequestHeadersToAddIsMutable()
private void
ensureRequestHeadersToRemoveIsMutable()
private void
ensureRequestMirrorPoliciesIsMutable()
private void
ensureResponseHeadersToAddIsMutable()
private void
ensureResponseHeadersToRemoveIsMutable()
private void
ensureRoutesIsMutable()
private void
ensureVirtualClustersIsMutable()
CorsPolicy
getCors()
Deprecated.envoy.config.route.v3.VirtualHost.cors is deprecated.CorsPolicy.Builder
getCorsBuilder()
Deprecated.private com.google.protobuf.SingleFieldBuilder<CorsPolicy,CorsPolicy.Builder,CorsPolicyOrBuilder>
getCorsFieldBuilder()
Indicates that the virtual host has a CORS policy.CorsPolicyOrBuilder
getCorsOrBuilder()
Deprecated.VirtualHost
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.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.HedgePolicy
getHedgePolicy()
Indicates the hedge policy for all routes in this virtual host.HedgePolicy.Builder
getHedgePolicyBuilder()
Indicates the hedge policy for all routes in this virtual host.private com.google.protobuf.SingleFieldBuilder<HedgePolicy,HedgePolicy.Builder,HedgePolicyOrBuilder>
getHedgePolicyFieldBuilder()
Indicates the hedge policy for all routes in this virtual host.HedgePolicyOrBuilder
getHedgePolicyOrBuilder()
Indicates the hedge policy for all routes in this virtual host.boolean
getIncludeAttemptCountInResponse()
Decides whether the :ref:`x-envoy-attempt-count <config_http_filters_router_x-envoy-attempt-count>` header should be included in the downstream response.boolean
getIncludeIsTimeoutRetryHeader()
Decides whether to include the :ref:`x-envoy-is-timeout-retry <config_http_filters_router_x-envoy-is-timeout-retry>` request header in retries initiated by per try timeouts.boolean
getIncludeRequestAttemptCount()
Decides whether the :ref:`x-envoy-attempt-count <config_http_filters_router_x-envoy-attempt-count>` header should be included in the upstream request.Matcher
getMatcher()
[#next-major-version: This should be included in a oneof with routes wrapped in a message.] The match tree to use when resolving route actions for incoming requests.Matcher.Builder
getMatcherBuilder()
[#next-major-version: This should be included in a oneof with routes wrapped in a message.] The match tree to use when resolving route actions for incoming requests.private com.google.protobuf.SingleFieldBuilder<Matcher,Matcher.Builder,MatcherOrBuilder>
getMatcherFieldBuilder()
[#next-major-version: This should be included in a oneof with routes wrapped in a message.] The match tree to use when resolving route actions for incoming requests.MatcherOrBuilder
getMatcherOrBuilder()
[#next-major-version: This should be included in a oneof with routes wrapped in a message.] The match tree to use when resolving route actions for incoming requests.Metadata
getMetadata()
The metadata field can be used to provide additional information about the virtual host.Metadata.Builder
getMetadataBuilder()
The metadata field can be used to provide additional information about the virtual host.private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder,MetadataOrBuilder>
getMetadataFieldBuilder()
The metadata field can be used to provide additional information about the virtual host.MetadataOrBuilder
getMetadataOrBuilder()
The metadata field can be used to provide additional information about the virtual host.java.util.Map<java.lang.String,com.google.protobuf.Any>
getMutableTypedPerFilterConfig()
Deprecated.java.lang.String
getName()
The logical name of the virtual host.com.google.protobuf.ByteString
getNameBytes()
The logical name of the virtual host.com.google.protobuf.UInt32Value
getPerRequestBufferLimitBytes()
The maximum bytes which will be buffered for retries and shadowing.com.google.protobuf.UInt32Value.Builder
getPerRequestBufferLimitBytesBuilder()
The maximum bytes which will be buffered for retries and shadowing.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder>
getPerRequestBufferLimitBytesFieldBuilder()
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.RateLimit
getRateLimits(int index)
Specifies a set of rate limit configurations that will be applied to the virtual host.RateLimit.Builder
getRateLimitsBuilder(int index)
Specifies a set of rate limit configurations that will be applied to the virtual host.java.util.List<RateLimit.Builder>
getRateLimitsBuilderList()
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.private com.google.protobuf.RepeatedFieldBuilder<RateLimit,RateLimit.Builder,RateLimitOrBuilder>
getRateLimitsFieldBuilder()
java.util.List<RateLimit>
getRateLimitsList()
Specifies a set of rate limit configurations that will be applied to the virtual host.RateLimitOrBuilder
getRateLimitsOrBuilder(int index)
Specifies a set of rate limit configurations that will be applied to the virtual host.java.util.List<? extends RateLimitOrBuilder>
getRateLimitsOrBuilderList()
Specifies a set of rate limit configurations that will be applied to the virtual host.HeaderValueOption
getRequestHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.HeaderValueOption.Builder
getRequestHeadersToAddBuilder(int index)
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.java.util.List<HeaderValueOption.Builder>
getRequestHeadersToAddBuilderList()
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.private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder>
getRequestHeadersToAddFieldBuilder()
java.util.List<HeaderValueOption>
getRequestHeadersToAddList()
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.HeaderValueOptionOrBuilder
getRequestHeadersToAddOrBuilder(int index)
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.java.util.List<? extends HeaderValueOptionOrBuilder>
getRequestHeadersToAddOrBuilderList()
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.java.lang.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.RouteAction.RequestMirrorPolicy
getRequestMirrorPolicies(int index)
Specify a set of default request mirroring policies for every route under this virtual host.RouteAction.RequestMirrorPolicy.Builder
getRequestMirrorPoliciesBuilder(int index)
Specify a set of default request mirroring policies for every route under this virtual host.java.util.List<RouteAction.RequestMirrorPolicy.Builder>
getRequestMirrorPoliciesBuilderList()
Specify a set of default request mirroring policies for every route under this virtual host.int
getRequestMirrorPoliciesCount()
Specify a set of default request mirroring policies for every route under this virtual host.private com.google.protobuf.RepeatedFieldBuilder<RouteAction.RequestMirrorPolicy,RouteAction.RequestMirrorPolicy.Builder,RouteAction.RequestMirrorPolicyOrBuilder>
getRequestMirrorPoliciesFieldBuilder()
java.util.List<RouteAction.RequestMirrorPolicy>
getRequestMirrorPoliciesList()
Specify a set of default request mirroring policies for every route under this virtual host.RouteAction.RequestMirrorPolicyOrBuilder
getRequestMirrorPoliciesOrBuilder(int index)
Specify a set of default request mirroring policies for every route under this virtual host.java.util.List<? extends RouteAction.RequestMirrorPolicyOrBuilder>
getRequestMirrorPoliciesOrBuilderList()
Specify a set of default request mirroring policies for every route under this virtual host.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.HeaderValueOption
getResponseHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each response handled by this virtual host.HeaderValueOption.Builder
getResponseHeadersToAddBuilder(int index)
Specifies a list of HTTP headers that should be added to each response handled by this virtual host.java.util.List<HeaderValueOption.Builder>
getResponseHeadersToAddBuilderList()
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.private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder>
getResponseHeadersToAddFieldBuilder()
java.util.List<HeaderValueOption>
getResponseHeadersToAddList()
Specifies a list of HTTP headers that should be added to each response handled by this virtual host.HeaderValueOptionOrBuilder
getResponseHeadersToAddOrBuilder(int index)
Specifies a list of HTTP headers that should be added to each response handled by this virtual host.java.util.List<? extends HeaderValueOptionOrBuilder>
getResponseHeadersToAddOrBuilderList()
Specifies a list of HTTP headers that should be added to each response handled by this virtual host.java.lang.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.RetryPolicy
getRetryPolicy()
Indicates the retry policy for all routes in this virtual host.RetryPolicy.Builder
getRetryPolicyBuilder()
Indicates the retry policy for all routes in this virtual host.private com.google.protobuf.SingleFieldBuilder<RetryPolicy,RetryPolicy.Builder,RetryPolicyOrBuilder>
getRetryPolicyFieldBuilder()
Indicates the retry policy for all routes in this virtual host.RetryPolicyOrBuilder
getRetryPolicyOrBuilder()
Indicates the retry policy for all routes in this virtual host.com.google.protobuf.Any
getRetryPolicyTypedConfig()
[#not-implemented-hide:] Specifies the configuration for retry policy extension.com.google.protobuf.Any.Builder
getRetryPolicyTypedConfigBuilder()
[#not-implemented-hide:] Specifies the configuration for retry policy extension.private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder,com.google.protobuf.AnyOrBuilder>
getRetryPolicyTypedConfigFieldBuilder()
[#not-implemented-hide:] Specifies the configuration for retry policy extension.com.google.protobuf.AnyOrBuilder
getRetryPolicyTypedConfigOrBuilder()
[#not-implemented-hide:] Specifies the configuration for retry policy extension.Route
getRoutes(int index)
The list of routes that will be matched, in order, for incoming requests.Route.Builder
getRoutesBuilder(int index)
The list of routes that will be matched, in order, for incoming requests.java.util.List<Route.Builder>
getRoutesBuilderList()
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.private com.google.protobuf.RepeatedFieldBuilder<Route,Route.Builder,RouteOrBuilder>
getRoutesFieldBuilder()
java.util.List<Route>
getRoutesList()
The list of routes that will be matched, in order, for incoming requests.RouteOrBuilder
getRoutesOrBuilder(int index)
The list of routes that will be matched, in order, for incoming requests.java.util.List<? extends RouteOrBuilder>
getRoutesOrBuilderList()
The list of routes that will be matched, in order, for incoming requests.java.util.Map<java.lang.String,com.google.protobuf.Any>
getTypedPerFilterConfig()
Deprecated.int
getTypedPerFilterConfigCount()
This field can be used to provide virtual host level per filter config.java.util.Map<java.lang.String,com.google.protobuf.Any>
getTypedPerFilterConfigMap()
This field can be used to provide virtual host level per filter config.com.google.protobuf.Any
getTypedPerFilterConfigOrDefault(java.lang.String key, com.google.protobuf.Any defaultValue)
This field can be used to provide virtual host level per filter config.com.google.protobuf.Any
getTypedPerFilterConfigOrThrow(java.lang.String key)
This field can be used to provide virtual host level per filter config.VirtualCluster
getVirtualClusters(int index)
A list of virtual clusters defined for this virtual host.VirtualCluster.Builder
getVirtualClustersBuilder(int index)
A list of virtual clusters defined for this virtual host.java.util.List<VirtualCluster.Builder>
getVirtualClustersBuilderList()
A list of virtual clusters defined for this virtual host.int
getVirtualClustersCount()
A list of virtual clusters defined for this virtual host.private com.google.protobuf.RepeatedFieldBuilder<VirtualCluster,VirtualCluster.Builder,VirtualClusterOrBuilder>
getVirtualClustersFieldBuilder()
java.util.List<VirtualCluster>
getVirtualClustersList()
A list of virtual clusters defined for this virtual host.VirtualClusterOrBuilder
getVirtualClustersOrBuilder(int index)
A list of virtual clusters defined for this virtual host.java.util.List<? extends VirtualClusterOrBuilder>
getVirtualClustersOrBuilderList()
A list of virtual clusters defined for this virtual host.boolean
hasCors()
Deprecated.envoy.config.route.v3.VirtualHost.cors is deprecated.boolean
hasHedgePolicy()
Indicates the hedge policy for all routes in this virtual host.boolean
hasMatcher()
[#next-major-version: This should be included in a oneof with routes wrapped in a message.] The match tree to use when resolving route actions for incoming requests.boolean
hasMetadata()
The metadata field can be used to provide additional information about the virtual host.boolean
hasPerRequestBufferLimitBytes()
The maximum bytes which will be buffered for retries and shadowing.boolean
hasRetryPolicy()
Indicates the retry policy for all routes in this virtual host.boolean
hasRetryPolicyTypedConfig()
[#not-implemented-hide:] Specifies the configuration for retry policy extension.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMapFieldReflection(int number)
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMutableMapFieldReflection(int number)
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder>
internalGetMutableTypedPerFilterConfig()
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder>
internalGetTypedPerFilterConfig()
boolean
isInitialized()
private void
maybeForceBuilderInitialization()
VirtualHost.Builder
mergeCors(CorsPolicy value)
Deprecated.VirtualHost.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
VirtualHost.Builder
mergeFrom(com.google.protobuf.Message other)
VirtualHost.Builder
mergeFrom(VirtualHost other)
VirtualHost.Builder
mergeHedgePolicy(HedgePolicy value)
Indicates the hedge policy for all routes in this virtual host.VirtualHost.Builder
mergeMatcher(Matcher value)
[#next-major-version: This should be included in a oneof with routes wrapped in a message.] The match tree to use when resolving route actions for incoming requests.VirtualHost.Builder
mergeMetadata(Metadata value)
The metadata field can be used to provide additional information about the virtual host.VirtualHost.Builder
mergePerRequestBufferLimitBytes(com.google.protobuf.UInt32Value value)
The maximum bytes which will be buffered for retries and shadowing.VirtualHost.Builder
mergeRetryPolicy(RetryPolicy value)
Indicates the retry policy for all routes in this virtual host.VirtualHost.Builder
mergeRetryPolicyTypedConfig(com.google.protobuf.Any value)
[#not-implemented-hide:] Specifies the configuration for retry policy extension.VirtualHost.Builder
putAllTypedPerFilterConfig(java.util.Map<java.lang.String,com.google.protobuf.Any> values)
This field can be used to provide virtual host level per filter config.VirtualHost.Builder
putTypedPerFilterConfig(java.lang.String key, com.google.protobuf.Any value)
This field can be used to provide virtual host level per filter config.com.google.protobuf.Any.Builder
putTypedPerFilterConfigBuilderIfAbsent(java.lang.String key)
This field can be used to provide virtual host level per filter config.VirtualHost.Builder
removeRateLimits(int index)
Specifies a set of rate limit configurations that will be applied to the virtual host.VirtualHost.Builder
removeRequestHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.VirtualHost.Builder
removeRequestMirrorPolicies(int index)
Specify a set of default request mirroring policies for every route under this virtual host.VirtualHost.Builder
removeResponseHeadersToAdd(int index)
Specifies a list of HTTP headers that should be added to each response handled by this virtual host.VirtualHost.Builder
removeRoutes(int index)
The list of routes that will be matched, in order, for incoming requests.VirtualHost.Builder
removeTypedPerFilterConfig(java.lang.String key)
This field can be used to provide virtual host level per filter config.VirtualHost.Builder
removeVirtualClusters(int index)
A list of virtual clusters defined for this virtual host.VirtualHost.Builder
setCors(CorsPolicy value)
Deprecated.VirtualHost.Builder
setCors(CorsPolicy.Builder builderForValue)
Deprecated.VirtualHost.Builder
setDomains(int index, java.lang.String value)
A list of domains (host/authority header) that will be matched to this virtual host.VirtualHost.Builder
setHedgePolicy(HedgePolicy value)
Indicates the hedge policy for all routes in this virtual host.VirtualHost.Builder
setHedgePolicy(HedgePolicy.Builder builderForValue)
Indicates the hedge policy for all routes in this virtual host.VirtualHost.Builder
setIncludeAttemptCountInResponse(boolean value)
Decides whether the :ref:`x-envoy-attempt-count <config_http_filters_router_x-envoy-attempt-count>` header should be included in the downstream response.VirtualHost.Builder
setIncludeIsTimeoutRetryHeader(boolean value)
Decides whether to include the :ref:`x-envoy-is-timeout-retry <config_http_filters_router_x-envoy-is-timeout-retry>` request header in retries initiated by per try timeouts.VirtualHost.Builder
setIncludeRequestAttemptCount(boolean value)
Decides whether the :ref:`x-envoy-attempt-count <config_http_filters_router_x-envoy-attempt-count>` header should be included in the upstream request.VirtualHost.Builder
setMatcher(Matcher value)
[#next-major-version: This should be included in a oneof with routes wrapped in a message.] The match tree to use when resolving route actions for incoming requests.VirtualHost.Builder
setMatcher(Matcher.Builder builderForValue)
[#next-major-version: This should be included in a oneof with routes wrapped in a message.] The match tree to use when resolving route actions for incoming requests.VirtualHost.Builder
setMetadata(Metadata value)
The metadata field can be used to provide additional information about the virtual host.VirtualHost.Builder
setMetadata(Metadata.Builder builderForValue)
The metadata field can be used to provide additional information about the virtual host.VirtualHost.Builder
setName(java.lang.String value)
The logical name of the virtual host.VirtualHost.Builder
setNameBytes(com.google.protobuf.ByteString value)
The logical name of the virtual host.VirtualHost.Builder
setPerRequestBufferLimitBytes(com.google.protobuf.UInt32Value value)
The maximum bytes which will be buffered for retries and shadowing.VirtualHost.Builder
setPerRequestBufferLimitBytes(com.google.protobuf.UInt32Value.Builder builderForValue)
The maximum bytes which will be buffered for retries and shadowing.VirtualHost.Builder
setRateLimits(int index, RateLimit value)
Specifies a set of rate limit configurations that will be applied to the virtual host.VirtualHost.Builder
setRateLimits(int index, RateLimit.Builder builderForValue)
Specifies a set of rate limit configurations that will be applied to the virtual host.VirtualHost.Builder
setRequestHeadersToAdd(int index, HeaderValueOption value)
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.VirtualHost.Builder
setRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a list of HTTP headers that should be added to each request handled by this virtual host.VirtualHost.Builder
setRequestHeadersToRemove(int index, java.lang.String value)
Specifies a list of HTTP headers that should be removed from each request handled by this virtual host.VirtualHost.Builder
setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value)
Specify a set of default request mirroring policies for every route under this virtual host.VirtualHost.Builder
setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue)
Specify a set of default request mirroring policies for every route under this virtual host.VirtualHost.Builder
setRequireTls(VirtualHost.TlsRequirementType value)
Specifies the type of TLS enforcement the virtual host expects.VirtualHost.Builder
setRequireTlsValue(int value)
Specifies the type of TLS enforcement the virtual host expects.VirtualHost.Builder
setResponseHeadersToAdd(int index, HeaderValueOption value)
Specifies a list of HTTP headers that should be added to each response handled by this virtual host.VirtualHost.Builder
setResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
Specifies a list of HTTP headers that should be added to each response handled by this virtual host.VirtualHost.Builder
setResponseHeadersToRemove(int index, java.lang.String value)
Specifies a list of HTTP headers that should be removed from each response handled by this virtual host.VirtualHost.Builder
setRetryPolicy(RetryPolicy value)
Indicates the retry policy for all routes in this virtual host.VirtualHost.Builder
setRetryPolicy(RetryPolicy.Builder builderForValue)
Indicates the retry policy for all routes in this virtual host.VirtualHost.Builder
setRetryPolicyTypedConfig(com.google.protobuf.Any value)
[#not-implemented-hide:] Specifies the configuration for retry policy extension.VirtualHost.Builder
setRetryPolicyTypedConfig(com.google.protobuf.Any.Builder builderForValue)
[#not-implemented-hide:] Specifies the configuration for retry policy extension.VirtualHost.Builder
setRoutes(int index, Route value)
The list of routes that will be matched, in order, for incoming requests.VirtualHost.Builder
setRoutes(int index, Route.Builder builderForValue)
The list of routes that will be matched, in order, for incoming requests.VirtualHost.Builder
setVirtualClusters(int index, VirtualCluster value)
A list of virtual clusters defined for this virtual host.VirtualHost.Builder
setVirtualClusters(int index, VirtualCluster.Builder builderForValue)
A list of virtual clusters defined for this virtual host.-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
bitField0_
private int bitField0_
-
name_
private java.lang.Object name_
-
domains_
private com.google.protobuf.LazyStringArrayList domains_
-
routes_
private java.util.List<Route> routes_
-
routesBuilder_
private com.google.protobuf.RepeatedFieldBuilder<Route,Route.Builder,RouteOrBuilder> routesBuilder_
-
matcher_
private Matcher matcher_
-
matcherBuilder_
private com.google.protobuf.SingleFieldBuilder<Matcher,Matcher.Builder,MatcherOrBuilder> matcherBuilder_
-
requireTls_
private int requireTls_
-
virtualClusters_
private java.util.List<VirtualCluster> virtualClusters_
-
virtualClustersBuilder_
private com.google.protobuf.RepeatedFieldBuilder<VirtualCluster,VirtualCluster.Builder,VirtualClusterOrBuilder> virtualClustersBuilder_
-
rateLimits_
private java.util.List<RateLimit> rateLimits_
-
rateLimitsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<RateLimit,RateLimit.Builder,RateLimitOrBuilder> rateLimitsBuilder_
-
requestHeadersToAdd_
private java.util.List<HeaderValueOption> requestHeadersToAdd_
-
requestHeadersToAddBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder> requestHeadersToAddBuilder_
-
requestHeadersToRemove_
private com.google.protobuf.LazyStringArrayList requestHeadersToRemove_
-
responseHeadersToAdd_
private java.util.List<HeaderValueOption> responseHeadersToAdd_
-
responseHeadersToAddBuilder_
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder> responseHeadersToAddBuilder_
-
responseHeadersToRemove_
private com.google.protobuf.LazyStringArrayList responseHeadersToRemove_
-
cors_
private CorsPolicy cors_
-
corsBuilder_
private com.google.protobuf.SingleFieldBuilder<CorsPolicy,CorsPolicy.Builder,CorsPolicyOrBuilder> corsBuilder_
-
typedPerFilterConfigConverter
private static final VirtualHost.Builder.TypedPerFilterConfigConverter typedPerFilterConfigConverter
-
typedPerFilterConfig_
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder> typedPerFilterConfig_
-
includeRequestAttemptCount_
private boolean includeRequestAttemptCount_
-
includeAttemptCountInResponse_
private boolean includeAttemptCountInResponse_
-
retryPolicy_
private RetryPolicy retryPolicy_
-
retryPolicyBuilder_
private com.google.protobuf.SingleFieldBuilder<RetryPolicy,RetryPolicy.Builder,RetryPolicyOrBuilder> retryPolicyBuilder_
-
retryPolicyTypedConfig_
private com.google.protobuf.Any retryPolicyTypedConfig_
-
retryPolicyTypedConfigBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder,com.google.protobuf.AnyOrBuilder> retryPolicyTypedConfigBuilder_
-
hedgePolicy_
private HedgePolicy hedgePolicy_
-
hedgePolicyBuilder_
private com.google.protobuf.SingleFieldBuilder<HedgePolicy,HedgePolicy.Builder,HedgePolicyOrBuilder> hedgePolicyBuilder_
-
includeIsTimeoutRetryHeader_
private boolean includeIsTimeoutRetryHeader_
-
perRequestBufferLimitBytes_
private com.google.protobuf.UInt32Value perRequestBufferLimitBytes_
-
perRequestBufferLimitBytesBuilder_
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> perRequestBufferLimitBytesBuilder_
-
requestMirrorPolicies_
private java.util.List<RouteAction.RequestMirrorPolicy> requestMirrorPolicies_
-
requestMirrorPoliciesBuilder_
private com.google.protobuf.RepeatedFieldBuilder<RouteAction.RequestMirrorPolicy,RouteAction.RequestMirrorPolicy.Builder,RouteAction.RequestMirrorPolicyOrBuilder> requestMirrorPoliciesBuilder_
-
metadata_
private Metadata metadata_
-
metadataBuilder_
private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder,MetadataOrBuilder> metadataBuilder_
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<VirtualHost.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflection
in classcom.google.protobuf.GeneratedMessage.Builder<VirtualHost.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<VirtualHost.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization()
-
clear
public VirtualHost.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<VirtualHost.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<VirtualHost.Builder>
-
getDefaultInstanceForType
public VirtualHost getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public VirtualHost build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VirtualHost buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(VirtualHost result)
-
buildPartial0
private void buildPartial0(VirtualHost result)
-
mergeFrom
public VirtualHost.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VirtualHost.Builder>
-
mergeFrom
public VirtualHost.Builder mergeFrom(VirtualHost other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<VirtualHost.Builder>
-
mergeFrom
public VirtualHost.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VirtualHost.Builder>
- Throws:
java.io.IOException
-
getName
public java.lang.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) = { ... }
- Specified by:
getName
in interfaceVirtualHostOrBuilder
- Returns:
- The name.
-
getNameBytes
public 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) = { ... }
- Specified by:
getNameBytes
in interfaceVirtualHostOrBuilder
- Returns:
- The bytes for name.
-
setName
public VirtualHost.Builder setName(java.lang.String value)
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) = { ... }
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public VirtualHost.Builder clearName()
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) = { ... }
- Returns:
- This builder for chaining.
-
setNameBytes
public VirtualHost.Builder setNameBytes(com.google.protobuf.ByteString value)
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) = { ... }
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
ensureDomainsIsMutable
private void ensureDomainsIsMutable()
-
getDomainsList
public 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 suffix or prefix form. Domain search order: 1. Exact domain names: ``www.foo.com``. 2. Suffix domain wildcards: ``*.foo.com`` or ``*-bar.foo.com``. 3. Prefix domain wildcards: ``foo.*`` or ``foo-*``. 4. Special wildcard ``*`` matching any domain. .. 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``. The longest wildcards match first. 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. Domains cannot contain control characters. This is validated by the well_known_regex HTTP_HEADER_VALUE.
repeated string domains = 2 [(.validate.rules) = { ... }
- Specified by:
getDomainsList
in interfaceVirtualHostOrBuilder
- Returns:
- A list containing the domains.
-
getDomainsCount
public int getDomainsCount()
A list of domains (host/authority header) that will be matched to this virtual host. Wildcard hosts are supported in the suffix or prefix form. Domain search order: 1. Exact domain names: ``www.foo.com``. 2. Suffix domain wildcards: ``*.foo.com`` or ``*-bar.foo.com``. 3. Prefix domain wildcards: ``foo.*`` or ``foo-*``. 4. Special wildcard ``*`` matching any domain. .. 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``. The longest wildcards match first. 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. Domains cannot contain control characters. This is validated by the well_known_regex HTTP_HEADER_VALUE.
repeated string domains = 2 [(.validate.rules) = { ... }
- Specified by:
getDomainsCount
in interfaceVirtualHostOrBuilder
- Returns:
- The count of domains.
-
getDomains
public java.lang.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 suffix or prefix form. Domain search order: 1. Exact domain names: ``www.foo.com``. 2. Suffix domain wildcards: ``*.foo.com`` or ``*-bar.foo.com``. 3. Prefix domain wildcards: ``foo.*`` or ``foo-*``. 4. Special wildcard ``*`` matching any domain. .. 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``. The longest wildcards match first. 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. Domains cannot contain control characters. This is validated by the well_known_regex HTTP_HEADER_VALUE.
repeated string domains = 2 [(.validate.rules) = { ... }
- Specified by:
getDomains
in interfaceVirtualHostOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The domains at the given index.
-
getDomainsBytes
public 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 suffix or prefix form. Domain search order: 1. Exact domain names: ``www.foo.com``. 2. Suffix domain wildcards: ``*.foo.com`` or ``*-bar.foo.com``. 3. Prefix domain wildcards: ``foo.*`` or ``foo-*``. 4. Special wildcard ``*`` matching any domain. .. 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``. The longest wildcards match first. 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. Domains cannot contain control characters. This is validated by the well_known_regex HTTP_HEADER_VALUE.
repeated string domains = 2 [(.validate.rules) = { ... }
- Specified by:
getDomainsBytes
in interfaceVirtualHostOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the domains at the given index.
-
setDomains
public VirtualHost.Builder setDomains(int index, java.lang.String value)
A list of domains (host/authority header) that will be matched to this virtual host. Wildcard hosts are supported in the suffix or prefix form. Domain search order: 1. Exact domain names: ``www.foo.com``. 2. Suffix domain wildcards: ``*.foo.com`` or ``*-bar.foo.com``. 3. Prefix domain wildcards: ``foo.*`` or ``foo-*``. 4. Special wildcard ``*`` matching any domain. .. 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``. The longest wildcards match first. 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. Domains cannot contain control characters. This is validated by the well_known_regex HTTP_HEADER_VALUE.
repeated string domains = 2 [(.validate.rules) = { ... }
- Parameters:
index
- The index to set the value at.value
- The domains to set.- Returns:
- This builder for chaining.
-
addDomains
public VirtualHost.Builder addDomains(java.lang.String value)
A list of domains (host/authority header) that will be matched to this virtual host. Wildcard hosts are supported in the suffix or prefix form. Domain search order: 1. Exact domain names: ``www.foo.com``. 2. Suffix domain wildcards: ``*.foo.com`` or ``*-bar.foo.com``. 3. Prefix domain wildcards: ``foo.*`` or ``foo-*``. 4. Special wildcard ``*`` matching any domain. .. 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``. The longest wildcards match first. 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. Domains cannot contain control characters. This is validated by the well_known_regex HTTP_HEADER_VALUE.
repeated string domains = 2 [(.validate.rules) = { ... }
- Parameters:
value
- The domains to add.- Returns:
- This builder for chaining.
-
addAllDomains
public VirtualHost.Builder addAllDomains(java.lang.Iterable<java.lang.String> values)
A list of domains (host/authority header) that will be matched to this virtual host. Wildcard hosts are supported in the suffix or prefix form. Domain search order: 1. Exact domain names: ``www.foo.com``. 2. Suffix domain wildcards: ``*.foo.com`` or ``*-bar.foo.com``. 3. Prefix domain wildcards: ``foo.*`` or ``foo-*``. 4. Special wildcard ``*`` matching any domain. .. 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``. The longest wildcards match first. 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. Domains cannot contain control characters. This is validated by the well_known_regex HTTP_HEADER_VALUE.
repeated string domains = 2 [(.validate.rules) = { ... }
- Parameters:
values
- The domains to add.- Returns:
- This builder for chaining.
-
clearDomains
public VirtualHost.Builder clearDomains()
A list of domains (host/authority header) that will be matched to this virtual host. Wildcard hosts are supported in the suffix or prefix form. Domain search order: 1. Exact domain names: ``www.foo.com``. 2. Suffix domain wildcards: ``*.foo.com`` or ``*-bar.foo.com``. 3. Prefix domain wildcards: ``foo.*`` or ``foo-*``. 4. Special wildcard ``*`` matching any domain. .. 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``. The longest wildcards match first. 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. Domains cannot contain control characters. This is validated by the well_known_regex HTTP_HEADER_VALUE.
repeated string domains = 2 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
addDomainsBytes
public VirtualHost.Builder addDomainsBytes(com.google.protobuf.ByteString value)
A list of domains (host/authority header) that will be matched to this virtual host. Wildcard hosts are supported in the suffix or prefix form. Domain search order: 1. Exact domain names: ``www.foo.com``. 2. Suffix domain wildcards: ``*.foo.com`` or ``*-bar.foo.com``. 3. Prefix domain wildcards: ``foo.*`` or ``foo-*``. 4. Special wildcard ``*`` matching any domain. .. 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``. The longest wildcards match first. 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. Domains cannot contain control characters. This is validated by the well_known_regex HTTP_HEADER_VALUE.
repeated string domains = 2 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes of the domains to add.- Returns:
- This builder for chaining.
-
ensureRoutesIsMutable
private void ensureRoutesIsMutable()
-
getRoutesList
public java.util.List<Route> getRoutesList()
The list of routes that will be matched, in order, for incoming requests. The first route that matches will be used. Only one of this and ``matcher`` can be specified.
repeated .envoy.config.route.v3.Route routes = 3;
- Specified by:
getRoutesList
in interfaceVirtualHostOrBuilder
-
getRoutesCount
public int getRoutesCount()
The list of routes that will be matched, in order, for incoming requests. The first route that matches will be used. Only one of this and ``matcher`` can be specified.
repeated .envoy.config.route.v3.Route routes = 3;
- Specified by:
getRoutesCount
in interfaceVirtualHostOrBuilder
-
getRoutes
public 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. Only one of this and ``matcher`` can be specified.
repeated .envoy.config.route.v3.Route routes = 3;
- Specified by:
getRoutes
in interfaceVirtualHostOrBuilder
-
setRoutes
public VirtualHost.Builder setRoutes(int index, Route value)
The list of routes that will be matched, in order, for incoming requests. The first route that matches will be used. Only one of this and ``matcher`` can be specified.
repeated .envoy.config.route.v3.Route routes = 3;
-
setRoutes
public VirtualHost.Builder setRoutes(int index, Route.Builder builderForValue)
The list of routes that will be matched, in order, for incoming requests. The first route that matches will be used. Only one of this and ``matcher`` can be specified.
repeated .envoy.config.route.v3.Route routes = 3;
-
addRoutes
public VirtualHost.Builder addRoutes(Route value)
The list of routes that will be matched, in order, for incoming requests. The first route that matches will be used. Only one of this and ``matcher`` can be specified.
repeated .envoy.config.route.v3.Route routes = 3;
-
addRoutes
public VirtualHost.Builder addRoutes(int index, Route value)
The list of routes that will be matched, in order, for incoming requests. The first route that matches will be used. Only one of this and ``matcher`` can be specified.
repeated .envoy.config.route.v3.Route routes = 3;
-
addRoutes
public VirtualHost.Builder addRoutes(Route.Builder builderForValue)
The list of routes that will be matched, in order, for incoming requests. The first route that matches will be used. Only one of this and ``matcher`` can be specified.
repeated .envoy.config.route.v3.Route routes = 3;
-
addRoutes
public VirtualHost.Builder addRoutes(int index, Route.Builder builderForValue)
The list of routes that will be matched, in order, for incoming requests. The first route that matches will be used. Only one of this and ``matcher`` can be specified.
repeated .envoy.config.route.v3.Route routes = 3;
-
addAllRoutes
public VirtualHost.Builder addAllRoutes(java.lang.Iterable<? extends Route> values)
The list of routes that will be matched, in order, for incoming requests. The first route that matches will be used. Only one of this and ``matcher`` can be specified.
repeated .envoy.config.route.v3.Route routes = 3;
-
clearRoutes
public VirtualHost.Builder clearRoutes()
The list of routes that will be matched, in order, for incoming requests. The first route that matches will be used. Only one of this and ``matcher`` can be specified.
repeated .envoy.config.route.v3.Route routes = 3;
-
removeRoutes
public VirtualHost.Builder removeRoutes(int index)
The list of routes that will be matched, in order, for incoming requests. The first route that matches will be used. Only one of this and ``matcher`` can be specified.
repeated .envoy.config.route.v3.Route routes = 3;
-
getRoutesBuilder
public Route.Builder getRoutesBuilder(int index)
The list of routes that will be matched, in order, for incoming requests. The first route that matches will be used. Only one of this and ``matcher`` can be specified.
repeated .envoy.config.route.v3.Route routes = 3;
-
getRoutesOrBuilder
public 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. Only one of this and ``matcher`` can be specified.
repeated .envoy.config.route.v3.Route routes = 3;
- Specified by:
getRoutesOrBuilder
in interfaceVirtualHostOrBuilder
-
getRoutesOrBuilderList
public java.util.List<? extends RouteOrBuilder> getRoutesOrBuilderList()
The list of routes that will be matched, in order, for incoming requests. The first route that matches will be used. Only one of this and ``matcher`` can be specified.
repeated .envoy.config.route.v3.Route routes = 3;
- Specified by:
getRoutesOrBuilderList
in interfaceVirtualHostOrBuilder
-
addRoutesBuilder
public Route.Builder addRoutesBuilder()
The list of routes that will be matched, in order, for incoming requests. The first route that matches will be used. Only one of this and ``matcher`` can be specified.
repeated .envoy.config.route.v3.Route routes = 3;
-
addRoutesBuilder
public Route.Builder addRoutesBuilder(int index)
The list of routes that will be matched, in order, for incoming requests. The first route that matches will be used. Only one of this and ``matcher`` can be specified.
repeated .envoy.config.route.v3.Route routes = 3;
-
getRoutesBuilderList
public java.util.List<Route.Builder> getRoutesBuilderList()
The list of routes that will be matched, in order, for incoming requests. The first route that matches will be used. Only one of this and ``matcher`` can be specified.
repeated .envoy.config.route.v3.Route routes = 3;
-
getRoutesFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<Route,Route.Builder,RouteOrBuilder> getRoutesFieldBuilder()
-
hasMatcher
public boolean hasMatcher()
[#next-major-version: This should be included in a oneof with routes wrapped in a message.] The match tree to use when resolving route actions for incoming requests. Only one of this and ``routes`` can be specified.
.xds.type.matcher.v3.Matcher matcher = 21 [(.xds.annotations.v3.field_status) = { ... }
- Specified by:
hasMatcher
in interfaceVirtualHostOrBuilder
- Returns:
- Whether the matcher field is set.
-
getMatcher
public Matcher getMatcher()
[#next-major-version: This should be included in a oneof with routes wrapped in a message.] The match tree to use when resolving route actions for incoming requests. Only one of this and ``routes`` can be specified.
.xds.type.matcher.v3.Matcher matcher = 21 [(.xds.annotations.v3.field_status) = { ... }
- Specified by:
getMatcher
in interfaceVirtualHostOrBuilder
- Returns:
- The matcher.
-
setMatcher
public VirtualHost.Builder setMatcher(Matcher value)
[#next-major-version: This should be included in a oneof with routes wrapped in a message.] The match tree to use when resolving route actions for incoming requests. Only one of this and ``routes`` can be specified.
.xds.type.matcher.v3.Matcher matcher = 21 [(.xds.annotations.v3.field_status) = { ... }
-
setMatcher
public VirtualHost.Builder setMatcher(Matcher.Builder builderForValue)
[#next-major-version: This should be included in a oneof with routes wrapped in a message.] The match tree to use when resolving route actions for incoming requests. Only one of this and ``routes`` can be specified.
.xds.type.matcher.v3.Matcher matcher = 21 [(.xds.annotations.v3.field_status) = { ... }
-
mergeMatcher
public VirtualHost.Builder mergeMatcher(Matcher value)
[#next-major-version: This should be included in a oneof with routes wrapped in a message.] The match tree to use when resolving route actions for incoming requests. Only one of this and ``routes`` can be specified.
.xds.type.matcher.v3.Matcher matcher = 21 [(.xds.annotations.v3.field_status) = { ... }
-
clearMatcher
public VirtualHost.Builder clearMatcher()
[#next-major-version: This should be included in a oneof with routes wrapped in a message.] The match tree to use when resolving route actions for incoming requests. Only one of this and ``routes`` can be specified.
.xds.type.matcher.v3.Matcher matcher = 21 [(.xds.annotations.v3.field_status) = { ... }
-
getMatcherBuilder
public Matcher.Builder getMatcherBuilder()
[#next-major-version: This should be included in a oneof with routes wrapped in a message.] The match tree to use when resolving route actions for incoming requests. Only one of this and ``routes`` can be specified.
.xds.type.matcher.v3.Matcher matcher = 21 [(.xds.annotations.v3.field_status) = { ... }
-
getMatcherOrBuilder
public MatcherOrBuilder getMatcherOrBuilder()
[#next-major-version: This should be included in a oneof with routes wrapped in a message.] The match tree to use when resolving route actions for incoming requests. Only one of this and ``routes`` can be specified.
.xds.type.matcher.v3.Matcher matcher = 21 [(.xds.annotations.v3.field_status) = { ... }
- Specified by:
getMatcherOrBuilder
in interfaceVirtualHostOrBuilder
-
getMatcherFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Matcher,Matcher.Builder,MatcherOrBuilder> getMatcherFieldBuilder()
[#next-major-version: This should be included in a oneof with routes wrapped in a message.] The match tree to use when resolving route actions for incoming requests. Only one of this and ``routes`` can be specified.
.xds.type.matcher.v3.Matcher matcher = 21 [(.xds.annotations.v3.field_status) = { ... }
-
getRequireTlsValue
public 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.config.route.v3.VirtualHost.TlsRequirementType require_tls = 4 [(.validate.rules) = { ... }
- Specified by:
getRequireTlsValue
in interfaceVirtualHostOrBuilder
- Returns:
- The enum numeric value on the wire for requireTls.
-
setRequireTlsValue
public VirtualHost.Builder setRequireTlsValue(int value)
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.config.route.v3.VirtualHost.TlsRequirementType require_tls = 4 [(.validate.rules) = { ... }
- Parameters:
value
- The enum numeric value on the wire for requireTls to set.- Returns:
- This builder for chaining.
-
getRequireTls
public 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.config.route.v3.VirtualHost.TlsRequirementType require_tls = 4 [(.validate.rules) = { ... }
- Specified by:
getRequireTls
in interfaceVirtualHostOrBuilder
- Returns:
- The requireTls.
-
setRequireTls
public VirtualHost.Builder setRequireTls(VirtualHost.TlsRequirementType value)
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.config.route.v3.VirtualHost.TlsRequirementType require_tls = 4 [(.validate.rules) = { ... }
- Parameters:
value
- The requireTls to set.- Returns:
- This builder for chaining.
-
clearRequireTls
public VirtualHost.Builder clearRequireTls()
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.config.route.v3.VirtualHost.TlsRequirementType require_tls = 4 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
ensureVirtualClustersIsMutable
private void ensureVirtualClustersIsMutable()
-
getVirtualClustersList
public java.util.List<VirtualCluster> getVirtualClustersList()
A list of virtual clusters defined for this virtual host. Virtual clusters are used for additional statistics gathering.
repeated .envoy.config.route.v3.VirtualCluster virtual_clusters = 5;
- Specified by:
getVirtualClustersList
in interfaceVirtualHostOrBuilder
-
getVirtualClustersCount
public int getVirtualClustersCount()
A list of virtual clusters defined for this virtual host. Virtual clusters are used for additional statistics gathering.
repeated .envoy.config.route.v3.VirtualCluster virtual_clusters = 5;
- Specified by:
getVirtualClustersCount
in interfaceVirtualHostOrBuilder
-
getVirtualClusters
public VirtualCluster getVirtualClusters(int index)
A list of virtual clusters defined for this virtual host. Virtual clusters are used for additional statistics gathering.
repeated .envoy.config.route.v3.VirtualCluster virtual_clusters = 5;
- Specified by:
getVirtualClusters
in interfaceVirtualHostOrBuilder
-
setVirtualClusters
public VirtualHost.Builder setVirtualClusters(int index, VirtualCluster value)
A list of virtual clusters defined for this virtual host. Virtual clusters are used for additional statistics gathering.
repeated .envoy.config.route.v3.VirtualCluster virtual_clusters = 5;
-
setVirtualClusters
public VirtualHost.Builder setVirtualClusters(int index, VirtualCluster.Builder builderForValue)
A list of virtual clusters defined for this virtual host. Virtual clusters are used for additional statistics gathering.
repeated .envoy.config.route.v3.VirtualCluster virtual_clusters = 5;
-
addVirtualClusters
public VirtualHost.Builder addVirtualClusters(VirtualCluster value)
A list of virtual clusters defined for this virtual host. Virtual clusters are used for additional statistics gathering.
repeated .envoy.config.route.v3.VirtualCluster virtual_clusters = 5;
-
addVirtualClusters
public VirtualHost.Builder addVirtualClusters(int index, VirtualCluster value)
A list of virtual clusters defined for this virtual host. Virtual clusters are used for additional statistics gathering.
repeated .envoy.config.route.v3.VirtualCluster virtual_clusters = 5;
-
addVirtualClusters
public VirtualHost.Builder addVirtualClusters(VirtualCluster.Builder builderForValue)
A list of virtual clusters defined for this virtual host. Virtual clusters are used for additional statistics gathering.
repeated .envoy.config.route.v3.VirtualCluster virtual_clusters = 5;
-
addVirtualClusters
public VirtualHost.Builder addVirtualClusters(int index, VirtualCluster.Builder builderForValue)
A list of virtual clusters defined for this virtual host. Virtual clusters are used for additional statistics gathering.
repeated .envoy.config.route.v3.VirtualCluster virtual_clusters = 5;
-
addAllVirtualClusters
public VirtualHost.Builder addAllVirtualClusters(java.lang.Iterable<? extends VirtualCluster> values)
A list of virtual clusters defined for this virtual host. Virtual clusters are used for additional statistics gathering.
repeated .envoy.config.route.v3.VirtualCluster virtual_clusters = 5;
-
clearVirtualClusters
public VirtualHost.Builder clearVirtualClusters()
A list of virtual clusters defined for this virtual host. Virtual clusters are used for additional statistics gathering.
repeated .envoy.config.route.v3.VirtualCluster virtual_clusters = 5;
-
removeVirtualClusters
public VirtualHost.Builder removeVirtualClusters(int index)
A list of virtual clusters defined for this virtual host. Virtual clusters are used for additional statistics gathering.
repeated .envoy.config.route.v3.VirtualCluster virtual_clusters = 5;
-
getVirtualClustersBuilder
public VirtualCluster.Builder getVirtualClustersBuilder(int index)
A list of virtual clusters defined for this virtual host. Virtual clusters are used for additional statistics gathering.
repeated .envoy.config.route.v3.VirtualCluster virtual_clusters = 5;
-
getVirtualClustersOrBuilder
public VirtualClusterOrBuilder getVirtualClustersOrBuilder(int index)
A list of virtual clusters defined for this virtual host. Virtual clusters are used for additional statistics gathering.
repeated .envoy.config.route.v3.VirtualCluster virtual_clusters = 5;
- Specified by:
getVirtualClustersOrBuilder
in interfaceVirtualHostOrBuilder
-
getVirtualClustersOrBuilderList
public java.util.List<? extends VirtualClusterOrBuilder> getVirtualClustersOrBuilderList()
A list of virtual clusters defined for this virtual host. Virtual clusters are used for additional statistics gathering.
repeated .envoy.config.route.v3.VirtualCluster virtual_clusters = 5;
- Specified by:
getVirtualClustersOrBuilderList
in interfaceVirtualHostOrBuilder
-
addVirtualClustersBuilder
public VirtualCluster.Builder addVirtualClustersBuilder()
A list of virtual clusters defined for this virtual host. Virtual clusters are used for additional statistics gathering.
repeated .envoy.config.route.v3.VirtualCluster virtual_clusters = 5;
-
addVirtualClustersBuilder
public VirtualCluster.Builder addVirtualClustersBuilder(int index)
A list of virtual clusters defined for this virtual host. Virtual clusters are used for additional statistics gathering.
repeated .envoy.config.route.v3.VirtualCluster virtual_clusters = 5;
-
getVirtualClustersBuilderList
public java.util.List<VirtualCluster.Builder> getVirtualClustersBuilderList()
A list of virtual clusters defined for this virtual host. Virtual clusters are used for additional statistics gathering.
repeated .envoy.config.route.v3.VirtualCluster virtual_clusters = 5;
-
getVirtualClustersFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<VirtualCluster,VirtualCluster.Builder,VirtualClusterOrBuilder> getVirtualClustersFieldBuilder()
-
ensureRateLimitsIsMutable
private void ensureRateLimitsIsMutable()
-
getRateLimitsList
public java.util.List<RateLimit> getRateLimitsList()
Specifies a set of rate limit configurations that will be applied to the virtual host.
repeated .envoy.config.route.v3.RateLimit rate_limits = 6;
- Specified by:
getRateLimitsList
in interfaceVirtualHostOrBuilder
-
getRateLimitsCount
public int getRateLimitsCount()
Specifies a set of rate limit configurations that will be applied to the virtual host.
repeated .envoy.config.route.v3.RateLimit rate_limits = 6;
- Specified by:
getRateLimitsCount
in interfaceVirtualHostOrBuilder
-
getRateLimits
public RateLimit getRateLimits(int index)
Specifies a set of rate limit configurations that will be applied to the virtual host.
repeated .envoy.config.route.v3.RateLimit rate_limits = 6;
- Specified by:
getRateLimits
in interfaceVirtualHostOrBuilder
-
setRateLimits
public VirtualHost.Builder setRateLimits(int index, RateLimit value)
Specifies a set of rate limit configurations that will be applied to the virtual host.
repeated .envoy.config.route.v3.RateLimit rate_limits = 6;
-
setRateLimits
public VirtualHost.Builder setRateLimits(int index, RateLimit.Builder builderForValue)
Specifies a set of rate limit configurations that will be applied to the virtual host.
repeated .envoy.config.route.v3.RateLimit rate_limits = 6;
-
addRateLimits
public VirtualHost.Builder addRateLimits(RateLimit value)
Specifies a set of rate limit configurations that will be applied to the virtual host.
repeated .envoy.config.route.v3.RateLimit rate_limits = 6;
-
addRateLimits
public VirtualHost.Builder addRateLimits(int index, RateLimit value)
Specifies a set of rate limit configurations that will be applied to the virtual host.
repeated .envoy.config.route.v3.RateLimit rate_limits = 6;
-
addRateLimits
public VirtualHost.Builder addRateLimits(RateLimit.Builder builderForValue)
Specifies a set of rate limit configurations that will be applied to the virtual host.
repeated .envoy.config.route.v3.RateLimit rate_limits = 6;
-
addRateLimits
public VirtualHost.Builder addRateLimits(int index, RateLimit.Builder builderForValue)
Specifies a set of rate limit configurations that will be applied to the virtual host.
repeated .envoy.config.route.v3.RateLimit rate_limits = 6;
-
addAllRateLimits
public VirtualHost.Builder addAllRateLimits(java.lang.Iterable<? extends RateLimit> values)
Specifies a set of rate limit configurations that will be applied to the virtual host.
repeated .envoy.config.route.v3.RateLimit rate_limits = 6;
-
clearRateLimits
public VirtualHost.Builder clearRateLimits()
Specifies a set of rate limit configurations that will be applied to the virtual host.
repeated .envoy.config.route.v3.RateLimit rate_limits = 6;
-
removeRateLimits
public VirtualHost.Builder removeRateLimits(int index)
Specifies a set of rate limit configurations that will be applied to the virtual host.
repeated .envoy.config.route.v3.RateLimit rate_limits = 6;
-
getRateLimitsBuilder
public RateLimit.Builder getRateLimitsBuilder(int index)
Specifies a set of rate limit configurations that will be applied to the virtual host.
repeated .envoy.config.route.v3.RateLimit rate_limits = 6;
-
getRateLimitsOrBuilder
public RateLimitOrBuilder getRateLimitsOrBuilder(int index)
Specifies a set of rate limit configurations that will be applied to the virtual host.
repeated .envoy.config.route.v3.RateLimit rate_limits = 6;
- Specified by:
getRateLimitsOrBuilder
in interfaceVirtualHostOrBuilder
-
getRateLimitsOrBuilderList
public java.util.List<? extends RateLimitOrBuilder> getRateLimitsOrBuilderList()
Specifies a set of rate limit configurations that will be applied to the virtual host.
repeated .envoy.config.route.v3.RateLimit rate_limits = 6;
- Specified by:
getRateLimitsOrBuilderList
in interfaceVirtualHostOrBuilder
-
addRateLimitsBuilder
public RateLimit.Builder addRateLimitsBuilder()
Specifies a set of rate limit configurations that will be applied to the virtual host.
repeated .envoy.config.route.v3.RateLimit rate_limits = 6;
-
addRateLimitsBuilder
public RateLimit.Builder addRateLimitsBuilder(int index)
Specifies a set of rate limit configurations that will be applied to the virtual host.
repeated .envoy.config.route.v3.RateLimit rate_limits = 6;
-
getRateLimitsBuilderList
public java.util.List<RateLimit.Builder> getRateLimitsBuilderList()
Specifies a set of rate limit configurations that will be applied to the virtual host.
repeated .envoy.config.route.v3.RateLimit rate_limits = 6;
-
getRateLimitsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<RateLimit,RateLimit.Builder,RateLimitOrBuilder> getRateLimitsFieldBuilder()
-
ensureRequestHeadersToAddIsMutable
private void ensureRequestHeadersToAddIsMutable()
-
getRequestHeadersToAddList
public java.util.List<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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 7 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAddList
in interfaceVirtualHostOrBuilder
-
getRequestHeadersToAddCount
public 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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 7 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAddCount
in interfaceVirtualHostOrBuilder
-
getRequestHeadersToAdd
public 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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 7 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAdd
in interfaceVirtualHostOrBuilder
-
setRequestHeadersToAdd
public VirtualHost.Builder setRequestHeadersToAdd(int index, HeaderValueOption value)
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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 7 [(.validate.rules) = { ... }
-
setRequestHeadersToAdd
public VirtualHost.Builder setRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 7 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
public VirtualHost.Builder addRequestHeadersToAdd(HeaderValueOption value)
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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 7 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
public VirtualHost.Builder addRequestHeadersToAdd(int index, HeaderValueOption value)
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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 7 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
public VirtualHost.Builder addRequestHeadersToAdd(HeaderValueOption.Builder builderForValue)
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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 7 [(.validate.rules) = { ... }
-
addRequestHeadersToAdd
public VirtualHost.Builder addRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 7 [(.validate.rules) = { ... }
-
addAllRequestHeadersToAdd
public VirtualHost.Builder addAllRequestHeadersToAdd(java.lang.Iterable<? extends HeaderValueOption> values)
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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 7 [(.validate.rules) = { ... }
-
clearRequestHeadersToAdd
public VirtualHost.Builder clearRequestHeadersToAdd()
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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 7 [(.validate.rules) = { ... }
-
removeRequestHeadersToAdd
public VirtualHost.Builder removeRequestHeadersToAdd(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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 7 [(.validate.rules) = { ... }
-
getRequestHeadersToAddBuilder
public HeaderValueOption.Builder getRequestHeadersToAddBuilder(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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 7 [(.validate.rules) = { ... }
-
getRequestHeadersToAddOrBuilder
public 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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 7 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAddOrBuilder
in interfaceVirtualHostOrBuilder
-
getRequestHeadersToAddOrBuilderList
public java.util.List<? extends 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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 7 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToAddOrBuilderList
in interfaceVirtualHostOrBuilder
-
addRequestHeadersToAddBuilder
public HeaderValueOption.Builder addRequestHeadersToAddBuilder()
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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 7 [(.validate.rules) = { ... }
-
addRequestHeadersToAddBuilder
public HeaderValueOption.Builder addRequestHeadersToAddBuilder(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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 7 [(.validate.rules) = { ... }
-
getRequestHeadersToAddBuilderList
public java.util.List<HeaderValueOption.Builder> getRequestHeadersToAddBuilderList()
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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption request_headers_to_add = 7 [(.validate.rules) = { ... }
-
getRequestHeadersToAddFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder> getRequestHeadersToAddFieldBuilder()
-
ensureRequestHeadersToRemoveIsMutable
private void ensureRequestHeadersToRemoveIsMutable()
-
getRequestHeadersToRemoveList
public 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 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToRemoveList
in interfaceVirtualHostOrBuilder
- Returns:
- A list containing the requestHeadersToRemove.
-
getRequestHeadersToRemoveCount
public 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 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToRemoveCount
in interfaceVirtualHostOrBuilder
- Returns:
- The count of requestHeadersToRemove.
-
getRequestHeadersToRemove
public java.lang.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 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToRemove
in interfaceVirtualHostOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The requestHeadersToRemove at the given index.
-
getRequestHeadersToRemoveBytes
public com.google.protobuf.ByteString getRequestHeadersToRemoveBytes(int index)
Specifies a list of HTTP headers that should be removed from each request handled by this virtual host.
repeated string request_headers_to_remove = 13 [(.validate.rules) = { ... }
- Specified by:
getRequestHeadersToRemoveBytes
in interfaceVirtualHostOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the requestHeadersToRemove at the given index.
-
setRequestHeadersToRemove
public VirtualHost.Builder setRequestHeadersToRemove(int index, java.lang.String value)
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 [(.validate.rules) = { ... }
- Parameters:
index
- The index to set the value at.value
- The requestHeadersToRemove to set.- Returns:
- This builder for chaining.
-
addRequestHeadersToRemove
public VirtualHost.Builder addRequestHeadersToRemove(java.lang.String value)
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 [(.validate.rules) = { ... }
- Parameters:
value
- The requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
addAllRequestHeadersToRemove
public VirtualHost.Builder addAllRequestHeadersToRemove(java.lang.Iterable<java.lang.String> values)
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 [(.validate.rules) = { ... }
- Parameters:
values
- The requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
clearRequestHeadersToRemove
public VirtualHost.Builder clearRequestHeadersToRemove()
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 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
addRequestHeadersToRemoveBytes
public VirtualHost.Builder addRequestHeadersToRemoveBytes(com.google.protobuf.ByteString value)
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 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes of the requestHeadersToRemove to add.- Returns:
- This builder for chaining.
-
ensureResponseHeadersToAddIsMutable
private void ensureResponseHeadersToAddIsMutable()
-
getResponseHeadersToAddList
public java.util.List<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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToAddList
in interfaceVirtualHostOrBuilder
-
getResponseHeadersToAddCount
public 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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToAddCount
in interfaceVirtualHostOrBuilder
-
getResponseHeadersToAdd
public 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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToAdd
in interfaceVirtualHostOrBuilder
-
setResponseHeadersToAdd
public VirtualHost.Builder setResponseHeadersToAdd(int index, HeaderValueOption value)
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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
setResponseHeadersToAdd
public VirtualHost.Builder setResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
addResponseHeadersToAdd
public VirtualHost.Builder addResponseHeadersToAdd(HeaderValueOption value)
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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
addResponseHeadersToAdd
public VirtualHost.Builder addResponseHeadersToAdd(int index, HeaderValueOption value)
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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
addResponseHeadersToAdd
public VirtualHost.Builder addResponseHeadersToAdd(HeaderValueOption.Builder builderForValue)
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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
addResponseHeadersToAdd
public VirtualHost.Builder addResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)
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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
addAllResponseHeadersToAdd
public VirtualHost.Builder addAllResponseHeadersToAdd(java.lang.Iterable<? extends HeaderValueOption> values)
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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
clearResponseHeadersToAdd
public VirtualHost.Builder clearResponseHeadersToAdd()
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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
removeResponseHeadersToAdd
public VirtualHost.Builder removeResponseHeadersToAdd(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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
getResponseHeadersToAddBuilder
public HeaderValueOption.Builder getResponseHeadersToAddBuilder(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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
getResponseHeadersToAddOrBuilder
public 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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToAddOrBuilder
in interfaceVirtualHostOrBuilder
-
getResponseHeadersToAddOrBuilderList
public java.util.List<? extends 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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToAddOrBuilderList
in interfaceVirtualHostOrBuilder
-
addResponseHeadersToAddBuilder
public HeaderValueOption.Builder addResponseHeadersToAddBuilder()
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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
addResponseHeadersToAddBuilder
public HeaderValueOption.Builder addResponseHeadersToAddBuilder(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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
getResponseHeadersToAddBuilderList
public java.util.List<HeaderValueOption.Builder> getResponseHeadersToAddBuilderList()
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_v3_api_msg_config.route.v3.Route` and before headers from the enclosing :ref:`envoy_v3_api_msg_config.route.v3.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.v3.HeaderValueOption response_headers_to_add = 10 [(.validate.rules) = { ... }
-
getResponseHeadersToAddFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<HeaderValueOption,HeaderValueOption.Builder,HeaderValueOptionOrBuilder> getResponseHeadersToAddFieldBuilder()
-
ensureResponseHeadersToRemoveIsMutable
private void ensureResponseHeadersToRemoveIsMutable()
-
getResponseHeadersToRemoveList
public 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 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToRemoveList
in interfaceVirtualHostOrBuilder
- Returns:
- A list containing the responseHeadersToRemove.
-
getResponseHeadersToRemoveCount
public 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 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToRemoveCount
in interfaceVirtualHostOrBuilder
- Returns:
- The count of responseHeadersToRemove.
-
getResponseHeadersToRemove
public java.lang.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 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToRemove
in interfaceVirtualHostOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The responseHeadersToRemove at the given index.
-
getResponseHeadersToRemoveBytes
public com.google.protobuf.ByteString getResponseHeadersToRemoveBytes(int index)
Specifies a list of HTTP headers that should be removed from each response handled by this virtual host.
repeated string response_headers_to_remove = 11 [(.validate.rules) = { ... }
- Specified by:
getResponseHeadersToRemoveBytes
in interfaceVirtualHostOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the responseHeadersToRemove at the given index.
-
setResponseHeadersToRemove
public VirtualHost.Builder setResponseHeadersToRemove(int index, java.lang.String value)
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 [(.validate.rules) = { ... }
- Parameters:
index
- The index to set the value at.value
- The responseHeadersToRemove to set.- Returns:
- This builder for chaining.
-
addResponseHeadersToRemove
public VirtualHost.Builder addResponseHeadersToRemove(java.lang.String value)
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 [(.validate.rules) = { ... }
- Parameters:
value
- The responseHeadersToRemove to add.- Returns:
- This builder for chaining.
-
addAllResponseHeadersToRemove
public VirtualHost.Builder addAllResponseHeadersToRemove(java.lang.Iterable<java.lang.String> values)
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 [(.validate.rules) = { ... }
- Parameters:
values
- The responseHeadersToRemove to add.- Returns:
- This builder for chaining.
-
clearResponseHeadersToRemove
public VirtualHost.Builder clearResponseHeadersToRemove()
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 [(.validate.rules) = { ... }
- Returns:
- This builder for chaining.
-
addResponseHeadersToRemoveBytes
public VirtualHost.Builder addResponseHeadersToRemoveBytes(com.google.protobuf.ByteString value)
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 [(.validate.rules) = { ... }
- Parameters:
value
- The bytes of the responseHeadersToRemove to add.- Returns:
- This builder for chaining.
-
hasCors
@Deprecated public boolean hasCors()
Deprecated.envoy.config.route.v3.VirtualHost.cors is deprecated. See envoy/config/route/v3/route_components.proto;l=153Indicates that the virtual host has a CORS policy. This field is ignored if related cors policy is found in the :ref:`VirtualHost.typed_per_filter_config<envoy_v3_api_field_config.route.v3.VirtualHost.typed_per_filter_config>`. .. attention:: This option has been deprecated. Please use :ref:`VirtualHost.typed_per_filter_config<envoy_v3_api_field_config.route.v3.VirtualHost.typed_per_filter_config>` to configure the CORS HTTP filter.
.envoy.config.route.v3.CorsPolicy cors = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
hasCors
in interfaceVirtualHostOrBuilder
- Returns:
- Whether the cors field is set.
-
getCors
@Deprecated public CorsPolicy getCors()
Deprecated.envoy.config.route.v3.VirtualHost.cors is deprecated. See envoy/config/route/v3/route_components.proto;l=153Indicates that the virtual host has a CORS policy. This field is ignored if related cors policy is found in the :ref:`VirtualHost.typed_per_filter_config<envoy_v3_api_field_config.route.v3.VirtualHost.typed_per_filter_config>`. .. attention:: This option has been deprecated. Please use :ref:`VirtualHost.typed_per_filter_config<envoy_v3_api_field_config.route.v3.VirtualHost.typed_per_filter_config>` to configure the CORS HTTP filter.
.envoy.config.route.v3.CorsPolicy cors = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getCors
in interfaceVirtualHostOrBuilder
- Returns:
- The cors.
-
setCors
@Deprecated public VirtualHost.Builder setCors(CorsPolicy value)
Deprecated.Indicates that the virtual host has a CORS policy. This field is ignored if related cors policy is found in the :ref:`VirtualHost.typed_per_filter_config<envoy_v3_api_field_config.route.v3.VirtualHost.typed_per_filter_config>`. .. attention:: This option has been deprecated. Please use :ref:`VirtualHost.typed_per_filter_config<envoy_v3_api_field_config.route.v3.VirtualHost.typed_per_filter_config>` to configure the CORS HTTP filter.
.envoy.config.route.v3.CorsPolicy cors = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
setCors
@Deprecated public VirtualHost.Builder setCors(CorsPolicy.Builder builderForValue)
Deprecated.Indicates that the virtual host has a CORS policy. This field is ignored if related cors policy is found in the :ref:`VirtualHost.typed_per_filter_config<envoy_v3_api_field_config.route.v3.VirtualHost.typed_per_filter_config>`. .. attention:: This option has been deprecated. Please use :ref:`VirtualHost.typed_per_filter_config<envoy_v3_api_field_config.route.v3.VirtualHost.typed_per_filter_config>` to configure the CORS HTTP filter.
.envoy.config.route.v3.CorsPolicy cors = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
mergeCors
@Deprecated public VirtualHost.Builder mergeCors(CorsPolicy value)
Deprecated.Indicates that the virtual host has a CORS policy. This field is ignored if related cors policy is found in the :ref:`VirtualHost.typed_per_filter_config<envoy_v3_api_field_config.route.v3.VirtualHost.typed_per_filter_config>`. .. attention:: This option has been deprecated. Please use :ref:`VirtualHost.typed_per_filter_config<envoy_v3_api_field_config.route.v3.VirtualHost.typed_per_filter_config>` to configure the CORS HTTP filter.
.envoy.config.route.v3.CorsPolicy cors = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
clearCors
@Deprecated public VirtualHost.Builder clearCors()
Deprecated.Indicates that the virtual host has a CORS policy. This field is ignored if related cors policy is found in the :ref:`VirtualHost.typed_per_filter_config<envoy_v3_api_field_config.route.v3.VirtualHost.typed_per_filter_config>`. .. attention:: This option has been deprecated. Please use :ref:`VirtualHost.typed_per_filter_config<envoy_v3_api_field_config.route.v3.VirtualHost.typed_per_filter_config>` to configure the CORS HTTP filter.
.envoy.config.route.v3.CorsPolicy cors = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
getCorsBuilder
@Deprecated public CorsPolicy.Builder getCorsBuilder()
Deprecated.Indicates that the virtual host has a CORS policy. This field is ignored if related cors policy is found in the :ref:`VirtualHost.typed_per_filter_config<envoy_v3_api_field_config.route.v3.VirtualHost.typed_per_filter_config>`. .. attention:: This option has been deprecated. Please use :ref:`VirtualHost.typed_per_filter_config<envoy_v3_api_field_config.route.v3.VirtualHost.typed_per_filter_config>` to configure the CORS HTTP filter.
.envoy.config.route.v3.CorsPolicy cors = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
getCorsOrBuilder
@Deprecated public CorsPolicyOrBuilder getCorsOrBuilder()
Deprecated.Indicates that the virtual host has a CORS policy. This field is ignored if related cors policy is found in the :ref:`VirtualHost.typed_per_filter_config<envoy_v3_api_field_config.route.v3.VirtualHost.typed_per_filter_config>`. .. attention:: This option has been deprecated. Please use :ref:`VirtualHost.typed_per_filter_config<envoy_v3_api_field_config.route.v3.VirtualHost.typed_per_filter_config>` to configure the CORS HTTP filter.
.envoy.config.route.v3.CorsPolicy cors = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
- Specified by:
getCorsOrBuilder
in interfaceVirtualHostOrBuilder
-
getCorsFieldBuilder
private com.google.protobuf.SingleFieldBuilder<CorsPolicy,CorsPolicy.Builder,CorsPolicyOrBuilder> getCorsFieldBuilder()
Indicates that the virtual host has a CORS policy. This field is ignored if related cors policy is found in the :ref:`VirtualHost.typed_per_filter_config<envoy_v3_api_field_config.route.v3.VirtualHost.typed_per_filter_config>`. .. attention:: This option has been deprecated. Please use :ref:`VirtualHost.typed_per_filter_config<envoy_v3_api_field_config.route.v3.VirtualHost.typed_per_filter_config>` to configure the CORS HTTP filter.
.envoy.config.route.v3.CorsPolicy cors = 8 [deprecated = true, (.envoy.annotations.deprecated_at_minor_version) = "3.0"];
-
internalGetTypedPerFilterConfig
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder> internalGetTypedPerFilterConfig()
-
internalGetMutableTypedPerFilterConfig
private com.google.protobuf.MapFieldBuilder<java.lang.String,com.google.protobuf.AnyOrBuilder,com.google.protobuf.Any,com.google.protobuf.Any.Builder> internalGetMutableTypedPerFilterConfig()
-
getTypedPerFilterConfigCount
public int getTypedPerFilterConfigCount()
Description copied from interface:VirtualHostOrBuilder
This field can be used to provide virtual host level per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 15;
- Specified by:
getTypedPerFilterConfigCount
in interfaceVirtualHostOrBuilder
-
containsTypedPerFilterConfig
public boolean containsTypedPerFilterConfig(java.lang.String key)
This field can be used to provide virtual host level per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 15;
- Specified by:
containsTypedPerFilterConfig
in interfaceVirtualHostOrBuilder
-
getTypedPerFilterConfig
@Deprecated public java.util.Map<java.lang.String,com.google.protobuf.Any> getTypedPerFilterConfig()
Deprecated.UsegetTypedPerFilterConfigMap()
instead.- Specified by:
getTypedPerFilterConfig
in interfaceVirtualHostOrBuilder
-
getTypedPerFilterConfigMap
public java.util.Map<java.lang.String,com.google.protobuf.Any> getTypedPerFilterConfigMap()
This field can be used to provide virtual host level per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 15;
- Specified by:
getTypedPerFilterConfigMap
in interfaceVirtualHostOrBuilder
-
getTypedPerFilterConfigOrDefault
public com.google.protobuf.Any getTypedPerFilterConfigOrDefault(java.lang.String key, com.google.protobuf.Any defaultValue)
This field can be used to provide virtual host level per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 15;
- Specified by:
getTypedPerFilterConfigOrDefault
in interfaceVirtualHostOrBuilder
-
getTypedPerFilterConfigOrThrow
public com.google.protobuf.Any getTypedPerFilterConfigOrThrow(java.lang.String key)
This field can be used to provide virtual host level per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 15;
- Specified by:
getTypedPerFilterConfigOrThrow
in interfaceVirtualHostOrBuilder
-
clearTypedPerFilterConfig
public VirtualHost.Builder clearTypedPerFilterConfig()
-
removeTypedPerFilterConfig
public VirtualHost.Builder removeTypedPerFilterConfig(java.lang.String key)
This field can be used to provide virtual host level per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 15;
-
getMutableTypedPerFilterConfig
@Deprecated public java.util.Map<java.lang.String,com.google.protobuf.Any> getMutableTypedPerFilterConfig()
Deprecated.Use alternate mutation accessors instead.
-
putTypedPerFilterConfig
public VirtualHost.Builder putTypedPerFilterConfig(java.lang.String key, com.google.protobuf.Any value)
This field can be used to provide virtual host level per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 15;
-
putAllTypedPerFilterConfig
public VirtualHost.Builder putAllTypedPerFilterConfig(java.util.Map<java.lang.String,com.google.protobuf.Any> values)
This field can be used to provide virtual host level per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 15;
-
putTypedPerFilterConfigBuilderIfAbsent
public com.google.protobuf.Any.Builder putTypedPerFilterConfigBuilderIfAbsent(java.lang.String key)
This field can be used to provide virtual host level per filter config. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. See :ref:`Http filter route specific config <arch_overview_http_filters_per_filter_config>` for details. [#comment: An entry's value may be wrapped in a :ref:`FilterConfig<envoy_v3_api_msg_config.route.v3.FilterConfig>` message to specify additional options.]
map<string, .google.protobuf.Any> typed_per_filter_config = 15;
-
getIncludeRequestAttemptCount
public boolean getIncludeRequestAttemptCount()
Decides whether the :ref:`x-envoy-attempt-count <config_http_filters_router_x-envoy-attempt-count>` header should be included in the upstream request. Setting this option will cause it to override any existing header value, so in the case of two Envoys on the request path with this option enabled, the upstream will see the attempt count as perceived by the second Envoy. Defaults to false. This header is unaffected by the :ref:`suppress_envoy_headers <envoy_v3_api_field_extensions.filters.http.router.v3.Router.suppress_envoy_headers>` flag. [#next-major-version: rename to include_attempt_count_in_request.]
bool include_request_attempt_count = 14;
- Specified by:
getIncludeRequestAttemptCount
in interfaceVirtualHostOrBuilder
- Returns:
- The includeRequestAttemptCount.
-
setIncludeRequestAttemptCount
public VirtualHost.Builder setIncludeRequestAttemptCount(boolean value)
Decides whether the :ref:`x-envoy-attempt-count <config_http_filters_router_x-envoy-attempt-count>` header should be included in the upstream request. Setting this option will cause it to override any existing header value, so in the case of two Envoys on the request path with this option enabled, the upstream will see the attempt count as perceived by the second Envoy. Defaults to false. This header is unaffected by the :ref:`suppress_envoy_headers <envoy_v3_api_field_extensions.filters.http.router.v3.Router.suppress_envoy_headers>` flag. [#next-major-version: rename to include_attempt_count_in_request.]
bool include_request_attempt_count = 14;
- Parameters:
value
- The includeRequestAttemptCount to set.- Returns:
- This builder for chaining.
-
clearIncludeRequestAttemptCount
public VirtualHost.Builder clearIncludeRequestAttemptCount()
Decides whether the :ref:`x-envoy-attempt-count <config_http_filters_router_x-envoy-attempt-count>` header should be included in the upstream request. Setting this option will cause it to override any existing header value, so in the case of two Envoys on the request path with this option enabled, the upstream will see the attempt count as perceived by the second Envoy. Defaults to false. This header is unaffected by the :ref:`suppress_envoy_headers <envoy_v3_api_field_extensions.filters.http.router.v3.Router.suppress_envoy_headers>` flag. [#next-major-version: rename to include_attempt_count_in_request.]
bool include_request_attempt_count = 14;
- Returns:
- This builder for chaining.
-
getIncludeAttemptCountInResponse
public boolean getIncludeAttemptCountInResponse()
Decides whether the :ref:`x-envoy-attempt-count <config_http_filters_router_x-envoy-attempt-count>` header should be included in the downstream response. Setting this option will cause the router to override any existing header value, so in the case of two Envoys on the request path with this option enabled, the downstream will see the attempt count as perceived by the Envoy closest upstream from itself. Defaults to false. This header is unaffected by the :ref:`suppress_envoy_headers <envoy_v3_api_field_extensions.filters.http.router.v3.Router.suppress_envoy_headers>` flag.
bool include_attempt_count_in_response = 19;
- Specified by:
getIncludeAttemptCountInResponse
in interfaceVirtualHostOrBuilder
- Returns:
- The includeAttemptCountInResponse.
-
setIncludeAttemptCountInResponse
public VirtualHost.Builder setIncludeAttemptCountInResponse(boolean value)
Decides whether the :ref:`x-envoy-attempt-count <config_http_filters_router_x-envoy-attempt-count>` header should be included in the downstream response. Setting this option will cause the router to override any existing header value, so in the case of two Envoys on the request path with this option enabled, the downstream will see the attempt count as perceived by the Envoy closest upstream from itself. Defaults to false. This header is unaffected by the :ref:`suppress_envoy_headers <envoy_v3_api_field_extensions.filters.http.router.v3.Router.suppress_envoy_headers>` flag.
bool include_attempt_count_in_response = 19;
- Parameters:
value
- The includeAttemptCountInResponse to set.- Returns:
- This builder for chaining.
-
clearIncludeAttemptCountInResponse
public VirtualHost.Builder clearIncludeAttemptCountInResponse()
Decides whether the :ref:`x-envoy-attempt-count <config_http_filters_router_x-envoy-attempt-count>` header should be included in the downstream response. Setting this option will cause the router to override any existing header value, so in the case of two Envoys on the request path with this option enabled, the downstream will see the attempt count as perceived by the Envoy closest upstream from itself. Defaults to false. This header is unaffected by the :ref:`suppress_envoy_headers <envoy_v3_api_field_extensions.filters.http.router.v3.Router.suppress_envoy_headers>` flag.
bool include_attempt_count_in_response = 19;
- Returns:
- This builder for chaining.
-
hasRetryPolicy
public boolean hasRetryPolicy()
Indicates the retry policy for all routes in this virtual host. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited).
.envoy.config.route.v3.RetryPolicy retry_policy = 16;
- Specified by:
hasRetryPolicy
in interfaceVirtualHostOrBuilder
- Returns:
- Whether the retryPolicy field is set.
-
getRetryPolicy
public RetryPolicy getRetryPolicy()
Indicates the retry policy for all routes in this virtual host. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited).
.envoy.config.route.v3.RetryPolicy retry_policy = 16;
- Specified by:
getRetryPolicy
in interfaceVirtualHostOrBuilder
- Returns:
- The retryPolicy.
-
setRetryPolicy
public VirtualHost.Builder setRetryPolicy(RetryPolicy value)
Indicates the retry policy for all routes in this virtual host. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited).
.envoy.config.route.v3.RetryPolicy retry_policy = 16;
-
setRetryPolicy
public VirtualHost.Builder setRetryPolicy(RetryPolicy.Builder builderForValue)
Indicates the retry policy for all routes in this virtual host. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited).
.envoy.config.route.v3.RetryPolicy retry_policy = 16;
-
mergeRetryPolicy
public VirtualHost.Builder mergeRetryPolicy(RetryPolicy value)
Indicates the retry policy for all routes in this virtual host. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited).
.envoy.config.route.v3.RetryPolicy retry_policy = 16;
-
clearRetryPolicy
public VirtualHost.Builder clearRetryPolicy()
Indicates the retry policy for all routes in this virtual host. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited).
.envoy.config.route.v3.RetryPolicy retry_policy = 16;
-
getRetryPolicyBuilder
public RetryPolicy.Builder getRetryPolicyBuilder()
Indicates the retry policy for all routes in this virtual host. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited).
.envoy.config.route.v3.RetryPolicy retry_policy = 16;
-
getRetryPolicyOrBuilder
public RetryPolicyOrBuilder getRetryPolicyOrBuilder()
Indicates the retry policy for all routes in this virtual host. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited).
.envoy.config.route.v3.RetryPolicy retry_policy = 16;
- Specified by:
getRetryPolicyOrBuilder
in interfaceVirtualHostOrBuilder
-
getRetryPolicyFieldBuilder
private com.google.protobuf.SingleFieldBuilder<RetryPolicy,RetryPolicy.Builder,RetryPolicyOrBuilder> getRetryPolicyFieldBuilder()
Indicates the retry policy for all routes in this virtual host. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited).
.envoy.config.route.v3.RetryPolicy retry_policy = 16;
-
hasRetryPolicyTypedConfig
public boolean hasRetryPolicyTypedConfig()
[#not-implemented-hide:] Specifies the configuration for retry policy extension. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited). :ref:`Retry policy <envoy_v3_api_field_config.route.v3.VirtualHost.retry_policy>` should not be set if this field is used.
.google.protobuf.Any retry_policy_typed_config = 20;
- Specified by:
hasRetryPolicyTypedConfig
in interfaceVirtualHostOrBuilder
- Returns:
- Whether the retryPolicyTypedConfig field is set.
-
getRetryPolicyTypedConfig
public com.google.protobuf.Any getRetryPolicyTypedConfig()
[#not-implemented-hide:] Specifies the configuration for retry policy extension. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited). :ref:`Retry policy <envoy_v3_api_field_config.route.v3.VirtualHost.retry_policy>` should not be set if this field is used.
.google.protobuf.Any retry_policy_typed_config = 20;
- Specified by:
getRetryPolicyTypedConfig
in interfaceVirtualHostOrBuilder
- Returns:
- The retryPolicyTypedConfig.
-
setRetryPolicyTypedConfig
public VirtualHost.Builder setRetryPolicyTypedConfig(com.google.protobuf.Any value)
[#not-implemented-hide:] Specifies the configuration for retry policy extension. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited). :ref:`Retry policy <envoy_v3_api_field_config.route.v3.VirtualHost.retry_policy>` should not be set if this field is used.
.google.protobuf.Any retry_policy_typed_config = 20;
-
setRetryPolicyTypedConfig
public VirtualHost.Builder setRetryPolicyTypedConfig(com.google.protobuf.Any.Builder builderForValue)
[#not-implemented-hide:] Specifies the configuration for retry policy extension. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited). :ref:`Retry policy <envoy_v3_api_field_config.route.v3.VirtualHost.retry_policy>` should not be set if this field is used.
.google.protobuf.Any retry_policy_typed_config = 20;
-
mergeRetryPolicyTypedConfig
public VirtualHost.Builder mergeRetryPolicyTypedConfig(com.google.protobuf.Any value)
[#not-implemented-hide:] Specifies the configuration for retry policy extension. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited). :ref:`Retry policy <envoy_v3_api_field_config.route.v3.VirtualHost.retry_policy>` should not be set if this field is used.
.google.protobuf.Any retry_policy_typed_config = 20;
-
clearRetryPolicyTypedConfig
public VirtualHost.Builder clearRetryPolicyTypedConfig()
[#not-implemented-hide:] Specifies the configuration for retry policy extension. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited). :ref:`Retry policy <envoy_v3_api_field_config.route.v3.VirtualHost.retry_policy>` should not be set if this field is used.
.google.protobuf.Any retry_policy_typed_config = 20;
-
getRetryPolicyTypedConfigBuilder
public com.google.protobuf.Any.Builder getRetryPolicyTypedConfigBuilder()
[#not-implemented-hide:] Specifies the configuration for retry policy extension. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited). :ref:`Retry policy <envoy_v3_api_field_config.route.v3.VirtualHost.retry_policy>` should not be set if this field is used.
.google.protobuf.Any retry_policy_typed_config = 20;
-
getRetryPolicyTypedConfigOrBuilder
public com.google.protobuf.AnyOrBuilder getRetryPolicyTypedConfigOrBuilder()
[#not-implemented-hide:] Specifies the configuration for retry policy extension. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited). :ref:`Retry policy <envoy_v3_api_field_config.route.v3.VirtualHost.retry_policy>` should not be set if this field is used.
.google.protobuf.Any retry_policy_typed_config = 20;
- Specified by:
getRetryPolicyTypedConfigOrBuilder
in interfaceVirtualHostOrBuilder
-
getRetryPolicyTypedConfigFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,com.google.protobuf.Any.Builder,com.google.protobuf.AnyOrBuilder> getRetryPolicyTypedConfigFieldBuilder()
[#not-implemented-hide:] Specifies the configuration for retry policy extension. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited). :ref:`Retry policy <envoy_v3_api_field_config.route.v3.VirtualHost.retry_policy>` should not be set if this field is used.
.google.protobuf.Any retry_policy_typed_config = 20;
-
hasHedgePolicy
public boolean hasHedgePolicy()
Indicates the hedge policy for all routes in this virtual host. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited).
.envoy.config.route.v3.HedgePolicy hedge_policy = 17;
- Specified by:
hasHedgePolicy
in interfaceVirtualHostOrBuilder
- Returns:
- Whether the hedgePolicy field is set.
-
getHedgePolicy
public HedgePolicy getHedgePolicy()
Indicates the hedge policy for all routes in this virtual host. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited).
.envoy.config.route.v3.HedgePolicy hedge_policy = 17;
- Specified by:
getHedgePolicy
in interfaceVirtualHostOrBuilder
- Returns:
- The hedgePolicy.
-
setHedgePolicy
public VirtualHost.Builder setHedgePolicy(HedgePolicy value)
Indicates the hedge policy for all routes in this virtual host. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited).
.envoy.config.route.v3.HedgePolicy hedge_policy = 17;
-
setHedgePolicy
public VirtualHost.Builder setHedgePolicy(HedgePolicy.Builder builderForValue)
Indicates the hedge policy for all routes in this virtual host. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited).
.envoy.config.route.v3.HedgePolicy hedge_policy = 17;
-
mergeHedgePolicy
public VirtualHost.Builder mergeHedgePolicy(HedgePolicy value)
Indicates the hedge policy for all routes in this virtual host. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited).
.envoy.config.route.v3.HedgePolicy hedge_policy = 17;
-
clearHedgePolicy
public VirtualHost.Builder clearHedgePolicy()
Indicates the hedge policy for all routes in this virtual host. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited).
.envoy.config.route.v3.HedgePolicy hedge_policy = 17;
-
getHedgePolicyBuilder
public HedgePolicy.Builder getHedgePolicyBuilder()
Indicates the hedge policy for all routes in this virtual host. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited).
.envoy.config.route.v3.HedgePolicy hedge_policy = 17;
-
getHedgePolicyOrBuilder
public HedgePolicyOrBuilder getHedgePolicyOrBuilder()
Indicates the hedge policy for all routes in this virtual host. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited).
.envoy.config.route.v3.HedgePolicy hedge_policy = 17;
- Specified by:
getHedgePolicyOrBuilder
in interfaceVirtualHostOrBuilder
-
getHedgePolicyFieldBuilder
private com.google.protobuf.SingleFieldBuilder<HedgePolicy,HedgePolicy.Builder,HedgePolicyOrBuilder> getHedgePolicyFieldBuilder()
Indicates the hedge policy for all routes in this virtual host. Note that setting a route level entry will take precedence over this config and it'll be treated independently (e.g.: values are not inherited).
.envoy.config.route.v3.HedgePolicy hedge_policy = 17;
-
getIncludeIsTimeoutRetryHeader
public boolean getIncludeIsTimeoutRetryHeader()
Decides whether to include the :ref:`x-envoy-is-timeout-retry <config_http_filters_router_x-envoy-is-timeout-retry>` request header in retries initiated by per try timeouts.
bool include_is_timeout_retry_header = 23;
- Specified by:
getIncludeIsTimeoutRetryHeader
in interfaceVirtualHostOrBuilder
- Returns:
- The includeIsTimeoutRetryHeader.
-
setIncludeIsTimeoutRetryHeader
public VirtualHost.Builder setIncludeIsTimeoutRetryHeader(boolean value)
Decides whether to include the :ref:`x-envoy-is-timeout-retry <config_http_filters_router_x-envoy-is-timeout-retry>` request header in retries initiated by per try timeouts.
bool include_is_timeout_retry_header = 23;
- Parameters:
value
- The includeIsTimeoutRetryHeader to set.- Returns:
- This builder for chaining.
-
clearIncludeIsTimeoutRetryHeader
public VirtualHost.Builder clearIncludeIsTimeoutRetryHeader()
Decides whether to include the :ref:`x-envoy-is-timeout-retry <config_http_filters_router_x-envoy-is-timeout-retry>` request header in retries initiated by per try timeouts.
bool include_is_timeout_retry_header = 23;
- Returns:
- This builder for chaining.
-
hasPerRequestBufferLimitBytes
public boolean hasPerRequestBufferLimitBytes()
The maximum bytes which will be buffered for retries and shadowing. If set and a route-specific limit is not 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 = 18;
- Specified by:
hasPerRequestBufferLimitBytes
in interfaceVirtualHostOrBuilder
- Returns:
- Whether the perRequestBufferLimitBytes field is set.
-
getPerRequestBufferLimitBytes
public com.google.protobuf.UInt32Value getPerRequestBufferLimitBytes()
The maximum bytes which will be buffered for retries and shadowing. If set and a route-specific limit is not 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 = 18;
- Specified by:
getPerRequestBufferLimitBytes
in interfaceVirtualHostOrBuilder
- Returns:
- The perRequestBufferLimitBytes.
-
setPerRequestBufferLimitBytes
public VirtualHost.Builder setPerRequestBufferLimitBytes(com.google.protobuf.UInt32Value value)
The maximum bytes which will be buffered for retries and shadowing. If set and a route-specific limit is not 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 = 18;
-
setPerRequestBufferLimitBytes
public VirtualHost.Builder setPerRequestBufferLimitBytes(com.google.protobuf.UInt32Value.Builder builderForValue)
The maximum bytes which will be buffered for retries and shadowing. If set and a route-specific limit is not 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 = 18;
-
mergePerRequestBufferLimitBytes
public VirtualHost.Builder mergePerRequestBufferLimitBytes(com.google.protobuf.UInt32Value value)
The maximum bytes which will be buffered for retries and shadowing. If set and a route-specific limit is not 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 = 18;
-
clearPerRequestBufferLimitBytes
public VirtualHost.Builder clearPerRequestBufferLimitBytes()
The maximum bytes which will be buffered for retries and shadowing. If set and a route-specific limit is not 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 = 18;
-
getPerRequestBufferLimitBytesBuilder
public com.google.protobuf.UInt32Value.Builder getPerRequestBufferLimitBytesBuilder()
The maximum bytes which will be buffered for retries and shadowing. If set and a route-specific limit is not 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 = 18;
-
getPerRequestBufferLimitBytesOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getPerRequestBufferLimitBytesOrBuilder()
The maximum bytes which will be buffered for retries and shadowing. If set and a route-specific limit is not 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 = 18;
- Specified by:
getPerRequestBufferLimitBytesOrBuilder
in interfaceVirtualHostOrBuilder
-
getPerRequestBufferLimitBytesFieldBuilder
private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.UInt32Value,com.google.protobuf.UInt32Value.Builder,com.google.protobuf.UInt32ValueOrBuilder> getPerRequestBufferLimitBytesFieldBuilder()
The maximum bytes which will be buffered for retries and shadowing. If set and a route-specific limit is not 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 = 18;
-
ensureRequestMirrorPoliciesIsMutable
private void ensureRequestMirrorPoliciesIsMutable()
-
getRequestMirrorPoliciesList
public java.util.List<RouteAction.RequestMirrorPolicy> getRequestMirrorPoliciesList()
Specify a set of default request mirroring policies for every route under this virtual host. It takes precedence over the route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 22;
- Specified by:
getRequestMirrorPoliciesList
in interfaceVirtualHostOrBuilder
-
getRequestMirrorPoliciesCount
public int getRequestMirrorPoliciesCount()
Specify a set of default request mirroring policies for every route under this virtual host. It takes precedence over the route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 22;
- Specified by:
getRequestMirrorPoliciesCount
in interfaceVirtualHostOrBuilder
-
getRequestMirrorPolicies
public RouteAction.RequestMirrorPolicy getRequestMirrorPolicies(int index)
Specify a set of default request mirroring policies for every route under this virtual host. It takes precedence over the route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 22;
- Specified by:
getRequestMirrorPolicies
in interfaceVirtualHostOrBuilder
-
setRequestMirrorPolicies
public VirtualHost.Builder setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value)
Specify a set of default request mirroring policies for every route under this virtual host. It takes precedence over the route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 22;
-
setRequestMirrorPolicies
public VirtualHost.Builder setRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue)
Specify a set of default request mirroring policies for every route under this virtual host. It takes precedence over the route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 22;
-
addRequestMirrorPolicies
public VirtualHost.Builder addRequestMirrorPolicies(RouteAction.RequestMirrorPolicy value)
Specify a set of default request mirroring policies for every route under this virtual host. It takes precedence over the route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 22;
-
addRequestMirrorPolicies
public VirtualHost.Builder addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value)
Specify a set of default request mirroring policies for every route under this virtual host. It takes precedence over the route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 22;
-
addRequestMirrorPolicies
public VirtualHost.Builder addRequestMirrorPolicies(RouteAction.RequestMirrorPolicy.Builder builderForValue)
Specify a set of default request mirroring policies for every route under this virtual host. It takes precedence over the route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 22;
-
addRequestMirrorPolicies
public VirtualHost.Builder addRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue)
Specify a set of default request mirroring policies for every route under this virtual host. It takes precedence over the route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 22;
-
addAllRequestMirrorPolicies
public VirtualHost.Builder addAllRequestMirrorPolicies(java.lang.Iterable<? extends RouteAction.RequestMirrorPolicy> values)
Specify a set of default request mirroring policies for every route under this virtual host. It takes precedence over the route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 22;
-
clearRequestMirrorPolicies
public VirtualHost.Builder clearRequestMirrorPolicies()
Specify a set of default request mirroring policies for every route under this virtual host. It takes precedence over the route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 22;
-
removeRequestMirrorPolicies
public VirtualHost.Builder removeRequestMirrorPolicies(int index)
Specify a set of default request mirroring policies for every route under this virtual host. It takes precedence over the route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 22;
-
getRequestMirrorPoliciesBuilder
public RouteAction.RequestMirrorPolicy.Builder getRequestMirrorPoliciesBuilder(int index)
Specify a set of default request mirroring policies for every route under this virtual host. It takes precedence over the route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 22;
-
getRequestMirrorPoliciesOrBuilder
public RouteAction.RequestMirrorPolicyOrBuilder getRequestMirrorPoliciesOrBuilder(int index)
Specify a set of default request mirroring policies for every route under this virtual host. It takes precedence over the route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 22;
- Specified by:
getRequestMirrorPoliciesOrBuilder
in interfaceVirtualHostOrBuilder
-
getRequestMirrorPoliciesOrBuilderList
public java.util.List<? extends RouteAction.RequestMirrorPolicyOrBuilder> getRequestMirrorPoliciesOrBuilderList()
Specify a set of default request mirroring policies for every route under this virtual host. It takes precedence over the route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 22;
- Specified by:
getRequestMirrorPoliciesOrBuilderList
in interfaceVirtualHostOrBuilder
-
addRequestMirrorPoliciesBuilder
public RouteAction.RequestMirrorPolicy.Builder addRequestMirrorPoliciesBuilder()
Specify a set of default request mirroring policies for every route under this virtual host. It takes precedence over the route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 22;
-
addRequestMirrorPoliciesBuilder
public RouteAction.RequestMirrorPolicy.Builder addRequestMirrorPoliciesBuilder(int index)
Specify a set of default request mirroring policies for every route under this virtual host. It takes precedence over the route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 22;
-
getRequestMirrorPoliciesBuilderList
public java.util.List<RouteAction.RequestMirrorPolicy.Builder> getRequestMirrorPoliciesBuilderList()
Specify a set of default request mirroring policies for every route under this virtual host. It takes precedence over the route config mirror policy entirely. That is, policies are not merged, the most specific non-empty one becomes the mirror policies.
repeated .envoy.config.route.v3.RouteAction.RequestMirrorPolicy request_mirror_policies = 22;
-
getRequestMirrorPoliciesFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<RouteAction.RequestMirrorPolicy,RouteAction.RequestMirrorPolicy.Builder,RouteAction.RequestMirrorPolicyOrBuilder> getRequestMirrorPoliciesFieldBuilder()
-
hasMetadata
public boolean hasMetadata()
The metadata field can be used to provide additional information about the virtual host. 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.v3.Metadata metadata = 24;
- Specified by:
hasMetadata
in interfaceVirtualHostOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
public Metadata getMetadata()
The metadata field can be used to provide additional information about the virtual host. 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.v3.Metadata metadata = 24;
- Specified by:
getMetadata
in interfaceVirtualHostOrBuilder
- Returns:
- The metadata.
-
setMetadata
public VirtualHost.Builder setMetadata(Metadata value)
The metadata field can be used to provide additional information about the virtual host. 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.v3.Metadata metadata = 24;
-
setMetadata
public VirtualHost.Builder setMetadata(Metadata.Builder builderForValue)
The metadata field can be used to provide additional information about the virtual host. 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.v3.Metadata metadata = 24;
-
mergeMetadata
public VirtualHost.Builder mergeMetadata(Metadata value)
The metadata field can be used to provide additional information about the virtual host. 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.v3.Metadata metadata = 24;
-
clearMetadata
public VirtualHost.Builder clearMetadata()
The metadata field can be used to provide additional information about the virtual host. 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.v3.Metadata metadata = 24;
-
getMetadataBuilder
public Metadata.Builder getMetadataBuilder()
The metadata field can be used to provide additional information about the virtual host. 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.v3.Metadata metadata = 24;
-
getMetadataOrBuilder
public MetadataOrBuilder getMetadataOrBuilder()
The metadata field can be used to provide additional information about the virtual host. 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.v3.Metadata metadata = 24;
- Specified by:
getMetadataOrBuilder
in interfaceVirtualHostOrBuilder
-
getMetadataFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Metadata,Metadata.Builder,MetadataOrBuilder> getMetadataFieldBuilder()
The metadata field can be used to provide additional information about the virtual host. 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.v3.Metadata metadata = 24;
-
-