public static final class CacheConfig.KeyCreatorParams extends com.google.protobuf.GeneratedMessageV3 implements CacheConfig.KeyCreatorParamsOrBuilder
[#not-implemented-hide:] Modifies cache key creation by restricting which parts of the URL are included.Protobuf type
envoy.config.filter.http.cache.v2alpha.CacheConfig.KeyCreatorParams| Modifier and Type | Class and Description |
|---|---|
static class |
CacheConfig.KeyCreatorParams.Builder
[#not-implemented-hide:]
Modifies cache key creation by restricting which parts of the URL are included.
|
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 |
EXCLUDE_HOST_FIELD_NUMBER |
static int |
EXCLUDE_SCHEME_FIELD_NUMBER |
static int |
QUERY_PARAMETERS_EXCLUDED_FIELD_NUMBER |
static int |
QUERY_PARAMETERS_INCLUDED_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static CacheConfig.KeyCreatorParams |
getDefaultInstance() |
CacheConfig.KeyCreatorParams |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getExcludeHost()
If true, exclude the host from the cache key.
|
boolean |
getExcludeScheme()
If true, exclude the URL scheme from the cache key.
|
com.google.protobuf.Parser<CacheConfig.KeyCreatorParams> |
getParserForType() |
QueryParameterMatcher |
getQueryParametersExcluded(int index)
If *query_parameters_excluded* is nonempty, query parameters matched by one
or more of its matchers are excluded from the cache key (even if also
matched by *query_parameters_included*), and will not affect cache lookup.
|
int |
getQueryParametersExcludedCount()
If *query_parameters_excluded* is nonempty, query parameters matched by one
or more of its matchers are excluded from the cache key (even if also
matched by *query_parameters_included*), and will not affect cache lookup.
|
List<QueryParameterMatcher> |
getQueryParametersExcludedList()
If *query_parameters_excluded* is nonempty, query parameters matched by one
or more of its matchers are excluded from the cache key (even if also
matched by *query_parameters_included*), and will not affect cache lookup.
|
QueryParameterMatcherOrBuilder |
getQueryParametersExcludedOrBuilder(int index)
If *query_parameters_excluded* is nonempty, query parameters matched by one
or more of its matchers are excluded from the cache key (even if also
matched by *query_parameters_included*), and will not affect cache lookup.
|
List<? extends QueryParameterMatcherOrBuilder> |
getQueryParametersExcludedOrBuilderList()
If *query_parameters_excluded* is nonempty, query parameters matched by one
or more of its matchers are excluded from the cache key (even if also
matched by *query_parameters_included*), and will not affect cache lookup.
|
QueryParameterMatcher |
getQueryParametersIncluded(int index)
If *query_parameters_included* is nonempty, only query parameters matched
by one or more of its matchers are included in the cache key.
|
int |
getQueryParametersIncludedCount()
If *query_parameters_included* is nonempty, only query parameters matched
by one or more of its matchers are included in the cache key.
|
List<QueryParameterMatcher> |
getQueryParametersIncludedList()
If *query_parameters_included* is nonempty, only query parameters matched
by one or more of its matchers are included in the cache key.
|
QueryParameterMatcherOrBuilder |
getQueryParametersIncludedOrBuilder(int index)
If *query_parameters_included* is nonempty, only query parameters matched
by one or more of its matchers are included in the cache key.
|
List<? extends QueryParameterMatcherOrBuilder> |
getQueryParametersIncludedOrBuilderList()
If *query_parameters_included* is nonempty, only query parameters matched
by one or more of its matchers are included in the cache key.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CacheConfig.KeyCreatorParams.Builder |
newBuilder() |
static CacheConfig.KeyCreatorParams.Builder |
newBuilder(CacheConfig.KeyCreatorParams prototype) |
CacheConfig.KeyCreatorParams.Builder |
newBuilderForType() |
protected CacheConfig.KeyCreatorParams.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CacheConfig.KeyCreatorParams |
parseDelimitedFrom(InputStream input) |
static CacheConfig.KeyCreatorParams |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CacheConfig.KeyCreatorParams |
parseFrom(byte[] data) |
static CacheConfig.KeyCreatorParams |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CacheConfig.KeyCreatorParams |
parseFrom(ByteBuffer data) |
static CacheConfig.KeyCreatorParams |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CacheConfig.KeyCreatorParams |
parseFrom(com.google.protobuf.ByteString data) |
static CacheConfig.KeyCreatorParams |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CacheConfig.KeyCreatorParams |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CacheConfig.KeyCreatorParams |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CacheConfig.KeyCreatorParams |
parseFrom(InputStream input) |
static CacheConfig.KeyCreatorParams |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CacheConfig.KeyCreatorParams> |
parser() |
CacheConfig.KeyCreatorParams.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 EXCLUDE_SCHEME_FIELD_NUMBER
public static final int EXCLUDE_HOST_FIELD_NUMBER
public static final int QUERY_PARAMETERS_INCLUDED_FIELD_NUMBER
public static final int QUERY_PARAMETERS_EXCLUDED_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 getExcludeScheme()
If true, exclude the URL scheme from the cache key. Set to true if your origins always produce the same response for http and https requests.
bool exclude_scheme = 1;getExcludeScheme in interface CacheConfig.KeyCreatorParamsOrBuilderpublic boolean getExcludeHost()
If true, exclude the host from the cache key. Set to true if your origins' responses don't ever depend on host.
bool exclude_host = 2;getExcludeHost in interface CacheConfig.KeyCreatorParamsOrBuilderpublic List<QueryParameterMatcher> getQueryParametersIncludedList()
If *query_parameters_included* is nonempty, only query parameters matched by one or more of its matchers are included in the cache key. Any other query params will not affect cache lookup.
repeated .envoy.api.v2.route.QueryParameterMatcher query_parameters_included = 3;getQueryParametersIncludedList in interface CacheConfig.KeyCreatorParamsOrBuilderpublic List<? extends QueryParameterMatcherOrBuilder> getQueryParametersIncludedOrBuilderList()
If *query_parameters_included* is nonempty, only query parameters matched by one or more of its matchers are included in the cache key. Any other query params will not affect cache lookup.
repeated .envoy.api.v2.route.QueryParameterMatcher query_parameters_included = 3;getQueryParametersIncludedOrBuilderList in interface CacheConfig.KeyCreatorParamsOrBuilderpublic int getQueryParametersIncludedCount()
If *query_parameters_included* is nonempty, only query parameters matched by one or more of its matchers are included in the cache key. Any other query params will not affect cache lookup.
repeated .envoy.api.v2.route.QueryParameterMatcher query_parameters_included = 3;getQueryParametersIncludedCount in interface CacheConfig.KeyCreatorParamsOrBuilderpublic QueryParameterMatcher getQueryParametersIncluded(int index)
If *query_parameters_included* is nonempty, only query parameters matched by one or more of its matchers are included in the cache key. Any other query params will not affect cache lookup.
repeated .envoy.api.v2.route.QueryParameterMatcher query_parameters_included = 3;getQueryParametersIncluded in interface CacheConfig.KeyCreatorParamsOrBuilderpublic QueryParameterMatcherOrBuilder getQueryParametersIncludedOrBuilder(int index)
If *query_parameters_included* is nonempty, only query parameters matched by one or more of its matchers are included in the cache key. Any other query params will not affect cache lookup.
repeated .envoy.api.v2.route.QueryParameterMatcher query_parameters_included = 3;getQueryParametersIncludedOrBuilder in interface CacheConfig.KeyCreatorParamsOrBuilderpublic List<QueryParameterMatcher> getQueryParametersExcludedList()
If *query_parameters_excluded* is nonempty, query parameters matched by one or more of its matchers are excluded from the cache key (even if also matched by *query_parameters_included*), and will not affect cache lookup.
repeated .envoy.api.v2.route.QueryParameterMatcher query_parameters_excluded = 4;getQueryParametersExcludedList in interface CacheConfig.KeyCreatorParamsOrBuilderpublic List<? extends QueryParameterMatcherOrBuilder> getQueryParametersExcludedOrBuilderList()
If *query_parameters_excluded* is nonempty, query parameters matched by one or more of its matchers are excluded from the cache key (even if also matched by *query_parameters_included*), and will not affect cache lookup.
repeated .envoy.api.v2.route.QueryParameterMatcher query_parameters_excluded = 4;getQueryParametersExcludedOrBuilderList in interface CacheConfig.KeyCreatorParamsOrBuilderpublic int getQueryParametersExcludedCount()
If *query_parameters_excluded* is nonempty, query parameters matched by one or more of its matchers are excluded from the cache key (even if also matched by *query_parameters_included*), and will not affect cache lookup.
repeated .envoy.api.v2.route.QueryParameterMatcher query_parameters_excluded = 4;getQueryParametersExcludedCount in interface CacheConfig.KeyCreatorParamsOrBuilderpublic QueryParameterMatcher getQueryParametersExcluded(int index)
If *query_parameters_excluded* is nonempty, query parameters matched by one or more of its matchers are excluded from the cache key (even if also matched by *query_parameters_included*), and will not affect cache lookup.
repeated .envoy.api.v2.route.QueryParameterMatcher query_parameters_excluded = 4;getQueryParametersExcluded in interface CacheConfig.KeyCreatorParamsOrBuilderpublic QueryParameterMatcherOrBuilder getQueryParametersExcludedOrBuilder(int index)
If *query_parameters_excluded* is nonempty, query parameters matched by one or more of its matchers are excluded from the cache key (even if also matched by *query_parameters_included*), and will not affect cache lookup.
repeated .envoy.api.v2.route.QueryParameterMatcher query_parameters_excluded = 4;getQueryParametersExcludedOrBuilder in interface CacheConfig.KeyCreatorParamsOrBuilderpublic 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.KeyCreatorParams parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CacheConfig.KeyCreatorParams parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CacheConfig.KeyCreatorParams parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CacheConfig.KeyCreatorParams parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CacheConfig.KeyCreatorParams parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CacheConfig.KeyCreatorParams parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CacheConfig.KeyCreatorParams parseFrom(InputStream input) throws IOException
IOExceptionpublic static CacheConfig.KeyCreatorParams parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CacheConfig.KeyCreatorParams parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CacheConfig.KeyCreatorParams parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CacheConfig.KeyCreatorParams parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CacheConfig.KeyCreatorParams parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CacheConfig.KeyCreatorParams.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CacheConfig.KeyCreatorParams.Builder newBuilder()
public static CacheConfig.KeyCreatorParams.Builder newBuilder(CacheConfig.KeyCreatorParams prototype)
public CacheConfig.KeyCreatorParams.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CacheConfig.KeyCreatorParams.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CacheConfig.KeyCreatorParams getDefaultInstance()
public static com.google.protobuf.Parser<CacheConfig.KeyCreatorParams> parser()
public com.google.protobuf.Parser<CacheConfig.KeyCreatorParams> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CacheConfig.KeyCreatorParams getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.