• 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 ZoneOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.Zone)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * [Output Only] Available cpu/platform selections for the zone.
31    * </pre>
32    *
33    * <code>repeated string available_cpu_platforms = 175536531;</code>
34    *
35    * @return A list containing the availableCpuPlatforms.
36    */
getAvailableCpuPlatformsList()37   java.util.List<java.lang.String> getAvailableCpuPlatformsList();
38   /**
39    *
40    *
41    * <pre>
42    * [Output Only] Available cpu/platform selections for the zone.
43    * </pre>
44    *
45    * <code>repeated string available_cpu_platforms = 175536531;</code>
46    *
47    * @return The count of availableCpuPlatforms.
48    */
getAvailableCpuPlatformsCount()49   int getAvailableCpuPlatformsCount();
50   /**
51    *
52    *
53    * <pre>
54    * [Output Only] Available cpu/platform selections for the zone.
55    * </pre>
56    *
57    * <code>repeated string available_cpu_platforms = 175536531;</code>
58    *
59    * @param index The index of the element to return.
60    * @return The availableCpuPlatforms at the given index.
61    */
getAvailableCpuPlatforms(int index)62   java.lang.String getAvailableCpuPlatforms(int index);
63   /**
64    *
65    *
66    * <pre>
67    * [Output Only] Available cpu/platform selections for the zone.
68    * </pre>
69    *
70    * <code>repeated string available_cpu_platforms = 175536531;</code>
71    *
72    * @param index The index of the value to return.
73    * @return The bytes of the availableCpuPlatforms at the given index.
74    */
getAvailableCpuPlatformsBytes(int index)75   com.google.protobuf.ByteString getAvailableCpuPlatformsBytes(int index);
76 
77   /**
78    *
79    *
80    * <pre>
81    * [Output Only] Creation timestamp in RFC3339 text format.
82    * </pre>
83    *
84    * <code>optional string creation_timestamp = 30525366;</code>
85    *
86    * @return Whether the creationTimestamp field is set.
87    */
hasCreationTimestamp()88   boolean hasCreationTimestamp();
89   /**
90    *
91    *
92    * <pre>
93    * [Output Only] Creation timestamp in RFC3339 text format.
94    * </pre>
95    *
96    * <code>optional string creation_timestamp = 30525366;</code>
97    *
98    * @return The creationTimestamp.
99    */
getCreationTimestamp()100   java.lang.String getCreationTimestamp();
101   /**
102    *
103    *
104    * <pre>
105    * [Output Only] Creation timestamp in RFC3339 text format.
106    * </pre>
107    *
108    * <code>optional string creation_timestamp = 30525366;</code>
109    *
110    * @return The bytes for creationTimestamp.
111    */
getCreationTimestampBytes()112   com.google.protobuf.ByteString getCreationTimestampBytes();
113 
114   /**
115    *
116    *
117    * <pre>
118    * [Output Only] The deprecation status associated with this zone.
119    * </pre>
120    *
121    * <code>optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;</code>
122    *
123    * @return Whether the deprecated field is set.
124    */
hasDeprecated()125   boolean hasDeprecated();
126   /**
127    *
128    *
129    * <pre>
130    * [Output Only] The deprecation status associated with this zone.
131    * </pre>
132    *
133    * <code>optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;</code>
134    *
135    * @return The deprecated.
136    */
getDeprecated()137   com.google.cloud.compute.v1.DeprecationStatus getDeprecated();
138   /**
139    *
140    *
141    * <pre>
142    * [Output Only] The deprecation status associated with this zone.
143    * </pre>
144    *
145    * <code>optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;</code>
146    */
getDeprecatedOrBuilder()147   com.google.cloud.compute.v1.DeprecationStatusOrBuilder getDeprecatedOrBuilder();
148 
149   /**
150    *
151    *
152    * <pre>
153    * [Output Only] Textual description of the resource.
154    * </pre>
155    *
156    * <code>optional string description = 422937596;</code>
157    *
158    * @return Whether the description field is set.
159    */
hasDescription()160   boolean hasDescription();
161   /**
162    *
163    *
164    * <pre>
165    * [Output Only] Textual description of the resource.
166    * </pre>
167    *
168    * <code>optional string description = 422937596;</code>
169    *
170    * @return The description.
171    */
getDescription()172   java.lang.String getDescription();
173   /**
174    *
175    *
176    * <pre>
177    * [Output Only] Textual description of the resource.
178    * </pre>
179    *
180    * <code>optional string description = 422937596;</code>
181    *
182    * @return The bytes for description.
183    */
getDescriptionBytes()184   com.google.protobuf.ByteString getDescriptionBytes();
185 
186   /**
187    *
188    *
189    * <pre>
190    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
191    * </pre>
192    *
193    * <code>optional uint64 id = 3355;</code>
194    *
195    * @return Whether the id field is set.
196    */
hasId()197   boolean hasId();
198   /**
199    *
200    *
201    * <pre>
202    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
203    * </pre>
204    *
205    * <code>optional uint64 id = 3355;</code>
206    *
207    * @return The id.
208    */
getId()209   long getId();
210 
211   /**
212    *
213    *
214    * <pre>
215    * [Output Only] Type of the resource. Always compute#zone for zones.
216    * </pre>
217    *
218    * <code>optional string kind = 3292052;</code>
219    *
220    * @return Whether the kind field is set.
221    */
hasKind()222   boolean hasKind();
223   /**
224    *
225    *
226    * <pre>
227    * [Output Only] Type of the resource. Always compute#zone for zones.
228    * </pre>
229    *
230    * <code>optional string kind = 3292052;</code>
231    *
232    * @return The kind.
233    */
getKind()234   java.lang.String getKind();
235   /**
236    *
237    *
238    * <pre>
239    * [Output Only] Type of the resource. Always compute#zone for zones.
240    * </pre>
241    *
242    * <code>optional string kind = 3292052;</code>
243    *
244    * @return The bytes for kind.
245    */
getKindBytes()246   com.google.protobuf.ByteString getKindBytes();
247 
248   /**
249    *
250    *
251    * <pre>
252    * [Output Only] Name of the resource.
253    * </pre>
254    *
255    * <code>optional string name = 3373707;</code>
256    *
257    * @return Whether the name field is set.
258    */
hasName()259   boolean hasName();
260   /**
261    *
262    *
263    * <pre>
264    * [Output Only] Name of the resource.
265    * </pre>
266    *
267    * <code>optional string name = 3373707;</code>
268    *
269    * @return The name.
270    */
getName()271   java.lang.String getName();
272   /**
273    *
274    *
275    * <pre>
276    * [Output Only] Name of the resource.
277    * </pre>
278    *
279    * <code>optional string name = 3373707;</code>
280    *
281    * @return The bytes for name.
282    */
getNameBytes()283   com.google.protobuf.ByteString getNameBytes();
284 
285   /**
286    *
287    *
288    * <pre>
289    * [Output Only] Full URL reference to the region which hosts the zone.
290    * </pre>
291    *
292    * <code>optional string region = 138946292;</code>
293    *
294    * @return Whether the region field is set.
295    */
hasRegion()296   boolean hasRegion();
297   /**
298    *
299    *
300    * <pre>
301    * [Output Only] Full URL reference to the region which hosts the zone.
302    * </pre>
303    *
304    * <code>optional string region = 138946292;</code>
305    *
306    * @return The region.
307    */
getRegion()308   java.lang.String getRegion();
309   /**
310    *
311    *
312    * <pre>
313    * [Output Only] Full URL reference to the region which hosts the zone.
314    * </pre>
315    *
316    * <code>optional string region = 138946292;</code>
317    *
318    * @return The bytes for region.
319    */
getRegionBytes()320   com.google.protobuf.ByteString getRegionBytes();
321 
322   /**
323    *
324    *
325    * <pre>
326    * [Output Only] Server-defined URL for the resource.
327    * </pre>
328    *
329    * <code>optional string self_link = 456214797;</code>
330    *
331    * @return Whether the selfLink field is set.
332    */
hasSelfLink()333   boolean hasSelfLink();
334   /**
335    *
336    *
337    * <pre>
338    * [Output Only] Server-defined URL for the resource.
339    * </pre>
340    *
341    * <code>optional string self_link = 456214797;</code>
342    *
343    * @return The selfLink.
344    */
getSelfLink()345   java.lang.String getSelfLink();
346   /**
347    *
348    *
349    * <pre>
350    * [Output Only] Server-defined URL for the resource.
351    * </pre>
352    *
353    * <code>optional string self_link = 456214797;</code>
354    *
355    * @return The bytes for selfLink.
356    */
getSelfLinkBytes()357   com.google.protobuf.ByteString getSelfLinkBytes();
358 
359   /**
360    *
361    *
362    * <pre>
363    * [Output Only] Status of the zone, either UP or DOWN.
364    * Check the Status enum for the list of possible values.
365    * </pre>
366    *
367    * <code>optional string status = 181260274;</code>
368    *
369    * @return Whether the status field is set.
370    */
hasStatus()371   boolean hasStatus();
372   /**
373    *
374    *
375    * <pre>
376    * [Output Only] Status of the zone, either UP or DOWN.
377    * Check the Status enum for the list of possible values.
378    * </pre>
379    *
380    * <code>optional string status = 181260274;</code>
381    *
382    * @return The status.
383    */
getStatus()384   java.lang.String getStatus();
385   /**
386    *
387    *
388    * <pre>
389    * [Output Only] Status of the zone, either UP or DOWN.
390    * Check the Status enum for the list of possible values.
391    * </pre>
392    *
393    * <code>optional string status = 181260274;</code>
394    *
395    * @return The bytes for status.
396    */
getStatusBytes()397   com.google.protobuf.ByteString getStatusBytes();
398 
399   /**
400    *
401    *
402    * <pre>
403    * [Output Only] Reserved for future use.
404    * </pre>
405    *
406    * <code>optional bool supports_pzs = 83983214;</code>
407    *
408    * @return Whether the supportsPzs field is set.
409    */
hasSupportsPzs()410   boolean hasSupportsPzs();
411   /**
412    *
413    *
414    * <pre>
415    * [Output Only] Reserved for future use.
416    * </pre>
417    *
418    * <code>optional bool supports_pzs = 83983214;</code>
419    *
420    * @return The supportsPzs.
421    */
getSupportsPzs()422   boolean getSupportsPzs();
423 }
424