• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/compute/v1/compute.proto
18 
19 package com.google.cloud.compute.v1;
20 
21 public interface BackendBucketCdnPolicyCacheKeyPolicyOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.BackendBucketCdnPolicyCacheKeyPolicy)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Allows HTTP request headers (by name) to be used in the cache key.
31    * </pre>
32    *
33    * <code>repeated string include_http_headers = 2489606;</code>
34    *
35    * @return A list containing the includeHttpHeaders.
36    */
getIncludeHttpHeadersList()37   java.util.List<java.lang.String> getIncludeHttpHeadersList();
38   /**
39    *
40    *
41    * <pre>
42    * Allows HTTP request headers (by name) to be used in the cache key.
43    * </pre>
44    *
45    * <code>repeated string include_http_headers = 2489606;</code>
46    *
47    * @return The count of includeHttpHeaders.
48    */
getIncludeHttpHeadersCount()49   int getIncludeHttpHeadersCount();
50   /**
51    *
52    *
53    * <pre>
54    * Allows HTTP request headers (by name) to be used in the cache key.
55    * </pre>
56    *
57    * <code>repeated string include_http_headers = 2489606;</code>
58    *
59    * @param index The index of the element to return.
60    * @return The includeHttpHeaders at the given index.
61    */
getIncludeHttpHeaders(int index)62   java.lang.String getIncludeHttpHeaders(int index);
63   /**
64    *
65    *
66    * <pre>
67    * Allows HTTP request headers (by name) to be used in the cache key.
68    * </pre>
69    *
70    * <code>repeated string include_http_headers = 2489606;</code>
71    *
72    * @param index The index of the value to return.
73    * @return The bytes of the includeHttpHeaders at the given index.
74    */
getIncludeHttpHeadersBytes(int index)75   com.google.protobuf.ByteString getIncludeHttpHeadersBytes(int index);
76 
77   /**
78    *
79    *
80    * <pre>
81    * Names of query string parameters to include in cache keys. Default parameters are always included. '&amp;' and '=' will be percent encoded and not treated as delimiters.
82    * </pre>
83    *
84    * <code>repeated string query_string_whitelist = 52456496;</code>
85    *
86    * @return A list containing the queryStringWhitelist.
87    */
getQueryStringWhitelistList()88   java.util.List<java.lang.String> getQueryStringWhitelistList();
89   /**
90    *
91    *
92    * <pre>
93    * Names of query string parameters to include in cache keys. Default parameters are always included. '&amp;' and '=' will be percent encoded and not treated as delimiters.
94    * </pre>
95    *
96    * <code>repeated string query_string_whitelist = 52456496;</code>
97    *
98    * @return The count of queryStringWhitelist.
99    */
getQueryStringWhitelistCount()100   int getQueryStringWhitelistCount();
101   /**
102    *
103    *
104    * <pre>
105    * Names of query string parameters to include in cache keys. Default parameters are always included. '&amp;' and '=' will be percent encoded and not treated as delimiters.
106    * </pre>
107    *
108    * <code>repeated string query_string_whitelist = 52456496;</code>
109    *
110    * @param index The index of the element to return.
111    * @return The queryStringWhitelist at the given index.
112    */
getQueryStringWhitelist(int index)113   java.lang.String getQueryStringWhitelist(int index);
114   /**
115    *
116    *
117    * <pre>
118    * Names of query string parameters to include in cache keys. Default parameters are always included. '&amp;' and '=' will be percent encoded and not treated as delimiters.
119    * </pre>
120    *
121    * <code>repeated string query_string_whitelist = 52456496;</code>
122    *
123    * @param index The index of the value to return.
124    * @return The bytes of the queryStringWhitelist at the given index.
125    */
getQueryStringWhitelistBytes(int index)126   com.google.protobuf.ByteString getQueryStringWhitelistBytes(int index);
127 }
128