public final class CacheConfig extends com.google.protobuf.GeneratedMessageV3 implements CacheConfigOrBuilder
envoy.extensions.filters.http.cache.v4alpha.CacheConfig| Modifier and Type | Class and Description |
|---|---|
static class |
CacheConfig.Builder
Protobuf type
envoy.extensions.filters.http.cache.v4alpha.CacheConfig |
static class |
CacheConfig.KeyCreatorParams
[#not-implemented-hide:]
Modifies cache key creation by restricting which parts of the URL are included.
|
static interface |
CacheConfig.KeyCreatorParamsOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOWED_VARY_HEADERS_FIELD_NUMBER |
static int |
KEY_CREATOR_PARAMS_FIELD_NUMBER |
static int |
MAX_BODY_BYTES_FIELD_NUMBER |
static int |
TYPED_CONFIG_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
StringMatcher |
getAllowedVaryHeaders(int index)
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.
|
static CacheConfig |
getDefaultInstance() |
CacheConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.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.Parser<CacheConfig> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.Any |
getTypedConfig()
Config specific to the cache storage implementation.
|
com.google.protobuf.AnyOrBuilder |
getTypedConfigOrBuilder()
Config specific to the cache storage implementation.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
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() |
static CacheConfig.Builder |
newBuilder() |
static CacheConfig.Builder |
newBuilder(CacheConfig prototype) |
CacheConfig.Builder |
newBuilderForType() |
protected CacheConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CacheConfig |
parseDelimitedFrom(InputStream input) |
static CacheConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CacheConfig |
parseFrom(byte[] data) |
static CacheConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CacheConfig |
parseFrom(ByteBuffer data) |
static CacheConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CacheConfig |
parseFrom(com.google.protobuf.ByteString data) |
static CacheConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CacheConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CacheConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CacheConfig |
parseFrom(InputStream input) |
static CacheConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CacheConfig> |
parser() |
CacheConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TYPED_CONFIG_FIELD_NUMBER
public static final int ALLOWED_VARY_HEADERS_FIELD_NUMBER
public static final int KEY_CREATOR_PARAMS_FIELD_NUMBER
public static final int MAX_BODY_BYTES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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 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.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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static CacheConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CacheConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CacheConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CacheConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CacheConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CacheConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CacheConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static CacheConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CacheConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CacheConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CacheConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CacheConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CacheConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CacheConfig.Builder newBuilder()
public static CacheConfig.Builder newBuilder(CacheConfig prototype)
public CacheConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CacheConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CacheConfig getDefaultInstance()
public static com.google.protobuf.Parser<CacheConfig> parser()
public com.google.protobuf.Parser<CacheConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CacheConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.