public static final class InternalRedirectPolicy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InternalRedirectPolicy.Builder> implements InternalRedirectPolicyOrBuilder
HTTP Internal Redirect :ref:`architecture overview <arch_overview_internal_redirects>`.Protobuf type
envoy.config.route.v4alpha.InternalRedirectPolicy| Modifier and Type | Method and Description |
|---|---|
InternalRedirectPolicy.Builder |
addAllPredicates(Iterable<? extends TypedExtensionConfig> values)
Specifies a list of predicates that are queried when an upstream response is deemed
to trigger an internal redirect by all other criteria.
|
InternalRedirectPolicy.Builder |
addAllRedirectResponseCodes(Iterable<? extends Integer> values)
Defines what upstream response codes are allowed to trigger internal redirect.
|
InternalRedirectPolicy.Builder |
addPredicates(int index,
TypedExtensionConfig.Builder builderForValue)
Specifies a list of predicates that are queried when an upstream response is deemed
to trigger an internal redirect by all other criteria.
|
InternalRedirectPolicy.Builder |
addPredicates(int index,
TypedExtensionConfig value)
Specifies a list of predicates that are queried when an upstream response is deemed
to trigger an internal redirect by all other criteria.
|
InternalRedirectPolicy.Builder |
addPredicates(TypedExtensionConfig.Builder builderForValue)
Specifies a list of predicates that are queried when an upstream response is deemed
to trigger an internal redirect by all other criteria.
|
InternalRedirectPolicy.Builder |
addPredicates(TypedExtensionConfig value)
Specifies a list of predicates that are queried when an upstream response is deemed
to trigger an internal redirect by all other criteria.
|
TypedExtensionConfig.Builder |
addPredicatesBuilder()
Specifies a list of predicates that are queried when an upstream response is deemed
to trigger an internal redirect by all other criteria.
|
TypedExtensionConfig.Builder |
addPredicatesBuilder(int index)
Specifies a list of predicates that are queried when an upstream response is deemed
to trigger an internal redirect by all other criteria.
|
InternalRedirectPolicy.Builder |
addRedirectResponseCodes(int value)
Defines what upstream response codes are allowed to trigger internal redirect.
|
InternalRedirectPolicy.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InternalRedirectPolicy |
build() |
InternalRedirectPolicy |
buildPartial() |
InternalRedirectPolicy.Builder |
clear() |
InternalRedirectPolicy.Builder |
clearAllowCrossSchemeRedirect()
Allow internal redirect to follow a target URI with a different scheme than the value of
x-forwarded-proto.
|
InternalRedirectPolicy.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
InternalRedirectPolicy.Builder |
clearMaxInternalRedirects()
An internal redirect is not handled, unless the number of previous internal redirects that a
downstream request has encountered is lower than this value.
|
InternalRedirectPolicy.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
InternalRedirectPolicy.Builder |
clearPredicates()
Specifies a list of predicates that are queried when an upstream response is deemed
to trigger an internal redirect by all other criteria.
|
InternalRedirectPolicy.Builder |
clearRedirectResponseCodes()
Defines what upstream response codes are allowed to trigger internal redirect.
|
InternalRedirectPolicy.Builder |
clone() |
boolean |
getAllowCrossSchemeRedirect()
Allow internal redirect to follow a target URI with a different scheme than the value of
x-forwarded-proto.
|
InternalRedirectPolicy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.UInt32Value |
getMaxInternalRedirects()
An internal redirect is not handled, unless the number of previous internal redirects that a
downstream request has encountered is lower than this value.
|
com.google.protobuf.UInt32Value.Builder |
getMaxInternalRedirectsBuilder()
An internal redirect is not handled, unless the number of previous internal redirects that a
downstream request has encountered is lower than this value.
|
com.google.protobuf.UInt32ValueOrBuilder |
getMaxInternalRedirectsOrBuilder()
An internal redirect is not handled, unless the number of previous internal redirects that a
downstream request has encountered is lower than this value.
|
TypedExtensionConfig |
getPredicates(int index)
Specifies a list of predicates that are queried when an upstream response is deemed
to trigger an internal redirect by all other criteria.
|
TypedExtensionConfig.Builder |
getPredicatesBuilder(int index)
Specifies a list of predicates that are queried when an upstream response is deemed
to trigger an internal redirect by all other criteria.
|
List<TypedExtensionConfig.Builder> |
getPredicatesBuilderList()
Specifies a list of predicates that are queried when an upstream response is deemed
to trigger an internal redirect by all other criteria.
|
int |
getPredicatesCount()
Specifies a list of predicates that are queried when an upstream response is deemed
to trigger an internal redirect by all other criteria.
|
List<TypedExtensionConfig> |
getPredicatesList()
Specifies a list of predicates that are queried when an upstream response is deemed
to trigger an internal redirect by all other criteria.
|
TypedExtensionConfigOrBuilder |
getPredicatesOrBuilder(int index)
Specifies a list of predicates that are queried when an upstream response is deemed
to trigger an internal redirect by all other criteria.
|
List<? extends TypedExtensionConfigOrBuilder> |
getPredicatesOrBuilderList()
Specifies a list of predicates that are queried when an upstream response is deemed
to trigger an internal redirect by all other criteria.
|
int |
getRedirectResponseCodes(int index)
Defines what upstream response codes are allowed to trigger internal redirect.
|
int |
getRedirectResponseCodesCount()
Defines what upstream response codes are allowed to trigger internal redirect.
|
List<Integer> |
getRedirectResponseCodesList()
Defines what upstream response codes are allowed to trigger internal redirect.
|
boolean |
hasMaxInternalRedirects()
An internal redirect is not handled, unless the number of previous internal redirects that a
downstream request has encountered is lower than this value.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
InternalRedirectPolicy.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
InternalRedirectPolicy.Builder |
mergeFrom(InternalRedirectPolicy other) |
InternalRedirectPolicy.Builder |
mergeFrom(com.google.protobuf.Message other) |
InternalRedirectPolicy.Builder |
mergeMaxInternalRedirects(com.google.protobuf.UInt32Value value)
An internal redirect is not handled, unless the number of previous internal redirects that a
downstream request has encountered is lower than this value.
|
InternalRedirectPolicy.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
InternalRedirectPolicy.Builder |
removePredicates(int index)
Specifies a list of predicates that are queried when an upstream response is deemed
to trigger an internal redirect by all other criteria.
|
InternalRedirectPolicy.Builder |
setAllowCrossSchemeRedirect(boolean value)
Allow internal redirect to follow a target URI with a different scheme than the value of
x-forwarded-proto.
|
InternalRedirectPolicy.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InternalRedirectPolicy.Builder |
setMaxInternalRedirects(com.google.protobuf.UInt32Value.Builder builderForValue)
An internal redirect is not handled, unless the number of previous internal redirects that a
downstream request has encountered is lower than this value.
|
InternalRedirectPolicy.Builder |
setMaxInternalRedirects(com.google.protobuf.UInt32Value value)
An internal redirect is not handled, unless the number of previous internal redirects that a
downstream request has encountered is lower than this value.
|
InternalRedirectPolicy.Builder |
setPredicates(int index,
TypedExtensionConfig.Builder builderForValue)
Specifies a list of predicates that are queried when an upstream response is deemed
to trigger an internal redirect by all other criteria.
|
InternalRedirectPolicy.Builder |
setPredicates(int index,
TypedExtensionConfig value)
Specifies a list of predicates that are queried when an upstream response is deemed
to trigger an internal redirect by all other criteria.
|
InternalRedirectPolicy.Builder |
setRedirectResponseCodes(int index,
int value)
Defines what upstream response codes are allowed to trigger internal redirect.
|
InternalRedirectPolicy.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
InternalRedirectPolicy.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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<InternalRedirectPolicy.Builder>public InternalRedirectPolicy.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<InternalRedirectPolicy.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<InternalRedirectPolicy.Builder>public InternalRedirectPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic InternalRedirectPolicy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic InternalRedirectPolicy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic InternalRedirectPolicy.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<InternalRedirectPolicy.Builder>public InternalRedirectPolicy.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<InternalRedirectPolicy.Builder>public InternalRedirectPolicy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<InternalRedirectPolicy.Builder>public InternalRedirectPolicy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<InternalRedirectPolicy.Builder>public InternalRedirectPolicy.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<InternalRedirectPolicy.Builder>public InternalRedirectPolicy.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<InternalRedirectPolicy.Builder>public InternalRedirectPolicy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InternalRedirectPolicy.Builder>public InternalRedirectPolicy.Builder mergeFrom(InternalRedirectPolicy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InternalRedirectPolicy.Builder>public InternalRedirectPolicy.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<InternalRedirectPolicy.Builder>IOExceptionpublic boolean hasMaxInternalRedirects()
An internal redirect is not handled, unless the number of previous internal redirects that a downstream request has encountered is lower than this value. In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or does not set :ref:`internal_redirect_policy <envoy_api_field_config.route.v4alpha.RouteAction.internal_redirect_policy>` will pass the redirect back to downstream. If not specified, at most one redirect will be followed.
.google.protobuf.UInt32Value max_internal_redirects = 1;hasMaxInternalRedirects in interface InternalRedirectPolicyOrBuilderpublic com.google.protobuf.UInt32Value getMaxInternalRedirects()
An internal redirect is not handled, unless the number of previous internal redirects that a downstream request has encountered is lower than this value. In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or does not set :ref:`internal_redirect_policy <envoy_api_field_config.route.v4alpha.RouteAction.internal_redirect_policy>` will pass the redirect back to downstream. If not specified, at most one redirect will be followed.
.google.protobuf.UInt32Value max_internal_redirects = 1;getMaxInternalRedirects in interface InternalRedirectPolicyOrBuilderpublic InternalRedirectPolicy.Builder setMaxInternalRedirects(com.google.protobuf.UInt32Value value)
An internal redirect is not handled, unless the number of previous internal redirects that a downstream request has encountered is lower than this value. In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or does not set :ref:`internal_redirect_policy <envoy_api_field_config.route.v4alpha.RouteAction.internal_redirect_policy>` will pass the redirect back to downstream. If not specified, at most one redirect will be followed.
.google.protobuf.UInt32Value max_internal_redirects = 1;public InternalRedirectPolicy.Builder setMaxInternalRedirects(com.google.protobuf.UInt32Value.Builder builderForValue)
An internal redirect is not handled, unless the number of previous internal redirects that a downstream request has encountered is lower than this value. In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or does not set :ref:`internal_redirect_policy <envoy_api_field_config.route.v4alpha.RouteAction.internal_redirect_policy>` will pass the redirect back to downstream. If not specified, at most one redirect will be followed.
.google.protobuf.UInt32Value max_internal_redirects = 1;public InternalRedirectPolicy.Builder mergeMaxInternalRedirects(com.google.protobuf.UInt32Value value)
An internal redirect is not handled, unless the number of previous internal redirects that a downstream request has encountered is lower than this value. In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or does not set :ref:`internal_redirect_policy <envoy_api_field_config.route.v4alpha.RouteAction.internal_redirect_policy>` will pass the redirect back to downstream. If not specified, at most one redirect will be followed.
.google.protobuf.UInt32Value max_internal_redirects = 1;public InternalRedirectPolicy.Builder clearMaxInternalRedirects()
An internal redirect is not handled, unless the number of previous internal redirects that a downstream request has encountered is lower than this value. In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or does not set :ref:`internal_redirect_policy <envoy_api_field_config.route.v4alpha.RouteAction.internal_redirect_policy>` will pass the redirect back to downstream. If not specified, at most one redirect will be followed.
.google.protobuf.UInt32Value max_internal_redirects = 1;public com.google.protobuf.UInt32Value.Builder getMaxInternalRedirectsBuilder()
An internal redirect is not handled, unless the number of previous internal redirects that a downstream request has encountered is lower than this value. In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or does not set :ref:`internal_redirect_policy <envoy_api_field_config.route.v4alpha.RouteAction.internal_redirect_policy>` will pass the redirect back to downstream. If not specified, at most one redirect will be followed.
.google.protobuf.UInt32Value max_internal_redirects = 1;public com.google.protobuf.UInt32ValueOrBuilder getMaxInternalRedirectsOrBuilder()
An internal redirect is not handled, unless the number of previous internal redirects that a downstream request has encountered is lower than this value. In the case where a downstream request is bounced among multiple routes by internal redirect, the first route that hits this threshold, or does not set :ref:`internal_redirect_policy <envoy_api_field_config.route.v4alpha.RouteAction.internal_redirect_policy>` will pass the redirect back to downstream. If not specified, at most one redirect will be followed.
.google.protobuf.UInt32Value max_internal_redirects = 1;getMaxInternalRedirectsOrBuilder in interface InternalRedirectPolicyOrBuilderpublic List<Integer> getRedirectResponseCodesList()
Defines what upstream response codes are allowed to trigger internal redirect. If unspecified, only 302 will be treated as internal redirect. Only 301, 302, 303, 307 and 308 are valid values. Any other codes will be ignored.
repeated uint32 redirect_response_codes = 2 [(.validate.rules) = { ... }getRedirectResponseCodesList in interface InternalRedirectPolicyOrBuilderpublic int getRedirectResponseCodesCount()
Defines what upstream response codes are allowed to trigger internal redirect. If unspecified, only 302 will be treated as internal redirect. Only 301, 302, 303, 307 and 308 are valid values. Any other codes will be ignored.
repeated uint32 redirect_response_codes = 2 [(.validate.rules) = { ... }getRedirectResponseCodesCount in interface InternalRedirectPolicyOrBuilderpublic int getRedirectResponseCodes(int index)
Defines what upstream response codes are allowed to trigger internal redirect. If unspecified, only 302 will be treated as internal redirect. Only 301, 302, 303, 307 and 308 are valid values. Any other codes will be ignored.
repeated uint32 redirect_response_codes = 2 [(.validate.rules) = { ... }getRedirectResponseCodes in interface InternalRedirectPolicyOrBuilderpublic InternalRedirectPolicy.Builder setRedirectResponseCodes(int index, int value)
Defines what upstream response codes are allowed to trigger internal redirect. If unspecified, only 302 will be treated as internal redirect. Only 301, 302, 303, 307 and 308 are valid values. Any other codes will be ignored.
repeated uint32 redirect_response_codes = 2 [(.validate.rules) = { ... }public InternalRedirectPolicy.Builder addRedirectResponseCodes(int value)
Defines what upstream response codes are allowed to trigger internal redirect. If unspecified, only 302 will be treated as internal redirect. Only 301, 302, 303, 307 and 308 are valid values. Any other codes will be ignored.
repeated uint32 redirect_response_codes = 2 [(.validate.rules) = { ... }public InternalRedirectPolicy.Builder addAllRedirectResponseCodes(Iterable<? extends Integer> values)
Defines what upstream response codes are allowed to trigger internal redirect. If unspecified, only 302 will be treated as internal redirect. Only 301, 302, 303, 307 and 308 are valid values. Any other codes will be ignored.
repeated uint32 redirect_response_codes = 2 [(.validate.rules) = { ... }public InternalRedirectPolicy.Builder clearRedirectResponseCodes()
Defines what upstream response codes are allowed to trigger internal redirect. If unspecified, only 302 will be treated as internal redirect. Only 301, 302, 303, 307 and 308 are valid values. Any other codes will be ignored.
repeated uint32 redirect_response_codes = 2 [(.validate.rules) = { ... }public List<TypedExtensionConfig> getPredicatesList()
Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria. Any predicate in the list can reject the redirect, causing the response to be proxied to downstream.
repeated .envoy.config.core.v4alpha.TypedExtensionConfig predicates = 3;getPredicatesList in interface InternalRedirectPolicyOrBuilderpublic int getPredicatesCount()
Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria. Any predicate in the list can reject the redirect, causing the response to be proxied to downstream.
repeated .envoy.config.core.v4alpha.TypedExtensionConfig predicates = 3;getPredicatesCount in interface InternalRedirectPolicyOrBuilderpublic TypedExtensionConfig getPredicates(int index)
Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria. Any predicate in the list can reject the redirect, causing the response to be proxied to downstream.
repeated .envoy.config.core.v4alpha.TypedExtensionConfig predicates = 3;getPredicates in interface InternalRedirectPolicyOrBuilderpublic InternalRedirectPolicy.Builder setPredicates(int index, TypedExtensionConfig value)
Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria. Any predicate in the list can reject the redirect, causing the response to be proxied to downstream.
repeated .envoy.config.core.v4alpha.TypedExtensionConfig predicates = 3;public InternalRedirectPolicy.Builder setPredicates(int index, TypedExtensionConfig.Builder builderForValue)
Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria. Any predicate in the list can reject the redirect, causing the response to be proxied to downstream.
repeated .envoy.config.core.v4alpha.TypedExtensionConfig predicates = 3;public InternalRedirectPolicy.Builder addPredicates(TypedExtensionConfig value)
Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria. Any predicate in the list can reject the redirect, causing the response to be proxied to downstream.
repeated .envoy.config.core.v4alpha.TypedExtensionConfig predicates = 3;public InternalRedirectPolicy.Builder addPredicates(int index, TypedExtensionConfig value)
Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria. Any predicate in the list can reject the redirect, causing the response to be proxied to downstream.
repeated .envoy.config.core.v4alpha.TypedExtensionConfig predicates = 3;public InternalRedirectPolicy.Builder addPredicates(TypedExtensionConfig.Builder builderForValue)
Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria. Any predicate in the list can reject the redirect, causing the response to be proxied to downstream.
repeated .envoy.config.core.v4alpha.TypedExtensionConfig predicates = 3;public InternalRedirectPolicy.Builder addPredicates(int index, TypedExtensionConfig.Builder builderForValue)
Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria. Any predicate in the list can reject the redirect, causing the response to be proxied to downstream.
repeated .envoy.config.core.v4alpha.TypedExtensionConfig predicates = 3;public InternalRedirectPolicy.Builder addAllPredicates(Iterable<? extends TypedExtensionConfig> values)
Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria. Any predicate in the list can reject the redirect, causing the response to be proxied to downstream.
repeated .envoy.config.core.v4alpha.TypedExtensionConfig predicates = 3;public InternalRedirectPolicy.Builder clearPredicates()
Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria. Any predicate in the list can reject the redirect, causing the response to be proxied to downstream.
repeated .envoy.config.core.v4alpha.TypedExtensionConfig predicates = 3;public InternalRedirectPolicy.Builder removePredicates(int index)
Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria. Any predicate in the list can reject the redirect, causing the response to be proxied to downstream.
repeated .envoy.config.core.v4alpha.TypedExtensionConfig predicates = 3;public TypedExtensionConfig.Builder getPredicatesBuilder(int index)
Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria. Any predicate in the list can reject the redirect, causing the response to be proxied to downstream.
repeated .envoy.config.core.v4alpha.TypedExtensionConfig predicates = 3;public TypedExtensionConfigOrBuilder getPredicatesOrBuilder(int index)
Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria. Any predicate in the list can reject the redirect, causing the response to be proxied to downstream.
repeated .envoy.config.core.v4alpha.TypedExtensionConfig predicates = 3;getPredicatesOrBuilder in interface InternalRedirectPolicyOrBuilderpublic List<? extends TypedExtensionConfigOrBuilder> getPredicatesOrBuilderList()
Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria. Any predicate in the list can reject the redirect, causing the response to be proxied to downstream.
repeated .envoy.config.core.v4alpha.TypedExtensionConfig predicates = 3;getPredicatesOrBuilderList in interface InternalRedirectPolicyOrBuilderpublic TypedExtensionConfig.Builder addPredicatesBuilder()
Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria. Any predicate in the list can reject the redirect, causing the response to be proxied to downstream.
repeated .envoy.config.core.v4alpha.TypedExtensionConfig predicates = 3;public TypedExtensionConfig.Builder addPredicatesBuilder(int index)
Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria. Any predicate in the list can reject the redirect, causing the response to be proxied to downstream.
repeated .envoy.config.core.v4alpha.TypedExtensionConfig predicates = 3;public List<TypedExtensionConfig.Builder> getPredicatesBuilderList()
Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria. Any predicate in the list can reject the redirect, causing the response to be proxied to downstream.
repeated .envoy.config.core.v4alpha.TypedExtensionConfig predicates = 3;public boolean getAllowCrossSchemeRedirect()
Allow internal redirect to follow a target URI with a different scheme than the value of x-forwarded-proto. The default is false.
bool allow_cross_scheme_redirect = 4;getAllowCrossSchemeRedirect in interface InternalRedirectPolicyOrBuilderpublic InternalRedirectPolicy.Builder setAllowCrossSchemeRedirect(boolean value)
Allow internal redirect to follow a target URI with a different scheme than the value of x-forwarded-proto. The default is false.
bool allow_cross_scheme_redirect = 4;public InternalRedirectPolicy.Builder clearAllowCrossSchemeRedirect()
Allow internal redirect to follow a target URI with a different scheme than the value of x-forwarded-proto. The default is false.
bool allow_cross_scheme_redirect = 4;public final InternalRedirectPolicy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InternalRedirectPolicy.Builder>public final InternalRedirectPolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InternalRedirectPolicy.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.