• 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 MachineTypeOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.MachineType)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * [Output Only] A list of accelerator configurations assigned to this machine type.
31    * </pre>
32    *
33    * <code>repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;</code>
34    */
getAcceleratorsList()35   java.util.List<com.google.cloud.compute.v1.Accelerators> getAcceleratorsList();
36   /**
37    *
38    *
39    * <pre>
40    * [Output Only] A list of accelerator configurations assigned to this machine type.
41    * </pre>
42    *
43    * <code>repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;</code>
44    */
getAccelerators(int index)45   com.google.cloud.compute.v1.Accelerators getAccelerators(int index);
46   /**
47    *
48    *
49    * <pre>
50    * [Output Only] A list of accelerator configurations assigned to this machine type.
51    * </pre>
52    *
53    * <code>repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;</code>
54    */
getAcceleratorsCount()55   int getAcceleratorsCount();
56   /**
57    *
58    *
59    * <pre>
60    * [Output Only] A list of accelerator configurations assigned to this machine type.
61    * </pre>
62    *
63    * <code>repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;</code>
64    */
65   java.util.List<? extends com.google.cloud.compute.v1.AcceleratorsOrBuilder>
getAcceleratorsOrBuilderList()66       getAcceleratorsOrBuilderList();
67   /**
68    *
69    *
70    * <pre>
71    * [Output Only] A list of accelerator configurations assigned to this machine type.
72    * </pre>
73    *
74    * <code>repeated .google.cloud.compute.v1.Accelerators accelerators = 269577064;</code>
75    */
getAcceleratorsOrBuilder(int index)76   com.google.cloud.compute.v1.AcceleratorsOrBuilder getAcceleratorsOrBuilder(int index);
77 
78   /**
79    *
80    *
81    * <pre>
82    * [Output Only] Creation timestamp in RFC3339 text format.
83    * </pre>
84    *
85    * <code>optional string creation_timestamp = 30525366;</code>
86    *
87    * @return Whether the creationTimestamp field is set.
88    */
hasCreationTimestamp()89   boolean hasCreationTimestamp();
90   /**
91    *
92    *
93    * <pre>
94    * [Output Only] Creation timestamp in RFC3339 text format.
95    * </pre>
96    *
97    * <code>optional string creation_timestamp = 30525366;</code>
98    *
99    * @return The creationTimestamp.
100    */
getCreationTimestamp()101   java.lang.String getCreationTimestamp();
102   /**
103    *
104    *
105    * <pre>
106    * [Output Only] Creation timestamp in RFC3339 text format.
107    * </pre>
108    *
109    * <code>optional string creation_timestamp = 30525366;</code>
110    *
111    * @return The bytes for creationTimestamp.
112    */
getCreationTimestampBytes()113   com.google.protobuf.ByteString getCreationTimestampBytes();
114 
115   /**
116    *
117    *
118    * <pre>
119    * [Output Only] The deprecation status associated with this machine type. Only applicable if the machine type is unavailable.
120    * </pre>
121    *
122    * <code>optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;</code>
123    *
124    * @return Whether the deprecated field is set.
125    */
hasDeprecated()126   boolean hasDeprecated();
127   /**
128    *
129    *
130    * <pre>
131    * [Output Only] The deprecation status associated with this machine type. Only applicable if the machine type is unavailable.
132    * </pre>
133    *
134    * <code>optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;</code>
135    *
136    * @return The deprecated.
137    */
getDeprecated()138   com.google.cloud.compute.v1.DeprecationStatus getDeprecated();
139   /**
140    *
141    *
142    * <pre>
143    * [Output Only] The deprecation status associated with this machine type. Only applicable if the machine type is unavailable.
144    * </pre>
145    *
146    * <code>optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;</code>
147    */
getDeprecatedOrBuilder()148   com.google.cloud.compute.v1.DeprecationStatusOrBuilder getDeprecatedOrBuilder();
149 
150   /**
151    *
152    *
153    * <pre>
154    * [Output Only] An optional textual description of the resource.
155    * </pre>
156    *
157    * <code>optional string description = 422937596;</code>
158    *
159    * @return Whether the description field is set.
160    */
hasDescription()161   boolean hasDescription();
162   /**
163    *
164    *
165    * <pre>
166    * [Output Only] An optional textual description of the resource.
167    * </pre>
168    *
169    * <code>optional string description = 422937596;</code>
170    *
171    * @return The description.
172    */
getDescription()173   java.lang.String getDescription();
174   /**
175    *
176    *
177    * <pre>
178    * [Output Only] An optional textual description of the resource.
179    * </pre>
180    *
181    * <code>optional string description = 422937596;</code>
182    *
183    * @return The bytes for description.
184    */
getDescriptionBytes()185   com.google.protobuf.ByteString getDescriptionBytes();
186 
187   /**
188    *
189    *
190    * <pre>
191    * [Output Only] The number of virtual CPUs that are available to the instance.
192    * </pre>
193    *
194    * <code>optional int32 guest_cpus = 393356754;</code>
195    *
196    * @return Whether the guestCpus field is set.
197    */
hasGuestCpus()198   boolean hasGuestCpus();
199   /**
200    *
201    *
202    * <pre>
203    * [Output Only] The number of virtual CPUs that are available to the instance.
204    * </pre>
205    *
206    * <code>optional int32 guest_cpus = 393356754;</code>
207    *
208    * @return The guestCpus.
209    */
getGuestCpus()210   int getGuestCpus();
211 
212   /**
213    *
214    *
215    * <pre>
216    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
217    * </pre>
218    *
219    * <code>optional uint64 id = 3355;</code>
220    *
221    * @return Whether the id field is set.
222    */
hasId()223   boolean hasId();
224   /**
225    *
226    *
227    * <pre>
228    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
229    * </pre>
230    *
231    * <code>optional uint64 id = 3355;</code>
232    *
233    * @return The id.
234    */
getId()235   long getId();
236 
237   /**
238    *
239    *
240    * <pre>
241    * [Deprecated] This property is deprecated and will never be populated with any relevant values.
242    * </pre>
243    *
244    * <code>optional int32 image_space_gb = 75331864;</code>
245    *
246    * @return Whether the imageSpaceGb field is set.
247    */
hasImageSpaceGb()248   boolean hasImageSpaceGb();
249   /**
250    *
251    *
252    * <pre>
253    * [Deprecated] This property is deprecated and will never be populated with any relevant values.
254    * </pre>
255    *
256    * <code>optional int32 image_space_gb = 75331864;</code>
257    *
258    * @return The imageSpaceGb.
259    */
getImageSpaceGb()260   int getImageSpaceGb();
261 
262   /**
263    *
264    *
265    * <pre>
266    * [Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for more information.
267    * </pre>
268    *
269    * <code>optional bool is_shared_cpu = 521399555;</code>
270    *
271    * @return Whether the isSharedCpu field is set.
272    */
hasIsSharedCpu()273   boolean hasIsSharedCpu();
274   /**
275    *
276    *
277    * <pre>
278    * [Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for more information.
279    * </pre>
280    *
281    * <code>optional bool is_shared_cpu = 521399555;</code>
282    *
283    * @return The isSharedCpu.
284    */
getIsSharedCpu()285   boolean getIsSharedCpu();
286 
287   /**
288    *
289    *
290    * <pre>
291    * [Output Only] The type of the resource. Always compute#machineType for machine types.
292    * </pre>
293    *
294    * <code>optional string kind = 3292052;</code>
295    *
296    * @return Whether the kind field is set.
297    */
hasKind()298   boolean hasKind();
299   /**
300    *
301    *
302    * <pre>
303    * [Output Only] The type of the resource. Always compute#machineType for machine types.
304    * </pre>
305    *
306    * <code>optional string kind = 3292052;</code>
307    *
308    * @return The kind.
309    */
getKind()310   java.lang.String getKind();
311   /**
312    *
313    *
314    * <pre>
315    * [Output Only] The type of the resource. Always compute#machineType for machine types.
316    * </pre>
317    *
318    * <code>optional string kind = 3292052;</code>
319    *
320    * @return The bytes for kind.
321    */
getKindBytes()322   com.google.protobuf.ByteString getKindBytes();
323 
324   /**
325    *
326    *
327    * <pre>
328    * [Output Only] Maximum persistent disks allowed.
329    * </pre>
330    *
331    * <code>optional int32 maximum_persistent_disks = 496220941;</code>
332    *
333    * @return Whether the maximumPersistentDisks field is set.
334    */
hasMaximumPersistentDisks()335   boolean hasMaximumPersistentDisks();
336   /**
337    *
338    *
339    * <pre>
340    * [Output Only] Maximum persistent disks allowed.
341    * </pre>
342    *
343    * <code>optional int32 maximum_persistent_disks = 496220941;</code>
344    *
345    * @return The maximumPersistentDisks.
346    */
getMaximumPersistentDisks()347   int getMaximumPersistentDisks();
348 
349   /**
350    *
351    *
352    * <pre>
353    * [Output Only] Maximum total persistent disks size (GB) allowed.
354    * </pre>
355    *
356    * <code>optional int64 maximum_persistent_disks_size_gb = 154274471;</code>
357    *
358    * @return Whether the maximumPersistentDisksSizeGb field is set.
359    */
hasMaximumPersistentDisksSizeGb()360   boolean hasMaximumPersistentDisksSizeGb();
361   /**
362    *
363    *
364    * <pre>
365    * [Output Only] Maximum total persistent disks size (GB) allowed.
366    * </pre>
367    *
368    * <code>optional int64 maximum_persistent_disks_size_gb = 154274471;</code>
369    *
370    * @return The maximumPersistentDisksSizeGb.
371    */
getMaximumPersistentDisksSizeGb()372   long getMaximumPersistentDisksSizeGb();
373 
374   /**
375    *
376    *
377    * <pre>
378    * [Output Only] The amount of physical memory available to the instance, defined in MB.
379    * </pre>
380    *
381    * <code>optional int32 memory_mb = 116001171;</code>
382    *
383    * @return Whether the memoryMb field is set.
384    */
hasMemoryMb()385   boolean hasMemoryMb();
386   /**
387    *
388    *
389    * <pre>
390    * [Output Only] The amount of physical memory available to the instance, defined in MB.
391    * </pre>
392    *
393    * <code>optional int32 memory_mb = 116001171;</code>
394    *
395    * @return The memoryMb.
396    */
getMemoryMb()397   int getMemoryMb();
398 
399   /**
400    *
401    *
402    * <pre>
403    * [Output Only] Name of the resource.
404    * </pre>
405    *
406    * <code>optional string name = 3373707;</code>
407    *
408    * @return Whether the name field is set.
409    */
hasName()410   boolean hasName();
411   /**
412    *
413    *
414    * <pre>
415    * [Output Only] Name of the resource.
416    * </pre>
417    *
418    * <code>optional string name = 3373707;</code>
419    *
420    * @return The name.
421    */
getName()422   java.lang.String getName();
423   /**
424    *
425    *
426    * <pre>
427    * [Output Only] Name of the resource.
428    * </pre>
429    *
430    * <code>optional string name = 3373707;</code>
431    *
432    * @return The bytes for name.
433    */
getNameBytes()434   com.google.protobuf.ByteString getNameBytes();
435 
436   /**
437    *
438    *
439    * <pre>
440    * [Output Only] A list of extended scratch disks assigned to the instance.
441    * </pre>
442    *
443    * <code>repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;</code>
444    */
getScratchDisksList()445   java.util.List<com.google.cloud.compute.v1.ScratchDisks> getScratchDisksList();
446   /**
447    *
448    *
449    * <pre>
450    * [Output Only] A list of extended scratch disks assigned to the instance.
451    * </pre>
452    *
453    * <code>repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;</code>
454    */
getScratchDisks(int index)455   com.google.cloud.compute.v1.ScratchDisks getScratchDisks(int index);
456   /**
457    *
458    *
459    * <pre>
460    * [Output Only] A list of extended scratch disks assigned to the instance.
461    * </pre>
462    *
463    * <code>repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;</code>
464    */
getScratchDisksCount()465   int getScratchDisksCount();
466   /**
467    *
468    *
469    * <pre>
470    * [Output Only] A list of extended scratch disks assigned to the instance.
471    * </pre>
472    *
473    * <code>repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;</code>
474    */
475   java.util.List<? extends com.google.cloud.compute.v1.ScratchDisksOrBuilder>
getScratchDisksOrBuilderList()476       getScratchDisksOrBuilderList();
477   /**
478    *
479    *
480    * <pre>
481    * [Output Only] A list of extended scratch disks assigned to the instance.
482    * </pre>
483    *
484    * <code>repeated .google.cloud.compute.v1.ScratchDisks scratch_disks = 480778481;</code>
485    */
getScratchDisksOrBuilder(int index)486   com.google.cloud.compute.v1.ScratchDisksOrBuilder getScratchDisksOrBuilder(int index);
487 
488   /**
489    *
490    *
491    * <pre>
492    * [Output Only] Server-defined URL for the resource.
493    * </pre>
494    *
495    * <code>optional string self_link = 456214797;</code>
496    *
497    * @return Whether the selfLink field is set.
498    */
hasSelfLink()499   boolean hasSelfLink();
500   /**
501    *
502    *
503    * <pre>
504    * [Output Only] Server-defined URL for the resource.
505    * </pre>
506    *
507    * <code>optional string self_link = 456214797;</code>
508    *
509    * @return The selfLink.
510    */
getSelfLink()511   java.lang.String getSelfLink();
512   /**
513    *
514    *
515    * <pre>
516    * [Output Only] Server-defined URL for the resource.
517    * </pre>
518    *
519    * <code>optional string self_link = 456214797;</code>
520    *
521    * @return The bytes for selfLink.
522    */
getSelfLinkBytes()523   com.google.protobuf.ByteString getSelfLinkBytes();
524 
525   /**
526    *
527    *
528    * <pre>
529    * [Output Only] The name of the zone where the machine type resides, such as us-central1-a.
530    * </pre>
531    *
532    * <code>optional string zone = 3744684;</code>
533    *
534    * @return Whether the zone field is set.
535    */
hasZone()536   boolean hasZone();
537   /**
538    *
539    *
540    * <pre>
541    * [Output Only] The name of the zone where the machine type resides, such as us-central1-a.
542    * </pre>
543    *
544    * <code>optional string zone = 3744684;</code>
545    *
546    * @return The zone.
547    */
getZone()548   java.lang.String getZone();
549   /**
550    *
551    *
552    * <pre>
553    * [Output Only] The name of the zone where the machine type resides, such as us-central1-a.
554    * </pre>
555    *
556    * <code>optional string zone = 3744684;</code>
557    *
558    * @return The bytes for zone.
559    */
getZoneBytes()560   com.google.protobuf.ByteString getZoneBytes();
561 }
562