public static final class CacheConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CacheConfig.Builder> implements CacheConfigOrBuilder
envoy.extensions.filters.http.cache.v4alpha.CacheConfig| Modifier and Type | Method and Description |
|---|---|
CacheConfig.Builder |
addAllAllowedVaryHeaders(Iterable<? extends StringMatcher> values)
List of matching rules that defines allowed *Vary* headers.
|
CacheConfig.Builder |
addAllowedVaryHeaders(int index,
StringMatcher.Builder builderForValue)
List of matching rules that defines allowed *Vary* headers.
|
CacheConfig.Builder |
addAllowedVaryHeaders(int index,
StringMatcher value)
List of matching rules that defines allowed *Vary* headers.
|
CacheConfig.Builder |
addAllowedVaryHeaders(StringMatcher.Builder builderForValue)
List of matching rules that defines allowed *Vary* headers.
|
CacheConfig.Builder |
addAllowedVaryHeaders(StringMatcher value)
List of matching rules that defines allowed *Vary* headers.
|
StringMatcher.Builder |
addAllowedVaryHeadersBuilder()
List of matching rules that defines allowed *Vary* headers.
|
StringMatcher.Builder |
addAllowedVaryHeadersBuilder(int index)
List of matching rules that defines allowed *Vary* headers.
|
CacheConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CacheConfig |
build() |
CacheConfig |
buildPartial() |
CacheConfig.Builder |
clear() |
CacheConfig.Builder |
clearAllowedVaryHeaders()
List of matching rules that defines allowed *Vary* headers.
|
CacheConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CacheConfig.Builder |
clearKeyCreatorParams()
[#not-implemented-hide:]
<TODO(toddmgreer) implement key customization>
Modifies cache key creation by restricting which parts of the URL are included.
|
CacheConfig.Builder |
clearMaxBodyBytes()
[#not-implemented-hide:]
<TODO(toddmgreer) implement size limit>
Max body size the cache filter will insert into a cache. 0 means unlimited (though the cache
storage implementation may have its own limit beyond which it will reject insertions).
|
CacheConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CacheConfig.Builder |
clearTypedConfig()
Config specific to the cache storage implementation.
|
CacheConfig.Builder |
clone() |
StringMatcher |
getAllowedVaryHeaders(int index)
List of matching rules that defines allowed *Vary* headers.
|
StringMatcher.Builder |
getAllowedVaryHeadersBuilder(int index)
List of matching rules that defines allowed *Vary* headers.
|
List<StringMatcher.Builder> |
getAllowedVaryHeadersBuilderList()
List of matching rules that defines allowed *Vary* headers.
|
int |
getAllowedVaryHeadersCount()
List of matching rules that defines allowed *Vary* headers.
|
List<StringMatcher> |
getAllowedVaryHeadersList()
List of matching rules that defines allowed *Vary* headers.
|
StringMatcherOrBuilder |
getAllowedVaryHeadersOrBuilder(int index)
List of matching rules that defines allowed *Vary* headers.
|
List<? extends StringMatcherOrBuilder> |
getAllowedVaryHeadersOrBuilderList()
List of matching rules that defines allowed *Vary* headers.
|
CacheConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
CacheConfig.KeyCreatorParams |
getKeyCreatorParams()
[#not-implemented-hide:]
<TODO(toddmgreer) implement key customization>
Modifies cache key creation by restricting which parts of the URL are included.
|
CacheConfig.KeyCreatorParams.Builder |
getKeyCreatorParamsBuilder()
[#not-implemented-hide:]
<TODO(toddmgreer) implement key customization>
Modifies cache key creation by restricting which parts of the URL are included.
|
CacheConfig.KeyCreatorParamsOrBuilder |
getKeyCreatorParamsOrBuilder()
[#not-implemented-hide:]
<TODO(toddmgreer) implement key customization>
Modifies cache key creation by restricting which parts of the URL are included.
|
int |
getMaxBodyBytes()
[#not-implemented-hide:]
<TODO(toddmgreer) implement size limit>
Max body size the cache filter will insert into a cache. 0 means unlimited (though the cache
storage implementation may have its own limit beyond which it will reject insertions).
|
com.google.protobuf.Any |
getTypedConfig()
Config specific to the cache storage implementation.
|
com.google.protobuf.Any.Builder |
getTypedConfigBuilder()
Config specific to the cache storage implementation.
|
com.google.protobuf.AnyOrBuilder |
getTypedConfigOrBuilder()
Config specific to the cache storage implementation.
|
boolean |
hasKeyCreatorParams()
[#not-implemented-hide:]
<TODO(toddmgreer) implement key customization>
Modifies cache key creation by restricting which parts of the URL are included.
|
boolean |
hasTypedConfig()
Config specific to the cache storage implementation.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CacheConfig.Builder |
mergeFrom(CacheConfig other) |
CacheConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CacheConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
CacheConfig.Builder |
mergeKeyCreatorParams(CacheConfig.KeyCreatorParams value)
[#not-implemented-hide:]
<TODO(toddmgreer) implement key customization>
Modifies cache key creation by restricting which parts of the URL are included.
|
CacheConfig.Builder |
mergeTypedConfig(com.google.protobuf.Any value)
Config specific to the cache storage implementation.
|
CacheConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CacheConfig.Builder |
removeAllowedVaryHeaders(int index)
List of matching rules that defines allowed *Vary* headers.
|
CacheConfig.Builder |
setAllowedVaryHeaders(int index,
StringMatcher.Builder builderForValue)
List of matching rules that defines allowed *Vary* headers.
|
CacheConfig.Builder |
setAllowedVaryHeaders(int index,
StringMatcher value)
List of matching rules that defines allowed *Vary* headers.
|
CacheConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CacheConfig.Builder |
setKeyCreatorParams(CacheConfig.KeyCreatorParams.Builder builderForValue)
[#not-implemented-hide:]
<TODO(toddmgreer) implement key customization>
Modifies cache key creation by restricting which parts of the URL are included.
|
CacheConfig.Builder |
setKeyCreatorParams(CacheConfig.KeyCreatorParams value)
[#not-implemented-hide:]
<TODO(toddmgreer) implement key customization>
Modifies cache key creation by restricting which parts of the URL are included.
|
CacheConfig.Builder |
setMaxBodyBytes(int value)
[#not-implemented-hide:]
<TODO(toddmgreer) implement size limit>
Max body size the cache filter will insert into a cache. 0 means unlimited (though the cache
storage implementation may have its own limit beyond which it will reject insertions).
|
CacheConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CacheConfig.Builder |
setTypedConfig(com.google.protobuf.Any.Builder builderForValue)
Config specific to the cache storage implementation.
|
CacheConfig.Builder |
setTypedConfig(com.google.protobuf.Any value)
Config specific to the cache storage implementation.
|
CacheConfig.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<CacheConfig.Builder>public CacheConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CacheConfig.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<CacheConfig.Builder>public CacheConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CacheConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CacheConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CacheConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CacheConfig.Builder>public CacheConfig.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<CacheConfig.Builder>public CacheConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CacheConfig.Builder>public CacheConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CacheConfig.Builder>public CacheConfig.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<CacheConfig.Builder>public CacheConfig.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<CacheConfig.Builder>public CacheConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CacheConfig.Builder>public CacheConfig.Builder mergeFrom(CacheConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CacheConfig.Builder>public CacheConfig.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<CacheConfig.Builder>IOExceptionpublic boolean hasTypedConfig()
Config specific to the cache storage implementation.
.google.protobuf.Any typed_config = 1 [(.validate.rules) = { ... }hasTypedConfig in interface CacheConfigOrBuilderpublic com.google.protobuf.Any getTypedConfig()
Config specific to the cache storage implementation.
.google.protobuf.Any typed_config = 1 [(.validate.rules) = { ... }getTypedConfig in interface CacheConfigOrBuilderpublic CacheConfig.Builder setTypedConfig(com.google.protobuf.Any value)
Config specific to the cache storage implementation.
.google.protobuf.Any typed_config = 1 [(.validate.rules) = { ... }public CacheConfig.Builder setTypedConfig(com.google.protobuf.Any.Builder builderForValue)
Config specific to the cache storage implementation.
.google.protobuf.Any typed_config = 1 [(.validate.rules) = { ... }public CacheConfig.Builder mergeTypedConfig(com.google.protobuf.Any value)
Config specific to the cache storage implementation.
.google.protobuf.Any typed_config = 1 [(.validate.rules) = { ... }public CacheConfig.Builder clearTypedConfig()
Config specific to the cache storage implementation.
.google.protobuf.Any typed_config = 1 [(.validate.rules) = { ... }public com.google.protobuf.Any.Builder getTypedConfigBuilder()
Config specific to the cache storage implementation.
.google.protobuf.Any typed_config = 1 [(.validate.rules) = { ... }public com.google.protobuf.AnyOrBuilder getTypedConfigOrBuilder()
Config specific to the cache storage implementation.
.google.protobuf.Any typed_config = 1 [(.validate.rules) = { ... }getTypedConfigOrBuilder in interface CacheConfigOrBuilderpublic List<StringMatcher> getAllowedVaryHeadersList()
List of matching rules that defines allowed *Vary* headers. The *vary* response header holds a list of header names that affect the contents of a response, as described by https://httpwg.org/specs/rfc7234.html#caching.negotiated.responses. During insertion, *allowed_vary_headers* acts as a allowlist: if a response's *vary* header mentions any header names that aren't matched by any rules in *allowed_vary_headers*, that response will not be cached. During lookup, *allowed_vary_headers* controls what request headers will be sent to the cache storage implementation.
repeated .envoy.type.matcher.v4alpha.StringMatcher allowed_vary_headers = 2;getAllowedVaryHeadersList in interface CacheConfigOrBuilderpublic int getAllowedVaryHeadersCount()
List of matching rules that defines allowed *Vary* headers. The *vary* response header holds a list of header names that affect the contents of a response, as described by https://httpwg.org/specs/rfc7234.html#caching.negotiated.responses. During insertion, *allowed_vary_headers* acts as a allowlist: if a response's *vary* header mentions any header names that aren't matched by any rules in *allowed_vary_headers*, that response will not be cached. During lookup, *allowed_vary_headers* controls what request headers will be sent to the cache storage implementation.
repeated .envoy.type.matcher.v4alpha.StringMatcher allowed_vary_headers = 2;getAllowedVaryHeadersCount in interface CacheConfigOrBuilderpublic StringMatcher getAllowedVaryHeaders(int index)
List of matching rules that defines allowed *Vary* headers. The *vary* response header holds a list of header names that affect the contents of a response, as described by https://httpwg.org/specs/rfc7234.html#caching.negotiated.responses. During insertion, *allowed_vary_headers* acts as a allowlist: if a response's *vary* header mentions any header names that aren't matched by any rules in *allowed_vary_headers*, that response will not be cached. During lookup, *allowed_vary_headers* controls what request headers will be sent to the cache storage implementation.
repeated .envoy.type.matcher.v4alpha.StringMatcher allowed_vary_headers = 2;getAllowedVaryHeaders in interface CacheConfigOrBuilderpublic CacheConfig.Builder setAllowedVaryHeaders(int index, StringMatcher value)
List of matching rules that defines allowed *Vary* headers. The *vary* response header holds a list of header names that affect the contents of a response, as described by https://httpwg.org/specs/rfc7234.html#caching.negotiated.responses. During insertion, *allowed_vary_headers* acts as a allowlist: if a response's *vary* header mentions any header names that aren't matched by any rules in *allowed_vary_headers*, that response will not be cached. During lookup, *allowed_vary_headers* controls what request headers will be sent to the cache storage implementation.
repeated .envoy.type.matcher.v4alpha.StringMatcher allowed_vary_headers = 2;public CacheConfig.Builder setAllowedVaryHeaders(int index, StringMatcher.Builder builderForValue)
List of matching rules that defines allowed *Vary* headers. The *vary* response header holds a list of header names that affect the contents of a response, as described by https://httpwg.org/specs/rfc7234.html#caching.negotiated.responses. During insertion, *allowed_vary_headers* acts as a allowlist: if a response's *vary* header mentions any header names that aren't matched by any rules in *allowed_vary_headers*, that response will not be cached. During lookup, *allowed_vary_headers* controls what request headers will be sent to the cache storage implementation.
repeated .envoy.type.matcher.v4alpha.StringMatcher allowed_vary_headers = 2;public CacheConfig.Builder addAllowedVaryHeaders(StringMatcher value)
List of matching rules that defines allowed *Vary* headers. The *vary* response header holds a list of header names that affect the contents of a response, as described by https://httpwg.org/specs/rfc7234.html#caching.negotiated.responses. During insertion, *allowed_vary_headers* acts as a allowlist: if a response's *vary* header mentions any header names that aren't matched by any rules in *allowed_vary_headers*, that response will not be cached. During lookup, *allowed_vary_headers* controls what request headers will be sent to the cache storage implementation.
repeated .envoy.type.matcher.v4alpha.StringMatcher allowed_vary_headers = 2;public CacheConfig.Builder addAllowedVaryHeaders(int index, StringMatcher value)
List of matching rules that defines allowed *Vary* headers. The *vary* response header holds a list of header names that affect the contents of a response, as described by https://httpwg.org/specs/rfc7234.html#caching.negotiated.responses. During insertion, *allowed_vary_headers* acts as a allowlist: if a response's *vary* header mentions any header names that aren't matched by any rules in *allowed_vary_headers*, that response will not be cached. During lookup, *allowed_vary_headers* controls what request headers will be sent to the cache storage implementation.
repeated .envoy.type.matcher.v4alpha.StringMatcher allowed_vary_headers = 2;public CacheConfig.Builder addAllowedVaryHeaders(StringMatcher.Builder builderForValue)
List of matching rules that defines allowed *Vary* headers. The *vary* response header holds a list of header names that affect the contents of a response, as described by https://httpwg.org/specs/rfc7234.html#caching.negotiated.responses. During insertion, *allowed_vary_headers* acts as a allowlist: if a response's *vary* header mentions any header names that aren't matched by any rules in *allowed_vary_headers*, that response will not be cached. During lookup, *allowed_vary_headers* controls what request headers will be sent to the cache storage implementation.
repeated .envoy.type.matcher.v4alpha.StringMatcher allowed_vary_headers = 2;public CacheConfig.Builder addAllowedVaryHeaders(int index, StringMatcher.Builder builderForValue)
List of matching rules that defines allowed *Vary* headers. The *vary* response header holds a list of header names that affect the contents of a response, as described by https://httpwg.org/specs/rfc7234.html#caching.negotiated.responses. During insertion, *allowed_vary_headers* acts as a allowlist: if a response's *vary* header mentions any header names that aren't matched by any rules in *allowed_vary_headers*, that response will not be cached. During lookup, *allowed_vary_headers* controls what request headers will be sent to the cache storage implementation.
repeated .envoy.type.matcher.v4alpha.StringMatcher allowed_vary_headers = 2;public CacheConfig.Builder addAllAllowedVaryHeaders(Iterable<? extends StringMatcher> values)
List of matching rules that defines allowed *Vary* headers. The *vary* response header holds a list of header names that affect the contents of a response, as described by https://httpwg.org/specs/rfc7234.html#caching.negotiated.responses. During insertion, *allowed_vary_headers* acts as a allowlist: if a response's *vary* header mentions any header names that aren't matched by any rules in *allowed_vary_headers*, that response will not be cached. During lookup, *allowed_vary_headers* controls what request headers will be sent to the cache storage implementation.
repeated .envoy.type.matcher.v4alpha.StringMatcher allowed_vary_headers = 2;public CacheConfig.Builder clearAllowedVaryHeaders()
List of matching rules that defines allowed *Vary* headers. The *vary* response header holds a list of header names that affect the contents of a response, as described by https://httpwg.org/specs/rfc7234.html#caching.negotiated.responses. During insertion, *allowed_vary_headers* acts as a allowlist: if a response's *vary* header mentions any header names that aren't matched by any rules in *allowed_vary_headers*, that response will not be cached. During lookup, *allowed_vary_headers* controls what request headers will be sent to the cache storage implementation.
repeated .envoy.type.matcher.v4alpha.StringMatcher allowed_vary_headers = 2;public CacheConfig.Builder removeAllowedVaryHeaders(int index)
List of matching rules that defines allowed *Vary* headers. The *vary* response header holds a list of header names that affect the contents of a response, as described by https://httpwg.org/specs/rfc7234.html#caching.negotiated.responses. During insertion, *allowed_vary_headers* acts as a allowlist: if a response's *vary* header mentions any header names that aren't matched by any rules in *allowed_vary_headers*, that response will not be cached. During lookup, *allowed_vary_headers* controls what request headers will be sent to the cache storage implementation.
repeated .envoy.type.matcher.v4alpha.StringMatcher allowed_vary_headers = 2;public StringMatcher.Builder getAllowedVaryHeadersBuilder(int index)
List of matching rules that defines allowed *Vary* headers. The *vary* response header holds a list of header names that affect the contents of a response, as described by https://httpwg.org/specs/rfc7234.html#caching.negotiated.responses. During insertion, *allowed_vary_headers* acts as a allowlist: if a response's *vary* header mentions any header names that aren't matched by any rules in *allowed_vary_headers*, that response will not be cached. During lookup, *allowed_vary_headers* controls what request headers will be sent to the cache storage implementation.
repeated .envoy.type.matcher.v4alpha.StringMatcher allowed_vary_headers = 2;public StringMatcherOrBuilder getAllowedVaryHeadersOrBuilder(int index)
List of matching rules that defines allowed *Vary* headers. The *vary* response header holds a list of header names that affect the contents of a response, as described by https://httpwg.org/specs/rfc7234.html#caching.negotiated.responses. During insertion, *allowed_vary_headers* acts as a allowlist: if a response's *vary* header mentions any header names that aren't matched by any rules in *allowed_vary_headers*, that response will not be cached. During lookup, *allowed_vary_headers* controls what request headers will be sent to the cache storage implementation.
repeated .envoy.type.matcher.v4alpha.StringMatcher allowed_vary_headers = 2;getAllowedVaryHeadersOrBuilder in interface CacheConfigOrBuilderpublic List<? extends StringMatcherOrBuilder> getAllowedVaryHeadersOrBuilderList()
List of matching rules that defines allowed *Vary* headers. The *vary* response header holds a list of header names that affect the contents of a response, as described by https://httpwg.org/specs/rfc7234.html#caching.negotiated.responses. During insertion, *allowed_vary_headers* acts as a allowlist: if a response's *vary* header mentions any header names that aren't matched by any rules in *allowed_vary_headers*, that response will not be cached. During lookup, *allowed_vary_headers* controls what request headers will be sent to the cache storage implementation.
repeated .envoy.type.matcher.v4alpha.StringMatcher allowed_vary_headers = 2;getAllowedVaryHeadersOrBuilderList in interface CacheConfigOrBuilderpublic StringMatcher.Builder addAllowedVaryHeadersBuilder()
List of matching rules that defines allowed *Vary* headers. The *vary* response header holds a list of header names that affect the contents of a response, as described by https://httpwg.org/specs/rfc7234.html#caching.negotiated.responses. During insertion, *allowed_vary_headers* acts as a allowlist: if a response's *vary* header mentions any header names that aren't matched by any rules in *allowed_vary_headers*, that response will not be cached. During lookup, *allowed_vary_headers* controls what request headers will be sent to the cache storage implementation.
repeated .envoy.type.matcher.v4alpha.StringMatcher allowed_vary_headers = 2;public StringMatcher.Builder addAllowedVaryHeadersBuilder(int index)
List of matching rules that defines allowed *Vary* headers. The *vary* response header holds a list of header names that affect the contents of a response, as described by https://httpwg.org/specs/rfc7234.html#caching.negotiated.responses. During insertion, *allowed_vary_headers* acts as a allowlist: if a response's *vary* header mentions any header names that aren't matched by any rules in *allowed_vary_headers*, that response will not be cached. During lookup, *allowed_vary_headers* controls what request headers will be sent to the cache storage implementation.
repeated .envoy.type.matcher.v4alpha.StringMatcher allowed_vary_headers = 2;public List<StringMatcher.Builder> getAllowedVaryHeadersBuilderList()
List of matching rules that defines allowed *Vary* headers. The *vary* response header holds a list of header names that affect the contents of a response, as described by https://httpwg.org/specs/rfc7234.html#caching.negotiated.responses. During insertion, *allowed_vary_headers* acts as a allowlist: if a response's *vary* header mentions any header names that aren't matched by any rules in *allowed_vary_headers*, that response will not be cached. During lookup, *allowed_vary_headers* controls what request headers will be sent to the cache storage implementation.
repeated .envoy.type.matcher.v4alpha.StringMatcher allowed_vary_headers = 2;public boolean hasKeyCreatorParams()
[#not-implemented-hide:] <TODO(toddmgreer) implement key customization> Modifies cache key creation by restricting which parts of the URL are included.
.envoy.extensions.filters.http.cache.v4alpha.CacheConfig.KeyCreatorParams key_creator_params = 3;hasKeyCreatorParams in interface CacheConfigOrBuilderpublic CacheConfig.KeyCreatorParams getKeyCreatorParams()
[#not-implemented-hide:] <TODO(toddmgreer) implement key customization> Modifies cache key creation by restricting which parts of the URL are included.
.envoy.extensions.filters.http.cache.v4alpha.CacheConfig.KeyCreatorParams key_creator_params = 3;getKeyCreatorParams in interface CacheConfigOrBuilderpublic CacheConfig.Builder setKeyCreatorParams(CacheConfig.KeyCreatorParams value)
[#not-implemented-hide:] <TODO(toddmgreer) implement key customization> Modifies cache key creation by restricting which parts of the URL are included.
.envoy.extensions.filters.http.cache.v4alpha.CacheConfig.KeyCreatorParams key_creator_params = 3;public CacheConfig.Builder setKeyCreatorParams(CacheConfig.KeyCreatorParams.Builder builderForValue)
[#not-implemented-hide:] <TODO(toddmgreer) implement key customization> Modifies cache key creation by restricting which parts of the URL are included.
.envoy.extensions.filters.http.cache.v4alpha.CacheConfig.KeyCreatorParams key_creator_params = 3;public CacheConfig.Builder mergeKeyCreatorParams(CacheConfig.KeyCreatorParams value)
[#not-implemented-hide:] <TODO(toddmgreer) implement key customization> Modifies cache key creation by restricting which parts of the URL are included.
.envoy.extensions.filters.http.cache.v4alpha.CacheConfig.KeyCreatorParams key_creator_params = 3;public CacheConfig.Builder clearKeyCreatorParams()
[#not-implemented-hide:] <TODO(toddmgreer) implement key customization> Modifies cache key creation by restricting which parts of the URL are included.
.envoy.extensions.filters.http.cache.v4alpha.CacheConfig.KeyCreatorParams key_creator_params = 3;public CacheConfig.KeyCreatorParams.Builder getKeyCreatorParamsBuilder()
[#not-implemented-hide:] <TODO(toddmgreer) implement key customization> Modifies cache key creation by restricting which parts of the URL are included.
.envoy.extensions.filters.http.cache.v4alpha.CacheConfig.KeyCreatorParams key_creator_params = 3;public CacheConfig.KeyCreatorParamsOrBuilder getKeyCreatorParamsOrBuilder()
[#not-implemented-hide:] <TODO(toddmgreer) implement key customization> Modifies cache key creation by restricting which parts of the URL are included.
.envoy.extensions.filters.http.cache.v4alpha.CacheConfig.KeyCreatorParams key_creator_params = 3;getKeyCreatorParamsOrBuilder in interface CacheConfigOrBuilderpublic int getMaxBodyBytes()
[#not-implemented-hide:] <TODO(toddmgreer) implement size limit> Max body size the cache filter will insert into a cache. 0 means unlimited (though the cache storage implementation may have its own limit beyond which it will reject insertions).
uint32 max_body_bytes = 4;getMaxBodyBytes in interface CacheConfigOrBuilderpublic CacheConfig.Builder setMaxBodyBytes(int value)
[#not-implemented-hide:] <TODO(toddmgreer) implement size limit> Max body size the cache filter will insert into a cache. 0 means unlimited (though the cache storage implementation may have its own limit beyond which it will reject insertions).
uint32 max_body_bytes = 4;public CacheConfig.Builder clearMaxBodyBytes()
[#not-implemented-hide:] <TODO(toddmgreer) implement size limit> Max body size the cache filter will insert into a cache. 0 means unlimited (though the cache storage implementation may have its own limit beyond which it will reject insertions).
uint32 max_body_bytes = 4;public final CacheConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CacheConfig.Builder>public final CacheConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CacheConfig.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.