public static final class CacheKeyPolicy.Builder extends com.google.protobuf.GeneratedMessageV3.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| Modifier and Type | Method and Description |
|---|---|
CacheKeyPolicy.Builder |
addAllIncludeHttpHeaders(Iterable<String> values)
Allows HTTP request headers (by name) to be used in the cache key.
|
CacheKeyPolicy.Builder |
addAllIncludeNamedCookies(Iterable<String> values)
Allows HTTP cookies (by name) to be used in the cache key.
|
CacheKeyPolicy.Builder |
addAllQueryStringBlacklist(Iterable<String> values)
Names of query string parameters to exclude in cache keys.
|
CacheKeyPolicy.Builder |
addAllQueryStringWhitelist(Iterable<String> values)
Names of query string parameters to include in cache keys.
|
CacheKeyPolicy.Builder |
addIncludeHttpHeaders(String value)
Allows HTTP request headers (by name) to be used in the cache key.
|
CacheKeyPolicy.Builder |
addIncludeHttpHeadersBytes(com.google.protobuf.ByteString value)
Allows HTTP request headers (by name) to be used in the cache key.
|
CacheKeyPolicy.Builder |
addIncludeNamedCookies(String value)
Allows HTTP cookies (by name) to be used in the cache key.
|
CacheKeyPolicy.Builder |
addIncludeNamedCookiesBytes(com.google.protobuf.ByteString value)
Allows HTTP cookies (by name) to be used in the cache key.
|
CacheKeyPolicy.Builder |
addQueryStringBlacklist(String value)
Names of query string parameters to exclude in cache keys.
|
CacheKeyPolicy.Builder |
addQueryStringBlacklistBytes(com.google.protobuf.ByteString value)
Names of query string parameters to exclude in cache keys.
|
CacheKeyPolicy.Builder |
addQueryStringWhitelist(String value)
Names of query string parameters to include in cache keys.
|
CacheKeyPolicy.Builder |
addQueryStringWhitelistBytes(com.google.protobuf.ByteString value)
Names of query string parameters to include in cache keys.
|
CacheKeyPolicy.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CacheKeyPolicy |
build() |
CacheKeyPolicy |
buildPartial() |
CacheKeyPolicy.Builder |
clear() |
CacheKeyPolicy.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CacheKeyPolicy.Builder |
clearIncludeHost()
If true, requests to different hosts will be cached separately.
|
CacheKeyPolicy.Builder |
clearIncludeHttpHeaders()
Allows HTTP request headers (by name) to be used in the cache key.
|
CacheKeyPolicy.Builder |
clearIncludeNamedCookies()
Allows HTTP cookies (by name) to be used in the cache key.
|
CacheKeyPolicy.Builder |
clearIncludeProtocol()
If true, http and https requests will be cached separately.
|
CacheKeyPolicy.Builder |
clearIncludeQueryString()
If true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist.
|
CacheKeyPolicy.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CacheKeyPolicy.Builder |
clearQueryStringBlacklist()
Names of query string parameters to exclude in cache keys.
|
CacheKeyPolicy.Builder |
clearQueryStringWhitelist()
Names of query string parameters to include in cache keys.
|
CacheKeyPolicy.Builder |
clone() |
CacheKeyPolicy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getIncludeHost()
If true, requests to different hosts will be cached separately.
|
String |
getIncludeHttpHeaders(int index)
Allows HTTP request headers (by name) to be used in the cache key.
|
com.google.protobuf.ByteString |
getIncludeHttpHeadersBytes(int index)
Allows HTTP request headers (by name) to be used in the cache key.
|
int |
getIncludeHttpHeadersCount()
Allows HTTP request headers (by name) to be used in the cache key.
|
com.google.protobuf.ProtocolStringList |
getIncludeHttpHeadersList()
Allows HTTP request headers (by name) to be used in the cache key.
|
String |
getIncludeNamedCookies(int index)
Allows HTTP cookies (by name) to be used in the cache key.
|
com.google.protobuf.ByteString |
getIncludeNamedCookiesBytes(int index)
Allows HTTP cookies (by name) to be used in the cache key.
|
int |
getIncludeNamedCookiesCount()
Allows HTTP cookies (by name) to be used in the cache key.
|
com.google.protobuf.ProtocolStringList |
getIncludeNamedCookiesList()
Allows HTTP cookies (by name) to be used in the cache key.
|
boolean |
getIncludeProtocol()
If true, http and https requests will be cached separately.
|
boolean |
getIncludeQueryString()
If true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist.
|
String |
getQueryStringBlacklist(int index)
Names of query string parameters to exclude in cache keys.
|
com.google.protobuf.ByteString |
getQueryStringBlacklistBytes(int index)
Names of query string parameters to exclude in cache keys.
|
int |
getQueryStringBlacklistCount()
Names of query string parameters to exclude in cache keys.
|
com.google.protobuf.ProtocolStringList |
getQueryStringBlacklistList()
Names of query string parameters to exclude in cache keys.
|
String |
getQueryStringWhitelist(int index)
Names of query string parameters to include in cache keys.
|
com.google.protobuf.ByteString |
getQueryStringWhitelistBytes(int index)
Names of query string parameters to include in cache keys.
|
int |
getQueryStringWhitelistCount()
Names of query string parameters to include in cache keys.
|
com.google.protobuf.ProtocolStringList |
getQueryStringWhitelistList()
Names of query string parameters to include in cache keys.
|
boolean |
hasIncludeHost()
If true, requests to different hosts will be cached separately.
|
boolean |
hasIncludeProtocol()
If true, http and https requests will be cached separately.
|
boolean |
hasIncludeQueryString()
If true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CacheKeyPolicy.Builder |
mergeFrom(CacheKeyPolicy other) |
CacheKeyPolicy.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CacheKeyPolicy.Builder |
mergeFrom(com.google.protobuf.Message other) |
CacheKeyPolicy.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CacheKeyPolicy.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CacheKeyPolicy.Builder |
setIncludeHost(boolean value)
If true, requests to different hosts will be cached separately.
|
CacheKeyPolicy.Builder |
setIncludeHttpHeaders(int index,
String value)
Allows HTTP request headers (by name) to be used in the cache key.
|
CacheKeyPolicy.Builder |
setIncludeNamedCookies(int index,
String value)
Allows HTTP cookies (by name) to be used in the cache key.
|
CacheKeyPolicy.Builder |
setIncludeProtocol(boolean value)
If true, http and https requests will be cached separately.
|
CacheKeyPolicy.Builder |
setIncludeQueryString(boolean value)
If true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist.
|
CacheKeyPolicy.Builder |
setQueryStringBlacklist(int index,
String value)
Names of query string parameters to exclude in cache keys.
|
CacheKeyPolicy.Builder |
setQueryStringWhitelist(int index,
String value)
Names of query string parameters to include in cache keys.
|
CacheKeyPolicy.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CacheKeyPolicy.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CacheKeyPolicy.Builder>public CacheKeyPolicy.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CacheKeyPolicy.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<CacheKeyPolicy.Builder>public CacheKeyPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CacheKeyPolicy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CacheKeyPolicy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CacheKeyPolicy.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CacheKeyPolicy.Builder>public CacheKeyPolicy.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<CacheKeyPolicy.Builder>public CacheKeyPolicy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CacheKeyPolicy.Builder>public CacheKeyPolicy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CacheKeyPolicy.Builder>public CacheKeyPolicy.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<CacheKeyPolicy.Builder>public CacheKeyPolicy.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<CacheKeyPolicy.Builder>public CacheKeyPolicy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CacheKeyPolicy.Builder>public CacheKeyPolicy.Builder mergeFrom(CacheKeyPolicy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CacheKeyPolicy.Builder>public CacheKeyPolicy.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<CacheKeyPolicy.Builder>IOExceptionpublic boolean hasIncludeHost()
If true, requests to different hosts will be cached separately.
optional bool include_host = 486867679;hasIncludeHost in interface CacheKeyPolicyOrBuilderpublic boolean getIncludeHost()
If true, requests to different hosts will be cached separately.
optional bool include_host = 486867679;getIncludeHost in interface CacheKeyPolicyOrBuilderpublic CacheKeyPolicy.Builder setIncludeHost(boolean value)
If true, requests to different hosts will be cached separately.
optional bool include_host = 486867679;value - The includeHost to set.public CacheKeyPolicy.Builder clearIncludeHost()
If true, requests to different hosts will be cached separately.
optional bool include_host = 486867679;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;getIncludeHttpHeadersList in interface CacheKeyPolicyOrBuilderpublic int getIncludeHttpHeadersCount()
Allows HTTP request headers (by name) to be used in the cache key.
repeated string include_http_headers = 2489606;getIncludeHttpHeadersCount in interface CacheKeyPolicyOrBuilderpublic String getIncludeHttpHeaders(int index)
Allows HTTP request headers (by name) to be used in the cache key.
repeated string include_http_headers = 2489606;getIncludeHttpHeaders in interface CacheKeyPolicyOrBuilderindex - The index of the element to return.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;getIncludeHttpHeadersBytes in interface CacheKeyPolicyOrBuilderindex - The index of the value to return.public CacheKeyPolicy.Builder setIncludeHttpHeaders(int index, String value)
Allows HTTP request headers (by name) to be used in the cache key.
repeated string include_http_headers = 2489606;index - The index to set the value at.value - The includeHttpHeaders to set.public CacheKeyPolicy.Builder addIncludeHttpHeaders(String value)
Allows HTTP request headers (by name) to be used in the cache key.
repeated string include_http_headers = 2489606;value - The includeHttpHeaders to add.public CacheKeyPolicy.Builder addAllIncludeHttpHeaders(Iterable<String> values)
Allows HTTP request headers (by name) to be used in the cache key.
repeated string include_http_headers = 2489606;values - The includeHttpHeaders to add.public CacheKeyPolicy.Builder clearIncludeHttpHeaders()
Allows HTTP request headers (by name) to be used in the cache key.
repeated string include_http_headers = 2489606;public CacheKeyPolicy.Builder addIncludeHttpHeadersBytes(com.google.protobuf.ByteString value)
Allows HTTP request headers (by name) to be used in the cache key.
repeated string include_http_headers = 2489606;value - The bytes of the includeHttpHeaders to add.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;getIncludeNamedCookiesList in interface CacheKeyPolicyOrBuilderpublic 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;getIncludeNamedCookiesCount in interface CacheKeyPolicyOrBuilderpublic String getIncludeNamedCookies(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;getIncludeNamedCookies in interface CacheKeyPolicyOrBuilderindex - The index of the element to return.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;getIncludeNamedCookiesBytes in interface CacheKeyPolicyOrBuilderindex - The index of the value to return.public CacheKeyPolicy.Builder setIncludeNamedCookies(int index, String value)
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;index - The index to set the value at.value - The includeNamedCookies to set.public CacheKeyPolicy.Builder addIncludeNamedCookies(String value)
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;value - The includeNamedCookies to add.public CacheKeyPolicy.Builder addAllIncludeNamedCookies(Iterable<String> values)
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;values - The includeNamedCookies to add.public CacheKeyPolicy.Builder 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;public CacheKeyPolicy.Builder addIncludeNamedCookiesBytes(com.google.protobuf.ByteString value)
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;value - The bytes of the includeNamedCookies to add.public boolean hasIncludeProtocol()
If true, http and https requests will be cached separately.
optional bool include_protocol = 303507535;hasIncludeProtocol in interface CacheKeyPolicyOrBuilderpublic boolean getIncludeProtocol()
If true, http and https requests will be cached separately.
optional bool include_protocol = 303507535;getIncludeProtocol in interface CacheKeyPolicyOrBuilderpublic CacheKeyPolicy.Builder setIncludeProtocol(boolean value)
If true, http and https requests will be cached separately.
optional bool include_protocol = 303507535;value - The includeProtocol to set.public CacheKeyPolicy.Builder clearIncludeProtocol()
If true, http and https requests will be cached separately.
optional bool include_protocol = 303507535;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;hasIncludeQueryString in interface CacheKeyPolicyOrBuilderpublic 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;getIncludeQueryString in interface CacheKeyPolicyOrBuilderpublic CacheKeyPolicy.Builder setIncludeQueryString(boolean value)
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;value - The includeQueryString to set.public CacheKeyPolicy.Builder 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;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;getQueryStringBlacklistList in interface CacheKeyPolicyOrBuilderpublic 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;getQueryStringBlacklistCount in interface CacheKeyPolicyOrBuilderpublic 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;getQueryStringBlacklist in interface CacheKeyPolicyOrBuilderindex - The index of the element to return.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;getQueryStringBlacklistBytes in interface CacheKeyPolicyOrBuilderindex - The index of the value to return.public CacheKeyPolicy.Builder setQueryStringBlacklist(int index, String value)
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;index - The index to set the value at.value - The queryStringBlacklist to set.public CacheKeyPolicy.Builder addQueryStringBlacklist(String value)
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;value - The queryStringBlacklist to add.public CacheKeyPolicy.Builder addAllQueryStringBlacklist(Iterable<String> values)
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;values - The queryStringBlacklist to add.public CacheKeyPolicy.Builder 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;public CacheKeyPolicy.Builder addQueryStringBlacklistBytes(com.google.protobuf.ByteString value)
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;value - The bytes of the queryStringBlacklist to add.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;getQueryStringWhitelistList in interface CacheKeyPolicyOrBuilderpublic 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;getQueryStringWhitelistCount in interface CacheKeyPolicyOrBuilderpublic 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;getQueryStringWhitelist in interface CacheKeyPolicyOrBuilderindex - The index of the element to return.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;getQueryStringWhitelistBytes in interface CacheKeyPolicyOrBuilderindex - The index of the value to return.public CacheKeyPolicy.Builder setQueryStringWhitelist(int index, String value)
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;index - The index to set the value at.value - The queryStringWhitelist to set.public CacheKeyPolicy.Builder addQueryStringWhitelist(String value)
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;value - The queryStringWhitelist to add.public CacheKeyPolicy.Builder addAllQueryStringWhitelist(Iterable<String> values)
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;values - The queryStringWhitelist to add.public CacheKeyPolicy.Builder 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;public CacheKeyPolicy.Builder addQueryStringWhitelistBytes(com.google.protobuf.ByteString value)
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;value - The bytes of the queryStringWhitelist to add.public final CacheKeyPolicy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CacheKeyPolicy.Builder>public final CacheKeyPolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CacheKeyPolicy.Builder>Copyright © 2023 Google LLC. All rights reserved.