public static final class RouteOuterClass.RouteAction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteAction.Builder> implements RouteOuterClass.RouteActionOrBuilder
envoy.api.v2.route.RouteAction| Modifier and Type | Method and Description |
|---|---|
RouteOuterClass.RouteAction.Builder |
addAllHashPolicy(Iterable<? extends RouteOuterClass.RouteAction.HashPolicy> values)
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteOuterClass.RouteAction.Builder |
addAllRateLimits(Iterable<? extends RouteOuterClass.RateLimit> values)
Specifies a set of rate limit configurations that could be applied to the
route.
|
RouteOuterClass.RouteAction.Builder |
addAllRequestHeadersToAdd(Iterable<? extends Base.HeaderValueOption> values)
Specifies a set of headers that will be added to requests matching this
route.
|
RouteOuterClass.RouteAction.Builder |
addAllResponseHeadersToAdd(Iterable<? extends Base.HeaderValueOption> values)
Specifies a set of headers that will be added to responses to requests
matching this route.
|
RouteOuterClass.RouteAction.Builder |
addAllResponseHeadersToRemove(Iterable<String> values)
Specifies a list of HTTP headers that should be removed from each response
to requests matching this route.
|
RouteOuterClass.RouteAction.Builder |
addHashPolicy(int index,
RouteOuterClass.RouteAction.HashPolicy.Builder builderForValue)
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteOuterClass.RouteAction.Builder |
addHashPolicy(int index,
RouteOuterClass.RouteAction.HashPolicy value)
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteOuterClass.RouteAction.Builder |
addHashPolicy(RouteOuterClass.RouteAction.HashPolicy.Builder builderForValue)
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteOuterClass.RouteAction.Builder |
addHashPolicy(RouteOuterClass.RouteAction.HashPolicy value)
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteOuterClass.RouteAction.HashPolicy.Builder |
addHashPolicyBuilder()
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteOuterClass.RouteAction.HashPolicy.Builder |
addHashPolicyBuilder(int index)
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteOuterClass.RouteAction.Builder |
addRateLimits(int index,
RouteOuterClass.RateLimit.Builder builderForValue)
Specifies a set of rate limit configurations that could be applied to the
route.
|
RouteOuterClass.RouteAction.Builder |
addRateLimits(int index,
RouteOuterClass.RateLimit value)
Specifies a set of rate limit configurations that could be applied to the
route.
|
RouteOuterClass.RouteAction.Builder |
addRateLimits(RouteOuterClass.RateLimit.Builder builderForValue)
Specifies a set of rate limit configurations that could be applied to the
route.
|
RouteOuterClass.RouteAction.Builder |
addRateLimits(RouteOuterClass.RateLimit value)
Specifies a set of rate limit configurations that could be applied to the
route.
|
RouteOuterClass.RateLimit.Builder |
addRateLimitsBuilder()
Specifies a set of rate limit configurations that could be applied to the
route.
|
RouteOuterClass.RateLimit.Builder |
addRateLimitsBuilder(int index)
Specifies a set of rate limit configurations that could be applied to the
route.
|
RouteOuterClass.RouteAction.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteOuterClass.RouteAction.Builder |
addRequestHeadersToAdd(Base.HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to requests matching this
route.
|
RouteOuterClass.RouteAction.Builder |
addRequestHeadersToAdd(Base.HeaderValueOption value)
Specifies a set of headers that will be added to requests matching this
route.
|
RouteOuterClass.RouteAction.Builder |
addRequestHeadersToAdd(int index,
Base.HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to requests matching this
route.
|
RouteOuterClass.RouteAction.Builder |
addRequestHeadersToAdd(int index,
Base.HeaderValueOption value)
Specifies a set of headers that will be added to requests matching this
route.
|
Base.HeaderValueOption.Builder |
addRequestHeadersToAddBuilder()
Specifies a set of headers that will be added to requests matching this
route.
|
Base.HeaderValueOption.Builder |
addRequestHeadersToAddBuilder(int index)
Specifies a set of headers that will be added to requests matching this
route.
|
RouteOuterClass.RouteAction.Builder |
addResponseHeadersToAdd(Base.HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to responses to requests
matching this route.
|
RouteOuterClass.RouteAction.Builder |
addResponseHeadersToAdd(Base.HeaderValueOption value)
Specifies a set of headers that will be added to responses to requests
matching this route.
|
RouteOuterClass.RouteAction.Builder |
addResponseHeadersToAdd(int index,
Base.HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to responses to requests
matching this route.
|
RouteOuterClass.RouteAction.Builder |
addResponseHeadersToAdd(int index,
Base.HeaderValueOption value)
Specifies a set of headers that will be added to responses to requests
matching this route.
|
Base.HeaderValueOption.Builder |
addResponseHeadersToAddBuilder()
Specifies a set of headers that will be added to responses to requests
matching this route.
|
Base.HeaderValueOption.Builder |
addResponseHeadersToAddBuilder(int index)
Specifies a set of headers that will be added to responses to requests
matching this route.
|
RouteOuterClass.RouteAction.Builder |
addResponseHeadersToRemove(String value)
Specifies a list of HTTP headers that should be removed from each response
to requests matching this route.
|
RouteOuterClass.RouteAction.Builder |
addResponseHeadersToRemoveBytes(com.google.protobuf.ByteString value)
Specifies a list of HTTP headers that should be removed from each response
to requests matching this route.
|
RouteOuterClass.RouteAction |
build() |
RouteOuterClass.RouteAction |
buildPartial() |
RouteOuterClass.RouteAction.Builder |
clear() |
RouteOuterClass.RouteAction.Builder |
clearAutoHostRewrite()
Indicates that during forwarding, the host header will be swapped with
the hostname of the upstream host chosen by the cluster manager.
|
RouteOuterClass.RouteAction.Builder |
clearCluster()
Indicates the upstream cluster to which the request should be routed
to.
|
RouteOuterClass.RouteAction.Builder |
clearClusterHeader()
Envoy will determine the cluster to route to by reading the value of the
HTTP header named by cluster_header from the request headers.
|
RouteOuterClass.RouteAction.Builder |
clearClusterNotFoundResponseCode()
The HTTP status code to use when configured cluster is not found.
|
RouteOuterClass.RouteAction.Builder |
clearClusterSpecifier() |
RouteOuterClass.RouteAction.Builder |
clearCors()
Indicates that the route has a CORS policy.
|
RouteOuterClass.RouteAction.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RouteOuterClass.RouteAction.Builder |
clearHashPolicy()
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteOuterClass.RouteAction.Builder |
clearHostRewrite()
Indicates that during forwarding, the host header will be swapped with
this value.
|
RouteOuterClass.RouteAction.Builder |
clearHostRewriteSpecifier() |
RouteOuterClass.RouteAction.Builder |
clearIncludeVhRateLimits()
Specifies if the rate limit filter should include the virtual host rate
limits.
|
RouteOuterClass.RouteAction.Builder |
clearMetadataMatch()
Optional endpoint metadata match criteria.
|
RouteOuterClass.RouteAction.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RouteOuterClass.RouteAction.Builder |
clearPrefixRewrite()
Indicates that during forwarding, the matched prefix (or path) should be
swapped with this value.
|
RouteOuterClass.RouteAction.Builder |
clearPriority()
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
|
RouteOuterClass.RouteAction.Builder |
clearRateLimits()
Specifies a set of rate limit configurations that could be applied to the
route.
|
RouteOuterClass.RouteAction.Builder |
clearRequestHeadersToAdd()
Specifies a set of headers that will be added to requests matching this
route.
|
RouteOuterClass.RouteAction.Builder |
clearRequestMirrorPolicy()
Indicates that the route has a request mirroring policy.
|
RouteOuterClass.RouteAction.Builder |
clearResponseHeadersToAdd()
Specifies a set of headers that will be added to responses to requests
matching this route.
|
RouteOuterClass.RouteAction.Builder |
clearResponseHeadersToRemove()
Specifies a list of HTTP headers that should be removed from each response
to requests matching this route.
|
RouteOuterClass.RouteAction.Builder |
clearRetryPolicy()
Indicates that the route has a retry policy.
|
RouteOuterClass.RouteAction.Builder |
clearTimeout()
Specifies the timeout for the route.
|
RouteOuterClass.RouteAction.Builder |
clearUseWebsocket()
Indicates that a HTTP/1.1 client connection to this particular route
should be allowed (and expected) to upgrade to a WebSocket connection.
|
RouteOuterClass.RouteAction.Builder |
clearWeightedClusters()
Multiple upstream clusters can be specified for a given route.
|
RouteOuterClass.RouteAction.Builder |
clone() |
com.google.protobuf.BoolValue |
getAutoHostRewrite()
Indicates that during forwarding, the host header will be swapped with
the hostname of the upstream host chosen by the cluster manager.
|
com.google.protobuf.BoolValue.Builder |
getAutoHostRewriteBuilder()
Indicates that during forwarding, the host header will be swapped with
the hostname of the upstream host chosen by the cluster manager.
|
com.google.protobuf.BoolValueOrBuilder |
getAutoHostRewriteOrBuilder()
Indicates that during forwarding, the host header will be swapped with
the hostname of the upstream host chosen by the cluster manager.
|
String |
getCluster()
Indicates the upstream cluster to which the request should be routed
to.
|
com.google.protobuf.ByteString |
getClusterBytes()
Indicates the upstream cluster to which the request should be routed
to.
|
String |
getClusterHeader()
Envoy will determine the cluster to route to by reading the value of the
HTTP header named by cluster_header from the request headers.
|
com.google.protobuf.ByteString |
getClusterHeaderBytes()
Envoy will determine the cluster to route to by reading the value of the
HTTP header named by cluster_header from the request headers.
|
RouteOuterClass.RouteAction.ClusterNotFoundResponseCode |
getClusterNotFoundResponseCode()
The HTTP status code to use when configured cluster is not found.
|
int |
getClusterNotFoundResponseCodeValue()
The HTTP status code to use when configured cluster is not found.
|
RouteOuterClass.RouteAction.ClusterSpecifierCase |
getClusterSpecifierCase() |
RouteOuterClass.CorsPolicy |
getCors()
Indicates that the route has a CORS policy.
|
RouteOuterClass.CorsPolicy.Builder |
getCorsBuilder()
Indicates that the route has a CORS policy.
|
RouteOuterClass.CorsPolicyOrBuilder |
getCorsOrBuilder()
Indicates that the route has a CORS policy.
|
RouteOuterClass.RouteAction |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
RouteOuterClass.RouteAction.HashPolicy |
getHashPolicy(int index)
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteOuterClass.RouteAction.HashPolicy.Builder |
getHashPolicyBuilder(int index)
Specifies a list of hash policies to use for ring hash load balancing.
|
List<RouteOuterClass.RouteAction.HashPolicy.Builder> |
getHashPolicyBuilderList()
Specifies a list of hash policies to use for ring hash load balancing.
|
int |
getHashPolicyCount()
Specifies a list of hash policies to use for ring hash load balancing.
|
List<RouteOuterClass.RouteAction.HashPolicy> |
getHashPolicyList()
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteOuterClass.RouteAction.HashPolicyOrBuilder |
getHashPolicyOrBuilder(int index)
Specifies a list of hash policies to use for ring hash load balancing.
|
List<? extends RouteOuterClass.RouteAction.HashPolicyOrBuilder> |
getHashPolicyOrBuilderList()
Specifies a list of hash policies to use for ring hash load balancing.
|
String |
getHostRewrite()
Indicates that during forwarding, the host header will be swapped with
this value.
|
com.google.protobuf.ByteString |
getHostRewriteBytes()
Indicates that during forwarding, the host header will be swapped with
this value.
|
RouteOuterClass.RouteAction.HostRewriteSpecifierCase |
getHostRewriteSpecifierCase() |
com.google.protobuf.BoolValue |
getIncludeVhRateLimits()
Specifies if the rate limit filter should include the virtual host rate
limits.
|
com.google.protobuf.BoolValue.Builder |
getIncludeVhRateLimitsBuilder()
Specifies if the rate limit filter should include the virtual host rate
limits.
|
com.google.protobuf.BoolValueOrBuilder |
getIncludeVhRateLimitsOrBuilder()
Specifies if the rate limit filter should include the virtual host rate
limits.
|
Base.Metadata |
getMetadataMatch()
Optional endpoint metadata match criteria.
|
Base.Metadata.Builder |
getMetadataMatchBuilder()
Optional endpoint metadata match criteria.
|
Base.MetadataOrBuilder |
getMetadataMatchOrBuilder()
Optional endpoint metadata match criteria.
|
String |
getPrefixRewrite()
Indicates that during forwarding, the matched prefix (or path) should be
swapped with this value.
|
com.google.protobuf.ByteString |
getPrefixRewriteBytes()
Indicates that during forwarding, the matched prefix (or path) should be
swapped with this value.
|
Base.RoutingPriority |
getPriority()
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
|
int |
getPriorityValue()
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
|
RouteOuterClass.RateLimit |
getRateLimits(int index)
Specifies a set of rate limit configurations that could be applied to the
route.
|
RouteOuterClass.RateLimit.Builder |
getRateLimitsBuilder(int index)
Specifies a set of rate limit configurations that could be applied to the
route.
|
List<RouteOuterClass.RateLimit.Builder> |
getRateLimitsBuilderList()
Specifies a set of rate limit configurations that could be applied to the
route.
|
int |
getRateLimitsCount()
Specifies a set of rate limit configurations that could be applied to the
route.
|
List<RouteOuterClass.RateLimit> |
getRateLimitsList()
Specifies a set of rate limit configurations that could be applied to the
route.
|
RouteOuterClass.RateLimitOrBuilder |
getRateLimitsOrBuilder(int index)
Specifies a set of rate limit configurations that could be applied to the
route.
|
List<? extends RouteOuterClass.RateLimitOrBuilder> |
getRateLimitsOrBuilderList()
Specifies a set of rate limit configurations that could be applied to the
route.
|
Base.HeaderValueOption |
getRequestHeadersToAdd(int index)
Specifies a set of headers that will be added to requests matching this
route.
|
Base.HeaderValueOption.Builder |
getRequestHeadersToAddBuilder(int index)
Specifies a set of headers that will be added to requests matching this
route.
|
List<Base.HeaderValueOption.Builder> |
getRequestHeadersToAddBuilderList()
Specifies a set of headers that will be added to requests matching this
route.
|
int |
getRequestHeadersToAddCount()
Specifies a set of headers that will be added to requests matching this
route.
|
List<Base.HeaderValueOption> |
getRequestHeadersToAddList()
Specifies a set of headers that will be added to requests matching this
route.
|
Base.HeaderValueOptionOrBuilder |
getRequestHeadersToAddOrBuilder(int index)
Specifies a set of headers that will be added to requests matching this
route.
|
List<? extends Base.HeaderValueOptionOrBuilder> |
getRequestHeadersToAddOrBuilderList()
Specifies a set of headers that will be added to requests matching this
route.
|
RouteOuterClass.RouteAction.RequestMirrorPolicy |
getRequestMirrorPolicy()
Indicates that the route has a request mirroring policy.
|
RouteOuterClass.RouteAction.RequestMirrorPolicy.Builder |
getRequestMirrorPolicyBuilder()
Indicates that the route has a request mirroring policy.
|
RouteOuterClass.RouteAction.RequestMirrorPolicyOrBuilder |
getRequestMirrorPolicyOrBuilder()
Indicates that the route has a request mirroring policy.
|
Base.HeaderValueOption |
getResponseHeadersToAdd(int index)
Specifies a set of headers that will be added to responses to requests
matching this route.
|
Base.HeaderValueOption.Builder |
getResponseHeadersToAddBuilder(int index)
Specifies a set of headers that will be added to responses to requests
matching this route.
|
List<Base.HeaderValueOption.Builder> |
getResponseHeadersToAddBuilderList()
Specifies a set of headers that will be added to responses to requests
matching this route.
|
int |
getResponseHeadersToAddCount()
Specifies a set of headers that will be added to responses to requests
matching this route.
|
List<Base.HeaderValueOption> |
getResponseHeadersToAddList()
Specifies a set of headers that will be added to responses to requests
matching this route.
|
Base.HeaderValueOptionOrBuilder |
getResponseHeadersToAddOrBuilder(int index)
Specifies a set of headers that will be added to responses to requests
matching this route.
|
List<? extends Base.HeaderValueOptionOrBuilder> |
getResponseHeadersToAddOrBuilderList()
Specifies a set of headers that will be added to responses to requests
matching this route.
|
String |
getResponseHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each response
to requests matching this route.
|
com.google.protobuf.ByteString |
getResponseHeadersToRemoveBytes(int index)
Specifies a list of HTTP headers that should be removed from each response
to requests matching this route.
|
int |
getResponseHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each response
to requests matching this route.
|
com.google.protobuf.ProtocolStringList |
getResponseHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each response
to requests matching this route.
|
RouteOuterClass.RouteAction.RetryPolicy |
getRetryPolicy()
Indicates that the route has a retry policy.
|
RouteOuterClass.RouteAction.RetryPolicy.Builder |
getRetryPolicyBuilder()
Indicates that the route has a retry policy.
|
RouteOuterClass.RouteAction.RetryPolicyOrBuilder |
getRetryPolicyOrBuilder()
Indicates that the route has a retry policy.
|
com.google.protobuf.Duration |
getTimeout()
Specifies the timeout for the route.
|
com.google.protobuf.Duration.Builder |
getTimeoutBuilder()
Specifies the timeout for the route.
|
com.google.protobuf.DurationOrBuilder |
getTimeoutOrBuilder()
Specifies the timeout for the route.
|
com.google.protobuf.BoolValue |
getUseWebsocket()
Indicates that a HTTP/1.1 client connection to this particular route
should be allowed (and expected) to upgrade to a WebSocket connection.
|
com.google.protobuf.BoolValue.Builder |
getUseWebsocketBuilder()
Indicates that a HTTP/1.1 client connection to this particular route
should be allowed (and expected) to upgrade to a WebSocket connection.
|
com.google.protobuf.BoolValueOrBuilder |
getUseWebsocketOrBuilder()
Indicates that a HTTP/1.1 client connection to this particular route
should be allowed (and expected) to upgrade to a WebSocket connection.
|
RouteOuterClass.WeightedCluster |
getWeightedClusters()
Multiple upstream clusters can be specified for a given route.
|
RouteOuterClass.WeightedCluster.Builder |
getWeightedClustersBuilder()
Multiple upstream clusters can be specified for a given route.
|
RouteOuterClass.WeightedClusterOrBuilder |
getWeightedClustersOrBuilder()
Multiple upstream clusters can be specified for a given route.
|
boolean |
hasAutoHostRewrite()
Indicates that during forwarding, the host header will be swapped with
the hostname of the upstream host chosen by the cluster manager.
|
boolean |
hasCors()
Indicates that the route has a CORS policy.
|
boolean |
hasIncludeVhRateLimits()
Specifies if the rate limit filter should include the virtual host rate
limits.
|
boolean |
hasMetadataMatch()
Optional endpoint metadata match criteria.
|
boolean |
hasRequestMirrorPolicy()
Indicates that the route has a request mirroring policy.
|
boolean |
hasRetryPolicy()
Indicates that the route has a retry policy.
|
boolean |
hasTimeout()
Specifies the timeout for the route.
|
boolean |
hasUseWebsocket()
Indicates that a HTTP/1.1 client connection to this particular route
should be allowed (and expected) to upgrade to a WebSocket connection.
|
boolean |
hasWeightedClusters()
Multiple upstream clusters can be specified for a given route.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RouteOuterClass.RouteAction.Builder |
mergeAutoHostRewrite(com.google.protobuf.BoolValue value)
Indicates that during forwarding, the host header will be swapped with
the hostname of the upstream host chosen by the cluster manager.
|
RouteOuterClass.RouteAction.Builder |
mergeCors(RouteOuterClass.CorsPolicy value)
Indicates that the route has a CORS policy.
|
RouteOuterClass.RouteAction.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouteOuterClass.RouteAction.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouteOuterClass.RouteAction.Builder |
mergeFrom(RouteOuterClass.RouteAction other) |
RouteOuterClass.RouteAction.Builder |
mergeIncludeVhRateLimits(com.google.protobuf.BoolValue value)
Specifies if the rate limit filter should include the virtual host rate
limits.
|
RouteOuterClass.RouteAction.Builder |
mergeMetadataMatch(Base.Metadata value)
Optional endpoint metadata match criteria.
|
RouteOuterClass.RouteAction.Builder |
mergeRequestMirrorPolicy(RouteOuterClass.RouteAction.RequestMirrorPolicy value)
Indicates that the route has a request mirroring policy.
|
RouteOuterClass.RouteAction.Builder |
mergeRetryPolicy(RouteOuterClass.RouteAction.RetryPolicy value)
Indicates that the route has a retry policy.
|
RouteOuterClass.RouteAction.Builder |
mergeTimeout(com.google.protobuf.Duration value)
Specifies the timeout for the route.
|
RouteOuterClass.RouteAction.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouteOuterClass.RouteAction.Builder |
mergeUseWebsocket(com.google.protobuf.BoolValue value)
Indicates that a HTTP/1.1 client connection to this particular route
should be allowed (and expected) to upgrade to a WebSocket connection.
|
RouteOuterClass.RouteAction.Builder |
mergeWeightedClusters(RouteOuterClass.WeightedCluster value)
Multiple upstream clusters can be specified for a given route.
|
RouteOuterClass.RouteAction.Builder |
removeHashPolicy(int index)
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteOuterClass.RouteAction.Builder |
removeRateLimits(int index)
Specifies a set of rate limit configurations that could be applied to the
route.
|
RouteOuterClass.RouteAction.Builder |
removeRequestHeadersToAdd(int index)
Specifies a set of headers that will be added to requests matching this
route.
|
RouteOuterClass.RouteAction.Builder |
removeResponseHeadersToAdd(int index)
Specifies a set of headers that will be added to responses to requests
matching this route.
|
RouteOuterClass.RouteAction.Builder |
setAutoHostRewrite(com.google.protobuf.BoolValue.Builder builderForValue)
Indicates that during forwarding, the host header will be swapped with
the hostname of the upstream host chosen by the cluster manager.
|
RouteOuterClass.RouteAction.Builder |
setAutoHostRewrite(com.google.protobuf.BoolValue value)
Indicates that during forwarding, the host header will be swapped with
the hostname of the upstream host chosen by the cluster manager.
|
RouteOuterClass.RouteAction.Builder |
setCluster(String value)
Indicates the upstream cluster to which the request should be routed
to.
|
RouteOuterClass.RouteAction.Builder |
setClusterBytes(com.google.protobuf.ByteString value)
Indicates the upstream cluster to which the request should be routed
to.
|
RouteOuterClass.RouteAction.Builder |
setClusterHeader(String value)
Envoy will determine the cluster to route to by reading the value of the
HTTP header named by cluster_header from the request headers.
|
RouteOuterClass.RouteAction.Builder |
setClusterHeaderBytes(com.google.protobuf.ByteString value)
Envoy will determine the cluster to route to by reading the value of the
HTTP header named by cluster_header from the request headers.
|
RouteOuterClass.RouteAction.Builder |
setClusterNotFoundResponseCode(RouteOuterClass.RouteAction.ClusterNotFoundResponseCode value)
The HTTP status code to use when configured cluster is not found.
|
RouteOuterClass.RouteAction.Builder |
setClusterNotFoundResponseCodeValue(int value)
The HTTP status code to use when configured cluster is not found.
|
RouteOuterClass.RouteAction.Builder |
setCors(RouteOuterClass.CorsPolicy.Builder builderForValue)
Indicates that the route has a CORS policy.
|
RouteOuterClass.RouteAction.Builder |
setCors(RouteOuterClass.CorsPolicy value)
Indicates that the route has a CORS policy.
|
RouteOuterClass.RouteAction.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteOuterClass.RouteAction.Builder |
setHashPolicy(int index,
RouteOuterClass.RouteAction.HashPolicy.Builder builderForValue)
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteOuterClass.RouteAction.Builder |
setHashPolicy(int index,
RouteOuterClass.RouteAction.HashPolicy value)
Specifies a list of hash policies to use for ring hash load balancing.
|
RouteOuterClass.RouteAction.Builder |
setHostRewrite(String value)
Indicates that during forwarding, the host header will be swapped with
this value.
|
RouteOuterClass.RouteAction.Builder |
setHostRewriteBytes(com.google.protobuf.ByteString value)
Indicates that during forwarding, the host header will be swapped with
this value.
|
RouteOuterClass.RouteAction.Builder |
setIncludeVhRateLimits(com.google.protobuf.BoolValue.Builder builderForValue)
Specifies if the rate limit filter should include the virtual host rate
limits.
|
RouteOuterClass.RouteAction.Builder |
setIncludeVhRateLimits(com.google.protobuf.BoolValue value)
Specifies if the rate limit filter should include the virtual host rate
limits.
|
RouteOuterClass.RouteAction.Builder |
setMetadataMatch(Base.Metadata.Builder builderForValue)
Optional endpoint metadata match criteria.
|
RouteOuterClass.RouteAction.Builder |
setMetadataMatch(Base.Metadata value)
Optional endpoint metadata match criteria.
|
RouteOuterClass.RouteAction.Builder |
setPrefixRewrite(String value)
Indicates that during forwarding, the matched prefix (or path) should be
swapped with this value.
|
RouteOuterClass.RouteAction.Builder |
setPrefixRewriteBytes(com.google.protobuf.ByteString value)
Indicates that during forwarding, the matched prefix (or path) should be
swapped with this value.
|
RouteOuterClass.RouteAction.Builder |
setPriority(Base.RoutingPriority value)
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
|
RouteOuterClass.RouteAction.Builder |
setPriorityValue(int value)
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`.
|
RouteOuterClass.RouteAction.Builder |
setRateLimits(int index,
RouteOuterClass.RateLimit.Builder builderForValue)
Specifies a set of rate limit configurations that could be applied to the
route.
|
RouteOuterClass.RouteAction.Builder |
setRateLimits(int index,
RouteOuterClass.RateLimit value)
Specifies a set of rate limit configurations that could be applied to the
route.
|
RouteOuterClass.RouteAction.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RouteOuterClass.RouteAction.Builder |
setRequestHeadersToAdd(int index,
Base.HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to requests matching this
route.
|
RouteOuterClass.RouteAction.Builder |
setRequestHeadersToAdd(int index,
Base.HeaderValueOption value)
Specifies a set of headers that will be added to requests matching this
route.
|
RouteOuterClass.RouteAction.Builder |
setRequestMirrorPolicy(RouteOuterClass.RouteAction.RequestMirrorPolicy.Builder builderForValue)
Indicates that the route has a request mirroring policy.
|
RouteOuterClass.RouteAction.Builder |
setRequestMirrorPolicy(RouteOuterClass.RouteAction.RequestMirrorPolicy value)
Indicates that the route has a request mirroring policy.
|
RouteOuterClass.RouteAction.Builder |
setResponseHeadersToAdd(int index,
Base.HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to responses to requests
matching this route.
|
RouteOuterClass.RouteAction.Builder |
setResponseHeadersToAdd(int index,
Base.HeaderValueOption value)
Specifies a set of headers that will be added to responses to requests
matching this route.
|
RouteOuterClass.RouteAction.Builder |
setResponseHeadersToRemove(int index,
String value)
Specifies a list of HTTP headers that should be removed from each response
to requests matching this route.
|
RouteOuterClass.RouteAction.Builder |
setRetryPolicy(RouteOuterClass.RouteAction.RetryPolicy.Builder builderForValue)
Indicates that the route has a retry policy.
|
RouteOuterClass.RouteAction.Builder |
setRetryPolicy(RouteOuterClass.RouteAction.RetryPolicy value)
Indicates that the route has a retry policy.
|
RouteOuterClass.RouteAction.Builder |
setTimeout(com.google.protobuf.Duration.Builder builderForValue)
Specifies the timeout for the route.
|
RouteOuterClass.RouteAction.Builder |
setTimeout(com.google.protobuf.Duration value)
Specifies the timeout for the route.
|
RouteOuterClass.RouteAction.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouteOuterClass.RouteAction.Builder |
setUseWebsocket(com.google.protobuf.BoolValue.Builder builderForValue)
Indicates that a HTTP/1.1 client connection to this particular route
should be allowed (and expected) to upgrade to a WebSocket connection.
|
RouteOuterClass.RouteAction.Builder |
setUseWebsocket(com.google.protobuf.BoolValue value)
Indicates that a HTTP/1.1 client connection to this particular route
should be allowed (and expected) to upgrade to a WebSocket connection.
|
RouteOuterClass.RouteAction.Builder |
setWeightedClusters(RouteOuterClass.WeightedCluster.Builder builderForValue)
Multiple upstream clusters can be specified for a given route.
|
RouteOuterClass.RouteAction.Builder |
setWeightedClusters(RouteOuterClass.WeightedCluster value)
Multiple upstream clusters can be specified for a given route.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteAction.Builder>public RouteOuterClass.RouteAction.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteAction.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteAction.Builder>public RouteOuterClass.RouteAction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouteOuterClass.RouteAction build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouteOuterClass.RouteAction buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouteOuterClass.RouteAction.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteAction.Builder>public RouteOuterClass.RouteAction.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteAction.Builder>public RouteOuterClass.RouteAction.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteAction.Builder>public RouteOuterClass.RouteAction.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteAction.Builder>public RouteOuterClass.RouteAction.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteAction.Builder>public RouteOuterClass.RouteAction.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteAction.Builder>public RouteOuterClass.RouteAction.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteOuterClass.RouteAction.Builder>public RouteOuterClass.RouteAction.Builder mergeFrom(RouteOuterClass.RouteAction other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteAction.Builder>public RouteOuterClass.RouteAction.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteOuterClass.RouteAction.Builder>IOExceptionpublic RouteOuterClass.RouteAction.ClusterSpecifierCase getClusterSpecifierCase()
getClusterSpecifierCase in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder clearClusterSpecifier()
public RouteOuterClass.RouteAction.HostRewriteSpecifierCase getHostRewriteSpecifierCase()
getHostRewriteSpecifierCase in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder clearHostRewriteSpecifier()
public String getCluster()
Indicates the upstream cluster to which the request should be routed to.
string cluster = 1;getCluster in interface RouteOuterClass.RouteActionOrBuilderpublic com.google.protobuf.ByteString getClusterBytes()
Indicates the upstream cluster to which the request should be routed to.
string cluster = 1;getClusterBytes in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder setCluster(String value)
Indicates the upstream cluster to which the request should be routed to.
string cluster = 1;public RouteOuterClass.RouteAction.Builder clearCluster()
Indicates the upstream cluster to which the request should be routed to.
string cluster = 1;public RouteOuterClass.RouteAction.Builder setClusterBytes(com.google.protobuf.ByteString value)
Indicates the upstream cluster to which the request should be routed to.
string cluster = 1;public String getClusterHeader()
Envoy will determine the cluster to route to by reading the value of the HTTP header named by cluster_header from the request headers. If the header is not found or the referenced cluster does not exist, Envoy will return a 404 response. .. attention:: Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host* header. Thus, if attempting to match on *Host*, match on *:authority* instead.
string cluster_header = 2;getClusterHeader in interface RouteOuterClass.RouteActionOrBuilderpublic com.google.protobuf.ByteString getClusterHeaderBytes()
Envoy will determine the cluster to route to by reading the value of the HTTP header named by cluster_header from the request headers. If the header is not found or the referenced cluster does not exist, Envoy will return a 404 response. .. attention:: Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host* header. Thus, if attempting to match on *Host*, match on *:authority* instead.
string cluster_header = 2;getClusterHeaderBytes in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder setClusterHeader(String value)
Envoy will determine the cluster to route to by reading the value of the HTTP header named by cluster_header from the request headers. If the header is not found or the referenced cluster does not exist, Envoy will return a 404 response. .. attention:: Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host* header. Thus, if attempting to match on *Host*, match on *:authority* instead.
string cluster_header = 2;public RouteOuterClass.RouteAction.Builder clearClusterHeader()
Envoy will determine the cluster to route to by reading the value of the HTTP header named by cluster_header from the request headers. If the header is not found or the referenced cluster does not exist, Envoy will return a 404 response. .. attention:: Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host* header. Thus, if attempting to match on *Host*, match on *:authority* instead.
string cluster_header = 2;public RouteOuterClass.RouteAction.Builder setClusterHeaderBytes(com.google.protobuf.ByteString value)
Envoy will determine the cluster to route to by reading the value of the HTTP header named by cluster_header from the request headers. If the header is not found or the referenced cluster does not exist, Envoy will return a 404 response. .. attention:: Internally, Envoy always uses the HTTP/2 *:authority* header to represent the HTTP/1 *Host* header. Thus, if attempting to match on *Host*, match on *:authority* instead.
string cluster_header = 2;public boolean hasWeightedClusters()
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster. See :ref:`traffic splitting <config_http_conn_man_route_table_traffic_splitting_split>` for additional documentation.
.envoy.api.v2.route.WeightedCluster weighted_clusters = 3;hasWeightedClusters in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.WeightedCluster getWeightedClusters()
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster. See :ref:`traffic splitting <config_http_conn_man_route_table_traffic_splitting_split>` for additional documentation.
.envoy.api.v2.route.WeightedCluster weighted_clusters = 3;getWeightedClusters in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder setWeightedClusters(RouteOuterClass.WeightedCluster value)
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster. See :ref:`traffic splitting <config_http_conn_man_route_table_traffic_splitting_split>` for additional documentation.
.envoy.api.v2.route.WeightedCluster weighted_clusters = 3;public RouteOuterClass.RouteAction.Builder setWeightedClusters(RouteOuterClass.WeightedCluster.Builder builderForValue)
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster. See :ref:`traffic splitting <config_http_conn_man_route_table_traffic_splitting_split>` for additional documentation.
.envoy.api.v2.route.WeightedCluster weighted_clusters = 3;public RouteOuterClass.RouteAction.Builder mergeWeightedClusters(RouteOuterClass.WeightedCluster value)
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster. See :ref:`traffic splitting <config_http_conn_man_route_table_traffic_splitting_split>` for additional documentation.
.envoy.api.v2.route.WeightedCluster weighted_clusters = 3;public RouteOuterClass.RouteAction.Builder clearWeightedClusters()
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster. See :ref:`traffic splitting <config_http_conn_man_route_table_traffic_splitting_split>` for additional documentation.
.envoy.api.v2.route.WeightedCluster weighted_clusters = 3;public RouteOuterClass.WeightedCluster.Builder getWeightedClustersBuilder()
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster. See :ref:`traffic splitting <config_http_conn_man_route_table_traffic_splitting_split>` for additional documentation.
.envoy.api.v2.route.WeightedCluster weighted_clusters = 3;public RouteOuterClass.WeightedClusterOrBuilder getWeightedClustersOrBuilder()
Multiple upstream clusters can be specified for a given route. The request is routed to one of the upstream clusters based on weights assigned to each cluster. See :ref:`traffic splitting <config_http_conn_man_route_table_traffic_splitting_split>` for additional documentation.
.envoy.api.v2.route.WeightedCluster weighted_clusters = 3;getWeightedClustersOrBuilder in interface RouteOuterClass.RouteActionOrBuilderpublic int getClusterNotFoundResponseCodeValue()
The HTTP status code to use when configured cluster is not found. The default response code is 503 Service Unavailable.
.envoy.api.v2.route.RouteAction.ClusterNotFoundResponseCode cluster_not_found_response_code = 20 [(.validate.rules) = { ... }getClusterNotFoundResponseCodeValue in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder setClusterNotFoundResponseCodeValue(int value)
The HTTP status code to use when configured cluster is not found. The default response code is 503 Service Unavailable.
.envoy.api.v2.route.RouteAction.ClusterNotFoundResponseCode cluster_not_found_response_code = 20 [(.validate.rules) = { ... }public RouteOuterClass.RouteAction.ClusterNotFoundResponseCode getClusterNotFoundResponseCode()
The HTTP status code to use when configured cluster is not found. The default response code is 503 Service Unavailable.
.envoy.api.v2.route.RouteAction.ClusterNotFoundResponseCode cluster_not_found_response_code = 20 [(.validate.rules) = { ... }getClusterNotFoundResponseCode in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder setClusterNotFoundResponseCode(RouteOuterClass.RouteAction.ClusterNotFoundResponseCode value)
The HTTP status code to use when configured cluster is not found. The default response code is 503 Service Unavailable.
.envoy.api.v2.route.RouteAction.ClusterNotFoundResponseCode cluster_not_found_response_code = 20 [(.validate.rules) = { ... }public RouteOuterClass.RouteAction.Builder clearClusterNotFoundResponseCode()
The HTTP status code to use when configured cluster is not found. The default response code is 503 Service Unavailable.
.envoy.api.v2.route.RouteAction.ClusterNotFoundResponseCode cluster_not_found_response_code = 20 [(.validate.rules) = { ... }public boolean hasMetadataMatch()
Optional endpoint metadata match criteria. Only endpoints in the upstream cluster with metadata matching that set in metadata_match will be considered. The filter name should be specified as *envoy.lb*.
.envoy.api.v2.core.Metadata metadata_match = 4;hasMetadataMatch in interface RouteOuterClass.RouteActionOrBuilderpublic Base.Metadata getMetadataMatch()
Optional endpoint metadata match criteria. Only endpoints in the upstream cluster with metadata matching that set in metadata_match will be considered. The filter name should be specified as *envoy.lb*.
.envoy.api.v2.core.Metadata metadata_match = 4;getMetadataMatch in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder setMetadataMatch(Base.Metadata value)
Optional endpoint metadata match criteria. Only endpoints in the upstream cluster with metadata matching that set in metadata_match will be considered. The filter name should be specified as *envoy.lb*.
.envoy.api.v2.core.Metadata metadata_match = 4;public RouteOuterClass.RouteAction.Builder setMetadataMatch(Base.Metadata.Builder builderForValue)
Optional endpoint metadata match criteria. Only endpoints in the upstream cluster with metadata matching that set in metadata_match will be considered. The filter name should be specified as *envoy.lb*.
.envoy.api.v2.core.Metadata metadata_match = 4;public RouteOuterClass.RouteAction.Builder mergeMetadataMatch(Base.Metadata value)
Optional endpoint metadata match criteria. Only endpoints in the upstream cluster with metadata matching that set in metadata_match will be considered. The filter name should be specified as *envoy.lb*.
.envoy.api.v2.core.Metadata metadata_match = 4;public RouteOuterClass.RouteAction.Builder clearMetadataMatch()
Optional endpoint metadata match criteria. Only endpoints in the upstream cluster with metadata matching that set in metadata_match will be considered. The filter name should be specified as *envoy.lb*.
.envoy.api.v2.core.Metadata metadata_match = 4;public Base.Metadata.Builder getMetadataMatchBuilder()
Optional endpoint metadata match criteria. Only endpoints in the upstream cluster with metadata matching that set in metadata_match will be considered. The filter name should be specified as *envoy.lb*.
.envoy.api.v2.core.Metadata metadata_match = 4;public Base.MetadataOrBuilder getMetadataMatchOrBuilder()
Optional endpoint metadata match criteria. Only endpoints in the upstream cluster with metadata matching that set in metadata_match will be considered. The filter name should be specified as *envoy.lb*.
.envoy.api.v2.core.Metadata metadata_match = 4;getMetadataMatchOrBuilder in interface RouteOuterClass.RouteActionOrBuilderpublic String getPrefixRewrite()
Indicates that during forwarding, the matched prefix (or path) should be swapped with this value. This option allows application URLs to be rooted at a different path from those exposed at the reverse proxy layer.
string prefix_rewrite = 5;getPrefixRewrite in interface RouteOuterClass.RouteActionOrBuilderpublic com.google.protobuf.ByteString getPrefixRewriteBytes()
Indicates that during forwarding, the matched prefix (or path) should be swapped with this value. This option allows application URLs to be rooted at a different path from those exposed at the reverse proxy layer.
string prefix_rewrite = 5;getPrefixRewriteBytes in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder setPrefixRewrite(String value)
Indicates that during forwarding, the matched prefix (or path) should be swapped with this value. This option allows application URLs to be rooted at a different path from those exposed at the reverse proxy layer.
string prefix_rewrite = 5;public RouteOuterClass.RouteAction.Builder clearPrefixRewrite()
Indicates that during forwarding, the matched prefix (or path) should be swapped with this value. This option allows application URLs to be rooted at a different path from those exposed at the reverse proxy layer.
string prefix_rewrite = 5;public RouteOuterClass.RouteAction.Builder setPrefixRewriteBytes(com.google.protobuf.ByteString value)
Indicates that during forwarding, the matched prefix (or path) should be swapped with this value. This option allows application URLs to be rooted at a different path from those exposed at the reverse proxy layer.
string prefix_rewrite = 5;public String getHostRewrite()
Indicates that during forwarding, the host header will be swapped with this value.
string host_rewrite = 6;getHostRewrite in interface RouteOuterClass.RouteActionOrBuilderpublic com.google.protobuf.ByteString getHostRewriteBytes()
Indicates that during forwarding, the host header will be swapped with this value.
string host_rewrite = 6;getHostRewriteBytes in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder setHostRewrite(String value)
Indicates that during forwarding, the host header will be swapped with this value.
string host_rewrite = 6;public RouteOuterClass.RouteAction.Builder clearHostRewrite()
Indicates that during forwarding, the host header will be swapped with this value.
string host_rewrite = 6;public RouteOuterClass.RouteAction.Builder setHostRewriteBytes(com.google.protobuf.ByteString value)
Indicates that during forwarding, the host header will be swapped with this value.
string host_rewrite = 6;public boolean hasAutoHostRewrite()
Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager. This option is applicable only when the destination cluster for a route is of type *strict_dns* or *logical_dns*. Setting this to true with other cluster types has no effect.
.google.protobuf.BoolValue auto_host_rewrite = 7;hasAutoHostRewrite in interface RouteOuterClass.RouteActionOrBuilderpublic com.google.protobuf.BoolValue getAutoHostRewrite()
Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager. This option is applicable only when the destination cluster for a route is of type *strict_dns* or *logical_dns*. Setting this to true with other cluster types has no effect.
.google.protobuf.BoolValue auto_host_rewrite = 7;getAutoHostRewrite in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder setAutoHostRewrite(com.google.protobuf.BoolValue value)
Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager. This option is applicable only when the destination cluster for a route is of type *strict_dns* or *logical_dns*. Setting this to true with other cluster types has no effect.
.google.protobuf.BoolValue auto_host_rewrite = 7;public RouteOuterClass.RouteAction.Builder setAutoHostRewrite(com.google.protobuf.BoolValue.Builder builderForValue)
Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager. This option is applicable only when the destination cluster for a route is of type *strict_dns* or *logical_dns*. Setting this to true with other cluster types has no effect.
.google.protobuf.BoolValue auto_host_rewrite = 7;public RouteOuterClass.RouteAction.Builder mergeAutoHostRewrite(com.google.protobuf.BoolValue value)
Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager. This option is applicable only when the destination cluster for a route is of type *strict_dns* or *logical_dns*. Setting this to true with other cluster types has no effect.
.google.protobuf.BoolValue auto_host_rewrite = 7;public RouteOuterClass.RouteAction.Builder clearAutoHostRewrite()
Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager. This option is applicable only when the destination cluster for a route is of type *strict_dns* or *logical_dns*. Setting this to true with other cluster types has no effect.
.google.protobuf.BoolValue auto_host_rewrite = 7;public com.google.protobuf.BoolValue.Builder getAutoHostRewriteBuilder()
Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager. This option is applicable only when the destination cluster for a route is of type *strict_dns* or *logical_dns*. Setting this to true with other cluster types has no effect.
.google.protobuf.BoolValue auto_host_rewrite = 7;public com.google.protobuf.BoolValueOrBuilder getAutoHostRewriteOrBuilder()
Indicates that during forwarding, the host header will be swapped with the hostname of the upstream host chosen by the cluster manager. This option is applicable only when the destination cluster for a route is of type *strict_dns* or *logical_dns*. Setting this to true with other cluster types has no effect.
.google.protobuf.BoolValue auto_host_rewrite = 7;getAutoHostRewriteOrBuilder in interface RouteOuterClass.RouteActionOrBuilderpublic boolean hasTimeout()
Specifies the timeout for the route. If not specified, the default is 15s. .. note:: This timeout includes all retries. See also :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the :ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration timeout = 8 [(.gogoproto.stdduration) = true];hasTimeout in interface RouteOuterClass.RouteActionOrBuilderpublic com.google.protobuf.Duration getTimeout()
Specifies the timeout for the route. If not specified, the default is 15s. .. note:: This timeout includes all retries. See also :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the :ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration timeout = 8 [(.gogoproto.stdduration) = true];getTimeout in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder setTimeout(com.google.protobuf.Duration value)
Specifies the timeout for the route. If not specified, the default is 15s. .. note:: This timeout includes all retries. See also :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the :ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration timeout = 8 [(.gogoproto.stdduration) = true];public RouteOuterClass.RouteAction.Builder setTimeout(com.google.protobuf.Duration.Builder builderForValue)
Specifies the timeout for the route. If not specified, the default is 15s. .. note:: This timeout includes all retries. See also :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the :ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration timeout = 8 [(.gogoproto.stdduration) = true];public RouteOuterClass.RouteAction.Builder mergeTimeout(com.google.protobuf.Duration value)
Specifies the timeout for the route. If not specified, the default is 15s. .. note:: This timeout includes all retries. See also :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the :ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration timeout = 8 [(.gogoproto.stdduration) = true];public RouteOuterClass.RouteAction.Builder clearTimeout()
Specifies the timeout for the route. If not specified, the default is 15s. .. note:: This timeout includes all retries. See also :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the :ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration timeout = 8 [(.gogoproto.stdduration) = true];public com.google.protobuf.Duration.Builder getTimeoutBuilder()
Specifies the timeout for the route. If not specified, the default is 15s. .. note:: This timeout includes all retries. See also :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the :ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration timeout = 8 [(.gogoproto.stdduration) = true];public com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
Specifies the timeout for the route. If not specified, the default is 15s. .. note:: This timeout includes all retries. See also :ref:`config_http_filters_router_x-envoy-upstream-rq-timeout-ms`, :ref:`config_http_filters_router_x-envoy-upstream-rq-per-try-timeout-ms`, and the :ref:`retry overview <arch_overview_http_routing_retry>`.
.google.protobuf.Duration timeout = 8 [(.gogoproto.stdduration) = true];getTimeoutOrBuilder in interface RouteOuterClass.RouteActionOrBuilderpublic boolean hasRetryPolicy()
Indicates that the route has a retry policy.
.envoy.api.v2.route.RouteAction.RetryPolicy retry_policy = 9;hasRetryPolicy in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.RetryPolicy getRetryPolicy()
Indicates that the route has a retry policy.
.envoy.api.v2.route.RouteAction.RetryPolicy retry_policy = 9;getRetryPolicy in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder setRetryPolicy(RouteOuterClass.RouteAction.RetryPolicy value)
Indicates that the route has a retry policy.
.envoy.api.v2.route.RouteAction.RetryPolicy retry_policy = 9;public RouteOuterClass.RouteAction.Builder setRetryPolicy(RouteOuterClass.RouteAction.RetryPolicy.Builder builderForValue)
Indicates that the route has a retry policy.
.envoy.api.v2.route.RouteAction.RetryPolicy retry_policy = 9;public RouteOuterClass.RouteAction.Builder mergeRetryPolicy(RouteOuterClass.RouteAction.RetryPolicy value)
Indicates that the route has a retry policy.
.envoy.api.v2.route.RouteAction.RetryPolicy retry_policy = 9;public RouteOuterClass.RouteAction.Builder clearRetryPolicy()
Indicates that the route has a retry policy.
.envoy.api.v2.route.RouteAction.RetryPolicy retry_policy = 9;public RouteOuterClass.RouteAction.RetryPolicy.Builder getRetryPolicyBuilder()
Indicates that the route has a retry policy.
.envoy.api.v2.route.RouteAction.RetryPolicy retry_policy = 9;public RouteOuterClass.RouteAction.RetryPolicyOrBuilder getRetryPolicyOrBuilder()
Indicates that the route has a retry policy.
.envoy.api.v2.route.RouteAction.RetryPolicy retry_policy = 9;getRetryPolicyOrBuilder in interface RouteOuterClass.RouteActionOrBuilderpublic boolean hasRequestMirrorPolicy()
Indicates that the route has a request mirroring policy.
.envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policy = 10;hasRequestMirrorPolicy in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.RequestMirrorPolicy getRequestMirrorPolicy()
Indicates that the route has a request mirroring policy.
.envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policy = 10;getRequestMirrorPolicy in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder setRequestMirrorPolicy(RouteOuterClass.RouteAction.RequestMirrorPolicy value)
Indicates that the route has a request mirroring policy.
.envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policy = 10;public RouteOuterClass.RouteAction.Builder setRequestMirrorPolicy(RouteOuterClass.RouteAction.RequestMirrorPolicy.Builder builderForValue)
Indicates that the route has a request mirroring policy.
.envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policy = 10;public RouteOuterClass.RouteAction.Builder mergeRequestMirrorPolicy(RouteOuterClass.RouteAction.RequestMirrorPolicy value)
Indicates that the route has a request mirroring policy.
.envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policy = 10;public RouteOuterClass.RouteAction.Builder clearRequestMirrorPolicy()
Indicates that the route has a request mirroring policy.
.envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policy = 10;public RouteOuterClass.RouteAction.RequestMirrorPolicy.Builder getRequestMirrorPolicyBuilder()
Indicates that the route has a request mirroring policy.
.envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policy = 10;public RouteOuterClass.RouteAction.RequestMirrorPolicyOrBuilder getRequestMirrorPolicyOrBuilder()
Indicates that the route has a request mirroring policy.
.envoy.api.v2.route.RouteAction.RequestMirrorPolicy request_mirror_policy = 10;getRequestMirrorPolicyOrBuilder in interface RouteOuterClass.RouteActionOrBuilderpublic int getPriorityValue()
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`. [#comment:TODO(htuch): add (validate.rules).enum.defined_only = true once https://github.com/lyft/protoc-gen-validate/issues/42 is resolved.]
.envoy.api.v2.core.RoutingPriority priority = 11;getPriorityValue in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder setPriorityValue(int value)
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`. [#comment:TODO(htuch): add (validate.rules).enum.defined_only = true once https://github.com/lyft/protoc-gen-validate/issues/42 is resolved.]
.envoy.api.v2.core.RoutingPriority priority = 11;public Base.RoutingPriority getPriority()
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`. [#comment:TODO(htuch): add (validate.rules).enum.defined_only = true once https://github.com/lyft/protoc-gen-validate/issues/42 is resolved.]
.envoy.api.v2.core.RoutingPriority priority = 11;getPriority in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder setPriority(Base.RoutingPriority value)
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`. [#comment:TODO(htuch): add (validate.rules).enum.defined_only = true once https://github.com/lyft/protoc-gen-validate/issues/42 is resolved.]
.envoy.api.v2.core.RoutingPriority priority = 11;public RouteOuterClass.RouteAction.Builder clearPriority()
Optionally specifies the :ref:`routing priority <arch_overview_http_routing_priority>`. [#comment:TODO(htuch): add (validate.rules).enum.defined_only = true once https://github.com/lyft/protoc-gen-validate/issues/42 is resolved.]
.envoy.api.v2.core.RoutingPriority priority = 11;public List<Base.HeaderValueOption> getRequestHeadersToAddList()
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 12;getRequestHeadersToAddList in interface RouteOuterClass.RouteActionOrBuilderpublic int getRequestHeadersToAddCount()
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 12;getRequestHeadersToAddCount in interface RouteOuterClass.RouteActionOrBuilderpublic Base.HeaderValueOption getRequestHeadersToAdd(int index)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 12;getRequestHeadersToAdd in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder setRequestHeadersToAdd(int index, Base.HeaderValueOption value)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 12;public RouteOuterClass.RouteAction.Builder setRequestHeadersToAdd(int index, Base.HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 12;public RouteOuterClass.RouteAction.Builder addRequestHeadersToAdd(Base.HeaderValueOption value)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 12;public RouteOuterClass.RouteAction.Builder addRequestHeadersToAdd(int index, Base.HeaderValueOption value)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 12;public RouteOuterClass.RouteAction.Builder addRequestHeadersToAdd(Base.HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 12;public RouteOuterClass.RouteAction.Builder addRequestHeadersToAdd(int index, Base.HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 12;public RouteOuterClass.RouteAction.Builder addAllRequestHeadersToAdd(Iterable<? extends Base.HeaderValueOption> values)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 12;public RouteOuterClass.RouteAction.Builder clearRequestHeadersToAdd()
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 12;public RouteOuterClass.RouteAction.Builder removeRequestHeadersToAdd(int index)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 12;public Base.HeaderValueOption.Builder getRequestHeadersToAddBuilder(int index)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 12;public Base.HeaderValueOptionOrBuilder getRequestHeadersToAddOrBuilder(int index)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 12;getRequestHeadersToAddOrBuilder in interface RouteOuterClass.RouteActionOrBuilderpublic List<? extends Base.HeaderValueOptionOrBuilder> getRequestHeadersToAddOrBuilderList()
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 12;getRequestHeadersToAddOrBuilderList in interface RouteOuterClass.RouteActionOrBuilderpublic Base.HeaderValueOption.Builder addRequestHeadersToAddBuilder()
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 12;public Base.HeaderValueOption.Builder addRequestHeadersToAddBuilder(int index)
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 12;public List<Base.HeaderValueOption.Builder> getRequestHeadersToAddBuilderList()
Specifies a set of headers that will be added to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption request_headers_to_add = 12;public List<Base.HeaderValueOption> getResponseHeadersToAddList()
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 18;getResponseHeadersToAddList in interface RouteOuterClass.RouteActionOrBuilderpublic int getResponseHeadersToAddCount()
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 18;getResponseHeadersToAddCount in interface RouteOuterClass.RouteActionOrBuilderpublic Base.HeaderValueOption getResponseHeadersToAdd(int index)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 18;getResponseHeadersToAdd in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder setResponseHeadersToAdd(int index, Base.HeaderValueOption value)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 18;public RouteOuterClass.RouteAction.Builder setResponseHeadersToAdd(int index, Base.HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 18;public RouteOuterClass.RouteAction.Builder addResponseHeadersToAdd(Base.HeaderValueOption value)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 18;public RouteOuterClass.RouteAction.Builder addResponseHeadersToAdd(int index, Base.HeaderValueOption value)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 18;public RouteOuterClass.RouteAction.Builder addResponseHeadersToAdd(Base.HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 18;public RouteOuterClass.RouteAction.Builder addResponseHeadersToAdd(int index, Base.HeaderValueOption.Builder builderForValue)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 18;public RouteOuterClass.RouteAction.Builder addAllResponseHeadersToAdd(Iterable<? extends Base.HeaderValueOption> values)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 18;public RouteOuterClass.RouteAction.Builder clearResponseHeadersToAdd()
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 18;public RouteOuterClass.RouteAction.Builder removeResponseHeadersToAdd(int index)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 18;public Base.HeaderValueOption.Builder getResponseHeadersToAddBuilder(int index)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 18;public Base.HeaderValueOptionOrBuilder getResponseHeadersToAddOrBuilder(int index)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 18;getResponseHeadersToAddOrBuilder in interface RouteOuterClass.RouteActionOrBuilderpublic List<? extends Base.HeaderValueOptionOrBuilder> getResponseHeadersToAddOrBuilderList()
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 18;getResponseHeadersToAddOrBuilderList in interface RouteOuterClass.RouteActionOrBuilderpublic Base.HeaderValueOption.Builder addResponseHeadersToAddBuilder()
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 18;public Base.HeaderValueOption.Builder addResponseHeadersToAddBuilder(int index)
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 18;public List<Base.HeaderValueOption.Builder> getResponseHeadersToAddBuilderList()
Specifies a set of headers that will be added to responses to requests matching this route. Headers specified at this level are applied before headers from the enclosing :ref:`envoy_api_msg_route.VirtualHost` and :ref:`envoy_api_msg_RouteConfiguration`. For more information, including details on header value syntax, see the documentation on :ref:`custom request headers <config_http_conn_man_headers_custom_request_headers>`.
repeated .envoy.api.v2.core.HeaderValueOption response_headers_to_add = 18;public com.google.protobuf.ProtocolStringList getResponseHeadersToRemoveList()
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 19;getResponseHeadersToRemoveList in interface RouteOuterClass.RouteActionOrBuilderpublic int getResponseHeadersToRemoveCount()
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 19;getResponseHeadersToRemoveCount in interface RouteOuterClass.RouteActionOrBuilderpublic String getResponseHeadersToRemove(int index)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 19;getResponseHeadersToRemove in interface RouteOuterClass.RouteActionOrBuilderpublic com.google.protobuf.ByteString getResponseHeadersToRemoveBytes(int index)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 19;getResponseHeadersToRemoveBytes in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder setResponseHeadersToRemove(int index, String value)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 19;public RouteOuterClass.RouteAction.Builder addResponseHeadersToRemove(String value)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 19;public RouteOuterClass.RouteAction.Builder addAllResponseHeadersToRemove(Iterable<String> values)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 19;public RouteOuterClass.RouteAction.Builder clearResponseHeadersToRemove()
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 19;public RouteOuterClass.RouteAction.Builder addResponseHeadersToRemoveBytes(com.google.protobuf.ByteString value)
Specifies a list of HTTP headers that should be removed from each response to requests matching this route.
repeated string response_headers_to_remove = 19;public List<RouteOuterClass.RateLimit> getRateLimitsList()
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13;getRateLimitsList in interface RouteOuterClass.RouteActionOrBuilderpublic int getRateLimitsCount()
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13;getRateLimitsCount in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RateLimit getRateLimits(int index)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13;getRateLimits in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder setRateLimits(int index, RouteOuterClass.RateLimit value)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13;public RouteOuterClass.RouteAction.Builder setRateLimits(int index, RouteOuterClass.RateLimit.Builder builderForValue)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13;public RouteOuterClass.RouteAction.Builder addRateLimits(RouteOuterClass.RateLimit value)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13;public RouteOuterClass.RouteAction.Builder addRateLimits(int index, RouteOuterClass.RateLimit value)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13;public RouteOuterClass.RouteAction.Builder addRateLimits(RouteOuterClass.RateLimit.Builder builderForValue)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13;public RouteOuterClass.RouteAction.Builder addRateLimits(int index, RouteOuterClass.RateLimit.Builder builderForValue)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13;public RouteOuterClass.RouteAction.Builder addAllRateLimits(Iterable<? extends RouteOuterClass.RateLimit> values)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13;public RouteOuterClass.RouteAction.Builder clearRateLimits()
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13;public RouteOuterClass.RouteAction.Builder removeRateLimits(int index)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13;public RouteOuterClass.RateLimit.Builder getRateLimitsBuilder(int index)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13;public RouteOuterClass.RateLimitOrBuilder getRateLimitsOrBuilder(int index)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13;getRateLimitsOrBuilder in interface RouteOuterClass.RouteActionOrBuilderpublic List<? extends RouteOuterClass.RateLimitOrBuilder> getRateLimitsOrBuilderList()
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13;getRateLimitsOrBuilderList in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RateLimit.Builder addRateLimitsBuilder()
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13;public RouteOuterClass.RateLimit.Builder addRateLimitsBuilder(int index)
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13;public List<RouteOuterClass.RateLimit.Builder> getRateLimitsBuilderList()
Specifies a set of rate limit configurations that could be applied to the route.
repeated .envoy.api.v2.route.RateLimit rate_limits = 13;public boolean hasIncludeVhRateLimits()
Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_route.VirtualHost.rate_limits>` are not applied to the request.
.google.protobuf.BoolValue include_vh_rate_limits = 14;hasIncludeVhRateLimits in interface RouteOuterClass.RouteActionOrBuilderpublic com.google.protobuf.BoolValue getIncludeVhRateLimits()
Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_route.VirtualHost.rate_limits>` are not applied to the request.
.google.protobuf.BoolValue include_vh_rate_limits = 14;getIncludeVhRateLimits in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder setIncludeVhRateLimits(com.google.protobuf.BoolValue value)
Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_route.VirtualHost.rate_limits>` are not applied to the request.
.google.protobuf.BoolValue include_vh_rate_limits = 14;public RouteOuterClass.RouteAction.Builder setIncludeVhRateLimits(com.google.protobuf.BoolValue.Builder builderForValue)
Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_route.VirtualHost.rate_limits>` are not applied to the request.
.google.protobuf.BoolValue include_vh_rate_limits = 14;public RouteOuterClass.RouteAction.Builder mergeIncludeVhRateLimits(com.google.protobuf.BoolValue value)
Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_route.VirtualHost.rate_limits>` are not applied to the request.
.google.protobuf.BoolValue include_vh_rate_limits = 14;public RouteOuterClass.RouteAction.Builder clearIncludeVhRateLimits()
Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_route.VirtualHost.rate_limits>` are not applied to the request.
.google.protobuf.BoolValue include_vh_rate_limits = 14;public com.google.protobuf.BoolValue.Builder getIncludeVhRateLimitsBuilder()
Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_route.VirtualHost.rate_limits>` are not applied to the request.
.google.protobuf.BoolValue include_vh_rate_limits = 14;public com.google.protobuf.BoolValueOrBuilder getIncludeVhRateLimitsOrBuilder()
Specifies if the rate limit filter should include the virtual host rate limits. By default, if the route configured rate limits, the virtual host :ref:`rate_limits <envoy_api_field_route.VirtualHost.rate_limits>` are not applied to the request.
.google.protobuf.BoolValue include_vh_rate_limits = 14;getIncludeVhRateLimitsOrBuilder in interface RouteOuterClass.RouteActionOrBuilderpublic List<RouteOuterClass.RouteAction.HashPolicy> getHashPolicyList()
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend).
repeated .envoy.api.v2.route.RouteAction.HashPolicy hash_policy = 15;getHashPolicyList in interface RouteOuterClass.RouteActionOrBuilderpublic int getHashPolicyCount()
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend).
repeated .envoy.api.v2.route.RouteAction.HashPolicy hash_policy = 15;getHashPolicyCount in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.HashPolicy getHashPolicy(int index)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend).
repeated .envoy.api.v2.route.RouteAction.HashPolicy hash_policy = 15;getHashPolicy in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder setHashPolicy(int index, RouteOuterClass.RouteAction.HashPolicy value)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend).
repeated .envoy.api.v2.route.RouteAction.HashPolicy hash_policy = 15;public RouteOuterClass.RouteAction.Builder setHashPolicy(int index, RouteOuterClass.RouteAction.HashPolicy.Builder builderForValue)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend).
repeated .envoy.api.v2.route.RouteAction.HashPolicy hash_policy = 15;public RouteOuterClass.RouteAction.Builder addHashPolicy(RouteOuterClass.RouteAction.HashPolicy value)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend).
repeated .envoy.api.v2.route.RouteAction.HashPolicy hash_policy = 15;public RouteOuterClass.RouteAction.Builder addHashPolicy(int index, RouteOuterClass.RouteAction.HashPolicy value)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend).
repeated .envoy.api.v2.route.RouteAction.HashPolicy hash_policy = 15;public RouteOuterClass.RouteAction.Builder addHashPolicy(RouteOuterClass.RouteAction.HashPolicy.Builder builderForValue)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend).
repeated .envoy.api.v2.route.RouteAction.HashPolicy hash_policy = 15;public RouteOuterClass.RouteAction.Builder addHashPolicy(int index, RouteOuterClass.RouteAction.HashPolicy.Builder builderForValue)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend).
repeated .envoy.api.v2.route.RouteAction.HashPolicy hash_policy = 15;public RouteOuterClass.RouteAction.Builder addAllHashPolicy(Iterable<? extends RouteOuterClass.RouteAction.HashPolicy> values)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend).
repeated .envoy.api.v2.route.RouteAction.HashPolicy hash_policy = 15;public RouteOuterClass.RouteAction.Builder clearHashPolicy()
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend).
repeated .envoy.api.v2.route.RouteAction.HashPolicy hash_policy = 15;public RouteOuterClass.RouteAction.Builder removeHashPolicy(int index)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend).
repeated .envoy.api.v2.route.RouteAction.HashPolicy hash_policy = 15;public RouteOuterClass.RouteAction.HashPolicy.Builder getHashPolicyBuilder(int index)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend).
repeated .envoy.api.v2.route.RouteAction.HashPolicy hash_policy = 15;public RouteOuterClass.RouteAction.HashPolicyOrBuilder getHashPolicyOrBuilder(int index)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend).
repeated .envoy.api.v2.route.RouteAction.HashPolicy hash_policy = 15;getHashPolicyOrBuilder in interface RouteOuterClass.RouteActionOrBuilderpublic List<? extends RouteOuterClass.RouteAction.HashPolicyOrBuilder> getHashPolicyOrBuilderList()
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend).
repeated .envoy.api.v2.route.RouteAction.HashPolicy hash_policy = 15;getHashPolicyOrBuilderList in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.HashPolicy.Builder addHashPolicyBuilder()
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend).
repeated .envoy.api.v2.route.RouteAction.HashPolicy hash_policy = 15;public RouteOuterClass.RouteAction.HashPolicy.Builder addHashPolicyBuilder(int index)
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend).
repeated .envoy.api.v2.route.RouteAction.HashPolicy hash_policy = 15;public List<RouteOuterClass.RouteAction.HashPolicy.Builder> getHashPolicyBuilderList()
Specifies a list of hash policies to use for ring hash load balancing. Each hash policy is evaluated individually and the combined result is used to route the request. The method of combination is deterministic such that identical lists of hash policies will produce the same hash. Since a hash policy examines specific parts of a request, it can fail to produce a hash (i.e. if the hashed header is not present). If (and only if) all configured hash policies fail to generate a hash, no hash will be produced for the route. In this case, the behavior is the same as if no hash policies were specified (i.e. the ring hash load balancer will choose a random backend).
repeated .envoy.api.v2.route.RouteAction.HashPolicy hash_policy = 15;public boolean hasUseWebsocket()
Indicates that a HTTP/1.1 client connection to this particular route should be allowed (and expected) to upgrade to a WebSocket connection. The default is false. .. attention:: If set to true, Envoy will expect the first request matching this route to contain WebSocket upgrade headers. If the headers are not present, the connection will be rejected. If set to true, Envoy will setup plain TCP proxying between the client and the upstream server. Hence, an upstream server that rejects the WebSocket upgrade request is also responsible for closing the associated connection. Until then, Envoy will continue to proxy data from the client to the upstream server. Redirects, timeouts and retries are not supported on routes where websocket upgrades are allowed.
.google.protobuf.BoolValue use_websocket = 16;hasUseWebsocket in interface RouteOuterClass.RouteActionOrBuilderpublic com.google.protobuf.BoolValue getUseWebsocket()
Indicates that a HTTP/1.1 client connection to this particular route should be allowed (and expected) to upgrade to a WebSocket connection. The default is false. .. attention:: If set to true, Envoy will expect the first request matching this route to contain WebSocket upgrade headers. If the headers are not present, the connection will be rejected. If set to true, Envoy will setup plain TCP proxying between the client and the upstream server. Hence, an upstream server that rejects the WebSocket upgrade request is also responsible for closing the associated connection. Until then, Envoy will continue to proxy data from the client to the upstream server. Redirects, timeouts and retries are not supported on routes where websocket upgrades are allowed.
.google.protobuf.BoolValue use_websocket = 16;getUseWebsocket in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder setUseWebsocket(com.google.protobuf.BoolValue value)
Indicates that a HTTP/1.1 client connection to this particular route should be allowed (and expected) to upgrade to a WebSocket connection. The default is false. .. attention:: If set to true, Envoy will expect the first request matching this route to contain WebSocket upgrade headers. If the headers are not present, the connection will be rejected. If set to true, Envoy will setup plain TCP proxying between the client and the upstream server. Hence, an upstream server that rejects the WebSocket upgrade request is also responsible for closing the associated connection. Until then, Envoy will continue to proxy data from the client to the upstream server. Redirects, timeouts and retries are not supported on routes where websocket upgrades are allowed.
.google.protobuf.BoolValue use_websocket = 16;public RouteOuterClass.RouteAction.Builder setUseWebsocket(com.google.protobuf.BoolValue.Builder builderForValue)
Indicates that a HTTP/1.1 client connection to this particular route should be allowed (and expected) to upgrade to a WebSocket connection. The default is false. .. attention:: If set to true, Envoy will expect the first request matching this route to contain WebSocket upgrade headers. If the headers are not present, the connection will be rejected. If set to true, Envoy will setup plain TCP proxying between the client and the upstream server. Hence, an upstream server that rejects the WebSocket upgrade request is also responsible for closing the associated connection. Until then, Envoy will continue to proxy data from the client to the upstream server. Redirects, timeouts and retries are not supported on routes where websocket upgrades are allowed.
.google.protobuf.BoolValue use_websocket = 16;public RouteOuterClass.RouteAction.Builder mergeUseWebsocket(com.google.protobuf.BoolValue value)
Indicates that a HTTP/1.1 client connection to this particular route should be allowed (and expected) to upgrade to a WebSocket connection. The default is false. .. attention:: If set to true, Envoy will expect the first request matching this route to contain WebSocket upgrade headers. If the headers are not present, the connection will be rejected. If set to true, Envoy will setup plain TCP proxying between the client and the upstream server. Hence, an upstream server that rejects the WebSocket upgrade request is also responsible for closing the associated connection. Until then, Envoy will continue to proxy data from the client to the upstream server. Redirects, timeouts and retries are not supported on routes where websocket upgrades are allowed.
.google.protobuf.BoolValue use_websocket = 16;public RouteOuterClass.RouteAction.Builder clearUseWebsocket()
Indicates that a HTTP/1.1 client connection to this particular route should be allowed (and expected) to upgrade to a WebSocket connection. The default is false. .. attention:: If set to true, Envoy will expect the first request matching this route to contain WebSocket upgrade headers. If the headers are not present, the connection will be rejected. If set to true, Envoy will setup plain TCP proxying between the client and the upstream server. Hence, an upstream server that rejects the WebSocket upgrade request is also responsible for closing the associated connection. Until then, Envoy will continue to proxy data from the client to the upstream server. Redirects, timeouts and retries are not supported on routes where websocket upgrades are allowed.
.google.protobuf.BoolValue use_websocket = 16;public com.google.protobuf.BoolValue.Builder getUseWebsocketBuilder()
Indicates that a HTTP/1.1 client connection to this particular route should be allowed (and expected) to upgrade to a WebSocket connection. The default is false. .. attention:: If set to true, Envoy will expect the first request matching this route to contain WebSocket upgrade headers. If the headers are not present, the connection will be rejected. If set to true, Envoy will setup plain TCP proxying between the client and the upstream server. Hence, an upstream server that rejects the WebSocket upgrade request is also responsible for closing the associated connection. Until then, Envoy will continue to proxy data from the client to the upstream server. Redirects, timeouts and retries are not supported on routes where websocket upgrades are allowed.
.google.protobuf.BoolValue use_websocket = 16;public com.google.protobuf.BoolValueOrBuilder getUseWebsocketOrBuilder()
Indicates that a HTTP/1.1 client connection to this particular route should be allowed (and expected) to upgrade to a WebSocket connection. The default is false. .. attention:: If set to true, Envoy will expect the first request matching this route to contain WebSocket upgrade headers. If the headers are not present, the connection will be rejected. If set to true, Envoy will setup plain TCP proxying between the client and the upstream server. Hence, an upstream server that rejects the WebSocket upgrade request is also responsible for closing the associated connection. Until then, Envoy will continue to proxy data from the client to the upstream server. Redirects, timeouts and retries are not supported on routes where websocket upgrades are allowed.
.google.protobuf.BoolValue use_websocket = 16;getUseWebsocketOrBuilder in interface RouteOuterClass.RouteActionOrBuilderpublic boolean hasCors()
Indicates that the route has a CORS policy.
.envoy.api.v2.route.CorsPolicy cors = 17;hasCors in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.CorsPolicy getCors()
Indicates that the route has a CORS policy.
.envoy.api.v2.route.CorsPolicy cors = 17;getCors in interface RouteOuterClass.RouteActionOrBuilderpublic RouteOuterClass.RouteAction.Builder setCors(RouteOuterClass.CorsPolicy value)
Indicates that the route has a CORS policy.
.envoy.api.v2.route.CorsPolicy cors = 17;public RouteOuterClass.RouteAction.Builder setCors(RouteOuterClass.CorsPolicy.Builder builderForValue)
Indicates that the route has a CORS policy.
.envoy.api.v2.route.CorsPolicy cors = 17;public RouteOuterClass.RouteAction.Builder mergeCors(RouteOuterClass.CorsPolicy value)
Indicates that the route has a CORS policy.
.envoy.api.v2.route.CorsPolicy cors = 17;public RouteOuterClass.RouteAction.Builder clearCors()
Indicates that the route has a CORS policy.
.envoy.api.v2.route.CorsPolicy cors = 17;public RouteOuterClass.CorsPolicy.Builder getCorsBuilder()
Indicates that the route has a CORS policy.
.envoy.api.v2.route.CorsPolicy cors = 17;public RouteOuterClass.CorsPolicyOrBuilder getCorsOrBuilder()
Indicates that the route has a CORS policy.
.envoy.api.v2.route.CorsPolicy cors = 17;getCorsOrBuilder in interface RouteOuterClass.RouteActionOrBuilderpublic final RouteOuterClass.RouteAction.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteAction.Builder>public final RouteOuterClass.RouteAction.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteOuterClass.RouteAction.Builder>Copyright © 2018 The Envoy Project. All rights reserved.