Class VirtualHost.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.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,Cloneable
- Enclosing class:
- VirtualHost
public static final class VirtualHost.Builder extends com.google.protobuf.GeneratedMessageV3.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: 23]
Protobuf typeenvoy.config.route.v3.VirtualHost
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description VirtualHost.BuilderaddAllDomains(Iterable<String> values)A list of domains (host/authority header) that will be matched to this virtual host.VirtualHost.BuilderaddAllRateLimits(Iterable<? extends RateLimit> values)Specifies a set of rate limit configurations that will be applied to the virtual host.VirtualHost.BuilderaddAllRequestHeadersToAdd(Iterable<? extends HeaderValueOption> values)Specifies a list of HTTP headers that should be added to each request handled by this virtual host.VirtualHost.BuilderaddAllRequestHeadersToRemove(Iterable<String> values)Specifies a list of HTTP headers that should be removed from each request handled by this virtual host.VirtualHost.BuilderaddAllRequestMirrorPolicies(Iterable<? extends RouteAction.RequestMirrorPolicy> values)Specify a set of default request mirroring policies for every route under this virtual host.VirtualHost.BuilderaddAllResponseHeadersToAdd(Iterable<? extends HeaderValueOption> values)Specifies a list of HTTP headers that should be added to each response handled by this virtual host.VirtualHost.BuilderaddAllResponseHeadersToRemove(Iterable<String> values)Specifies a list of HTTP headers that should be removed from each response handled by this virtual host.VirtualHost.BuilderaddAllRoutes(Iterable<? extends Route> values)The list of routes that will be matched, in order, for incoming requests.VirtualHost.BuilderaddAllVirtualClusters(Iterable<? extends VirtualCluster> values)A list of virtual clusters defined for this virtual host.VirtualHost.BuilderaddDomains(String value)A list of domains (host/authority header) that will be matched to this virtual host.VirtualHost.BuilderaddDomainsBytes(com.google.protobuf.ByteString value)A list of domains (host/authority header) that will be matched to this virtual host.VirtualHost.BuilderaddRateLimits(int index, RateLimit value)Specifies a set of rate limit configurations that will be applied to the virtual host.VirtualHost.BuilderaddRateLimits(int index, RateLimit.Builder builderForValue)Specifies a set of rate limit configurations that will be applied to the virtual host.VirtualHost.BuilderaddRateLimits(RateLimit value)Specifies a set of rate limit configurations that will be applied to the virtual host.VirtualHost.BuilderaddRateLimits(RateLimit.Builder builderForValue)Specifies a set of rate limit configurations that will be applied to the virtual host.RateLimit.BuilderaddRateLimitsBuilder()Specifies a set of rate limit configurations that will be applied to the virtual host.RateLimit.BuilderaddRateLimitsBuilder(int index)Specifies a set of rate limit configurations that will be applied to the virtual host.VirtualHost.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)VirtualHost.BuilderaddRequestHeadersToAdd(int index, HeaderValueOption value)Specifies a list of HTTP headers that should be added to each request handled by this virtual host.VirtualHost.BuilderaddRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)Specifies a list of HTTP headers that should be added to each request handled by this virtual host.VirtualHost.BuilderaddRequestHeadersToAdd(HeaderValueOption value)Specifies a list of HTTP headers that should be added to each request handled by this virtual host.VirtualHost.BuilderaddRequestHeadersToAdd(HeaderValueOption.Builder builderForValue)Specifies a list of HTTP headers that should be added to each request handled by this virtual host.HeaderValueOption.BuilderaddRequestHeadersToAddBuilder()Specifies a list of HTTP headers that should be added to each request handled by this virtual host.HeaderValueOption.BuilderaddRequestHeadersToAddBuilder(int index)Specifies a list of HTTP headers that should be added to each request handled by this virtual host.VirtualHost.BuilderaddRequestHeadersToRemove(String value)Specifies a list of HTTP headers that should be removed from each request handled by this virtual host.VirtualHost.BuilderaddRequestHeadersToRemoveBytes(com.google.protobuf.ByteString value)Specifies a list of HTTP headers that should be removed from each request handled by this virtual host.VirtualHost.BuilderaddRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value)Specify a set of default request mirroring policies for every route under this virtual host.VirtualHost.BuilderaddRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue)Specify a set of default request mirroring policies for every route under this virtual host.VirtualHost.BuilderaddRequestMirrorPolicies(RouteAction.RequestMirrorPolicy value)Specify a set of default request mirroring policies for every route under this virtual host.VirtualHost.BuilderaddRequestMirrorPolicies(RouteAction.RequestMirrorPolicy.Builder builderForValue)Specify a set of default request mirroring policies for every route under this virtual host.RouteAction.RequestMirrorPolicy.BuilderaddRequestMirrorPoliciesBuilder()Specify a set of default request mirroring policies for every route under this virtual host.RouteAction.RequestMirrorPolicy.BuilderaddRequestMirrorPoliciesBuilder(int index)Specify a set of default request mirroring policies for every route under this virtual host.VirtualHost.BuilderaddResponseHeadersToAdd(int index, HeaderValueOption value)Specifies a list of HTTP headers that should be added to each response handled by this virtual host.VirtualHost.BuilderaddResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)Specifies a list of HTTP headers that should be added to each response handled by this virtual host.VirtualHost.BuilderaddResponseHeadersToAdd(HeaderValueOption value)Specifies a list of HTTP headers that should be added to each response handled by this virtual host.VirtualHost.BuilderaddResponseHeadersToAdd(HeaderValueOption.Builder builderForValue)Specifies a list of HTTP headers that should be added to each response handled by this virtual host.HeaderValueOption.BuilderaddResponseHeadersToAddBuilder()Specifies a list of HTTP headers that should be added to each response handled by this virtual host.HeaderValueOption.BuilderaddResponseHeadersToAddBuilder(int index)Specifies a list of HTTP headers that should be added to each response handled by this virtual host.VirtualHost.BuilderaddResponseHeadersToRemove(String value)Specifies a list of HTTP headers that should be removed from each response handled by this virtual host.VirtualHost.BuilderaddResponseHeadersToRemoveBytes(com.google.protobuf.ByteString value)Specifies a list of HTTP headers that should be removed from each response handled by this virtual host.VirtualHost.BuilderaddRoutes(int index, Route value)The list of routes that will be matched, in order, for incoming requests.VirtualHost.BuilderaddRoutes(int index, Route.Builder builderForValue)The list of routes that will be matched, in order, for incoming requests.VirtualHost.BuilderaddRoutes(Route value)The list of routes that will be matched, in order, for incoming requests.VirtualHost.BuilderaddRoutes(Route.Builder builderForValue)The list of routes that will be matched, in order, for incoming requests.Route.BuilderaddRoutesBuilder()The list of routes that will be matched, in order, for incoming requests.Route.BuilderaddRoutesBuilder(int index)The list of routes that will be matched, in order, for incoming requests.VirtualHost.BuilderaddVirtualClusters(int index, VirtualCluster value)A list of virtual clusters defined for this virtual host.VirtualHost.BuilderaddVirtualClusters(int index, VirtualCluster.Builder builderForValue)A list of virtual clusters defined for this virtual host.VirtualHost.BuilderaddVirtualClusters(VirtualCluster value)A list of virtual clusters defined for this virtual host.VirtualHost.BuilderaddVirtualClusters(VirtualCluster.Builder builderForValue)A list of virtual clusters defined for this virtual host.VirtualCluster.BuilderaddVirtualClustersBuilder()A list of virtual clusters defined for this virtual host.VirtualCluster.BuilderaddVirtualClustersBuilder(int index)A list of virtual clusters defined for this virtual host.VirtualHostbuild()VirtualHostbuildPartial()VirtualHost.Builderclear()VirtualHost.BuilderclearCors()Indicates that the virtual host has a CORS policy.VirtualHost.BuilderclearDomains()A list of domains (host/authority header) that will be matched to this virtual host.VirtualHost.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)VirtualHost.BuilderclearHedgePolicy()Indicates the hedge policy for all routes in this virtual host.VirtualHost.BuilderclearIncludeAttemptCountInResponse()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.BuilderclearIncludeRequestAttemptCount()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.BuilderclearMatcher()[#next-major-version: This should be included in a oneof with routes wrapped in a message.]VirtualHost.BuilderclearName()The logical name of the virtual host.VirtualHost.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)VirtualHost.BuilderclearPerRequestBufferLimitBytes()The maximum bytes which will be buffered for retries and shadowing.VirtualHost.BuilderclearRateLimits()Specifies a set of rate limit configurations that will be applied to the virtual host.VirtualHost.BuilderclearRequestHeadersToAdd()Specifies a list of HTTP headers that should be added to each request handled by this virtual host.VirtualHost.BuilderclearRequestHeadersToRemove()Specifies a list of HTTP headers that should be removed from each request handled by this virtual host.VirtualHost.BuilderclearRequestMirrorPolicies()Specify a set of default request mirroring policies for every route under this virtual host.VirtualHost.BuilderclearRequireTls()Specifies the type of TLS enforcement the virtual host expects.VirtualHost.BuilderclearResponseHeadersToAdd()Specifies a list of HTTP headers that should be added to each response handled by this virtual host.VirtualHost.BuilderclearResponseHeadersToRemove()Specifies a list of HTTP headers that should be removed from each response handled by this virtual host.VirtualHost.BuilderclearRetryPolicy()Indicates the retry policy for all routes in this virtual host.VirtualHost.BuilderclearRetryPolicyTypedConfig()[#not-implemented-hide:] Specifies the configuration for retry policy extension.VirtualHost.BuilderclearRoutes()The list of routes that will be matched, in order, for incoming requests.VirtualHost.BuilderclearTypedPerFilterConfig()VirtualHost.BuilderclearVirtualClusters()A list of virtual clusters defined for this virtual host.VirtualHost.Builderclone()booleancontainsTypedPerFilterConfig(String key)The per_filter_config field can be used to provide virtual host-specific configurations for filters.CorsPolicygetCors()Indicates that the virtual host has a CORS policy.CorsPolicy.BuildergetCorsBuilder()Indicates that the virtual host has a CORS policy.CorsPolicyOrBuildergetCorsOrBuilder()Indicates that the virtual host has a CORS policy.VirtualHostgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDomains(int index)A list of domains (host/authority header) that will be matched to this virtual host.com.google.protobuf.ByteStringgetDomainsBytes(int index)A list of domains (host/authority header) that will be matched to this virtual host.intgetDomainsCount()A list of domains (host/authority header) that will be matched to this virtual host.com.google.protobuf.ProtocolStringListgetDomainsList()A list of domains (host/authority header) that will be matched to this virtual host.HedgePolicygetHedgePolicy()Indicates the hedge policy for all routes in this virtual host.HedgePolicy.BuildergetHedgePolicyBuilder()Indicates the hedge policy for all routes in this virtual host.HedgePolicyOrBuildergetHedgePolicyOrBuilder()Indicates the hedge policy for all routes in this virtual host.booleangetIncludeAttemptCountInResponse()Decides whether the :ref:`x-envoy-attempt-count <config_http_filters_router_x-envoy-attempt-count>` header should be included in the downstream response.booleangetIncludeRequestAttemptCount()Decides whether the :ref:`x-envoy-attempt-count <config_http_filters_router_x-envoy-attempt-count>` header should be included in the upstream request.MatchergetMatcher()[#next-major-version: This should be included in a oneof with routes wrapped in a message.]Matcher.BuildergetMatcherBuilder()[#next-major-version: This should be included in a oneof with routes wrapped in a message.]MatcherOrBuildergetMatcherOrBuilder()[#next-major-version: This should be included in a oneof with routes wrapped in a message.]Map<String,com.google.protobuf.Any>getMutableTypedPerFilterConfig()Deprecated.StringgetName()The logical name of the virtual host.com.google.protobuf.ByteStringgetNameBytes()The logical name of the virtual host.com.google.protobuf.UInt32ValuegetPerRequestBufferLimitBytes()The maximum bytes which will be buffered for retries and shadowing.com.google.protobuf.UInt32Value.BuildergetPerRequestBufferLimitBytesBuilder()The maximum bytes which will be buffered for retries and shadowing.com.google.protobuf.UInt32ValueOrBuildergetPerRequestBufferLimitBytesOrBuilder()The maximum bytes which will be buffered for retries and shadowing.RateLimitgetRateLimits(int index)Specifies a set of rate limit configurations that will be applied to the virtual host.RateLimit.BuildergetRateLimitsBuilder(int index)Specifies a set of rate limit configurations that will be applied to the virtual host.List<RateLimit.Builder>getRateLimitsBuilderList()Specifies a set of rate limit configurations that will be applied to the virtual host.intgetRateLimitsCount()Specifies a set of rate limit configurations that will be applied to the virtual host.List<RateLimit>getRateLimitsList()Specifies a set of rate limit configurations that will be applied to the virtual host.RateLimitOrBuildergetRateLimitsOrBuilder(int index)Specifies a set of rate limit configurations that will be applied to the virtual host.List<? extends RateLimitOrBuilder>getRateLimitsOrBuilderList()Specifies a set of rate limit configurations that will be applied to the virtual host.HeaderValueOptiongetRequestHeadersToAdd(int index)Specifies a list of HTTP headers that should be added to each request handled by this virtual host.HeaderValueOption.BuildergetRequestHeadersToAddBuilder(int index)Specifies a list of HTTP headers that should be added to each request handled by this virtual host.List<HeaderValueOption.Builder>getRequestHeadersToAddBuilderList()Specifies a list of HTTP headers that should be added to each request handled by this virtual host.intgetRequestHeadersToAddCount()Specifies a list of HTTP headers that should be added to each request handled by this virtual host.List<HeaderValueOption>getRequestHeadersToAddList()Specifies a list of HTTP headers that should be added to each request handled by this virtual host.HeaderValueOptionOrBuildergetRequestHeadersToAddOrBuilder(int index)Specifies a list of HTTP headers that should be added to each request handled by this virtual host.List<? extends HeaderValueOptionOrBuilder>getRequestHeadersToAddOrBuilderList()Specifies a list of HTTP headers that should be added to each request handled by this virtual host.StringgetRequestHeadersToRemove(int index)Specifies a list of HTTP headers that should be removed from each request handled by this virtual host.com.google.protobuf.ByteStringgetRequestHeadersToRemoveBytes(int index)Specifies a list of HTTP headers that should be removed from each request handled by this virtual host.intgetRequestHeadersToRemoveCount()Specifies a list of HTTP headers that should be removed from each request handled by this virtual host.com.google.protobuf.ProtocolStringListgetRequestHeadersToRemoveList()Specifies a list of HTTP headers that should be removed from each request handled by this virtual host.RouteAction.RequestMirrorPolicygetRequestMirrorPolicies(int index)Specify a set of default request mirroring policies for every route under this virtual host.RouteAction.RequestMirrorPolicy.BuildergetRequestMirrorPoliciesBuilder(int index)Specify a set of default request mirroring policies for every route under this virtual host.List<RouteAction.RequestMirrorPolicy.Builder>getRequestMirrorPoliciesBuilderList()Specify a set of default request mirroring policies for every route under this virtual host.intgetRequestMirrorPoliciesCount()Specify a set of default request mirroring policies for every route under this virtual host.List<RouteAction.RequestMirrorPolicy>getRequestMirrorPoliciesList()Specify a set of default request mirroring policies for every route under this virtual host.RouteAction.RequestMirrorPolicyOrBuildergetRequestMirrorPoliciesOrBuilder(int index)Specify a set of default request mirroring policies for every route under this virtual host.List<? extends RouteAction.RequestMirrorPolicyOrBuilder>getRequestMirrorPoliciesOrBuilderList()Specify a set of default request mirroring policies for every route under this virtual host.VirtualHost.TlsRequirementTypegetRequireTls()Specifies the type of TLS enforcement the virtual host expects.intgetRequireTlsValue()Specifies the type of TLS enforcement the virtual host expects.HeaderValueOptiongetResponseHeadersToAdd(int index)Specifies a list of HTTP headers that should be added to each response handled by this virtual host.HeaderValueOption.BuildergetResponseHeadersToAddBuilder(int index)Specifies a list of HTTP headers that should be added to each response handled by this virtual host.List<HeaderValueOption.Builder>getResponseHeadersToAddBuilderList()Specifies a list of HTTP headers that should be added to each response handled by this virtual host.intgetResponseHeadersToAddCount()Specifies a list of HTTP headers that should be added to each response handled by this virtual host.List<HeaderValueOption>getResponseHeadersToAddList()Specifies a list of HTTP headers that should be added to each response handled by this virtual host.HeaderValueOptionOrBuildergetResponseHeadersToAddOrBuilder(int index)Specifies a list of HTTP headers that should be added to each response handled by this virtual host.List<? extends HeaderValueOptionOrBuilder>getResponseHeadersToAddOrBuilderList()Specifies a list of HTTP headers that should be added to each response handled by this virtual host.StringgetResponseHeadersToRemove(int index)Specifies a list of HTTP headers that should be removed from each response handled by this virtual host.com.google.protobuf.ByteStringgetResponseHeadersToRemoveBytes(int index)Specifies a list of HTTP headers that should be removed from each response handled by this virtual host.intgetResponseHeadersToRemoveCount()Specifies a list of HTTP headers that should be removed from each response handled by this virtual host.com.google.protobuf.ProtocolStringListgetResponseHeadersToRemoveList()Specifies a list of HTTP headers that should be removed from each response handled by this virtual host.RetryPolicygetRetryPolicy()Indicates the retry policy for all routes in this virtual host.RetryPolicy.BuildergetRetryPolicyBuilder()Indicates the retry policy for all routes in this virtual host.RetryPolicyOrBuildergetRetryPolicyOrBuilder()Indicates the retry policy for all routes in this virtual host.com.google.protobuf.AnygetRetryPolicyTypedConfig()[#not-implemented-hide:] Specifies the configuration for retry policy extension.com.google.protobuf.Any.BuildergetRetryPolicyTypedConfigBuilder()[#not-implemented-hide:] Specifies the configuration for retry policy extension.com.google.protobuf.AnyOrBuildergetRetryPolicyTypedConfigOrBuilder()[#not-implemented-hide:] Specifies the configuration for retry policy extension.RoutegetRoutes(int index)The list of routes that will be matched, in order, for incoming requests.Route.BuildergetRoutesBuilder(int index)The list of routes that will be matched, in order, for incoming requests.List<Route.Builder>getRoutesBuilderList()The list of routes that will be matched, in order, for incoming requests.intgetRoutesCount()The list of routes that will be matched, in order, for incoming requests.List<Route>getRoutesList()The list of routes that will be matched, in order, for incoming requests.RouteOrBuildergetRoutesOrBuilder(int index)The list of routes that will be matched, in order, for incoming requests.List<? extends RouteOrBuilder>getRoutesOrBuilderList()The list of routes that will be matched, in order, for incoming requests.Map<String,com.google.protobuf.Any>getTypedPerFilterConfig()Deprecated.intgetTypedPerFilterConfigCount()The per_filter_config field can be used to provide virtual host-specific configurations for filters.Map<String,com.google.protobuf.Any>getTypedPerFilterConfigMap()The per_filter_config field can be used to provide virtual host-specific configurations for filters.com.google.protobuf.AnygetTypedPerFilterConfigOrDefault(String key, com.google.protobuf.Any defaultValue)The per_filter_config field can be used to provide virtual host-specific configurations for filters.com.google.protobuf.AnygetTypedPerFilterConfigOrThrow(String key)The per_filter_config field can be used to provide virtual host-specific configurations for filters.VirtualClustergetVirtualClusters(int index)A list of virtual clusters defined for this virtual host.VirtualCluster.BuildergetVirtualClustersBuilder(int index)A list of virtual clusters defined for this virtual host.List<VirtualCluster.Builder>getVirtualClustersBuilderList()A list of virtual clusters defined for this virtual host.intgetVirtualClustersCount()A list of virtual clusters defined for this virtual host.List<VirtualCluster>getVirtualClustersList()A list of virtual clusters defined for this virtual host.VirtualClusterOrBuildergetVirtualClustersOrBuilder(int index)A list of virtual clusters defined for this virtual host.List<? extends VirtualClusterOrBuilder>getVirtualClustersOrBuilderList()A list of virtual clusters defined for this virtual host.booleanhasCors()Indicates that the virtual host has a CORS policy.booleanhasHedgePolicy()Indicates the hedge policy for all routes in this virtual host.booleanhasMatcher()[#next-major-version: This should be included in a oneof with routes wrapped in a message.]booleanhasPerRequestBufferLimitBytes()The maximum bytes which will be buffered for retries and shadowing.booleanhasRetryPolicy()Indicates the retry policy for all routes in this virtual host.booleanhasRetryPolicyTypedConfig()[#not-implemented-hide:] Specifies the configuration for retry policy extension.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()VirtualHost.BuildermergeCors(CorsPolicy value)Indicates that the virtual host has a CORS policy.VirtualHost.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)VirtualHost.BuildermergeFrom(com.google.protobuf.Message other)VirtualHost.BuildermergeFrom(VirtualHost other)VirtualHost.BuildermergeHedgePolicy(HedgePolicy value)Indicates the hedge policy for all routes in this virtual host.VirtualHost.BuildermergeMatcher(Matcher value)[#next-major-version: This should be included in a oneof with routes wrapped in a message.]VirtualHost.BuildermergePerRequestBufferLimitBytes(com.google.protobuf.UInt32Value value)The maximum bytes which will be buffered for retries and shadowing.VirtualHost.BuildermergeRetryPolicy(RetryPolicy value)Indicates the retry policy for all routes in this virtual host.VirtualHost.BuildermergeRetryPolicyTypedConfig(com.google.protobuf.Any value)[#not-implemented-hide:] Specifies the configuration for retry policy extension.VirtualHost.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)VirtualHost.BuilderputAllTypedPerFilterConfig(Map<String,com.google.protobuf.Any> values)The per_filter_config field can be used to provide virtual host-specific configurations for filters.VirtualHost.BuilderputTypedPerFilterConfig(String key, com.google.protobuf.Any value)The per_filter_config field can be used to provide virtual host-specific configurations for filters.VirtualHost.BuilderremoveRateLimits(int index)Specifies a set of rate limit configurations that will be applied to the virtual host.VirtualHost.BuilderremoveRequestHeadersToAdd(int index)Specifies a list of HTTP headers that should be added to each request handled by this virtual host.VirtualHost.BuilderremoveRequestMirrorPolicies(int index)Specify a set of default request mirroring policies for every route under this virtual host.VirtualHost.BuilderremoveResponseHeadersToAdd(int index)Specifies a list of HTTP headers that should be added to each response handled by this virtual host.VirtualHost.BuilderremoveRoutes(int index)The list of routes that will be matched, in order, for incoming requests.VirtualHost.BuilderremoveTypedPerFilterConfig(String key)The per_filter_config field can be used to provide virtual host-specific configurations for filters.VirtualHost.BuilderremoveVirtualClusters(int index)A list of virtual clusters defined for this virtual host.VirtualHost.BuildersetCors(CorsPolicy value)Indicates that the virtual host has a CORS policy.VirtualHost.BuildersetCors(CorsPolicy.Builder builderForValue)Indicates that the virtual host has a CORS policy.VirtualHost.BuildersetDomains(int index, String value)A list of domains (host/authority header) that will be matched to this virtual host.VirtualHost.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)VirtualHost.BuildersetHedgePolicy(HedgePolicy value)Indicates the hedge policy for all routes in this virtual host.VirtualHost.BuildersetHedgePolicy(HedgePolicy.Builder builderForValue)Indicates the hedge policy for all routes in this virtual host.VirtualHost.BuildersetIncludeAttemptCountInResponse(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.BuildersetIncludeRequestAttemptCount(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.BuildersetMatcher(Matcher value)[#next-major-version: This should be included in a oneof with routes wrapped in a message.]VirtualHost.BuildersetMatcher(Matcher.Builder builderForValue)[#next-major-version: This should be included in a oneof with routes wrapped in a message.]VirtualHost.BuildersetName(String value)The logical name of the virtual host.VirtualHost.BuildersetNameBytes(com.google.protobuf.ByteString value)The logical name of the virtual host.VirtualHost.BuildersetPerRequestBufferLimitBytes(com.google.protobuf.UInt32Value value)The maximum bytes which will be buffered for retries and shadowing.VirtualHost.BuildersetPerRequestBufferLimitBytes(com.google.protobuf.UInt32Value.Builder builderForValue)The maximum bytes which will be buffered for retries and shadowing.VirtualHost.BuildersetRateLimits(int index, RateLimit value)Specifies a set of rate limit configurations that will be applied to the virtual host.VirtualHost.BuildersetRateLimits(int index, RateLimit.Builder builderForValue)Specifies a set of rate limit configurations that will be applied to the virtual host.VirtualHost.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)VirtualHost.BuildersetRequestHeadersToAdd(int index, HeaderValueOption value)Specifies a list of HTTP headers that should be added to each request handled by this virtual host.VirtualHost.BuildersetRequestHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)Specifies a list of HTTP headers that should be added to each request handled by this virtual host.VirtualHost.BuildersetRequestHeadersToRemove(int index, String value)Specifies a list of HTTP headers that should be removed from each request handled by this virtual host.VirtualHost.BuildersetRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy value)Specify a set of default request mirroring policies for every route under this virtual host.VirtualHost.BuildersetRequestMirrorPolicies(int index, RouteAction.RequestMirrorPolicy.Builder builderForValue)Specify a set of default request mirroring policies for every route under this virtual host.VirtualHost.BuildersetRequireTls(VirtualHost.TlsRequirementType value)Specifies the type of TLS enforcement the virtual host expects.VirtualHost.BuildersetRequireTlsValue(int value)Specifies the type of TLS enforcement the virtual host expects.VirtualHost.BuildersetResponseHeadersToAdd(int index, HeaderValueOption value)Specifies a list of HTTP headers that should be added to each response handled by this virtual host.VirtualHost.BuildersetResponseHeadersToAdd(int index, HeaderValueOption.Builder builderForValue)Specifies a list of HTTP headers that should be added to each response handled by this virtual host.VirtualHost.BuildersetResponseHeadersToRemove(int index, String value)Specifies a list of HTTP headers that should be removed from each response handled by this virtual host.VirtualHost.BuildersetRetryPolicy(RetryPolicy value)Indicates the retry policy for all routes in this virtual host.VirtualHost.BuildersetRetryPolicy(RetryPolicy.Builder builderForValue)Indicates the retry policy for all routes in this virtual host.VirtualHost.BuildersetRetryPolicyTypedConfig(com.google.protobuf.Any value)[#not-implemented-hide:] Specifies the configuration for retry policy extension.VirtualHost.BuildersetRetryPolicyTypedConfig(com.google.protobuf.Any.Builder builderForValue)[#not-implemented-hide:] Specifies the configuration for retry policy extension.VirtualHost.BuildersetRoutes(int index, Route value)The list of routes that will be matched, in order, for incoming requests.VirtualHost.BuildersetRoutes(int index, Route.Builder builderForValue)The list of routes that will be matched, in order, for incoming requests.VirtualHost.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)VirtualHost.BuildersetVirtualClusters(int index, VirtualCluster value)A list of virtual clusters defined for this virtual host.VirtualHost.BuildersetVirtualClusters(int index, VirtualCluster.Builder builderForValue)A list of virtual clusters defined for this virtual host.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualHost.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualHost.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualHost.Builder>
-
clear
public VirtualHost.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualHost.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualHost.Builder>
-
getDefaultInstanceForType
public VirtualHost getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public VirtualHost build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VirtualHost buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VirtualHost.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualHost.Builder>
-
setField
public VirtualHost.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualHost.Builder>
-
clearField
public VirtualHost.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualHost.Builder>
-
clearOneof
public VirtualHost.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualHost.Builder>
-
setRepeatedField
public VirtualHost.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualHost.Builder>
-
addRepeatedField
public VirtualHost.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualHost.Builder>
-
mergeFrom
public VirtualHost.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VirtualHost.Builder>
-
mergeFrom
public VirtualHost.Builder mergeFrom(VirtualHost other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualHost.Builder>
-
mergeFrom
public VirtualHost.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VirtualHost.Builder>- Throws:
IOException
-
getName
public 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:
getNamein 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:
getNameBytesin interfaceVirtualHostOrBuilder- Returns:
- The bytes for name.
-
setName
public VirtualHost.Builder setName(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.
-
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:
getDomainsListin 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:
getDomainsCountin interfaceVirtualHostOrBuilder- Returns:
- The count of domains.
-
getDomains
public 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:
getDomainsin 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:
getDomainsBytesin 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, 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(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(Iterable<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.
-
getRoutesList
public 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:
getRoutesListin 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:
getRoutesCountin 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:
getRoutesin 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(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:
getRoutesOrBuilderin interfaceVirtualHostOrBuilder
-
getRoutesOrBuilderList
public 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:
getRoutesOrBuilderListin 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 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;
-
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:
hasMatcherin 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:
getMatcherin 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:
getMatcherOrBuilderin interfaceVirtualHostOrBuilder
-
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:
getRequireTlsValuein 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:
getRequireTlsin 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.
-
getVirtualClustersList
public 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:
getVirtualClustersListin 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:
getVirtualClustersCountin 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:
getVirtualClustersin 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(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:
getVirtualClustersOrBuilderin interfaceVirtualHostOrBuilder
-
getVirtualClustersOrBuilderList
public 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:
getVirtualClustersOrBuilderListin 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 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;
-
getRateLimitsList
public 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:
getRateLimitsListin 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:
getRateLimitsCountin 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:
getRateLimitsin 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(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:
getRateLimitsOrBuilderin interfaceVirtualHostOrBuilder
-
getRateLimitsOrBuilderList
public 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:
getRateLimitsOrBuilderListin 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 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;
-
getRequestHeadersToAddList
public 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:
getRequestHeadersToAddListin 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:
getRequestHeadersToAddCountin 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:
getRequestHeadersToAddin 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(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:
getRequestHeadersToAddOrBuilderin interfaceVirtualHostOrBuilder
-
getRequestHeadersToAddOrBuilderList
public 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:
getRequestHeadersToAddOrBuilderListin 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 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) = { ... }
-
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:
getRequestHeadersToRemoveListin 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:
getRequestHeadersToRemoveCountin interfaceVirtualHostOrBuilder- Returns:
- The count of requestHeadersToRemove.
-
getRequestHeadersToRemove
public 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:
getRequestHeadersToRemovein 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:
getRequestHeadersToRemoveBytesin 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, 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(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(Iterable<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.
-
getResponseHeadersToAddList
public 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:
getResponseHeadersToAddListin 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:
getResponseHeadersToAddCountin 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:
getResponseHeadersToAddin 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(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:
getResponseHeadersToAddOrBuilderin interfaceVirtualHostOrBuilder
-
getResponseHeadersToAddOrBuilderList
public 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:
getResponseHeadersToAddOrBuilderListin 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 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) = { ... }
-
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:
getResponseHeadersToRemoveListin 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:
getResponseHeadersToRemoveCountin interfaceVirtualHostOrBuilder- Returns:
- The count of responseHeadersToRemove.
-
getResponseHeadersToRemove
public 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:
getResponseHeadersToRemovein 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:
getResponseHeadersToRemoveBytesin 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, 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(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(Iterable<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
public boolean hasCors()
Indicates that the virtual host has a CORS policy.
.envoy.config.route.v3.CorsPolicy cors = 8;- Specified by:
hasCorsin interfaceVirtualHostOrBuilder- Returns:
- Whether the cors field is set.
-
getCors
public CorsPolicy getCors()
Indicates that the virtual host has a CORS policy.
.envoy.config.route.v3.CorsPolicy cors = 8;- Specified by:
getCorsin interfaceVirtualHostOrBuilder- Returns:
- The cors.
-
setCors
public VirtualHost.Builder setCors(CorsPolicy value)
Indicates that the virtual host has a CORS policy.
.envoy.config.route.v3.CorsPolicy cors = 8;
-
setCors
public VirtualHost.Builder setCors(CorsPolicy.Builder builderForValue)
Indicates that the virtual host has a CORS policy.
.envoy.config.route.v3.CorsPolicy cors = 8;
-
mergeCors
public VirtualHost.Builder mergeCors(CorsPolicy value)
Indicates that the virtual host has a CORS policy.
.envoy.config.route.v3.CorsPolicy cors = 8;
-
clearCors
public VirtualHost.Builder clearCors()
Indicates that the virtual host has a CORS policy.
.envoy.config.route.v3.CorsPolicy cors = 8;
-
getCorsBuilder
public CorsPolicy.Builder getCorsBuilder()
Indicates that the virtual host has a CORS policy.
.envoy.config.route.v3.CorsPolicy cors = 8;
-
getCorsOrBuilder
public CorsPolicyOrBuilder getCorsOrBuilder()
Indicates that the virtual host has a CORS policy.
.envoy.config.route.v3.CorsPolicy cors = 8;- Specified by:
getCorsOrBuilderin interfaceVirtualHostOrBuilder
-
getTypedPerFilterConfigCount
public int getTypedPerFilterConfigCount()
Description copied from interface:VirtualHostOrBuilderThe per_filter_config field can be used to provide virtual host-specific configurations for filters. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. The canonical filter name (e.g., ``envoy.filters.http.buffer`` for the HTTP buffer filter) can also be used for the backwards compatibility. If there is no entry referred by the filter config name, the entry referred by the canonical filter name will be provided to the filters as fallback. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized. [#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:
getTypedPerFilterConfigCountin interfaceVirtualHostOrBuilder
-
containsTypedPerFilterConfig
public boolean containsTypedPerFilterConfig(String key)
The per_filter_config field can be used to provide virtual host-specific configurations for filters. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. The canonical filter name (e.g., ``envoy.filters.http.buffer`` for the HTTP buffer filter) can also be used for the backwards compatibility. If there is no entry referred by the filter config name, the entry referred by the canonical filter name will be provided to the filters as fallback. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized. [#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:
containsTypedPerFilterConfigin interfaceVirtualHostOrBuilder
-
getTypedPerFilterConfig
@Deprecated public Map<String,com.google.protobuf.Any> getTypedPerFilterConfig()
Deprecated.UsegetTypedPerFilterConfigMap()instead.- Specified by:
getTypedPerFilterConfigin interfaceVirtualHostOrBuilder
-
getTypedPerFilterConfigMap
public Map<String,com.google.protobuf.Any> getTypedPerFilterConfigMap()
The per_filter_config field can be used to provide virtual host-specific configurations for filters. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. The canonical filter name (e.g., ``envoy.filters.http.buffer`` for the HTTP buffer filter) can also be used for the backwards compatibility. If there is no entry referred by the filter config name, the entry referred by the canonical filter name will be provided to the filters as fallback. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized. [#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:
getTypedPerFilterConfigMapin interfaceVirtualHostOrBuilder
-
getTypedPerFilterConfigOrDefault
public com.google.protobuf.Any getTypedPerFilterConfigOrDefault(String key, com.google.protobuf.Any defaultValue)
The per_filter_config field can be used to provide virtual host-specific configurations for filters. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. The canonical filter name (e.g., ``envoy.filters.http.buffer`` for the HTTP buffer filter) can also be used for the backwards compatibility. If there is no entry referred by the filter config name, the entry referred by the canonical filter name will be provided to the filters as fallback. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized. [#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:
getTypedPerFilterConfigOrDefaultin interfaceVirtualHostOrBuilder
-
getTypedPerFilterConfigOrThrow
public com.google.protobuf.Any getTypedPerFilterConfigOrThrow(String key)
The per_filter_config field can be used to provide virtual host-specific configurations for filters. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. The canonical filter name (e.g., ``envoy.filters.http.buffer`` for the HTTP buffer filter) can also be used for the backwards compatibility. If there is no entry referred by the filter config name, the entry referred by the canonical filter name will be provided to the filters as fallback. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized. [#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:
getTypedPerFilterConfigOrThrowin interfaceVirtualHostOrBuilder
-
clearTypedPerFilterConfig
public VirtualHost.Builder clearTypedPerFilterConfig()
-
removeTypedPerFilterConfig
public VirtualHost.Builder removeTypedPerFilterConfig(String key)
The per_filter_config field can be used to provide virtual host-specific configurations for filters. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. The canonical filter name (e.g., ``envoy.filters.http.buffer`` for the HTTP buffer filter) can also be used for the backwards compatibility. If there is no entry referred by the filter config name, the entry referred by the canonical filter name will be provided to the filters as fallback. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized. [#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 Map<String,com.google.protobuf.Any> getMutableTypedPerFilterConfig()
Deprecated.Use alternate mutation accessors instead.
-
putTypedPerFilterConfig
public VirtualHost.Builder putTypedPerFilterConfig(String key, com.google.protobuf.Any value)
The per_filter_config field can be used to provide virtual host-specific configurations for filters. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. The canonical filter name (e.g., ``envoy.filters.http.buffer`` for the HTTP buffer filter) can also be used for the backwards compatibility. If there is no entry referred by the filter config name, the entry referred by the canonical filter name will be provided to the filters as fallback. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized. [#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(Map<String,com.google.protobuf.Any> values)
The per_filter_config field can be used to provide virtual host-specific configurations for filters. The key should match the :ref:`filter config name <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpFilter.name>`. The canonical filter name (e.g., ``envoy.filters.http.buffer`` for the HTTP buffer filter) can also be used for the backwards compatibility. If there is no entry referred by the filter config name, the entry referred by the canonical filter name will be provided to the filters as fallback. Use of this field is filter specific; see the :ref:`HTTP filter documentation <config_http_filters>` for if and how it is utilized. [#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:
getIncludeRequestAttemptCountin 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:
getIncludeAttemptCountInResponsein 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:
hasRetryPolicyin 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:
getRetryPolicyin 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:
getRetryPolicyOrBuilderin interfaceVirtualHostOrBuilder
-
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:
hasRetryPolicyTypedConfigin 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:
getRetryPolicyTypedConfigin 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:
getRetryPolicyTypedConfigOrBuilderin interfaceVirtualHostOrBuilder
-
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:
hasHedgePolicyin 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:
getHedgePolicyin 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:
getHedgePolicyOrBuilderin interfaceVirtualHostOrBuilder
-
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:
hasPerRequestBufferLimitBytesin 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:
getPerRequestBufferLimitBytesin 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:
getPerRequestBufferLimitBytesOrBuilderin interfaceVirtualHostOrBuilder
-
getRequestMirrorPoliciesList
public 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:
getRequestMirrorPoliciesListin 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:
getRequestMirrorPoliciesCountin 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:
getRequestMirrorPoliciesin 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(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:
getRequestMirrorPoliciesOrBuilderin interfaceVirtualHostOrBuilder
-
getRequestMirrorPoliciesOrBuilderList
public 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:
getRequestMirrorPoliciesOrBuilderListin 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 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;
-
setUnknownFields
public final VirtualHost.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualHost.Builder>
-
mergeUnknownFields
public final VirtualHost.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<VirtualHost.Builder>
-
-