public static final class CorsPolicy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CorsPolicy.Builder> implements CorsPolicyOrBuilder
[#next-free-field: 12]Protobuf type
envoy.config.route.v3.CorsPolicy| Modifier and Type | Method and Description |
|---|---|
CorsPolicy.Builder |
addAllAllowOriginStringMatch(Iterable<? extends StringMatcher> values)
Specifies string patterns that match allowed origins.
|
CorsPolicy.Builder |
addAllowOriginStringMatch(int index,
StringMatcher.Builder builderForValue)
Specifies string patterns that match allowed origins.
|
CorsPolicy.Builder |
addAllowOriginStringMatch(int index,
StringMatcher value)
Specifies string patterns that match allowed origins.
|
CorsPolicy.Builder |
addAllowOriginStringMatch(StringMatcher.Builder builderForValue)
Specifies string patterns that match allowed origins.
|
CorsPolicy.Builder |
addAllowOriginStringMatch(StringMatcher value)
Specifies string patterns that match allowed origins.
|
StringMatcher.Builder |
addAllowOriginStringMatchBuilder()
Specifies string patterns that match allowed origins.
|
StringMatcher.Builder |
addAllowOriginStringMatchBuilder(int index)
Specifies string patterns that match allowed origins.
|
CorsPolicy.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CorsPolicy |
build() |
CorsPolicy |
buildPartial() |
CorsPolicy.Builder |
clear() |
CorsPolicy.Builder |
clearAllowCredentials()
Specifies whether the resource allows credentials.
|
CorsPolicy.Builder |
clearAllowHeaders()
Specifies the content for the *access-control-allow-headers* header.
|
CorsPolicy.Builder |
clearAllowMethods()
Specifies the content for the *access-control-allow-methods* header.
|
CorsPolicy.Builder |
clearAllowOriginStringMatch()
Specifies string patterns that match allowed origins.
|
CorsPolicy.Builder |
clearEnabledSpecifier() |
CorsPolicy.Builder |
clearExposeHeaders()
Specifies the content for the *access-control-expose-headers* header.
|
CorsPolicy.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CorsPolicy.Builder |
clearFilterEnabled()
Specifies the % of requests for which the CORS filter is enabled.
|
CorsPolicy.Builder |
clearMaxAge()
Specifies the content for the *access-control-max-age* header.
|
CorsPolicy.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CorsPolicy.Builder |
clearShadowEnabled()
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not
enforced.
|
CorsPolicy.Builder |
clone() |
com.google.protobuf.BoolValue |
getAllowCredentials()
Specifies whether the resource allows credentials.
|
com.google.protobuf.BoolValue.Builder |
getAllowCredentialsBuilder()
Specifies whether the resource allows credentials.
|
com.google.protobuf.BoolValueOrBuilder |
getAllowCredentialsOrBuilder()
Specifies whether the resource allows credentials.
|
String |
getAllowHeaders()
Specifies the content for the *access-control-allow-headers* header.
|
com.google.protobuf.ByteString |
getAllowHeadersBytes()
Specifies the content for the *access-control-allow-headers* header.
|
String |
getAllowMethods()
Specifies the content for the *access-control-allow-methods* header.
|
com.google.protobuf.ByteString |
getAllowMethodsBytes()
Specifies the content for the *access-control-allow-methods* header.
|
StringMatcher |
getAllowOriginStringMatch(int index)
Specifies string patterns that match allowed origins.
|
StringMatcher.Builder |
getAllowOriginStringMatchBuilder(int index)
Specifies string patterns that match allowed origins.
|
List<StringMatcher.Builder> |
getAllowOriginStringMatchBuilderList()
Specifies string patterns that match allowed origins.
|
int |
getAllowOriginStringMatchCount()
Specifies string patterns that match allowed origins.
|
List<StringMatcher> |
getAllowOriginStringMatchList()
Specifies string patterns that match allowed origins.
|
StringMatcherOrBuilder |
getAllowOriginStringMatchOrBuilder(int index)
Specifies string patterns that match allowed origins.
|
List<? extends StringMatcherOrBuilder> |
getAllowOriginStringMatchOrBuilderList()
Specifies string patterns that match allowed origins.
|
CorsPolicy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
CorsPolicy.EnabledSpecifierCase |
getEnabledSpecifierCase() |
String |
getExposeHeaders()
Specifies the content for the *access-control-expose-headers* header.
|
com.google.protobuf.ByteString |
getExposeHeadersBytes()
Specifies the content for the *access-control-expose-headers* header.
|
RuntimeFractionalPercent |
getFilterEnabled()
Specifies the % of requests for which the CORS filter is enabled.
|
RuntimeFractionalPercent.Builder |
getFilterEnabledBuilder()
Specifies the % of requests for which the CORS filter is enabled.
|
RuntimeFractionalPercentOrBuilder |
getFilterEnabledOrBuilder()
Specifies the % of requests for which the CORS filter is enabled.
|
String |
getMaxAge()
Specifies the content for the *access-control-max-age* header.
|
com.google.protobuf.ByteString |
getMaxAgeBytes()
Specifies the content for the *access-control-max-age* header.
|
RuntimeFractionalPercent |
getShadowEnabled()
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not
enforced.
|
RuntimeFractionalPercent.Builder |
getShadowEnabledBuilder()
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not
enforced.
|
RuntimeFractionalPercentOrBuilder |
getShadowEnabledOrBuilder()
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not
enforced.
|
boolean |
hasAllowCredentials()
Specifies whether the resource allows credentials.
|
boolean |
hasFilterEnabled()
Specifies the % of requests for which the CORS filter is enabled.
|
boolean |
hasShadowEnabled()
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not
enforced.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CorsPolicy.Builder |
mergeAllowCredentials(com.google.protobuf.BoolValue value)
Specifies whether the resource allows credentials.
|
CorsPolicy.Builder |
mergeFilterEnabled(RuntimeFractionalPercent value)
Specifies the % of requests for which the CORS filter is enabled.
|
CorsPolicy.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CorsPolicy.Builder |
mergeFrom(CorsPolicy other) |
CorsPolicy.Builder |
mergeFrom(com.google.protobuf.Message other) |
CorsPolicy.Builder |
mergeShadowEnabled(RuntimeFractionalPercent value)
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not
enforced.
|
CorsPolicy.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CorsPolicy.Builder |
removeAllowOriginStringMatch(int index)
Specifies string patterns that match allowed origins.
|
CorsPolicy.Builder |
setAllowCredentials(com.google.protobuf.BoolValue.Builder builderForValue)
Specifies whether the resource allows credentials.
|
CorsPolicy.Builder |
setAllowCredentials(com.google.protobuf.BoolValue value)
Specifies whether the resource allows credentials.
|
CorsPolicy.Builder |
setAllowHeaders(String value)
Specifies the content for the *access-control-allow-headers* header.
|
CorsPolicy.Builder |
setAllowHeadersBytes(com.google.protobuf.ByteString value)
Specifies the content for the *access-control-allow-headers* header.
|
CorsPolicy.Builder |
setAllowMethods(String value)
Specifies the content for the *access-control-allow-methods* header.
|
CorsPolicy.Builder |
setAllowMethodsBytes(com.google.protobuf.ByteString value)
Specifies the content for the *access-control-allow-methods* header.
|
CorsPolicy.Builder |
setAllowOriginStringMatch(int index,
StringMatcher.Builder builderForValue)
Specifies string patterns that match allowed origins.
|
CorsPolicy.Builder |
setAllowOriginStringMatch(int index,
StringMatcher value)
Specifies string patterns that match allowed origins.
|
CorsPolicy.Builder |
setExposeHeaders(String value)
Specifies the content for the *access-control-expose-headers* header.
|
CorsPolicy.Builder |
setExposeHeadersBytes(com.google.protobuf.ByteString value)
Specifies the content for the *access-control-expose-headers* header.
|
CorsPolicy.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CorsPolicy.Builder |
setFilterEnabled(RuntimeFractionalPercent.Builder builderForValue)
Specifies the % of requests for which the CORS filter is enabled.
|
CorsPolicy.Builder |
setFilterEnabled(RuntimeFractionalPercent value)
Specifies the % of requests for which the CORS filter is enabled.
|
CorsPolicy.Builder |
setMaxAge(String value)
Specifies the content for the *access-control-max-age* header.
|
CorsPolicy.Builder |
setMaxAgeBytes(com.google.protobuf.ByteString value)
Specifies the content for the *access-control-max-age* header.
|
CorsPolicy.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CorsPolicy.Builder |
setShadowEnabled(RuntimeFractionalPercent.Builder builderForValue)
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not
enforced.
|
CorsPolicy.Builder |
setShadowEnabled(RuntimeFractionalPercent value)
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not
enforced.
|
CorsPolicy.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<CorsPolicy.Builder>public CorsPolicy.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CorsPolicy.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<CorsPolicy.Builder>public CorsPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CorsPolicy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CorsPolicy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CorsPolicy.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CorsPolicy.Builder>public CorsPolicy.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<CorsPolicy.Builder>public CorsPolicy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CorsPolicy.Builder>public CorsPolicy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CorsPolicy.Builder>public CorsPolicy.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<CorsPolicy.Builder>public CorsPolicy.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<CorsPolicy.Builder>public CorsPolicy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CorsPolicy.Builder>public CorsPolicy.Builder mergeFrom(CorsPolicy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CorsPolicy.Builder>public CorsPolicy.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<CorsPolicy.Builder>IOExceptionpublic CorsPolicy.EnabledSpecifierCase getEnabledSpecifierCase()
getEnabledSpecifierCase in interface CorsPolicyOrBuilderpublic CorsPolicy.Builder clearEnabledSpecifier()
public List<StringMatcher> getAllowOriginStringMatchList()
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.v3.StringMatcher allow_origin_string_match = 11;getAllowOriginStringMatchList in interface CorsPolicyOrBuilderpublic int getAllowOriginStringMatchCount()
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.v3.StringMatcher allow_origin_string_match = 11;getAllowOriginStringMatchCount in interface CorsPolicyOrBuilderpublic StringMatcher getAllowOriginStringMatch(int index)
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.v3.StringMatcher allow_origin_string_match = 11;getAllowOriginStringMatch in interface CorsPolicyOrBuilderpublic CorsPolicy.Builder setAllowOriginStringMatch(int index, StringMatcher value)
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.v3.StringMatcher allow_origin_string_match = 11;public CorsPolicy.Builder setAllowOriginStringMatch(int index, StringMatcher.Builder builderForValue)
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.v3.StringMatcher allow_origin_string_match = 11;public CorsPolicy.Builder addAllowOriginStringMatch(StringMatcher value)
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.v3.StringMatcher allow_origin_string_match = 11;public CorsPolicy.Builder addAllowOriginStringMatch(int index, StringMatcher value)
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.v3.StringMatcher allow_origin_string_match = 11;public CorsPolicy.Builder addAllowOriginStringMatch(StringMatcher.Builder builderForValue)
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.v3.StringMatcher allow_origin_string_match = 11;public CorsPolicy.Builder addAllowOriginStringMatch(int index, StringMatcher.Builder builderForValue)
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.v3.StringMatcher allow_origin_string_match = 11;public CorsPolicy.Builder addAllAllowOriginStringMatch(Iterable<? extends StringMatcher> values)
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.v3.StringMatcher allow_origin_string_match = 11;public CorsPolicy.Builder clearAllowOriginStringMatch()
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.v3.StringMatcher allow_origin_string_match = 11;public CorsPolicy.Builder removeAllowOriginStringMatch(int index)
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.v3.StringMatcher allow_origin_string_match = 11;public StringMatcher.Builder getAllowOriginStringMatchBuilder(int index)
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.v3.StringMatcher allow_origin_string_match = 11;public StringMatcherOrBuilder getAllowOriginStringMatchOrBuilder(int index)
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.v3.StringMatcher allow_origin_string_match = 11;getAllowOriginStringMatchOrBuilder in interface CorsPolicyOrBuilderpublic List<? extends StringMatcherOrBuilder> getAllowOriginStringMatchOrBuilderList()
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.v3.StringMatcher allow_origin_string_match = 11;getAllowOriginStringMatchOrBuilderList in interface CorsPolicyOrBuilderpublic StringMatcher.Builder addAllowOriginStringMatchBuilder()
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.v3.StringMatcher allow_origin_string_match = 11;public StringMatcher.Builder addAllowOriginStringMatchBuilder(int index)
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.v3.StringMatcher allow_origin_string_match = 11;public List<StringMatcher.Builder> getAllowOriginStringMatchBuilderList()
Specifies string patterns that match allowed origins. An origin is allowed if any of the string matchers match.
repeated .envoy.type.matcher.v3.StringMatcher allow_origin_string_match = 11;public String getAllowMethods()
Specifies the content for the *access-control-allow-methods* header.
string allow_methods = 2;getAllowMethods in interface CorsPolicyOrBuilderpublic com.google.protobuf.ByteString getAllowMethodsBytes()
Specifies the content for the *access-control-allow-methods* header.
string allow_methods = 2;getAllowMethodsBytes in interface CorsPolicyOrBuilderpublic CorsPolicy.Builder setAllowMethods(String value)
Specifies the content for the *access-control-allow-methods* header.
string allow_methods = 2;public CorsPolicy.Builder clearAllowMethods()
Specifies the content for the *access-control-allow-methods* header.
string allow_methods = 2;public CorsPolicy.Builder setAllowMethodsBytes(com.google.protobuf.ByteString value)
Specifies the content for the *access-control-allow-methods* header.
string allow_methods = 2;public String getAllowHeaders()
Specifies the content for the *access-control-allow-headers* header.
string allow_headers = 3;getAllowHeaders in interface CorsPolicyOrBuilderpublic com.google.protobuf.ByteString getAllowHeadersBytes()
Specifies the content for the *access-control-allow-headers* header.
string allow_headers = 3;getAllowHeadersBytes in interface CorsPolicyOrBuilderpublic CorsPolicy.Builder setAllowHeaders(String value)
Specifies the content for the *access-control-allow-headers* header.
string allow_headers = 3;public CorsPolicy.Builder clearAllowHeaders()
Specifies the content for the *access-control-allow-headers* header.
string allow_headers = 3;public CorsPolicy.Builder setAllowHeadersBytes(com.google.protobuf.ByteString value)
Specifies the content for the *access-control-allow-headers* header.
string allow_headers = 3;public String getExposeHeaders()
Specifies the content for the *access-control-expose-headers* header.
string expose_headers = 4;getExposeHeaders in interface CorsPolicyOrBuilderpublic com.google.protobuf.ByteString getExposeHeadersBytes()
Specifies the content for the *access-control-expose-headers* header.
string expose_headers = 4;getExposeHeadersBytes in interface CorsPolicyOrBuilderpublic CorsPolicy.Builder setExposeHeaders(String value)
Specifies the content for the *access-control-expose-headers* header.
string expose_headers = 4;public CorsPolicy.Builder clearExposeHeaders()
Specifies the content for the *access-control-expose-headers* header.
string expose_headers = 4;public CorsPolicy.Builder setExposeHeadersBytes(com.google.protobuf.ByteString value)
Specifies the content for the *access-control-expose-headers* header.
string expose_headers = 4;public String getMaxAge()
Specifies the content for the *access-control-max-age* header.
string max_age = 5;getMaxAge in interface CorsPolicyOrBuilderpublic com.google.protobuf.ByteString getMaxAgeBytes()
Specifies the content for the *access-control-max-age* header.
string max_age = 5;getMaxAgeBytes in interface CorsPolicyOrBuilderpublic CorsPolicy.Builder setMaxAge(String value)
Specifies the content for the *access-control-max-age* header.
string max_age = 5;public CorsPolicy.Builder clearMaxAge()
Specifies the content for the *access-control-max-age* header.
string max_age = 5;public CorsPolicy.Builder setMaxAgeBytes(com.google.protobuf.ByteString value)
Specifies the content for the *access-control-max-age* header.
string max_age = 5;public boolean hasAllowCredentials()
Specifies whether the resource allows credentials.
.google.protobuf.BoolValue allow_credentials = 6;hasAllowCredentials in interface CorsPolicyOrBuilderpublic com.google.protobuf.BoolValue getAllowCredentials()
Specifies whether the resource allows credentials.
.google.protobuf.BoolValue allow_credentials = 6;getAllowCredentials in interface CorsPolicyOrBuilderpublic CorsPolicy.Builder setAllowCredentials(com.google.protobuf.BoolValue value)
Specifies whether the resource allows credentials.
.google.protobuf.BoolValue allow_credentials = 6;public CorsPolicy.Builder setAllowCredentials(com.google.protobuf.BoolValue.Builder builderForValue)
Specifies whether the resource allows credentials.
.google.protobuf.BoolValue allow_credentials = 6;public CorsPolicy.Builder mergeAllowCredentials(com.google.protobuf.BoolValue value)
Specifies whether the resource allows credentials.
.google.protobuf.BoolValue allow_credentials = 6;public CorsPolicy.Builder clearAllowCredentials()
Specifies whether the resource allows credentials.
.google.protobuf.BoolValue allow_credentials = 6;public com.google.protobuf.BoolValue.Builder getAllowCredentialsBuilder()
Specifies whether the resource allows credentials.
.google.protobuf.BoolValue allow_credentials = 6;public com.google.protobuf.BoolValueOrBuilder getAllowCredentialsOrBuilder()
Specifies whether the resource allows credentials.
.google.protobuf.BoolValue allow_credentials = 6;getAllowCredentialsOrBuilder in interface CorsPolicyOrBuilderpublic boolean hasFilterEnabled()
Specifies the % of requests for which the CORS filter is enabled. If neither ``enabled``, ``filter_enabled``, nor ``shadow_enabled`` are specified, the CORS filter will be enabled for 100% of the requests. If :ref:`runtime_key <envoy_api_field_config.core.v3.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enabled = 9;hasFilterEnabled in interface CorsPolicyOrBuilderpublic RuntimeFractionalPercent getFilterEnabled()
Specifies the % of requests for which the CORS filter is enabled. If neither ``enabled``, ``filter_enabled``, nor ``shadow_enabled`` are specified, the CORS filter will be enabled for 100% of the requests. If :ref:`runtime_key <envoy_api_field_config.core.v3.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enabled = 9;getFilterEnabled in interface CorsPolicyOrBuilderpublic CorsPolicy.Builder setFilterEnabled(RuntimeFractionalPercent value)
Specifies the % of requests for which the CORS filter is enabled. If neither ``enabled``, ``filter_enabled``, nor ``shadow_enabled`` are specified, the CORS filter will be enabled for 100% of the requests. If :ref:`runtime_key <envoy_api_field_config.core.v3.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enabled = 9;public CorsPolicy.Builder setFilterEnabled(RuntimeFractionalPercent.Builder builderForValue)
Specifies the % of requests for which the CORS filter is enabled. If neither ``enabled``, ``filter_enabled``, nor ``shadow_enabled`` are specified, the CORS filter will be enabled for 100% of the requests. If :ref:`runtime_key <envoy_api_field_config.core.v3.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enabled = 9;public CorsPolicy.Builder mergeFilterEnabled(RuntimeFractionalPercent value)
Specifies the % of requests for which the CORS filter is enabled. If neither ``enabled``, ``filter_enabled``, nor ``shadow_enabled`` are specified, the CORS filter will be enabled for 100% of the requests. If :ref:`runtime_key <envoy_api_field_config.core.v3.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enabled = 9;public CorsPolicy.Builder clearFilterEnabled()
Specifies the % of requests for which the CORS filter is enabled. If neither ``enabled``, ``filter_enabled``, nor ``shadow_enabled`` are specified, the CORS filter will be enabled for 100% of the requests. If :ref:`runtime_key <envoy_api_field_config.core.v3.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enabled = 9;public RuntimeFractionalPercent.Builder getFilterEnabledBuilder()
Specifies the % of requests for which the CORS filter is enabled. If neither ``enabled``, ``filter_enabled``, nor ``shadow_enabled`` are specified, the CORS filter will be enabled for 100% of the requests. If :ref:`runtime_key <envoy_api_field_config.core.v3.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enabled = 9;public RuntimeFractionalPercentOrBuilder getFilterEnabledOrBuilder()
Specifies the % of requests for which the CORS filter is enabled. If neither ``enabled``, ``filter_enabled``, nor ``shadow_enabled`` are specified, the CORS filter will be enabled for 100% of the requests. If :ref:`runtime_key <envoy_api_field_config.core.v3.RuntimeFractionalPercent.runtime_key>` is specified, Envoy will lookup the runtime key to get the percentage of requests to filter.
.envoy.config.core.v3.RuntimeFractionalPercent filter_enabled = 9;getFilterEnabledOrBuilder in interface CorsPolicyOrBuilderpublic boolean hasShadowEnabled()
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not enforced. This field is intended to be used when ``filter_enabled`` and ``enabled`` are off. One of those fields have to explicitly disable the filter in order for this setting to take effect. If :ref:`runtime_key <envoy_api_field_config.core.v3.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* to determine if it's valid but will not enforce any policies.
.envoy.config.core.v3.RuntimeFractionalPercent shadow_enabled = 10;hasShadowEnabled in interface CorsPolicyOrBuilderpublic RuntimeFractionalPercent getShadowEnabled()
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not enforced. This field is intended to be used when ``filter_enabled`` and ``enabled`` are off. One of those fields have to explicitly disable the filter in order for this setting to take effect. If :ref:`runtime_key <envoy_api_field_config.core.v3.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* to determine if it's valid but will not enforce any policies.
.envoy.config.core.v3.RuntimeFractionalPercent shadow_enabled = 10;getShadowEnabled in interface CorsPolicyOrBuilderpublic CorsPolicy.Builder setShadowEnabled(RuntimeFractionalPercent value)
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not enforced. This field is intended to be used when ``filter_enabled`` and ``enabled`` are off. One of those fields have to explicitly disable the filter in order for this setting to take effect. If :ref:`runtime_key <envoy_api_field_config.core.v3.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* to determine if it's valid but will not enforce any policies.
.envoy.config.core.v3.RuntimeFractionalPercent shadow_enabled = 10;public CorsPolicy.Builder setShadowEnabled(RuntimeFractionalPercent.Builder builderForValue)
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not enforced. This field is intended to be used when ``filter_enabled`` and ``enabled`` are off. One of those fields have to explicitly disable the filter in order for this setting to take effect. If :ref:`runtime_key <envoy_api_field_config.core.v3.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* to determine if it's valid but will not enforce any policies.
.envoy.config.core.v3.RuntimeFractionalPercent shadow_enabled = 10;public CorsPolicy.Builder mergeShadowEnabled(RuntimeFractionalPercent value)
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not enforced. This field is intended to be used when ``filter_enabled`` and ``enabled`` are off. One of those fields have to explicitly disable the filter in order for this setting to take effect. If :ref:`runtime_key <envoy_api_field_config.core.v3.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* to determine if it's valid but will not enforce any policies.
.envoy.config.core.v3.RuntimeFractionalPercent shadow_enabled = 10;public CorsPolicy.Builder clearShadowEnabled()
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not enforced. This field is intended to be used when ``filter_enabled`` and ``enabled`` are off. One of those fields have to explicitly disable the filter in order for this setting to take effect. If :ref:`runtime_key <envoy_api_field_config.core.v3.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* to determine if it's valid but will not enforce any policies.
.envoy.config.core.v3.RuntimeFractionalPercent shadow_enabled = 10;public RuntimeFractionalPercent.Builder getShadowEnabledBuilder()
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not enforced. This field is intended to be used when ``filter_enabled`` and ``enabled`` are off. One of those fields have to explicitly disable the filter in order for this setting to take effect. If :ref:`runtime_key <envoy_api_field_config.core.v3.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* to determine if it's valid but will not enforce any policies.
.envoy.config.core.v3.RuntimeFractionalPercent shadow_enabled = 10;public RuntimeFractionalPercentOrBuilder getShadowEnabledOrBuilder()
Specifies the % of requests for which the CORS policies will be evaluated and tracked, but not enforced. This field is intended to be used when ``filter_enabled`` and ``enabled`` are off. One of those fields have to explicitly disable the filter in order for this setting to take effect. If :ref:`runtime_key <envoy_api_field_config.core.v3.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* to determine if it's valid but will not enforce any policies.
.envoy.config.core.v3.RuntimeFractionalPercent shadow_enabled = 10;getShadowEnabledOrBuilder in interface CorsPolicyOrBuilderpublic final CorsPolicy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CorsPolicy.Builder>public final CorsPolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CorsPolicy.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.