Class InternalRedirectPolicy.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<InternalRedirectPolicy.Builder>
-
- io.envoyproxy.envoy.config.route.v3.InternalRedirectPolicy.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,InternalRedirectPolicyOrBuilder,Cloneable
- Enclosing class:
- InternalRedirectPolicy
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 typeenvoy.config.route.v3.InternalRedirectPolicy
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InternalRedirectPolicy.BuilderaddAllPredicates(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.BuilderaddAllRedirectResponseCodes(Iterable<? extends Integer> values)Defines what upstream response codes are allowed to trigger internal redirect.InternalRedirectPolicy.BuilderaddPredicates(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.BuilderaddPredicates(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.BuilderaddPredicates(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.BuilderaddPredicates(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.TypedExtensionConfig.BuilderaddPredicatesBuilder()Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria.TypedExtensionConfig.BuilderaddPredicatesBuilder(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.BuilderaddRedirectResponseCodes(int value)Defines what upstream response codes are allowed to trigger internal redirect.InternalRedirectPolicy.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InternalRedirectPolicybuild()InternalRedirectPolicybuildPartial()InternalRedirectPolicy.Builderclear()InternalRedirectPolicy.BuilderclearAllowCrossSchemeRedirect()Allow internal redirect to follow a target URI with a different scheme than the value of x-forwarded-proto.InternalRedirectPolicy.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)InternalRedirectPolicy.BuilderclearMaxInternalRedirects()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.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)InternalRedirectPolicy.BuilderclearPredicates()Specifies a list of predicates that are queried when an upstream response is deemed to trigger an internal redirect by all other criteria.InternalRedirectPolicy.BuilderclearRedirectResponseCodes()Defines what upstream response codes are allowed to trigger internal redirect.InternalRedirectPolicy.Builderclone()booleangetAllowCrossSchemeRedirect()Allow internal redirect to follow a target URI with a different scheme than the value of x-forwarded-proto.InternalRedirectPolicygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.UInt32ValuegetMaxInternalRedirects()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.BuildergetMaxInternalRedirectsBuilder()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.UInt32ValueOrBuildergetMaxInternalRedirectsOrBuilder()An internal redirect is not handled, unless the number of previous internal redirects that a downstream request has encountered is lower than this value.TypedExtensionConfiggetPredicates(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.BuildergetPredicatesBuilder(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.intgetPredicatesCount()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.TypedExtensionConfigOrBuildergetPredicatesOrBuilder(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.intgetRedirectResponseCodes(int index)Defines what upstream response codes are allowed to trigger internal redirect.intgetRedirectResponseCodesCount()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.booleanhasMaxInternalRedirects()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.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()InternalRedirectPolicy.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)InternalRedirectPolicy.BuildermergeFrom(com.google.protobuf.Message other)InternalRedirectPolicy.BuildermergeFrom(InternalRedirectPolicy other)InternalRedirectPolicy.BuildermergeMaxInternalRedirects(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.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)InternalRedirectPolicy.BuilderremovePredicates(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.BuildersetAllowCrossSchemeRedirect(boolean value)Allow internal redirect to follow a target URI with a different scheme than the value of x-forwarded-proto.InternalRedirectPolicy.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InternalRedirectPolicy.BuildersetMaxInternalRedirects(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.BuildersetMaxInternalRedirects(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.BuildersetPredicates(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.BuildersetPredicates(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.BuildersetRedirectResponseCodes(int index, int value)Defines what upstream response codes are allowed to trigger internal redirect.InternalRedirectPolicy.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)InternalRedirectPolicy.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<InternalRedirectPolicy.Builder>
-
clear
public InternalRedirectPolicy.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<InternalRedirectPolicy.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<InternalRedirectPolicy.Builder>
-
getDefaultInstanceForType
public InternalRedirectPolicy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public InternalRedirectPolicy build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InternalRedirectPolicy buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InternalRedirectPolicy.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<InternalRedirectPolicy.Builder>
-
setField
public InternalRedirectPolicy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InternalRedirectPolicy.Builder>
-
clearField
public InternalRedirectPolicy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InternalRedirectPolicy.Builder>
-
clearOneof
public InternalRedirectPolicy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<InternalRedirectPolicy.Builder>
-
setRepeatedField
public InternalRedirectPolicy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InternalRedirectPolicy.Builder>
-
addRepeatedField
public InternalRedirectPolicy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InternalRedirectPolicy.Builder>
-
mergeFrom
public InternalRedirectPolicy.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InternalRedirectPolicy.Builder>
-
mergeFrom
public InternalRedirectPolicy.Builder mergeFrom(InternalRedirectPolicy other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<InternalRedirectPolicy.Builder>
-
mergeFrom
public InternalRedirectPolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InternalRedirectPolicy.Builder>- Throws:
IOException
-
hasMaxInternalRedirects
public 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_v3_api_field_config.route.v3.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;- Specified by:
hasMaxInternalRedirectsin interfaceInternalRedirectPolicyOrBuilder- Returns:
- Whether the maxInternalRedirects field is set.
-
getMaxInternalRedirects
public 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_v3_api_field_config.route.v3.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;- Specified by:
getMaxInternalRedirectsin interfaceInternalRedirectPolicyOrBuilder- Returns:
- The maxInternalRedirects.
-
setMaxInternalRedirects
public 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_v3_api_field_config.route.v3.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;
-
setMaxInternalRedirects
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_v3_api_field_config.route.v3.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;
-
mergeMaxInternalRedirects
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_v3_api_field_config.route.v3.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;
-
clearMaxInternalRedirects
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_v3_api_field_config.route.v3.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;
-
getMaxInternalRedirectsBuilder
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_v3_api_field_config.route.v3.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
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_v3_api_field_config.route.v3.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;- Specified by:
getMaxInternalRedirectsOrBuilderin interfaceInternalRedirectPolicyOrBuilder
-
getRedirectResponseCodesList
public 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) = { ... }- Specified by:
getRedirectResponseCodesListin interfaceInternalRedirectPolicyOrBuilder- Returns:
- A list containing the redirectResponseCodes.
-
getRedirectResponseCodesCount
public 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) = { ... }- Specified by:
getRedirectResponseCodesCountin interfaceInternalRedirectPolicyOrBuilder- Returns:
- The count of redirectResponseCodes.
-
getRedirectResponseCodes
public 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) = { ... }- Specified by:
getRedirectResponseCodesin interfaceInternalRedirectPolicyOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The redirectResponseCodes at the given index.
-
setRedirectResponseCodes
public 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) = { ... }- Parameters:
index- The index to set the value at.value- The redirectResponseCodes to set.- Returns:
- This builder for chaining.
-
addRedirectResponseCodes
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) = { ... }- Parameters:
value- The redirectResponseCodes to add.- Returns:
- This builder for chaining.
-
addAllRedirectResponseCodes
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) = { ... }- Parameters:
values- The redirectResponseCodes to add.- Returns:
- This builder for chaining.
-
clearRedirectResponseCodes
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) = { ... }- Returns:
- This builder for chaining.
-
getPredicatesList
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. [#extension-category: envoy.internal_redirect_predicates]
repeated .envoy.config.core.v3.TypedExtensionConfig predicates = 3;- Specified by:
getPredicatesListin interfaceInternalRedirectPolicyOrBuilder
-
getPredicatesCount
public 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. [#extension-category: envoy.internal_redirect_predicates]
repeated .envoy.config.core.v3.TypedExtensionConfig predicates = 3;- Specified by:
getPredicatesCountin interfaceInternalRedirectPolicyOrBuilder
-
getPredicates
public 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. [#extension-category: envoy.internal_redirect_predicates]
repeated .envoy.config.core.v3.TypedExtensionConfig predicates = 3;- Specified by:
getPredicatesin interfaceInternalRedirectPolicyOrBuilder
-
setPredicates
public 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. [#extension-category: envoy.internal_redirect_predicates]
repeated .envoy.config.core.v3.TypedExtensionConfig predicates = 3;
-
setPredicates
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. [#extension-category: envoy.internal_redirect_predicates]
repeated .envoy.config.core.v3.TypedExtensionConfig predicates = 3;
-
addPredicates
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. [#extension-category: envoy.internal_redirect_predicates]
repeated .envoy.config.core.v3.TypedExtensionConfig predicates = 3;
-
addPredicates
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. [#extension-category: envoy.internal_redirect_predicates]
repeated .envoy.config.core.v3.TypedExtensionConfig predicates = 3;
-
addPredicates
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. [#extension-category: envoy.internal_redirect_predicates]
repeated .envoy.config.core.v3.TypedExtensionConfig predicates = 3;
-
addPredicates
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. [#extension-category: envoy.internal_redirect_predicates]
repeated .envoy.config.core.v3.TypedExtensionConfig predicates = 3;
-
addAllPredicates
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. [#extension-category: envoy.internal_redirect_predicates]
repeated .envoy.config.core.v3.TypedExtensionConfig predicates = 3;
-
clearPredicates
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. [#extension-category: envoy.internal_redirect_predicates]
repeated .envoy.config.core.v3.TypedExtensionConfig predicates = 3;
-
removePredicates
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. [#extension-category: envoy.internal_redirect_predicates]
repeated .envoy.config.core.v3.TypedExtensionConfig predicates = 3;
-
getPredicatesBuilder
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. [#extension-category: envoy.internal_redirect_predicates]
repeated .envoy.config.core.v3.TypedExtensionConfig predicates = 3;
-
getPredicatesOrBuilder
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. [#extension-category: envoy.internal_redirect_predicates]
repeated .envoy.config.core.v3.TypedExtensionConfig predicates = 3;- Specified by:
getPredicatesOrBuilderin interfaceInternalRedirectPolicyOrBuilder
-
getPredicatesOrBuilderList
public 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. [#extension-category: envoy.internal_redirect_predicates]
repeated .envoy.config.core.v3.TypedExtensionConfig predicates = 3;- Specified by:
getPredicatesOrBuilderListin interfaceInternalRedirectPolicyOrBuilder
-
addPredicatesBuilder
public 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. [#extension-category: envoy.internal_redirect_predicates]
repeated .envoy.config.core.v3.TypedExtensionConfig predicates = 3;
-
addPredicatesBuilder
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. [#extension-category: envoy.internal_redirect_predicates]
repeated .envoy.config.core.v3.TypedExtensionConfig predicates = 3;
-
getPredicatesBuilderList
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. [#extension-category: envoy.internal_redirect_predicates]
repeated .envoy.config.core.v3.TypedExtensionConfig predicates = 3;
-
getAllowCrossSchemeRedirect
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;- Specified by:
getAllowCrossSchemeRedirectin interfaceInternalRedirectPolicyOrBuilder- Returns:
- The allowCrossSchemeRedirect.
-
setAllowCrossSchemeRedirect
public 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;- Parameters:
value- The allowCrossSchemeRedirect to set.- Returns:
- This builder for chaining.
-
clearAllowCrossSchemeRedirect
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;- Returns:
- This builder for chaining.
-
setUnknownFields
public final InternalRedirectPolicy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InternalRedirectPolicy.Builder>
-
mergeUnknownFields
public final InternalRedirectPolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InternalRedirectPolicy.Builder>
-
-