Package com.google.cloud.compute.v1
Class CacheKeyPolicy.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CacheKeyPolicy.Builder>
com.google.cloud.compute.v1.CacheKeyPolicy.Builder
- All Implemented Interfaces:
CacheKeyPolicyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CacheKeyPolicy
public static final class CacheKeyPolicy.Builder
extends com.google.protobuf.GeneratedMessage.Builder<CacheKeyPolicy.Builder>
implements CacheKeyPolicyOrBuilder
Message containing what to include in the cache key for a request for Cloud CDN.Protobuf type
google.cloud.compute.v1.CacheKeyPolicy-
Method Summary
Modifier and TypeMethodDescriptionaddAllIncludeHttpHeaders(Iterable<String> values) Allows HTTP request headers (by name) to be used in the cache key.addAllIncludeNamedCookies(Iterable<String> values) Allows HTTP cookies (by name) to be used in the cache key.addAllQueryStringBlacklist(Iterable<String> values) Names of query string parameters to exclude in cache keys.addAllQueryStringWhitelist(Iterable<String> values) Names of query string parameters to include in cache keys.addIncludeHttpHeaders(String value) Allows HTTP request headers (by name) to be used in the cache key.addIncludeHttpHeadersBytes(com.google.protobuf.ByteString value) Allows HTTP request headers (by name) to be used in the cache key.addIncludeNamedCookies(String value) Allows HTTP cookies (by name) to be used in the cache key.addIncludeNamedCookiesBytes(com.google.protobuf.ByteString value) Allows HTTP cookies (by name) to be used in the cache key.addQueryStringBlacklist(String value) Names of query string parameters to exclude in cache keys.addQueryStringBlacklistBytes(com.google.protobuf.ByteString value) Names of query string parameters to exclude in cache keys.addQueryStringWhitelist(String value) Names of query string parameters to include in cache keys.addQueryStringWhitelistBytes(com.google.protobuf.ByteString value) Names of query string parameters to include in cache keys.build()clear()If true, requests to different hosts will be cached separately.Allows HTTP request headers (by name) to be used in the cache key.Allows HTTP cookies (by name) to be used in the cache key.If true, http and https requests will be cached separately.If true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist.Names of query string parameters to exclude in cache keys.Names of query string parameters to include in cache keys.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanIf true, requests to different hosts will be cached separately.getIncludeHttpHeaders(int index) Allows HTTP request headers (by name) to be used in the cache key.com.google.protobuf.ByteStringgetIncludeHttpHeadersBytes(int index) Allows HTTP request headers (by name) to be used in the cache key.intAllows HTTP request headers (by name) to be used in the cache key.com.google.protobuf.ProtocolStringListAllows HTTP request headers (by name) to be used in the cache key.getIncludeNamedCookies(int index) Allows HTTP cookies (by name) to be used in the cache key.com.google.protobuf.ByteStringgetIncludeNamedCookiesBytes(int index) Allows HTTP cookies (by name) to be used in the cache key.intAllows HTTP cookies (by name) to be used in the cache key.com.google.protobuf.ProtocolStringListAllows HTTP cookies (by name) to be used in the cache key.booleanIf true, http and https requests will be cached separately.booleanIf true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist.getQueryStringBlacklist(int index) Names of query string parameters to exclude in cache keys.com.google.protobuf.ByteStringgetQueryStringBlacklistBytes(int index) Names of query string parameters to exclude in cache keys.intNames of query string parameters to exclude in cache keys.com.google.protobuf.ProtocolStringListNames of query string parameters to exclude in cache keys.getQueryStringWhitelist(int index) Names of query string parameters to include in cache keys.com.google.protobuf.ByteStringgetQueryStringWhitelistBytes(int index) Names of query string parameters to include in cache keys.intNames of query string parameters to include in cache keys.com.google.protobuf.ProtocolStringListNames of query string parameters to include in cache keys.booleanIf true, requests to different hosts will be cached separately.booleanIf true, http and https requests will be cached separately.booleanIf true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(CacheKeyPolicy other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setIncludeHost(boolean value) If true, requests to different hosts will be cached separately.setIncludeHttpHeaders(int index, String value) Allows HTTP request headers (by name) to be used in the cache key.setIncludeNamedCookies(int index, String value) Allows HTTP cookies (by name) to be used in the cache key.setIncludeProtocol(boolean value) If true, http and https requests will be cached separately.setIncludeQueryString(boolean value) If true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist.setQueryStringBlacklist(int index, String value) Names of query string parameters to exclude in cache keys.setQueryStringWhitelist(int index, String value) Names of query string parameters to include in cache keys.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<CacheKeyPolicy.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<CacheKeyPolicy.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<CacheKeyPolicy.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CacheKeyPolicy.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<CacheKeyPolicy.Builder>
-
mergeFrom
public CacheKeyPolicy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CacheKeyPolicy.Builder>- Throws:
IOException
-
hasIncludeHost
public boolean hasIncludeHost()If true, requests to different hosts will be cached separately.
optional bool include_host = 486867679;- Specified by:
hasIncludeHostin interfaceCacheKeyPolicyOrBuilder- Returns:
- Whether the includeHost field is set.
-
getIncludeHost
public boolean getIncludeHost()If true, requests to different hosts will be cached separately.
optional bool include_host = 486867679;- Specified by:
getIncludeHostin interfaceCacheKeyPolicyOrBuilder- Returns:
- The includeHost.
-
setIncludeHost
If true, requests to different hosts will be cached separately.
optional bool include_host = 486867679;- Parameters:
value- The includeHost to set.- Returns:
- This builder for chaining.
-
clearIncludeHost
If true, requests to different hosts will be cached separately.
optional bool include_host = 486867679;- Returns:
- This builder for chaining.
-
getIncludeHttpHeadersList
public com.google.protobuf.ProtocolStringList getIncludeHttpHeadersList()Allows HTTP request headers (by name) to be used in the cache key.
repeated string include_http_headers = 2489606;- Specified by:
getIncludeHttpHeadersListin interfaceCacheKeyPolicyOrBuilder- Returns:
- A list containing the includeHttpHeaders.
-
getIncludeHttpHeadersCount
public int getIncludeHttpHeadersCount()Allows HTTP request headers (by name) to be used in the cache key.
repeated string include_http_headers = 2489606;- Specified by:
getIncludeHttpHeadersCountin interfaceCacheKeyPolicyOrBuilder- Returns:
- The count of includeHttpHeaders.
-
getIncludeHttpHeaders
Allows HTTP request headers (by name) to be used in the cache key.
repeated string include_http_headers = 2489606;- Specified by:
getIncludeHttpHeadersin interfaceCacheKeyPolicyOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The includeHttpHeaders at the given index.
-
getIncludeHttpHeadersBytes
public com.google.protobuf.ByteString getIncludeHttpHeadersBytes(int index) Allows HTTP request headers (by name) to be used in the cache key.
repeated string include_http_headers = 2489606;- Specified by:
getIncludeHttpHeadersBytesin interfaceCacheKeyPolicyOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the includeHttpHeaders at the given index.
-
setIncludeHttpHeaders
Allows HTTP request headers (by name) to be used in the cache key.
repeated string include_http_headers = 2489606;- Parameters:
index- The index to set the value at.value- The includeHttpHeaders to set.- Returns:
- This builder for chaining.
-
addIncludeHttpHeaders
Allows HTTP request headers (by name) to be used in the cache key.
repeated string include_http_headers = 2489606;- Parameters:
value- The includeHttpHeaders to add.- Returns:
- This builder for chaining.
-
addAllIncludeHttpHeaders
Allows HTTP request headers (by name) to be used in the cache key.
repeated string include_http_headers = 2489606;- Parameters:
values- The includeHttpHeaders to add.- Returns:
- This builder for chaining.
-
clearIncludeHttpHeaders
Allows HTTP request headers (by name) to be used in the cache key.
repeated string include_http_headers = 2489606;- Returns:
- This builder for chaining.
-
addIncludeHttpHeadersBytes
Allows HTTP request headers (by name) to be used in the cache key.
repeated string include_http_headers = 2489606;- Parameters:
value- The bytes of the includeHttpHeaders to add.- Returns:
- This builder for chaining.
-
getIncludeNamedCookiesList
public com.google.protobuf.ProtocolStringList getIncludeNamedCookiesList()Allows HTTP cookies (by name) to be used in the cache key. The name=value pair will be used in the cache key Cloud CDN generates.
repeated string include_named_cookies = 87316530;- Specified by:
getIncludeNamedCookiesListin interfaceCacheKeyPolicyOrBuilder- Returns:
- A list containing the includeNamedCookies.
-
getIncludeNamedCookiesCount
public int getIncludeNamedCookiesCount()Allows HTTP cookies (by name) to be used in the cache key. The name=value pair will be used in the cache key Cloud CDN generates.
repeated string include_named_cookies = 87316530;- Specified by:
getIncludeNamedCookiesCountin interfaceCacheKeyPolicyOrBuilder- Returns:
- The count of includeNamedCookies.
-
getIncludeNamedCookies
Allows HTTP cookies (by name) to be used in the cache key. The name=value pair will be used in the cache key Cloud CDN generates.
repeated string include_named_cookies = 87316530;- Specified by:
getIncludeNamedCookiesin interfaceCacheKeyPolicyOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The includeNamedCookies at the given index.
-
getIncludeNamedCookiesBytes
public com.google.protobuf.ByteString getIncludeNamedCookiesBytes(int index) Allows HTTP cookies (by name) to be used in the cache key. The name=value pair will be used in the cache key Cloud CDN generates.
repeated string include_named_cookies = 87316530;- Specified by:
getIncludeNamedCookiesBytesin interfaceCacheKeyPolicyOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the includeNamedCookies at the given index.
-
setIncludeNamedCookies
Allows HTTP cookies (by name) to be used in the cache key. The name=value pair will be used in the cache key Cloud CDN generates.
repeated string include_named_cookies = 87316530;- Parameters:
index- The index to set the value at.value- The includeNamedCookies to set.- Returns:
- This builder for chaining.
-
addIncludeNamedCookies
Allows HTTP cookies (by name) to be used in the cache key. The name=value pair will be used in the cache key Cloud CDN generates.
repeated string include_named_cookies = 87316530;- Parameters:
value- The includeNamedCookies to add.- Returns:
- This builder for chaining.
-
addAllIncludeNamedCookies
Allows HTTP cookies (by name) to be used in the cache key. The name=value pair will be used in the cache key Cloud CDN generates.
repeated string include_named_cookies = 87316530;- Parameters:
values- The includeNamedCookies to add.- Returns:
- This builder for chaining.
-
clearIncludeNamedCookies
Allows HTTP cookies (by name) to be used in the cache key. The name=value pair will be used in the cache key Cloud CDN generates.
repeated string include_named_cookies = 87316530;- Returns:
- This builder for chaining.
-
addIncludeNamedCookiesBytes
Allows HTTP cookies (by name) to be used in the cache key. The name=value pair will be used in the cache key Cloud CDN generates.
repeated string include_named_cookies = 87316530;- Parameters:
value- The bytes of the includeNamedCookies to add.- Returns:
- This builder for chaining.
-
hasIncludeProtocol
public boolean hasIncludeProtocol()If true, http and https requests will be cached separately.
optional bool include_protocol = 303507535;- Specified by:
hasIncludeProtocolin interfaceCacheKeyPolicyOrBuilder- Returns:
- Whether the includeProtocol field is set.
-
getIncludeProtocol
public boolean getIncludeProtocol()If true, http and https requests will be cached separately.
optional bool include_protocol = 303507535;- Specified by:
getIncludeProtocolin interfaceCacheKeyPolicyOrBuilder- Returns:
- The includeProtocol.
-
setIncludeProtocol
If true, http and https requests will be cached separately.
optional bool include_protocol = 303507535;- Parameters:
value- The includeProtocol to set.- Returns:
- This builder for chaining.
-
clearIncludeProtocol
If true, http and https requests will be cached separately.
optional bool include_protocol = 303507535;- Returns:
- This builder for chaining.
-
hasIncludeQueryString
public boolean hasIncludeQueryString()If true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist. If neither is set, the entire query string will be included. If false, the query string will be excluded from the cache key entirely.
optional bool include_query_string = 474036639;- Specified by:
hasIncludeQueryStringin interfaceCacheKeyPolicyOrBuilder- Returns:
- Whether the includeQueryString field is set.
-
getIncludeQueryString
public boolean getIncludeQueryString()If true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist. If neither is set, the entire query string will be included. If false, the query string will be excluded from the cache key entirely.
optional bool include_query_string = 474036639;- Specified by:
getIncludeQueryStringin interfaceCacheKeyPolicyOrBuilder- Returns:
- The includeQueryString.
-
setIncludeQueryString
If true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist. If neither is set, the entire query string will be included. If false, the query string will be excluded from the cache key entirely.
optional bool include_query_string = 474036639;- Parameters:
value- The includeQueryString to set.- Returns:
- This builder for chaining.
-
clearIncludeQueryString
If true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist. If neither is set, the entire query string will be included. If false, the query string will be excluded from the cache key entirely.
optional bool include_query_string = 474036639;- Returns:
- This builder for chaining.
-
getQueryStringBlacklistList
public com.google.protobuf.ProtocolStringList getQueryStringBlacklistList()Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_blacklist = 354964742;- Specified by:
getQueryStringBlacklistListin interfaceCacheKeyPolicyOrBuilder- Returns:
- A list containing the queryStringBlacklist.
-
getQueryStringBlacklistCount
public int getQueryStringBlacklistCount()Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_blacklist = 354964742;- Specified by:
getQueryStringBlacklistCountin interfaceCacheKeyPolicyOrBuilder- Returns:
- The count of queryStringBlacklist.
-
getQueryStringBlacklist
Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_blacklist = 354964742;- Specified by:
getQueryStringBlacklistin interfaceCacheKeyPolicyOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The queryStringBlacklist at the given index.
-
getQueryStringBlacklistBytes
public com.google.protobuf.ByteString getQueryStringBlacklistBytes(int index) Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_blacklist = 354964742;- Specified by:
getQueryStringBlacklistBytesin interfaceCacheKeyPolicyOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the queryStringBlacklist at the given index.
-
setQueryStringBlacklist
Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_blacklist = 354964742;- Parameters:
index- The index to set the value at.value- The queryStringBlacklist to set.- Returns:
- This builder for chaining.
-
addQueryStringBlacklist
Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_blacklist = 354964742;- Parameters:
value- The queryStringBlacklist to add.- Returns:
- This builder for chaining.
-
addAllQueryStringBlacklist
Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_blacklist = 354964742;- Parameters:
values- The queryStringBlacklist to add.- Returns:
- This builder for chaining.
-
clearQueryStringBlacklist
Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_blacklist = 354964742;- Returns:
- This builder for chaining.
-
addQueryStringBlacklistBytes
Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_blacklist = 354964742;- Parameters:
value- The bytes of the queryStringBlacklist to add.- Returns:
- This builder for chaining.
-
getQueryStringWhitelistList
public com.google.protobuf.ProtocolStringList getQueryStringWhitelistList()Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_whitelist = 52456496;- Specified by:
getQueryStringWhitelistListin interfaceCacheKeyPolicyOrBuilder- Returns:
- A list containing the queryStringWhitelist.
-
getQueryStringWhitelistCount
public int getQueryStringWhitelistCount()Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_whitelist = 52456496;- Specified by:
getQueryStringWhitelistCountin interfaceCacheKeyPolicyOrBuilder- Returns:
- The count of queryStringWhitelist.
-
getQueryStringWhitelist
Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_whitelist = 52456496;- Specified by:
getQueryStringWhitelistin interfaceCacheKeyPolicyOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The queryStringWhitelist at the given index.
-
getQueryStringWhitelistBytes
public com.google.protobuf.ByteString getQueryStringWhitelistBytes(int index) Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_whitelist = 52456496;- Specified by:
getQueryStringWhitelistBytesin interfaceCacheKeyPolicyOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the queryStringWhitelist at the given index.
-
setQueryStringWhitelist
Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_whitelist = 52456496;- Parameters:
index- The index to set the value at.value- The queryStringWhitelist to set.- Returns:
- This builder for chaining.
-
addQueryStringWhitelist
Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_whitelist = 52456496;- Parameters:
value- The queryStringWhitelist to add.- Returns:
- This builder for chaining.
-
addAllQueryStringWhitelist
Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_whitelist = 52456496;- Parameters:
values- The queryStringWhitelist to add.- Returns:
- This builder for chaining.
-
clearQueryStringWhitelist
Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_whitelist = 52456496;- Returns:
- This builder for chaining.
-
addQueryStringWhitelistBytes
Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_whitelist = 52456496;- Parameters:
value- The bytes of the queryStringWhitelist to add.- Returns:
- This builder for chaining.
-