Class BackendBucketCdnPolicyCacheKeyPolicy.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BackendBucketCdnPolicyCacheKeyPolicy.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BackendBucketCdnPolicyCacheKeyPolicy.Builder>
      • getDefaultInstanceForType

        public BackendBucketCdnPolicyCacheKeyPolicy getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public BackendBucketCdnPolicyCacheKeyPolicy build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public BackendBucketCdnPolicyCacheKeyPolicy buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BackendBucketCdnPolicyCacheKeyPolicy.Builder>
      • 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:
        getIncludeHttpHeadersList in interface BackendBucketCdnPolicyCacheKeyPolicyOrBuilder
        Returns:
        A list containing the includeHttpHeaders.
      • getIncludeHttpHeaders

        public String getIncludeHttpHeaders​(int index)
         Allows HTTP request headers (by name) to be used in the cache key.
         
        repeated string include_http_headers = 2489606;
        Specified by:
        getIncludeHttpHeaders in interface BackendBucketCdnPolicyCacheKeyPolicyOrBuilder
        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:
        getIncludeHttpHeadersBytes in interface BackendBucketCdnPolicyCacheKeyPolicyOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the includeHttpHeaders at the given index.
      • setIncludeHttpHeaders

        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;
        Parameters:
        index - The index to set the value at.
        value - The includeHttpHeaders to set.
        Returns:
        This builder for chaining.
      • addIncludeHttpHeaders

        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;
        Parameters:
        value - The includeHttpHeaders to add.
        Returns:
        This builder for chaining.
      • addAllIncludeHttpHeaders

        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;
        Parameters:
        values - The includeHttpHeaders to add.
        Returns:
        This builder for chaining.
      • clearIncludeHttpHeaders

        public BackendBucketCdnPolicyCacheKeyPolicy.Builder 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

        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;
        Parameters:
        value - The bytes of the includeHttpHeaders to add.
        Returns:
        This builder for chaining.
      • getQueryStringWhitelistList

        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;
        Specified by:
        getQueryStringWhitelistList in interface BackendBucketCdnPolicyCacheKeyPolicyOrBuilder
        Returns:
        A list containing the queryStringWhitelist.
      • getQueryStringWhitelistCount

        public 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;
        Specified by:
        getQueryStringWhitelistCount in interface BackendBucketCdnPolicyCacheKeyPolicyOrBuilder
        Returns:
        The count of queryStringWhitelist.
      • getQueryStringWhitelist

        public 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;
        Specified by:
        getQueryStringWhitelist in interface BackendBucketCdnPolicyCacheKeyPolicyOrBuilder
        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. Default parameters are always included. '&' and '=' will be percent encoded and not treated as delimiters.
         
        repeated string query_string_whitelist = 52456496;
        Specified by:
        getQueryStringWhitelistBytes in interface BackendBucketCdnPolicyCacheKeyPolicyOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the queryStringWhitelist at the given index.
      • setQueryStringWhitelist

        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;
        Parameters:
        index - The index to set the value at.
        value - The queryStringWhitelist to set.
        Returns:
        This builder for chaining.
      • addQueryStringWhitelist

        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;
        Parameters:
        value - The queryStringWhitelist to add.
        Returns:
        This builder for chaining.
      • addAllQueryStringWhitelist

        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;
        Parameters:
        values - The queryStringWhitelist to add.
        Returns:
        This builder for chaining.
      • clearQueryStringWhitelist

        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;
        Returns:
        This builder for chaining.
      • addQueryStringWhitelistBytes

        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;
        Parameters:
        value - The bytes of the queryStringWhitelist to add.
        Returns:
        This builder for chaining.