Class CsrfPolicy.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CsrfPolicy.Builder>
-
- io.envoyproxy.envoy.config.filter.http.csrf.v2.CsrfPolicy.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CsrfPolicyOrBuilder,Cloneable
- Enclosing class:
- CsrfPolicy
public static final class CsrfPolicy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CsrfPolicy.Builder> implements CsrfPolicyOrBuilder
CSRF filter config.
Protobuf typeenvoy.config.filter.http.csrf.v2.CsrfPolicy
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CsrfPolicy.BuilderaddAdditionalOrigins(int index, StringMatcher value)Specifies additional source origins that will be allowed in addition to the destination origin.CsrfPolicy.BuilderaddAdditionalOrigins(int index, StringMatcher.Builder builderForValue)Specifies additional source origins that will be allowed in addition to the destination origin.CsrfPolicy.BuilderaddAdditionalOrigins(StringMatcher value)Specifies additional source origins that will be allowed in addition to the destination origin.CsrfPolicy.BuilderaddAdditionalOrigins(StringMatcher.Builder builderForValue)Specifies additional source origins that will be allowed in addition to the destination origin.StringMatcher.BuilderaddAdditionalOriginsBuilder()Specifies additional source origins that will be allowed in addition to the destination origin.StringMatcher.BuilderaddAdditionalOriginsBuilder(int index)Specifies additional source origins that will be allowed in addition to the destination origin.CsrfPolicy.BuilderaddAllAdditionalOrigins(Iterable<? extends StringMatcher> values)Specifies additional source origins that will be allowed in addition to the destination origin.CsrfPolicy.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CsrfPolicybuild()CsrfPolicybuildPartial()CsrfPolicy.Builderclear()CsrfPolicy.BuilderclearAdditionalOrigins()Specifies additional source origins that will be allowed in addition to the destination origin.CsrfPolicy.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)CsrfPolicy.BuilderclearFilterEnabled()Specifies the % of requests for which the CSRF filter is enabled.CsrfPolicy.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)CsrfPolicy.BuilderclearShadowEnabled()Specifies that CSRF policies will be evaluated and tracked, but not enforced.CsrfPolicy.Builderclone()StringMatchergetAdditionalOrigins(int index)Specifies additional source origins that will be allowed in addition to the destination origin.StringMatcher.BuildergetAdditionalOriginsBuilder(int index)Specifies additional source origins that will be allowed in addition to the destination origin.List<StringMatcher.Builder>getAdditionalOriginsBuilderList()Specifies additional source origins that will be allowed in addition to the destination origin.intgetAdditionalOriginsCount()Specifies additional source origins that will be allowed in addition to the destination origin.List<StringMatcher>getAdditionalOriginsList()Specifies additional source origins that will be allowed in addition to the destination origin.StringMatcherOrBuildergetAdditionalOriginsOrBuilder(int index)Specifies additional source origins that will be allowed in addition to the destination origin.List<? extends StringMatcherOrBuilder>getAdditionalOriginsOrBuilderList()Specifies additional source origins that will be allowed in addition to the destination origin.CsrfPolicygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()RuntimeFractionalPercentgetFilterEnabled()Specifies the % of requests for which the CSRF filter is enabled.RuntimeFractionalPercent.BuildergetFilterEnabledBuilder()Specifies the % of requests for which the CSRF filter is enabled.RuntimeFractionalPercentOrBuildergetFilterEnabledOrBuilder()Specifies the % of requests for which the CSRF filter is enabled.RuntimeFractionalPercentgetShadowEnabled()Specifies that CSRF policies will be evaluated and tracked, but not enforced.RuntimeFractionalPercent.BuildergetShadowEnabledBuilder()Specifies that CSRF policies will be evaluated and tracked, but not enforced.RuntimeFractionalPercentOrBuildergetShadowEnabledOrBuilder()Specifies that CSRF policies will be evaluated and tracked, but not enforced.booleanhasFilterEnabled()Specifies the % of requests for which the CSRF filter is enabled.booleanhasShadowEnabled()Specifies that CSRF policies will be evaluated and tracked, but not enforced.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()CsrfPolicy.BuildermergeFilterEnabled(RuntimeFractionalPercent value)Specifies the % of requests for which the CSRF filter is enabled.CsrfPolicy.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)CsrfPolicy.BuildermergeFrom(com.google.protobuf.Message other)CsrfPolicy.BuildermergeFrom(CsrfPolicy other)CsrfPolicy.BuildermergeShadowEnabled(RuntimeFractionalPercent value)Specifies that CSRF policies will be evaluated and tracked, but not enforced.CsrfPolicy.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)CsrfPolicy.BuilderremoveAdditionalOrigins(int index)Specifies additional source origins that will be allowed in addition to the destination origin.CsrfPolicy.BuildersetAdditionalOrigins(int index, StringMatcher value)Specifies additional source origins that will be allowed in addition to the destination origin.CsrfPolicy.BuildersetAdditionalOrigins(int index, StringMatcher.Builder builderForValue)Specifies additional source origins that will be allowed in addition to the destination origin.CsrfPolicy.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)CsrfPolicy.BuildersetFilterEnabled(RuntimeFractionalPercent value)Specifies the % of requests for which the CSRF filter is enabled.CsrfPolicy.BuildersetFilterEnabled(RuntimeFractionalPercent.Builder builderForValue)Specifies the % of requests for which the CSRF filter is enabled.CsrfPolicy.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)CsrfPolicy.BuildersetShadowEnabled(RuntimeFractionalPercent value)Specifies that CSRF policies will be evaluated and tracked, but not enforced.CsrfPolicy.BuildersetShadowEnabled(RuntimeFractionalPercent.Builder builderForValue)Specifies that CSRF policies will be evaluated and tracked, but not enforced.CsrfPolicy.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<CsrfPolicy.Builder>
-
clear
public CsrfPolicy.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<CsrfPolicy.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<CsrfPolicy.Builder>
-
getDefaultInstanceForType
public CsrfPolicy getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public CsrfPolicy build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CsrfPolicy buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CsrfPolicy.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<CsrfPolicy.Builder>
-
setField
public CsrfPolicy.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<CsrfPolicy.Builder>
-
clearField
public CsrfPolicy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CsrfPolicy.Builder>
-
clearOneof
public CsrfPolicy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CsrfPolicy.Builder>
-
setRepeatedField
public CsrfPolicy.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<CsrfPolicy.Builder>
-
addRepeatedField
public CsrfPolicy.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<CsrfPolicy.Builder>
-
mergeFrom
public CsrfPolicy.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CsrfPolicy.Builder>
-
mergeFrom
public CsrfPolicy.Builder mergeFrom(CsrfPolicy other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CsrfPolicy.Builder>
-
mergeFrom
public CsrfPolicy.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<CsrfPolicy.Builder>- Throws:
IOException
-
hasFilterEnabled
public boolean hasFilterEnabled()
Specifies the % of requests for which the CSRF filter is enabled. If :ref:`runtime_key <envoy_api_field_core.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent filter_enabled = 1 [(.validate.rules) = { ... }- Specified by:
hasFilterEnabledin interfaceCsrfPolicyOrBuilder- Returns:
- Whether the filterEnabled field is set.
-
getFilterEnabled
public RuntimeFractionalPercent getFilterEnabled()
Specifies the % of requests for which the CSRF filter is enabled. If :ref:`runtime_key <envoy_api_field_core.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent filter_enabled = 1 [(.validate.rules) = { ... }- Specified by:
getFilterEnabledin interfaceCsrfPolicyOrBuilder- Returns:
- The filterEnabled.
-
setFilterEnabled
public CsrfPolicy.Builder setFilterEnabled(RuntimeFractionalPercent value)
Specifies the % of requests for which the CSRF filter is enabled. If :ref:`runtime_key <envoy_api_field_core.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent filter_enabled = 1 [(.validate.rules) = { ... }
-
setFilterEnabled
public CsrfPolicy.Builder setFilterEnabled(RuntimeFractionalPercent.Builder builderForValue)
Specifies the % of requests for which the CSRF filter is enabled. If :ref:`runtime_key <envoy_api_field_core.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent filter_enabled = 1 [(.validate.rules) = { ... }
-
mergeFilterEnabled
public CsrfPolicy.Builder mergeFilterEnabled(RuntimeFractionalPercent value)
Specifies the % of requests for which the CSRF filter is enabled. If :ref:`runtime_key <envoy_api_field_core.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent filter_enabled = 1 [(.validate.rules) = { ... }
-
clearFilterEnabled
public CsrfPolicy.Builder clearFilterEnabled()
Specifies the % of requests for which the CSRF filter is enabled. If :ref:`runtime_key <envoy_api_field_core.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent filter_enabled = 1 [(.validate.rules) = { ... }
-
getFilterEnabledBuilder
public RuntimeFractionalPercent.Builder getFilterEnabledBuilder()
Specifies the % of requests for which the CSRF filter is enabled. If :ref:`runtime_key <envoy_api_field_core.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent filter_enabled = 1 [(.validate.rules) = { ... }
-
getFilterEnabledOrBuilder
public RuntimeFractionalPercentOrBuilder getFilterEnabledOrBuilder()
Specifies the % of requests for which the CSRF filter is enabled. If :ref:`runtime_key <envoy_api_field_core.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent filter_enabled = 1 [(.validate.rules) = { ... }- Specified by:
getFilterEnabledOrBuilderin interfaceCsrfPolicyOrBuilder
-
hasShadowEnabled
public boolean hasShadowEnabled()
Specifies that CSRF policies will be evaluated and tracked, but not enforced. This is intended to be used when ``filter_enabled`` is off and will be ignored otherwise. If :ref:`runtime_key <envoy_api_field_core.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests for which it will evaluate and track the request's *Origin* and *Destination* to determine if it's valid, but will not enforce any policies.
.envoy.api.v2.core.RuntimeFractionalPercent shadow_enabled = 2;- Specified by:
hasShadowEnabledin interfaceCsrfPolicyOrBuilder- Returns:
- Whether the shadowEnabled field is set.
-
getShadowEnabled
public RuntimeFractionalPercent getShadowEnabled()
Specifies that CSRF policies will be evaluated and tracked, but not enforced. This is intended to be used when ``filter_enabled`` is off and will be ignored otherwise. If :ref:`runtime_key <envoy_api_field_core.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests for which it will evaluate and track the request's *Origin* and *Destination* to determine if it's valid, but will not enforce any policies.
.envoy.api.v2.core.RuntimeFractionalPercent shadow_enabled = 2;- Specified by:
getShadowEnabledin interfaceCsrfPolicyOrBuilder- Returns:
- The shadowEnabled.
-
setShadowEnabled
public CsrfPolicy.Builder setShadowEnabled(RuntimeFractionalPercent value)
Specifies that CSRF policies will be evaluated and tracked, but not enforced. This is intended to be used when ``filter_enabled`` is off and will be ignored otherwise. If :ref:`runtime_key <envoy_api_field_core.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests for which it will evaluate and track the request's *Origin* and *Destination* to determine if it's valid, but will not enforce any policies.
.envoy.api.v2.core.RuntimeFractionalPercent shadow_enabled = 2;
-
setShadowEnabled
public CsrfPolicy.Builder setShadowEnabled(RuntimeFractionalPercent.Builder builderForValue)
Specifies that CSRF policies will be evaluated and tracked, but not enforced. This is intended to be used when ``filter_enabled`` is off and will be ignored otherwise. If :ref:`runtime_key <envoy_api_field_core.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests for which it will evaluate and track the request's *Origin* and *Destination* to determine if it's valid, but will not enforce any policies.
.envoy.api.v2.core.RuntimeFractionalPercent shadow_enabled = 2;
-
mergeShadowEnabled
public CsrfPolicy.Builder mergeShadowEnabled(RuntimeFractionalPercent value)
Specifies that CSRF policies will be evaluated and tracked, but not enforced. This is intended to be used when ``filter_enabled`` is off and will be ignored otherwise. If :ref:`runtime_key <envoy_api_field_core.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests for which it will evaluate and track the request's *Origin* and *Destination* to determine if it's valid, but will not enforce any policies.
.envoy.api.v2.core.RuntimeFractionalPercent shadow_enabled = 2;
-
clearShadowEnabled
public CsrfPolicy.Builder clearShadowEnabled()
Specifies that CSRF policies will be evaluated and tracked, but not enforced. This is intended to be used when ``filter_enabled`` is off and will be ignored otherwise. If :ref:`runtime_key <envoy_api_field_core.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests for which it will evaluate and track the request's *Origin* and *Destination* to determine if it's valid, but will not enforce any policies.
.envoy.api.v2.core.RuntimeFractionalPercent shadow_enabled = 2;
-
getShadowEnabledBuilder
public RuntimeFractionalPercent.Builder getShadowEnabledBuilder()
Specifies that CSRF policies will be evaluated and tracked, but not enforced. This is intended to be used when ``filter_enabled`` is off and will be ignored otherwise. If :ref:`runtime_key <envoy_api_field_core.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests for which it will evaluate and track the request's *Origin* and *Destination* to determine if it's valid, but will not enforce any policies.
.envoy.api.v2.core.RuntimeFractionalPercent shadow_enabled = 2;
-
getShadowEnabledOrBuilder
public RuntimeFractionalPercentOrBuilder getShadowEnabledOrBuilder()
Specifies that CSRF policies will be evaluated and tracked, but not enforced. This is intended to be used when ``filter_enabled`` is off and will be ignored otherwise. If :ref:`runtime_key <envoy_api_field_core.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests for which it will evaluate and track the request's *Origin* and *Destination* to determine if it's valid, but will not enforce any policies.
.envoy.api.v2.core.RuntimeFractionalPercent shadow_enabled = 2;- Specified by:
getShadowEnabledOrBuilderin interfaceCsrfPolicyOrBuilder
-
getAdditionalOriginsList
public List<StringMatcher> getAdditionalOriginsList()
Specifies additional source origins that will be allowed in addition to the destination origin. More information on how this can be configured via runtime can be found :ref:`here <csrf-configuration>`.
repeated .envoy.type.matcher.StringMatcher additional_origins = 3;- Specified by:
getAdditionalOriginsListin interfaceCsrfPolicyOrBuilder
-
getAdditionalOriginsCount
public int getAdditionalOriginsCount()
Specifies additional source origins that will be allowed in addition to the destination origin. More information on how this can be configured via runtime can be found :ref:`here <csrf-configuration>`.
repeated .envoy.type.matcher.StringMatcher additional_origins = 3;- Specified by:
getAdditionalOriginsCountin interfaceCsrfPolicyOrBuilder
-
getAdditionalOrigins
public StringMatcher getAdditionalOrigins(int index)
Specifies additional source origins that will be allowed in addition to the destination origin. More information on how this can be configured via runtime can be found :ref:`here <csrf-configuration>`.
repeated .envoy.type.matcher.StringMatcher additional_origins = 3;- Specified by:
getAdditionalOriginsin interfaceCsrfPolicyOrBuilder
-
setAdditionalOrigins
public CsrfPolicy.Builder setAdditionalOrigins(int index, StringMatcher value)
Specifies additional source origins that will be allowed in addition to the destination origin. More information on how this can be configured via runtime can be found :ref:`here <csrf-configuration>`.
repeated .envoy.type.matcher.StringMatcher additional_origins = 3;
-
setAdditionalOrigins
public CsrfPolicy.Builder setAdditionalOrigins(int index, StringMatcher.Builder builderForValue)
Specifies additional source origins that will be allowed in addition to the destination origin. More information on how this can be configured via runtime can be found :ref:`here <csrf-configuration>`.
repeated .envoy.type.matcher.StringMatcher additional_origins = 3;
-
addAdditionalOrigins
public CsrfPolicy.Builder addAdditionalOrigins(StringMatcher value)
Specifies additional source origins that will be allowed in addition to the destination origin. More information on how this can be configured via runtime can be found :ref:`here <csrf-configuration>`.
repeated .envoy.type.matcher.StringMatcher additional_origins = 3;
-
addAdditionalOrigins
public CsrfPolicy.Builder addAdditionalOrigins(int index, StringMatcher value)
Specifies additional source origins that will be allowed in addition to the destination origin. More information on how this can be configured via runtime can be found :ref:`here <csrf-configuration>`.
repeated .envoy.type.matcher.StringMatcher additional_origins = 3;
-
addAdditionalOrigins
public CsrfPolicy.Builder addAdditionalOrigins(StringMatcher.Builder builderForValue)
Specifies additional source origins that will be allowed in addition to the destination origin. More information on how this can be configured via runtime can be found :ref:`here <csrf-configuration>`.
repeated .envoy.type.matcher.StringMatcher additional_origins = 3;
-
addAdditionalOrigins
public CsrfPolicy.Builder addAdditionalOrigins(int index, StringMatcher.Builder builderForValue)
Specifies additional source origins that will be allowed in addition to the destination origin. More information on how this can be configured via runtime can be found :ref:`here <csrf-configuration>`.
repeated .envoy.type.matcher.StringMatcher additional_origins = 3;
-
addAllAdditionalOrigins
public CsrfPolicy.Builder addAllAdditionalOrigins(Iterable<? extends StringMatcher> values)
Specifies additional source origins that will be allowed in addition to the destination origin. More information on how this can be configured via runtime can be found :ref:`here <csrf-configuration>`.
repeated .envoy.type.matcher.StringMatcher additional_origins = 3;
-
clearAdditionalOrigins
public CsrfPolicy.Builder clearAdditionalOrigins()
Specifies additional source origins that will be allowed in addition to the destination origin. More information on how this can be configured via runtime can be found :ref:`here <csrf-configuration>`.
repeated .envoy.type.matcher.StringMatcher additional_origins = 3;
-
removeAdditionalOrigins
public CsrfPolicy.Builder removeAdditionalOrigins(int index)
Specifies additional source origins that will be allowed in addition to the destination origin. More information on how this can be configured via runtime can be found :ref:`here <csrf-configuration>`.
repeated .envoy.type.matcher.StringMatcher additional_origins = 3;
-
getAdditionalOriginsBuilder
public StringMatcher.Builder getAdditionalOriginsBuilder(int index)
Specifies additional source origins that will be allowed in addition to the destination origin. More information on how this can be configured via runtime can be found :ref:`here <csrf-configuration>`.
repeated .envoy.type.matcher.StringMatcher additional_origins = 3;
-
getAdditionalOriginsOrBuilder
public StringMatcherOrBuilder getAdditionalOriginsOrBuilder(int index)
Specifies additional source origins that will be allowed in addition to the destination origin. More information on how this can be configured via runtime can be found :ref:`here <csrf-configuration>`.
repeated .envoy.type.matcher.StringMatcher additional_origins = 3;- Specified by:
getAdditionalOriginsOrBuilderin interfaceCsrfPolicyOrBuilder
-
getAdditionalOriginsOrBuilderList
public List<? extends StringMatcherOrBuilder> getAdditionalOriginsOrBuilderList()
Specifies additional source origins that will be allowed in addition to the destination origin. More information on how this can be configured via runtime can be found :ref:`here <csrf-configuration>`.
repeated .envoy.type.matcher.StringMatcher additional_origins = 3;- Specified by:
getAdditionalOriginsOrBuilderListin interfaceCsrfPolicyOrBuilder
-
addAdditionalOriginsBuilder
public StringMatcher.Builder addAdditionalOriginsBuilder()
Specifies additional source origins that will be allowed in addition to the destination origin. More information on how this can be configured via runtime can be found :ref:`here <csrf-configuration>`.
repeated .envoy.type.matcher.StringMatcher additional_origins = 3;
-
addAdditionalOriginsBuilder
public StringMatcher.Builder addAdditionalOriginsBuilder(int index)
Specifies additional source origins that will be allowed in addition to the destination origin. More information on how this can be configured via runtime can be found :ref:`here <csrf-configuration>`.
repeated .envoy.type.matcher.StringMatcher additional_origins = 3;
-
getAdditionalOriginsBuilderList
public List<StringMatcher.Builder> getAdditionalOriginsBuilderList()
Specifies additional source origins that will be allowed in addition to the destination origin. More information on how this can be configured via runtime can be found :ref:`here <csrf-configuration>`.
repeated .envoy.type.matcher.StringMatcher additional_origins = 3;
-
setUnknownFields
public final CsrfPolicy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CsrfPolicy.Builder>
-
mergeUnknownFields
public final CsrfPolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CsrfPolicy.Builder>
-
-