public static final class CorsPolicy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CorsPolicy.Builder> implements CorsPolicyOrBuilder
[#comment:next free field: 11]Protobuf type
envoy.api.v2.route.CorsPolicy| Modifier and Type | Method and Description |
|---|---|
CorsPolicy.Builder |
addAllAllowOrigin(Iterable<String> values)
Specifies the origins that will be allowed to do CORS requests.
|
CorsPolicy.Builder |
addAllAllowOriginRegex(Iterable<String> values)
Specifies regex patterns that match allowed origins.
|
CorsPolicy.Builder |
addAllowOrigin(String value)
Specifies the origins that will be allowed to do CORS requests.
|
CorsPolicy.Builder |
addAllowOriginBytes(com.google.protobuf.ByteString value)
Specifies the origins that will be allowed to do CORS requests.
|
CorsPolicy.Builder |
addAllowOriginRegex(String value)
Specifies regex patterns that match allowed origins.
|
CorsPolicy.Builder |
addAllowOriginRegexBytes(com.google.protobuf.ByteString value)
Specifies regex 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 |
clearAllowOrigin()
Specifies the origins that will be allowed to do CORS requests.
|
CorsPolicy.Builder |
clearAllowOriginRegex()
Specifies regex patterns that match allowed origins.
|
CorsPolicy.Builder |
clearEnabled()
Deprecated.
|
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 if CORS 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 if CORS policies are evaluated and tracked when filter is off but
does not enforce any policies.
|
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.
|
String |
getAllowOrigin(int index)
Specifies the origins that will be allowed to do CORS requests.
|
com.google.protobuf.ByteString |
getAllowOriginBytes(int index)
Specifies the origins that will be allowed to do CORS requests.
|
int |
getAllowOriginCount()
Specifies the origins that will be allowed to do CORS requests.
|
com.google.protobuf.ProtocolStringList |
getAllowOriginList()
Specifies the origins that will be allowed to do CORS requests.
|
String |
getAllowOriginRegex(int index)
Specifies regex patterns that match allowed origins.
|
com.google.protobuf.ByteString |
getAllowOriginRegexBytes(int index)
Specifies regex patterns that match allowed origins.
|
int |
getAllowOriginRegexCount()
Specifies regex patterns that match allowed origins.
|
com.google.protobuf.ProtocolStringList |
getAllowOriginRegexList()
Specifies regex patterns that match allowed origins.
|
CorsPolicy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.BoolValue |
getEnabled()
Deprecated.
|
com.google.protobuf.BoolValue.Builder |
getEnabledBuilder()
Deprecated.
|
com.google.protobuf.BoolValueOrBuilder |
getEnabledOrBuilder()
Deprecated.
|
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 if CORS is enabled.
|
RuntimeFractionalPercent.Builder |
getFilterEnabledBuilder()
Specifies if CORS is enabled.
|
RuntimeFractionalPercentOrBuilder |
getFilterEnabledOrBuilder()
Specifies if CORS 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 if CORS policies are evaluated and tracked when filter is off but
does not enforce any policies.
|
RuntimeFractionalPercent.Builder |
getShadowEnabledBuilder()
Specifies if CORS policies are evaluated and tracked when filter is off but
does not enforce any policies.
|
RuntimeFractionalPercentOrBuilder |
getShadowEnabledOrBuilder()
Specifies if CORS policies are evaluated and tracked when filter is off but
does not enforce any policies.
|
boolean |
hasAllowCredentials()
Specifies whether the resource allows credentials.
|
boolean |
hasEnabled()
Deprecated.
|
boolean |
hasFilterEnabled()
Specifies if CORS is enabled.
|
boolean |
hasShadowEnabled()
Specifies if CORS policies are evaluated and tracked when filter is off but
does not enforce any policies.
|
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 |
mergeEnabled(com.google.protobuf.BoolValue value)
Deprecated.
|
CorsPolicy.Builder |
mergeFilterEnabled(RuntimeFractionalPercent value)
Specifies if CORS 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 if CORS policies are evaluated and tracked when filter is off but
does not enforce any policies.
|
CorsPolicy.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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 |
setAllowOrigin(int index,
String value)
Specifies the origins that will be allowed to do CORS requests.
|
CorsPolicy.Builder |
setAllowOriginRegex(int index,
String value)
Specifies regex patterns that match allowed origins.
|
CorsPolicy.Builder |
setEnabled(com.google.protobuf.BoolValue.Builder builderForValue)
Deprecated.
|
CorsPolicy.Builder |
setEnabled(com.google.protobuf.BoolValue value)
Deprecated.
|
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 if CORS is enabled.
|
CorsPolicy.Builder |
setFilterEnabled(RuntimeFractionalPercent value)
Specifies if CORS 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 if CORS policies are evaluated and tracked when filter is off but
does not enforce any policies.
|
CorsPolicy.Builder |
setShadowEnabled(RuntimeFractionalPercent value)
Specifies if CORS policies are evaluated and tracked when filter is off but
does not enforce any policies.
|
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 com.google.protobuf.ProtocolStringList getAllowOriginList()
Specifies the origins that will be allowed to do CORS requests. An origin is allowed if either allow_origin or allow_origin_regex match.
repeated string allow_origin = 1;getAllowOriginList in interface CorsPolicyOrBuilderpublic int getAllowOriginCount()
Specifies the origins that will be allowed to do CORS requests. An origin is allowed if either allow_origin or allow_origin_regex match.
repeated string allow_origin = 1;getAllowOriginCount in interface CorsPolicyOrBuilderpublic String getAllowOrigin(int index)
Specifies the origins that will be allowed to do CORS requests. An origin is allowed if either allow_origin or allow_origin_regex match.
repeated string allow_origin = 1;getAllowOrigin in interface CorsPolicyOrBuilderpublic com.google.protobuf.ByteString getAllowOriginBytes(int index)
Specifies the origins that will be allowed to do CORS requests. An origin is allowed if either allow_origin or allow_origin_regex match.
repeated string allow_origin = 1;getAllowOriginBytes in interface CorsPolicyOrBuilderpublic CorsPolicy.Builder setAllowOrigin(int index, String value)
Specifies the origins that will be allowed to do CORS requests. An origin is allowed if either allow_origin or allow_origin_regex match.
repeated string allow_origin = 1;public CorsPolicy.Builder addAllowOrigin(String value)
Specifies the origins that will be allowed to do CORS requests. An origin is allowed if either allow_origin or allow_origin_regex match.
repeated string allow_origin = 1;public CorsPolicy.Builder addAllAllowOrigin(Iterable<String> values)
Specifies the origins that will be allowed to do CORS requests. An origin is allowed if either allow_origin or allow_origin_regex match.
repeated string allow_origin = 1;public CorsPolicy.Builder clearAllowOrigin()
Specifies the origins that will be allowed to do CORS requests. An origin is allowed if either allow_origin or allow_origin_regex match.
repeated string allow_origin = 1;public CorsPolicy.Builder addAllowOriginBytes(com.google.protobuf.ByteString value)
Specifies the origins that will be allowed to do CORS requests. An origin is allowed if either allow_origin or allow_origin_regex match.
repeated string allow_origin = 1;public com.google.protobuf.ProtocolStringList getAllowOriginRegexList()
Specifies regex patterns that match allowed origins. An origin is allowed if either allow_origin or allow_origin_regex match.
repeated string allow_origin_regex = 8 [(.validate.rules) = { ... }getAllowOriginRegexList in interface CorsPolicyOrBuilderpublic int getAllowOriginRegexCount()
Specifies regex patterns that match allowed origins. An origin is allowed if either allow_origin or allow_origin_regex match.
repeated string allow_origin_regex = 8 [(.validate.rules) = { ... }getAllowOriginRegexCount in interface CorsPolicyOrBuilderpublic String getAllowOriginRegex(int index)
Specifies regex patterns that match allowed origins. An origin is allowed if either allow_origin or allow_origin_regex match.
repeated string allow_origin_regex = 8 [(.validate.rules) = { ... }getAllowOriginRegex in interface CorsPolicyOrBuilderpublic com.google.protobuf.ByteString getAllowOriginRegexBytes(int index)
Specifies regex patterns that match allowed origins. An origin is allowed if either allow_origin or allow_origin_regex match.
repeated string allow_origin_regex = 8 [(.validate.rules) = { ... }getAllowOriginRegexBytes in interface CorsPolicyOrBuilderpublic CorsPolicy.Builder setAllowOriginRegex(int index, String value)
Specifies regex patterns that match allowed origins. An origin is allowed if either allow_origin or allow_origin_regex match.
repeated string allow_origin_regex = 8 [(.validate.rules) = { ... }public CorsPolicy.Builder addAllowOriginRegex(String value)
Specifies regex patterns that match allowed origins. An origin is allowed if either allow_origin or allow_origin_regex match.
repeated string allow_origin_regex = 8 [(.validate.rules) = { ... }public CorsPolicy.Builder addAllAllowOriginRegex(Iterable<String> values)
Specifies regex patterns that match allowed origins. An origin is allowed if either allow_origin or allow_origin_regex match.
repeated string allow_origin_regex = 8 [(.validate.rules) = { ... }public CorsPolicy.Builder clearAllowOriginRegex()
Specifies regex patterns that match allowed origins. An origin is allowed if either allow_origin or allow_origin_regex match.
repeated string allow_origin_regex = 8 [(.validate.rules) = { ... }public CorsPolicy.Builder addAllowOriginRegexBytes(com.google.protobuf.ByteString value)
Specifies regex patterns that match allowed origins. An origin is allowed if either allow_origin or allow_origin_regex match.
repeated string allow_origin_regex = 8 [(.validate.rules) = { ... }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 CorsPolicyOrBuilder@Deprecated public boolean hasEnabled()
Specifies if CORS is enabled. Defaults to true. Only effective on route. .. attention:: **This field is deprecated**. Set the :ref:`filter_enabled<envoy_api_field_route.CorsPolicy.filter_enabled>` field instead.
.google.protobuf.BoolValue enabled = 7 [deprecated = true];hasEnabled in interface CorsPolicyOrBuilder@Deprecated public com.google.protobuf.BoolValue getEnabled()
Specifies if CORS is enabled. Defaults to true. Only effective on route. .. attention:: **This field is deprecated**. Set the :ref:`filter_enabled<envoy_api_field_route.CorsPolicy.filter_enabled>` field instead.
.google.protobuf.BoolValue enabled = 7 [deprecated = true];getEnabled in interface CorsPolicyOrBuilder@Deprecated public CorsPolicy.Builder setEnabled(com.google.protobuf.BoolValue value)
Specifies if CORS is enabled. Defaults to true. Only effective on route. .. attention:: **This field is deprecated**. Set the :ref:`filter_enabled<envoy_api_field_route.CorsPolicy.filter_enabled>` field instead.
.google.protobuf.BoolValue enabled = 7 [deprecated = true];@Deprecated public CorsPolicy.Builder setEnabled(com.google.protobuf.BoolValue.Builder builderForValue)
Specifies if CORS is enabled. Defaults to true. Only effective on route. .. attention:: **This field is deprecated**. Set the :ref:`filter_enabled<envoy_api_field_route.CorsPolicy.filter_enabled>` field instead.
.google.protobuf.BoolValue enabled = 7 [deprecated = true];@Deprecated public CorsPolicy.Builder mergeEnabled(com.google.protobuf.BoolValue value)
Specifies if CORS is enabled. Defaults to true. Only effective on route. .. attention:: **This field is deprecated**. Set the :ref:`filter_enabled<envoy_api_field_route.CorsPolicy.filter_enabled>` field instead.
.google.protobuf.BoolValue enabled = 7 [deprecated = true];@Deprecated public CorsPolicy.Builder clearEnabled()
Specifies if CORS is enabled. Defaults to true. Only effective on route. .. attention:: **This field is deprecated**. Set the :ref:`filter_enabled<envoy_api_field_route.CorsPolicy.filter_enabled>` field instead.
.google.protobuf.BoolValue enabled = 7 [deprecated = true];@Deprecated public com.google.protobuf.BoolValue.Builder getEnabledBuilder()
Specifies if CORS is enabled. Defaults to true. Only effective on route. .. attention:: **This field is deprecated**. Set the :ref:`filter_enabled<envoy_api_field_route.CorsPolicy.filter_enabled>` field instead.
.google.protobuf.BoolValue enabled = 7 [deprecated = true];@Deprecated public com.google.protobuf.BoolValueOrBuilder getEnabledOrBuilder()
Specifies if CORS is enabled. Defaults to true. Only effective on route. .. attention:: **This field is deprecated**. Set the :ref:`filter_enabled<envoy_api_field_route.CorsPolicy.filter_enabled>` field instead.
.google.protobuf.BoolValue enabled = 7 [deprecated = true];getEnabledOrBuilder in interface CorsPolicyOrBuilderpublic boolean hasFilterEnabled()
Specifies if CORS is enabled. More information on how this can be controlled via runtime can be found :ref:`here <cors-runtime>`. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent filter_enabled = 9;hasFilterEnabled in interface CorsPolicyOrBuilderpublic RuntimeFractionalPercent getFilterEnabled()
Specifies if CORS is enabled. More information on how this can be controlled via runtime can be found :ref:`here <cors-runtime>`. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent filter_enabled = 9;getFilterEnabled in interface CorsPolicyOrBuilderpublic CorsPolicy.Builder setFilterEnabled(RuntimeFractionalPercent value)
Specifies if CORS is enabled. More information on how this can be controlled via runtime can be found :ref:`here <cors-runtime>`. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent filter_enabled = 9;public CorsPolicy.Builder setFilterEnabled(RuntimeFractionalPercent.Builder builderForValue)
Specifies if CORS is enabled. More information on how this can be controlled via runtime can be found :ref:`here <cors-runtime>`. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent filter_enabled = 9;public CorsPolicy.Builder mergeFilterEnabled(RuntimeFractionalPercent value)
Specifies if CORS is enabled. More information on how this can be controlled via runtime can be found :ref:`here <cors-runtime>`. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent filter_enabled = 9;public CorsPolicy.Builder clearFilterEnabled()
Specifies if CORS is enabled. More information on how this can be controlled via runtime can be found :ref:`here <cors-runtime>`. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent filter_enabled = 9;public RuntimeFractionalPercent.Builder getFilterEnabledBuilder()
Specifies if CORS is enabled. More information on how this can be controlled via runtime can be found :ref:`here <cors-runtime>`. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent filter_enabled = 9;public RuntimeFractionalPercentOrBuilder getFilterEnabledOrBuilder()
Specifies if CORS is enabled. More information on how this can be controlled via runtime can be found :ref:`here <cors-runtime>`. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent filter_enabled = 9;getFilterEnabledOrBuilder in interface CorsPolicyOrBuilderpublic boolean hasShadowEnabled()
Specifies if CORS policies are evaluated and tracked when filter is off but does not enforce any policies. More information on how this can be controlled via runtime can be found :ref:`here <cors-runtime>`. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent shadow_enabled = 10;hasShadowEnabled in interface CorsPolicyOrBuilderpublic RuntimeFractionalPercent getShadowEnabled()
Specifies if CORS policies are evaluated and tracked when filter is off but does not enforce any policies. More information on how this can be controlled via runtime can be found :ref:`here <cors-runtime>`. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent shadow_enabled = 10;getShadowEnabled in interface CorsPolicyOrBuilderpublic CorsPolicy.Builder setShadowEnabled(RuntimeFractionalPercent value)
Specifies if CORS policies are evaluated and tracked when filter is off but does not enforce any policies. More information on how this can be controlled via runtime can be found :ref:`here <cors-runtime>`. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent shadow_enabled = 10;public CorsPolicy.Builder setShadowEnabled(RuntimeFractionalPercent.Builder builderForValue)
Specifies if CORS policies are evaluated and tracked when filter is off but does not enforce any policies. More information on how this can be controlled via runtime can be found :ref:`here <cors-runtime>`. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent shadow_enabled = 10;public CorsPolicy.Builder mergeShadowEnabled(RuntimeFractionalPercent value)
Specifies if CORS policies are evaluated and tracked when filter is off but does not enforce any policies. More information on how this can be controlled via runtime can be found :ref:`here <cors-runtime>`. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent shadow_enabled = 10;public CorsPolicy.Builder clearShadowEnabled()
Specifies if CORS policies are evaluated and tracked when filter is off but does not enforce any policies. More information on how this can be controlled via runtime can be found :ref:`here <cors-runtime>`. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent shadow_enabled = 10;public RuntimeFractionalPercent.Builder getShadowEnabledBuilder()
Specifies if CORS policies are evaluated and tracked when filter is off but does not enforce any policies. More information on how this can be controlled via runtime can be found :ref:`here <cors-runtime>`. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.RuntimeFractionalPercent shadow_enabled = 10;public RuntimeFractionalPercentOrBuilder getShadowEnabledOrBuilder()
Specifies if CORS policies are evaluated and tracked when filter is off but does not enforce any policies. More information on how this can be controlled via runtime can be found :ref:`here <cors-runtime>`. .. note:: This field defaults to 100/:ref:`HUNDRED <envoy_api_enum_type.FractionalPercent.DenominatorType>`.
.envoy.api.v2.core.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–2019 The Envoy Project. All rights reserved.