• 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 HttpHeaderActionOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.HttpHeaderAction)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Headers to add to a matching request before forwarding the request to the backendService.
31    * </pre>
32    *
33    * <code>repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;
34    * </code>
35    */
getRequestHeadersToAddList()36   java.util.List<com.google.cloud.compute.v1.HttpHeaderOption> getRequestHeadersToAddList();
37   /**
38    *
39    *
40    * <pre>
41    * Headers to add to a matching request before forwarding the request to the backendService.
42    * </pre>
43    *
44    * <code>repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;
45    * </code>
46    */
getRequestHeadersToAdd(int index)47   com.google.cloud.compute.v1.HttpHeaderOption getRequestHeadersToAdd(int index);
48   /**
49    *
50    *
51    * <pre>
52    * Headers to add to a matching request before forwarding the request to the backendService.
53    * </pre>
54    *
55    * <code>repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;
56    * </code>
57    */
getRequestHeadersToAddCount()58   int getRequestHeadersToAddCount();
59   /**
60    *
61    *
62    * <pre>
63    * Headers to add to a matching request before forwarding the request to the backendService.
64    * </pre>
65    *
66    * <code>repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;
67    * </code>
68    */
69   java.util.List<? extends com.google.cloud.compute.v1.HttpHeaderOptionOrBuilder>
getRequestHeadersToAddOrBuilderList()70       getRequestHeadersToAddOrBuilderList();
71   /**
72    *
73    *
74    * <pre>
75    * Headers to add to a matching request before forwarding the request to the backendService.
76    * </pre>
77    *
78    * <code>repeated .google.cloud.compute.v1.HttpHeaderOption request_headers_to_add = 72111974;
79    * </code>
80    */
getRequestHeadersToAddOrBuilder(int index)81   com.google.cloud.compute.v1.HttpHeaderOptionOrBuilder getRequestHeadersToAddOrBuilder(int index);
82 
83   /**
84    *
85    *
86    * <pre>
87    * A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
88    * </pre>
89    *
90    * <code>repeated string request_headers_to_remove = 218425247;</code>
91    *
92    * @return A list containing the requestHeadersToRemove.
93    */
getRequestHeadersToRemoveList()94   java.util.List<java.lang.String> getRequestHeadersToRemoveList();
95   /**
96    *
97    *
98    * <pre>
99    * A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
100    * </pre>
101    *
102    * <code>repeated string request_headers_to_remove = 218425247;</code>
103    *
104    * @return The count of requestHeadersToRemove.
105    */
getRequestHeadersToRemoveCount()106   int getRequestHeadersToRemoveCount();
107   /**
108    *
109    *
110    * <pre>
111    * A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
112    * </pre>
113    *
114    * <code>repeated string request_headers_to_remove = 218425247;</code>
115    *
116    * @param index The index of the element to return.
117    * @return The requestHeadersToRemove at the given index.
118    */
getRequestHeadersToRemove(int index)119   java.lang.String getRequestHeadersToRemove(int index);
120   /**
121    *
122    *
123    * <pre>
124    * A list of header names for headers that need to be removed from the request before forwarding the request to the backendService.
125    * </pre>
126    *
127    * <code>repeated string request_headers_to_remove = 218425247;</code>
128    *
129    * @param index The index of the value to return.
130    * @return The bytes of the requestHeadersToRemove at the given index.
131    */
getRequestHeadersToRemoveBytes(int index)132   com.google.protobuf.ByteString getRequestHeadersToRemoveBytes(int index);
133 
134   /**
135    *
136    *
137    * <pre>
138    * Headers to add the response before sending the response back to the client.
139    * </pre>
140    *
141    * <code>repeated .google.cloud.compute.v1.HttpHeaderOption response_headers_to_add = 32136052;
142    * </code>
143    */
getResponseHeadersToAddList()144   java.util.List<com.google.cloud.compute.v1.HttpHeaderOption> getResponseHeadersToAddList();
145   /**
146    *
147    *
148    * <pre>
149    * Headers to add the response before sending the response back to the client.
150    * </pre>
151    *
152    * <code>repeated .google.cloud.compute.v1.HttpHeaderOption response_headers_to_add = 32136052;
153    * </code>
154    */
getResponseHeadersToAdd(int index)155   com.google.cloud.compute.v1.HttpHeaderOption getResponseHeadersToAdd(int index);
156   /**
157    *
158    *
159    * <pre>
160    * Headers to add the response before sending the response back to the client.
161    * </pre>
162    *
163    * <code>repeated .google.cloud.compute.v1.HttpHeaderOption response_headers_to_add = 32136052;
164    * </code>
165    */
getResponseHeadersToAddCount()166   int getResponseHeadersToAddCount();
167   /**
168    *
169    *
170    * <pre>
171    * Headers to add the response before sending the response back to the client.
172    * </pre>
173    *
174    * <code>repeated .google.cloud.compute.v1.HttpHeaderOption response_headers_to_add = 32136052;
175    * </code>
176    */
177   java.util.List<? extends com.google.cloud.compute.v1.HttpHeaderOptionOrBuilder>
getResponseHeadersToAddOrBuilderList()178       getResponseHeadersToAddOrBuilderList();
179   /**
180    *
181    *
182    * <pre>
183    * Headers to add the response before sending the response back to the client.
184    * </pre>
185    *
186    * <code>repeated .google.cloud.compute.v1.HttpHeaderOption response_headers_to_add = 32136052;
187    * </code>
188    */
getResponseHeadersToAddOrBuilder(int index)189   com.google.cloud.compute.v1.HttpHeaderOptionOrBuilder getResponseHeadersToAddOrBuilder(int index);
190 
191   /**
192    *
193    *
194    * <pre>
195    * A list of header names for headers that need to be removed from the response before sending the response back to the client.
196    * </pre>
197    *
198    * <code>repeated string response_headers_to_remove = 75415761;</code>
199    *
200    * @return A list containing the responseHeadersToRemove.
201    */
getResponseHeadersToRemoveList()202   java.util.List<java.lang.String> getResponseHeadersToRemoveList();
203   /**
204    *
205    *
206    * <pre>
207    * A list of header names for headers that need to be removed from the response before sending the response back to the client.
208    * </pre>
209    *
210    * <code>repeated string response_headers_to_remove = 75415761;</code>
211    *
212    * @return The count of responseHeadersToRemove.
213    */
getResponseHeadersToRemoveCount()214   int getResponseHeadersToRemoveCount();
215   /**
216    *
217    *
218    * <pre>
219    * A list of header names for headers that need to be removed from the response before sending the response back to the client.
220    * </pre>
221    *
222    * <code>repeated string response_headers_to_remove = 75415761;</code>
223    *
224    * @param index The index of the element to return.
225    * @return The responseHeadersToRemove at the given index.
226    */
getResponseHeadersToRemove(int index)227   java.lang.String getResponseHeadersToRemove(int index);
228   /**
229    *
230    *
231    * <pre>
232    * A list of header names for headers that need to be removed from the response before sending the response back to the client.
233    * </pre>
234    *
235    * <code>repeated string response_headers_to_remove = 75415761;</code>
236    *
237    * @param index The index of the value to return.
238    * @return The bytes of the responseHeadersToRemove at the given index.
239    */
getResponseHeadersToRemoveBytes(int index)240   com.google.protobuf.ByteString getResponseHeadersToRemoveBytes(int index);
241 }
242