• 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 BackendBucketOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.BackendBucket)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Cloud Storage bucket name.
31    * </pre>
32    *
33    * <code>optional string bucket_name = 283610048;</code>
34    *
35    * @return Whether the bucketName field is set.
36    */
hasBucketName()37   boolean hasBucketName();
38   /**
39    *
40    *
41    * <pre>
42    * Cloud Storage bucket name.
43    * </pre>
44    *
45    * <code>optional string bucket_name = 283610048;</code>
46    *
47    * @return The bucketName.
48    */
getBucketName()49   java.lang.String getBucketName();
50   /**
51    *
52    *
53    * <pre>
54    * Cloud Storage bucket name.
55    * </pre>
56    *
57    * <code>optional string bucket_name = 283610048;</code>
58    *
59    * @return The bytes for bucketName.
60    */
getBucketNameBytes()61   com.google.protobuf.ByteString getBucketNameBytes();
62 
63   /**
64    *
65    *
66    * <pre>
67    * Cloud CDN configuration for this BackendBucket.
68    * </pre>
69    *
70    * <code>optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;</code>
71    *
72    * @return Whether the cdnPolicy field is set.
73    */
hasCdnPolicy()74   boolean hasCdnPolicy();
75   /**
76    *
77    *
78    * <pre>
79    * Cloud CDN configuration for this BackendBucket.
80    * </pre>
81    *
82    * <code>optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;</code>
83    *
84    * @return The cdnPolicy.
85    */
getCdnPolicy()86   com.google.cloud.compute.v1.BackendBucketCdnPolicy getCdnPolicy();
87   /**
88    *
89    *
90    * <pre>
91    * Cloud CDN configuration for this BackendBucket.
92    * </pre>
93    *
94    * <code>optional .google.cloud.compute.v1.BackendBucketCdnPolicy cdn_policy = 213976452;</code>
95    */
getCdnPolicyOrBuilder()96   com.google.cloud.compute.v1.BackendBucketCdnPolicyOrBuilder getCdnPolicyOrBuilder();
97 
98   /**
99    *
100    *
101    * <pre>
102    * Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.
103    * Check the CompressionMode enum for the list of possible values.
104    * </pre>
105    *
106    * <code>optional string compression_mode = 95520988;</code>
107    *
108    * @return Whether the compressionMode field is set.
109    */
hasCompressionMode()110   boolean hasCompressionMode();
111   /**
112    *
113    *
114    * <pre>
115    * Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.
116    * Check the CompressionMode enum for the list of possible values.
117    * </pre>
118    *
119    * <code>optional string compression_mode = 95520988;</code>
120    *
121    * @return The compressionMode.
122    */
getCompressionMode()123   java.lang.String getCompressionMode();
124   /**
125    *
126    *
127    * <pre>
128    * Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.
129    * Check the CompressionMode enum for the list of possible values.
130    * </pre>
131    *
132    * <code>optional string compression_mode = 95520988;</code>
133    *
134    * @return The bytes for compressionMode.
135    */
getCompressionModeBytes()136   com.google.protobuf.ByteString getCompressionModeBytes();
137 
138   /**
139    *
140    *
141    * <pre>
142    * [Output Only] Creation timestamp in RFC3339 text format.
143    * </pre>
144    *
145    * <code>optional string creation_timestamp = 30525366;</code>
146    *
147    * @return Whether the creationTimestamp field is set.
148    */
hasCreationTimestamp()149   boolean hasCreationTimestamp();
150   /**
151    *
152    *
153    * <pre>
154    * [Output Only] Creation timestamp in RFC3339 text format.
155    * </pre>
156    *
157    * <code>optional string creation_timestamp = 30525366;</code>
158    *
159    * @return The creationTimestamp.
160    */
getCreationTimestamp()161   java.lang.String getCreationTimestamp();
162   /**
163    *
164    *
165    * <pre>
166    * [Output Only] Creation timestamp in RFC3339 text format.
167    * </pre>
168    *
169    * <code>optional string creation_timestamp = 30525366;</code>
170    *
171    * @return The bytes for creationTimestamp.
172    */
getCreationTimestampBytes()173   com.google.protobuf.ByteString getCreationTimestampBytes();
174 
175   /**
176    *
177    *
178    * <pre>
179    * Headers that the HTTP/S load balancer should add to proxied responses.
180    * </pre>
181    *
182    * <code>repeated string custom_response_headers = 387539094;</code>
183    *
184    * @return A list containing the customResponseHeaders.
185    */
getCustomResponseHeadersList()186   java.util.List<java.lang.String> getCustomResponseHeadersList();
187   /**
188    *
189    *
190    * <pre>
191    * Headers that the HTTP/S load balancer should add to proxied responses.
192    * </pre>
193    *
194    * <code>repeated string custom_response_headers = 387539094;</code>
195    *
196    * @return The count of customResponseHeaders.
197    */
getCustomResponseHeadersCount()198   int getCustomResponseHeadersCount();
199   /**
200    *
201    *
202    * <pre>
203    * Headers that the HTTP/S load balancer should add to proxied responses.
204    * </pre>
205    *
206    * <code>repeated string custom_response_headers = 387539094;</code>
207    *
208    * @param index The index of the element to return.
209    * @return The customResponseHeaders at the given index.
210    */
getCustomResponseHeaders(int index)211   java.lang.String getCustomResponseHeaders(int index);
212   /**
213    *
214    *
215    * <pre>
216    * Headers that the HTTP/S load balancer should add to proxied responses.
217    * </pre>
218    *
219    * <code>repeated string custom_response_headers = 387539094;</code>
220    *
221    * @param index The index of the value to return.
222    * @return The bytes of the customResponseHeaders at the given index.
223    */
getCustomResponseHeadersBytes(int index)224   com.google.protobuf.ByteString getCustomResponseHeadersBytes(int index);
225 
226   /**
227    *
228    *
229    * <pre>
230    * An optional textual description of the resource; provided by the client when the resource is created.
231    * </pre>
232    *
233    * <code>optional string description = 422937596;</code>
234    *
235    * @return Whether the description field is set.
236    */
hasDescription()237   boolean hasDescription();
238   /**
239    *
240    *
241    * <pre>
242    * An optional textual description of the resource; provided by the client when the resource is created.
243    * </pre>
244    *
245    * <code>optional string description = 422937596;</code>
246    *
247    * @return The description.
248    */
getDescription()249   java.lang.String getDescription();
250   /**
251    *
252    *
253    * <pre>
254    * An optional textual description of the resource; provided by the client when the resource is created.
255    * </pre>
256    *
257    * <code>optional string description = 422937596;</code>
258    *
259    * @return The bytes for description.
260    */
getDescriptionBytes()261   com.google.protobuf.ByteString getDescriptionBytes();
262 
263   /**
264    *
265    *
266    * <pre>
267    * [Output Only] The resource URL for the edge security policy associated with this backend bucket.
268    * </pre>
269    *
270    * <code>optional string edge_security_policy = 41036943;</code>
271    *
272    * @return Whether the edgeSecurityPolicy field is set.
273    */
hasEdgeSecurityPolicy()274   boolean hasEdgeSecurityPolicy();
275   /**
276    *
277    *
278    * <pre>
279    * [Output Only] The resource URL for the edge security policy associated with this backend bucket.
280    * </pre>
281    *
282    * <code>optional string edge_security_policy = 41036943;</code>
283    *
284    * @return The edgeSecurityPolicy.
285    */
getEdgeSecurityPolicy()286   java.lang.String getEdgeSecurityPolicy();
287   /**
288    *
289    *
290    * <pre>
291    * [Output Only] The resource URL for the edge security policy associated with this backend bucket.
292    * </pre>
293    *
294    * <code>optional string edge_security_policy = 41036943;</code>
295    *
296    * @return The bytes for edgeSecurityPolicy.
297    */
getEdgeSecurityPolicyBytes()298   com.google.protobuf.ByteString getEdgeSecurityPolicyBytes();
299 
300   /**
301    *
302    *
303    * <pre>
304    * If true, enable Cloud CDN for this BackendBucket.
305    * </pre>
306    *
307    * <code>optional bool enable_cdn = 282942321;</code>
308    *
309    * @return Whether the enableCdn field is set.
310    */
hasEnableCdn()311   boolean hasEnableCdn();
312   /**
313    *
314    *
315    * <pre>
316    * If true, enable Cloud CDN for this BackendBucket.
317    * </pre>
318    *
319    * <code>optional bool enable_cdn = 282942321;</code>
320    *
321    * @return The enableCdn.
322    */
getEnableCdn()323   boolean getEnableCdn();
324 
325   /**
326    *
327    *
328    * <pre>
329    * [Output Only] Unique identifier for the resource; defined by the server.
330    * </pre>
331    *
332    * <code>optional uint64 id = 3355;</code>
333    *
334    * @return Whether the id field is set.
335    */
hasId()336   boolean hasId();
337   /**
338    *
339    *
340    * <pre>
341    * [Output Only] Unique identifier for the resource; defined by the server.
342    * </pre>
343    *
344    * <code>optional uint64 id = 3355;</code>
345    *
346    * @return The id.
347    */
getId()348   long getId();
349 
350   /**
351    *
352    *
353    * <pre>
354    * Type of the resource.
355    * </pre>
356    *
357    * <code>optional string kind = 3292052;</code>
358    *
359    * @return Whether the kind field is set.
360    */
hasKind()361   boolean hasKind();
362   /**
363    *
364    *
365    * <pre>
366    * Type of the resource.
367    * </pre>
368    *
369    * <code>optional string kind = 3292052;</code>
370    *
371    * @return The kind.
372    */
getKind()373   java.lang.String getKind();
374   /**
375    *
376    *
377    * <pre>
378    * Type of the resource.
379    * </pre>
380    *
381    * <code>optional string kind = 3292052;</code>
382    *
383    * @return The bytes for kind.
384    */
getKindBytes()385   com.google.protobuf.ByteString getKindBytes();
386 
387   /**
388    *
389    *
390    * <pre>
391    * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
392    * </pre>
393    *
394    * <code>optional string name = 3373707;</code>
395    *
396    * @return Whether the name field is set.
397    */
hasName()398   boolean hasName();
399   /**
400    *
401    *
402    * <pre>
403    * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
404    * </pre>
405    *
406    * <code>optional string name = 3373707;</code>
407    *
408    * @return The name.
409    */
getName()410   java.lang.String getName();
411   /**
412    *
413    *
414    * <pre>
415    * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
416    * </pre>
417    *
418    * <code>optional string name = 3373707;</code>
419    *
420    * @return The bytes for name.
421    */
getNameBytes()422   com.google.protobuf.ByteString getNameBytes();
423 
424   /**
425    *
426    *
427    * <pre>
428    * [Output Only] Server-defined URL for the resource.
429    * </pre>
430    *
431    * <code>optional string self_link = 456214797;</code>
432    *
433    * @return Whether the selfLink field is set.
434    */
hasSelfLink()435   boolean hasSelfLink();
436   /**
437    *
438    *
439    * <pre>
440    * [Output Only] Server-defined URL for the resource.
441    * </pre>
442    *
443    * <code>optional string self_link = 456214797;</code>
444    *
445    * @return The selfLink.
446    */
getSelfLink()447   java.lang.String getSelfLink();
448   /**
449    *
450    *
451    * <pre>
452    * [Output Only] Server-defined URL for the resource.
453    * </pre>
454    *
455    * <code>optional string self_link = 456214797;</code>
456    *
457    * @return The bytes for selfLink.
458    */
getSelfLinkBytes()459   com.google.protobuf.ByteString getSelfLinkBytes();
460 }
461