public static final class BackendBucketCdnPolicyCacheKeyPolicy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BackendBucketCdnPolicyCacheKeyPolicy.Builder> implements BackendBucketCdnPolicyCacheKeyPolicyOrBuilder
Message containing what to include in the cache key for a request for Cloud CDN.Protobuf type
google.cloud.compute.v1.BackendBucketCdnPolicyCacheKeyPolicy| Modifier and Type | Method and Description |
|---|---|
BackendBucketCdnPolicyCacheKeyPolicy.Builder |
addAllIncludeHttpHeaders(Iterable<String> values)
Allows HTTP request headers (by name) to be used in the cache key.
|
BackendBucketCdnPolicyCacheKeyPolicy.Builder |
addAllQueryStringWhitelist(Iterable<String> values)
Names of query string parameters to include in cache keys.
|
BackendBucketCdnPolicyCacheKeyPolicy.Builder |
addIncludeHttpHeaders(String value)
Allows HTTP request headers (by name) to be used in the cache key.
|
BackendBucketCdnPolicyCacheKeyPolicy.Builder |
addIncludeHttpHeadersBytes(com.google.protobuf.ByteString value)
Allows HTTP request headers (by name) to be used in the cache key.
|
BackendBucketCdnPolicyCacheKeyPolicy.Builder |
addQueryStringWhitelist(String value)
Names of query string parameters to include in cache keys.
|
BackendBucketCdnPolicyCacheKeyPolicy.Builder |
addQueryStringWhitelistBytes(com.google.protobuf.ByteString value)
Names of query string parameters to include in cache keys.
|
BackendBucketCdnPolicyCacheKeyPolicy.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BackendBucketCdnPolicyCacheKeyPolicy |
build() |
BackendBucketCdnPolicyCacheKeyPolicy |
buildPartial() |
BackendBucketCdnPolicyCacheKeyPolicy.Builder |
clear() |
BackendBucketCdnPolicyCacheKeyPolicy.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BackendBucketCdnPolicyCacheKeyPolicy.Builder |
clearIncludeHttpHeaders()
Allows HTTP request headers (by name) to be used in the cache key.
|
BackendBucketCdnPolicyCacheKeyPolicy.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BackendBucketCdnPolicyCacheKeyPolicy.Builder |
clearQueryStringWhitelist()
Names of query string parameters to include in cache keys.
|
BackendBucketCdnPolicyCacheKeyPolicy.Builder |
clone() |
BackendBucketCdnPolicyCacheKeyPolicy |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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 |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BackendBucketCdnPolicyCacheKeyPolicy.Builder |
mergeFrom(BackendBucketCdnPolicyCacheKeyPolicy other) |
BackendBucketCdnPolicyCacheKeyPolicy.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BackendBucketCdnPolicyCacheKeyPolicy.Builder |
mergeFrom(com.google.protobuf.Message other) |
BackendBucketCdnPolicyCacheKeyPolicy.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BackendBucketCdnPolicyCacheKeyPolicy.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BackendBucketCdnPolicyCacheKeyPolicy.Builder |
setIncludeHttpHeaders(int index,
String value)
Allows HTTP request headers (by name) to be used in the cache key.
|
BackendBucketCdnPolicyCacheKeyPolicy.Builder |
setQueryStringWhitelist(int index,
String value)
Names of query string parameters to include in cache keys.
|
BackendBucketCdnPolicyCacheKeyPolicy.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BackendBucketCdnPolicyCacheKeyPolicy.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<BackendBucketCdnPolicyCacheKeyPolicy.Builder>public BackendBucketCdnPolicyCacheKeyPolicy.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BackendBucketCdnPolicyCacheKeyPolicy.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<BackendBucketCdnPolicyCacheKeyPolicy.Builder>public BackendBucketCdnPolicyCacheKeyPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BackendBucketCdnPolicyCacheKeyPolicy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BackendBucketCdnPolicyCacheKeyPolicy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BackendBucketCdnPolicyCacheKeyPolicy.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BackendBucketCdnPolicyCacheKeyPolicy.Builder>public BackendBucketCdnPolicyCacheKeyPolicy.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<BackendBucketCdnPolicyCacheKeyPolicy.Builder>public BackendBucketCdnPolicyCacheKeyPolicy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BackendBucketCdnPolicyCacheKeyPolicy.Builder>public BackendBucketCdnPolicyCacheKeyPolicy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BackendBucketCdnPolicyCacheKeyPolicy.Builder>public BackendBucketCdnPolicyCacheKeyPolicy.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<BackendBucketCdnPolicyCacheKeyPolicy.Builder>public BackendBucketCdnPolicyCacheKeyPolicy.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<BackendBucketCdnPolicyCacheKeyPolicy.Builder>public BackendBucketCdnPolicyCacheKeyPolicy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BackendBucketCdnPolicyCacheKeyPolicy.Builder>public BackendBucketCdnPolicyCacheKeyPolicy.Builder mergeFrom(BackendBucketCdnPolicyCacheKeyPolicy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BackendBucketCdnPolicyCacheKeyPolicy.Builder>public BackendBucketCdnPolicyCacheKeyPolicy.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<BackendBucketCdnPolicyCacheKeyPolicy.Builder>IOExceptionpublic 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 BackendBucketCdnPolicyCacheKeyPolicyOrBuilderpublic int getIncludeHttpHeadersCount()
Allows HTTP request headers (by name) to be used in the cache key.
repeated string include_http_headers = 2489606;getIncludeHttpHeadersCount in interface BackendBucketCdnPolicyCacheKeyPolicyOrBuilderpublic 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 BackendBucketCdnPolicyCacheKeyPolicyOrBuilderindex - 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 BackendBucketCdnPolicyCacheKeyPolicyOrBuilderindex - The index of the value to return.public BackendBucketCdnPolicyCacheKeyPolicy.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 BackendBucketCdnPolicyCacheKeyPolicy.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 BackendBucketCdnPolicyCacheKeyPolicy.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 BackendBucketCdnPolicyCacheKeyPolicy.Builder clearIncludeHttpHeaders()
Allows HTTP request headers (by name) to be used in the cache key.
repeated string include_http_headers = 2489606;public BackendBucketCdnPolicyCacheKeyPolicy.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 getQueryStringWhitelistList()
Names of query string parameters to include in cache keys. Default parameters are always included. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_whitelist = 52456496;getQueryStringWhitelistList in interface BackendBucketCdnPolicyCacheKeyPolicyOrBuilderpublic int getQueryStringWhitelistCount()
Names of query string parameters to include in cache keys. Default parameters are always included. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_whitelist = 52456496;getQueryStringWhitelistCount in interface BackendBucketCdnPolicyCacheKeyPolicyOrBuilderpublic String getQueryStringWhitelist(int index)
Names of query string parameters to include in cache keys. Default parameters are always included. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_whitelist = 52456496;getQueryStringWhitelist in interface BackendBucketCdnPolicyCacheKeyPolicyOrBuilderindex - 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. Default parameters are always included. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_whitelist = 52456496;getQueryStringWhitelistBytes in interface BackendBucketCdnPolicyCacheKeyPolicyOrBuilderindex - The index of the value to return.public BackendBucketCdnPolicyCacheKeyPolicy.Builder setQueryStringWhitelist(int index, String value)
Names of query string parameters to include in cache keys. Default parameters are always included. '&' 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 BackendBucketCdnPolicyCacheKeyPolicy.Builder addQueryStringWhitelist(String value)
Names of query string parameters to include in cache keys. Default parameters are always included. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_whitelist = 52456496;value - The queryStringWhitelist to add.public BackendBucketCdnPolicyCacheKeyPolicy.Builder addAllQueryStringWhitelist(Iterable<String> values)
Names of query string parameters to include in cache keys. Default parameters are always included. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_whitelist = 52456496;values - The queryStringWhitelist to add.public BackendBucketCdnPolicyCacheKeyPolicy.Builder clearQueryStringWhitelist()
Names of query string parameters to include in cache keys. Default parameters are always included. '&' and '=' will be percent encoded and not treated as delimiters.
repeated string query_string_whitelist = 52456496;public BackendBucketCdnPolicyCacheKeyPolicy.Builder addQueryStringWhitelistBytes(com.google.protobuf.ByteString value)
Names of query string parameters to include in cache keys. Default parameters are always included. '&' 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 BackendBucketCdnPolicyCacheKeyPolicy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BackendBucketCdnPolicyCacheKeyPolicy.Builder>public final BackendBucketCdnPolicyCacheKeyPolicy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BackendBucketCdnPolicyCacheKeyPolicy.Builder>Copyright © 2023 Google LLC. All rights reserved.