public interface CacheKeyPolicyOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getIncludeHost()
public abstract boolean getIncludeHost()If true, requests to different hosts will be cached separately.
optional bool include_host = 486867679;
| Type | Description |
| boolean | The includeHost. |
getIncludeProtocol()
public abstract boolean getIncludeProtocol()If true, http and https requests will be cached separately.
optional bool include_protocol = 303507535;
| Type | Description |
| boolean | The includeProtocol. |
getIncludeQueryString()
public abstract 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;
| Type | Description |
| boolean | The includeQueryString. |
getQueryStringBlacklist(int index)
public abstract String getQueryStringBlacklist(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;
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| String | The queryStringBlacklist at the given index. |
getQueryStringBlacklistBytes(int index)
public abstract 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;
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the queryStringBlacklist at the given index. |
getQueryStringBlacklistCount()
public abstract 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;
| Type | Description |
| int | The count of queryStringBlacklist. |
getQueryStringBlacklistList()
public abstract List<String> 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;
| Type | Description |
| List<String> | A list containing the queryStringBlacklist. |
getQueryStringWhitelist(int index)
public abstract String getQueryStringWhitelist(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;
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| String | The queryStringWhitelist at the given index. |
getQueryStringWhitelistBytes(int index)
public abstract 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;
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the queryStringWhitelist at the given index. |
getQueryStringWhitelistCount()
public abstract 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;
| Type | Description |
| int | The count of queryStringWhitelist. |
getQueryStringWhitelistList()
public abstract List<String> 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;
| Type | Description |
| List<String> | A list containing the queryStringWhitelist. |
hasIncludeHost()
public abstract boolean hasIncludeHost()If true, requests to different hosts will be cached separately.
optional bool include_host = 486867679;
| Type | Description |
| boolean | Whether the includeHost field is set. |
hasIncludeProtocol()
public abstract boolean hasIncludeProtocol()If true, http and https requests will be cached separately.
optional bool include_protocol = 303507535;
| Type | Description |
| boolean | Whether the includeProtocol field is set. |
hasIncludeQueryString()
public abstract 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;
| Type | Description |
| boolean | Whether the includeQueryString field is set. |