• 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 ImageOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.Image)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The architecture of the image. Valid values are ARM64 or X86_64.
31    * Check the Architecture enum for the list of possible values.
32    * </pre>
33    *
34    * <code>optional string architecture = 302803283;</code>
35    *
36    * @return Whether the architecture field is set.
37    */
hasArchitecture()38   boolean hasArchitecture();
39   /**
40    *
41    *
42    * <pre>
43    * The architecture of the image. Valid values are ARM64 or X86_64.
44    * Check the Architecture enum for the list of possible values.
45    * </pre>
46    *
47    * <code>optional string architecture = 302803283;</code>
48    *
49    * @return The architecture.
50    */
getArchitecture()51   java.lang.String getArchitecture();
52   /**
53    *
54    *
55    * <pre>
56    * The architecture of the image. Valid values are ARM64 or X86_64.
57    * Check the Architecture enum for the list of possible values.
58    * </pre>
59    *
60    * <code>optional string architecture = 302803283;</code>
61    *
62    * @return The bytes for architecture.
63    */
getArchitectureBytes()64   com.google.protobuf.ByteString getArchitectureBytes();
65 
66   /**
67    *
68    *
69    * <pre>
70    * Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).
71    * </pre>
72    *
73    * <code>optional int64 archive_size_bytes = 381093450;</code>
74    *
75    * @return Whether the archiveSizeBytes field is set.
76    */
hasArchiveSizeBytes()77   boolean hasArchiveSizeBytes();
78   /**
79    *
80    *
81    * <pre>
82    * Size of the image tar.gz archive stored in Google Cloud Storage (in bytes).
83    * </pre>
84    *
85    * <code>optional int64 archive_size_bytes = 381093450;</code>
86    *
87    * @return The archiveSizeBytes.
88    */
getArchiveSizeBytes()89   long getArchiveSizeBytes();
90 
91   /**
92    *
93    *
94    * <pre>
95    * [Output Only] Creation timestamp in RFC3339 text format.
96    * </pre>
97    *
98    * <code>optional string creation_timestamp = 30525366;</code>
99    *
100    * @return Whether the creationTimestamp field is set.
101    */
hasCreationTimestamp()102   boolean hasCreationTimestamp();
103   /**
104    *
105    *
106    * <pre>
107    * [Output Only] Creation timestamp in RFC3339 text format.
108    * </pre>
109    *
110    * <code>optional string creation_timestamp = 30525366;</code>
111    *
112    * @return The creationTimestamp.
113    */
getCreationTimestamp()114   java.lang.String getCreationTimestamp();
115   /**
116    *
117    *
118    * <pre>
119    * [Output Only] Creation timestamp in RFC3339 text format.
120    * </pre>
121    *
122    * <code>optional string creation_timestamp = 30525366;</code>
123    *
124    * @return The bytes for creationTimestamp.
125    */
getCreationTimestampBytes()126   com.google.protobuf.ByteString getCreationTimestampBytes();
127 
128   /**
129    *
130    *
131    * <pre>
132    * The deprecation status associated with this image.
133    * </pre>
134    *
135    * <code>optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;</code>
136    *
137    * @return Whether the deprecated field is set.
138    */
hasDeprecated()139   boolean hasDeprecated();
140   /**
141    *
142    *
143    * <pre>
144    * The deprecation status associated with this image.
145    * </pre>
146    *
147    * <code>optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;</code>
148    *
149    * @return The deprecated.
150    */
getDeprecated()151   com.google.cloud.compute.v1.DeprecationStatus getDeprecated();
152   /**
153    *
154    *
155    * <pre>
156    * The deprecation status associated with this image.
157    * </pre>
158    *
159    * <code>optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;</code>
160    */
getDeprecatedOrBuilder()161   com.google.cloud.compute.v1.DeprecationStatusOrBuilder getDeprecatedOrBuilder();
162 
163   /**
164    *
165    *
166    * <pre>
167    * An optional description of this resource. Provide this property when you create the resource.
168    * </pre>
169    *
170    * <code>optional string description = 422937596;</code>
171    *
172    * @return Whether the description field is set.
173    */
hasDescription()174   boolean hasDescription();
175   /**
176    *
177    *
178    * <pre>
179    * An optional description of this resource. Provide this property when you create the resource.
180    * </pre>
181    *
182    * <code>optional string description = 422937596;</code>
183    *
184    * @return The description.
185    */
getDescription()186   java.lang.String getDescription();
187   /**
188    *
189    *
190    * <pre>
191    * An optional description of this resource. Provide this property when you create the resource.
192    * </pre>
193    *
194    * <code>optional string description = 422937596;</code>
195    *
196    * @return The bytes for description.
197    */
getDescriptionBytes()198   com.google.protobuf.ByteString getDescriptionBytes();
199 
200   /**
201    *
202    *
203    * <pre>
204    * Size of the image when restored onto a persistent disk (in GB).
205    * </pre>
206    *
207    * <code>optional int64 disk_size_gb = 316263735;</code>
208    *
209    * @return Whether the diskSizeGb field is set.
210    */
hasDiskSizeGb()211   boolean hasDiskSizeGb();
212   /**
213    *
214    *
215    * <pre>
216    * Size of the image when restored onto a persistent disk (in GB).
217    * </pre>
218    *
219    * <code>optional int64 disk_size_gb = 316263735;</code>
220    *
221    * @return The diskSizeGb.
222    */
getDiskSizeGb()223   long getDiskSizeGb();
224 
225   /**
226    *
227    *
228    * <pre>
229    * The name of the image family to which this image belongs. The image family name can be from a publicly managed image family provided by Compute Engine, or from a custom image family you create. For example, centos-stream-9 is a publicly available image family. For more information, see Image family best practices. When creating disks, you can specify an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035.
230    * </pre>
231    *
232    * <code>optional string family = 328751972;</code>
233    *
234    * @return Whether the family field is set.
235    */
hasFamily()236   boolean hasFamily();
237   /**
238    *
239    *
240    * <pre>
241    * The name of the image family to which this image belongs. The image family name can be from a publicly managed image family provided by Compute Engine, or from a custom image family you create. For example, centos-stream-9 is a publicly available image family. For more information, see Image family best practices. When creating disks, you can specify an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035.
242    * </pre>
243    *
244    * <code>optional string family = 328751972;</code>
245    *
246    * @return The family.
247    */
getFamily()248   java.lang.String getFamily();
249   /**
250    *
251    *
252    * <pre>
253    * The name of the image family to which this image belongs. The image family name can be from a publicly managed image family provided by Compute Engine, or from a custom image family you create. For example, centos-stream-9 is a publicly available image family. For more information, see Image family best practices. When creating disks, you can specify an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035.
254    * </pre>
255    *
256    * <code>optional string family = 328751972;</code>
257    *
258    * @return The bytes for family.
259    */
getFamilyBytes()260   com.google.protobuf.ByteString getFamilyBytes();
261 
262   /**
263    *
264    *
265    * <pre>
266    * A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
267    * </pre>
268    *
269    * <code>repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;</code>
270    */
getGuestOsFeaturesList()271   java.util.List<com.google.cloud.compute.v1.GuestOsFeature> getGuestOsFeaturesList();
272   /**
273    *
274    *
275    * <pre>
276    * A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
277    * </pre>
278    *
279    * <code>repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;</code>
280    */
getGuestOsFeatures(int index)281   com.google.cloud.compute.v1.GuestOsFeature getGuestOsFeatures(int index);
282   /**
283    *
284    *
285    * <pre>
286    * A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
287    * </pre>
288    *
289    * <code>repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;</code>
290    */
getGuestOsFeaturesCount()291   int getGuestOsFeaturesCount();
292   /**
293    *
294    *
295    * <pre>
296    * A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
297    * </pre>
298    *
299    * <code>repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;</code>
300    */
301   java.util.List<? extends com.google.cloud.compute.v1.GuestOsFeatureOrBuilder>
getGuestOsFeaturesOrBuilderList()302       getGuestOsFeaturesOrBuilderList();
303   /**
304    *
305    *
306    * <pre>
307    * A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter.
308    * </pre>
309    *
310    * <code>repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;</code>
311    */
getGuestOsFeaturesOrBuilder(int index)312   com.google.cloud.compute.v1.GuestOsFeatureOrBuilder getGuestOsFeaturesOrBuilder(int index);
313 
314   /**
315    *
316    *
317    * <pre>
318    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
319    * </pre>
320    *
321    * <code>optional uint64 id = 3355;</code>
322    *
323    * @return Whether the id field is set.
324    */
hasId()325   boolean hasId();
326   /**
327    *
328    *
329    * <pre>
330    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
331    * </pre>
332    *
333    * <code>optional uint64 id = 3355;</code>
334    *
335    * @return The id.
336    */
getId()337   long getId();
338 
339   /**
340    *
341    *
342    * <pre>
343    * Encrypts the image using a customer-supplied encryption key. After you encrypt an image with a customer-supplied key, you must provide the same key if you use the image later (e.g. to create a disk from the image). Customer-supplied encryption keys do not protect access to metadata of the disk. If you do not provide an encryption key when creating the image, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the image later.
344    * </pre>
345    *
346    * <code>optional .google.cloud.compute.v1.CustomerEncryptionKey image_encryption_key = 379512583;
347    * </code>
348    *
349    * @return Whether the imageEncryptionKey field is set.
350    */
hasImageEncryptionKey()351   boolean hasImageEncryptionKey();
352   /**
353    *
354    *
355    * <pre>
356    * Encrypts the image using a customer-supplied encryption key. After you encrypt an image with a customer-supplied key, you must provide the same key if you use the image later (e.g. to create a disk from the image). Customer-supplied encryption keys do not protect access to metadata of the disk. If you do not provide an encryption key when creating the image, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the image later.
357    * </pre>
358    *
359    * <code>optional .google.cloud.compute.v1.CustomerEncryptionKey image_encryption_key = 379512583;
360    * </code>
361    *
362    * @return The imageEncryptionKey.
363    */
getImageEncryptionKey()364   com.google.cloud.compute.v1.CustomerEncryptionKey getImageEncryptionKey();
365   /**
366    *
367    *
368    * <pre>
369    * Encrypts the image using a customer-supplied encryption key. After you encrypt an image with a customer-supplied key, you must provide the same key if you use the image later (e.g. to create a disk from the image). Customer-supplied encryption keys do not protect access to metadata of the disk. If you do not provide an encryption key when creating the image, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the image later.
370    * </pre>
371    *
372    * <code>optional .google.cloud.compute.v1.CustomerEncryptionKey image_encryption_key = 379512583;
373    * </code>
374    */
getImageEncryptionKeyOrBuilder()375   com.google.cloud.compute.v1.CustomerEncryptionKeyOrBuilder getImageEncryptionKeyOrBuilder();
376 
377   /**
378    *
379    *
380    * <pre>
381    * [Output Only] Type of the resource. Always compute#image for images.
382    * </pre>
383    *
384    * <code>optional string kind = 3292052;</code>
385    *
386    * @return Whether the kind field is set.
387    */
hasKind()388   boolean hasKind();
389   /**
390    *
391    *
392    * <pre>
393    * [Output Only] Type of the resource. Always compute#image for images.
394    * </pre>
395    *
396    * <code>optional string kind = 3292052;</code>
397    *
398    * @return The kind.
399    */
getKind()400   java.lang.String getKind();
401   /**
402    *
403    *
404    * <pre>
405    * [Output Only] Type of the resource. Always compute#image for images.
406    * </pre>
407    *
408    * <code>optional string kind = 3292052;</code>
409    *
410    * @return The bytes for kind.
411    */
getKindBytes()412   com.google.protobuf.ByteString getKindBytes();
413 
414   /**
415    *
416    *
417    * <pre>
418    * A fingerprint for the labels being applied to this image, which is essentially a hash of the labels used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an image.
419    * </pre>
420    *
421    * <code>optional string label_fingerprint = 178124825;</code>
422    *
423    * @return Whether the labelFingerprint field is set.
424    */
hasLabelFingerprint()425   boolean hasLabelFingerprint();
426   /**
427    *
428    *
429    * <pre>
430    * A fingerprint for the labels being applied to this image, which is essentially a hash of the labels used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an image.
431    * </pre>
432    *
433    * <code>optional string label_fingerprint = 178124825;</code>
434    *
435    * @return The labelFingerprint.
436    */
getLabelFingerprint()437   java.lang.String getLabelFingerprint();
438   /**
439    *
440    *
441    * <pre>
442    * A fingerprint for the labels being applied to this image, which is essentially a hash of the labels used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an image.
443    * </pre>
444    *
445    * <code>optional string label_fingerprint = 178124825;</code>
446    *
447    * @return The bytes for labelFingerprint.
448    */
getLabelFingerprintBytes()449   com.google.protobuf.ByteString getLabelFingerprintBytes();
450 
451   /**
452    *
453    *
454    * <pre>
455    * Labels to apply to this image. These can be later modified by the setLabels method.
456    * </pre>
457    *
458    * <code>map&lt;string, string&gt; labels = 500195327;</code>
459    */
getLabelsCount()460   int getLabelsCount();
461   /**
462    *
463    *
464    * <pre>
465    * Labels to apply to this image. These can be later modified by the setLabels method.
466    * </pre>
467    *
468    * <code>map&lt;string, string&gt; labels = 500195327;</code>
469    */
containsLabels(java.lang.String key)470   boolean containsLabels(java.lang.String key);
471   /** Use {@link #getLabelsMap()} instead. */
472   @java.lang.Deprecated
getLabels()473   java.util.Map<java.lang.String, java.lang.String> getLabels();
474   /**
475    *
476    *
477    * <pre>
478    * Labels to apply to this image. These can be later modified by the setLabels method.
479    * </pre>
480    *
481    * <code>map&lt;string, string&gt; labels = 500195327;</code>
482    */
getLabelsMap()483   java.util.Map<java.lang.String, java.lang.String> getLabelsMap();
484   /**
485    *
486    *
487    * <pre>
488    * Labels to apply to this image. These can be later modified by the setLabels method.
489    * </pre>
490    *
491    * <code>map&lt;string, string&gt; labels = 500195327;</code>
492    */
493   /* nullable */
getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue)494   java.lang.String getLabelsOrDefault(
495       java.lang.String key,
496       /* nullable */
497       java.lang.String defaultValue);
498   /**
499    *
500    *
501    * <pre>
502    * Labels to apply to this image. These can be later modified by the setLabels method.
503    * </pre>
504    *
505    * <code>map&lt;string, string&gt; labels = 500195327;</code>
506    */
getLabelsOrThrow(java.lang.String key)507   java.lang.String getLabelsOrThrow(java.lang.String key);
508 
509   /**
510    *
511    *
512    * <pre>
513    * Integer license codes indicating which licenses are attached to this image.
514    * </pre>
515    *
516    * <code>repeated int64 license_codes = 45482664;</code>
517    *
518    * @return A list containing the licenseCodes.
519    */
getLicenseCodesList()520   java.util.List<java.lang.Long> getLicenseCodesList();
521   /**
522    *
523    *
524    * <pre>
525    * Integer license codes indicating which licenses are attached to this image.
526    * </pre>
527    *
528    * <code>repeated int64 license_codes = 45482664;</code>
529    *
530    * @return The count of licenseCodes.
531    */
getLicenseCodesCount()532   int getLicenseCodesCount();
533   /**
534    *
535    *
536    * <pre>
537    * Integer license codes indicating which licenses are attached to this image.
538    * </pre>
539    *
540    * <code>repeated int64 license_codes = 45482664;</code>
541    *
542    * @param index The index of the element to return.
543    * @return The licenseCodes at the given index.
544    */
getLicenseCodes(int index)545   long getLicenseCodes(int index);
546 
547   /**
548    *
549    *
550    * <pre>
551    * Any applicable license URI.
552    * </pre>
553    *
554    * <code>repeated string licenses = 337642578;</code>
555    *
556    * @return A list containing the licenses.
557    */
getLicensesList()558   java.util.List<java.lang.String> getLicensesList();
559   /**
560    *
561    *
562    * <pre>
563    * Any applicable license URI.
564    * </pre>
565    *
566    * <code>repeated string licenses = 337642578;</code>
567    *
568    * @return The count of licenses.
569    */
getLicensesCount()570   int getLicensesCount();
571   /**
572    *
573    *
574    * <pre>
575    * Any applicable license URI.
576    * </pre>
577    *
578    * <code>repeated string licenses = 337642578;</code>
579    *
580    * @param index The index of the element to return.
581    * @return The licenses at the given index.
582    */
getLicenses(int index)583   java.lang.String getLicenses(int index);
584   /**
585    *
586    *
587    * <pre>
588    * Any applicable license URI.
589    * </pre>
590    *
591    * <code>repeated string licenses = 337642578;</code>
592    *
593    * @param index The index of the value to return.
594    * @return The bytes of the licenses at the given index.
595    */
getLicensesBytes(int index)596   com.google.protobuf.ByteString getLicensesBytes(int index);
597 
598   /**
599    *
600    *
601    * <pre>
602    * 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.
603    * </pre>
604    *
605    * <code>optional string name = 3373707;</code>
606    *
607    * @return Whether the name field is set.
608    */
hasName()609   boolean hasName();
610   /**
611    *
612    *
613    * <pre>
614    * 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.
615    * </pre>
616    *
617    * <code>optional string name = 3373707;</code>
618    *
619    * @return The name.
620    */
getName()621   java.lang.String getName();
622   /**
623    *
624    *
625    * <pre>
626    * 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.
627    * </pre>
628    *
629    * <code>optional string name = 3373707;</code>
630    *
631    * @return The bytes for name.
632    */
getNameBytes()633   com.google.protobuf.ByteString getNameBytes();
634 
635   /**
636    *
637    *
638    * <pre>
639    * The parameters of the raw disk image.
640    * </pre>
641    *
642    * <code>optional .google.cloud.compute.v1.RawDisk raw_disk = 503113556;</code>
643    *
644    * @return Whether the rawDisk field is set.
645    */
hasRawDisk()646   boolean hasRawDisk();
647   /**
648    *
649    *
650    * <pre>
651    * The parameters of the raw disk image.
652    * </pre>
653    *
654    * <code>optional .google.cloud.compute.v1.RawDisk raw_disk = 503113556;</code>
655    *
656    * @return The rawDisk.
657    */
getRawDisk()658   com.google.cloud.compute.v1.RawDisk getRawDisk();
659   /**
660    *
661    *
662    * <pre>
663    * The parameters of the raw disk image.
664    * </pre>
665    *
666    * <code>optional .google.cloud.compute.v1.RawDisk raw_disk = 503113556;</code>
667    */
getRawDiskOrBuilder()668   com.google.cloud.compute.v1.RawDiskOrBuilder getRawDiskOrBuilder();
669 
670   /**
671    *
672    *
673    * <pre>
674    * [Output Only] Reserved for future use.
675    * </pre>
676    *
677    * <code>optional bool satisfies_pzs = 480964267;</code>
678    *
679    * @return Whether the satisfiesPzs field is set.
680    */
hasSatisfiesPzs()681   boolean hasSatisfiesPzs();
682   /**
683    *
684    *
685    * <pre>
686    * [Output Only] Reserved for future use.
687    * </pre>
688    *
689    * <code>optional bool satisfies_pzs = 480964267;</code>
690    *
691    * @return The satisfiesPzs.
692    */
getSatisfiesPzs()693   boolean getSatisfiesPzs();
694 
695   /**
696    *
697    *
698    * <pre>
699    * [Output Only] Server-defined URL for the resource.
700    * </pre>
701    *
702    * <code>optional string self_link = 456214797;</code>
703    *
704    * @return Whether the selfLink field is set.
705    */
hasSelfLink()706   boolean hasSelfLink();
707   /**
708    *
709    *
710    * <pre>
711    * [Output Only] Server-defined URL for the resource.
712    * </pre>
713    *
714    * <code>optional string self_link = 456214797;</code>
715    *
716    * @return The selfLink.
717    */
getSelfLink()718   java.lang.String getSelfLink();
719   /**
720    *
721    *
722    * <pre>
723    * [Output Only] Server-defined URL for the resource.
724    * </pre>
725    *
726    * <code>optional string self_link = 456214797;</code>
727    *
728    * @return The bytes for selfLink.
729    */
getSelfLinkBytes()730   com.google.protobuf.ByteString getSelfLinkBytes();
731 
732   /**
733    *
734    *
735    * <pre>
736    * Set the secure boot keys of shielded instance.
737    * </pre>
738    *
739    * <code>
740    * optional .google.cloud.compute.v1.InitialStateConfig shielded_instance_initial_state = 192356867;
741    * </code>
742    *
743    * @return Whether the shieldedInstanceInitialState field is set.
744    */
hasShieldedInstanceInitialState()745   boolean hasShieldedInstanceInitialState();
746   /**
747    *
748    *
749    * <pre>
750    * Set the secure boot keys of shielded instance.
751    * </pre>
752    *
753    * <code>
754    * optional .google.cloud.compute.v1.InitialStateConfig shielded_instance_initial_state = 192356867;
755    * </code>
756    *
757    * @return The shieldedInstanceInitialState.
758    */
getShieldedInstanceInitialState()759   com.google.cloud.compute.v1.InitialStateConfig getShieldedInstanceInitialState();
760   /**
761    *
762    *
763    * <pre>
764    * Set the secure boot keys of shielded instance.
765    * </pre>
766    *
767    * <code>
768    * optional .google.cloud.compute.v1.InitialStateConfig shielded_instance_initial_state = 192356867;
769    * </code>
770    */
771   com.google.cloud.compute.v1.InitialStateConfigOrBuilder
getShieldedInstanceInitialStateOrBuilder()772       getShieldedInstanceInitialStateOrBuilder();
773 
774   /**
775    *
776    *
777    * <pre>
778    * URL of the source disk used to create this image. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
779    * </pre>
780    *
781    * <code>optional string source_disk = 451753793;</code>
782    *
783    * @return Whether the sourceDisk field is set.
784    */
hasSourceDisk()785   boolean hasSourceDisk();
786   /**
787    *
788    *
789    * <pre>
790    * URL of the source disk used to create this image. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
791    * </pre>
792    *
793    * <code>optional string source_disk = 451753793;</code>
794    *
795    * @return The sourceDisk.
796    */
getSourceDisk()797   java.lang.String getSourceDisk();
798   /**
799    *
800    *
801    * <pre>
802    * URL of the source disk used to create this image. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
803    * </pre>
804    *
805    * <code>optional string source_disk = 451753793;</code>
806    *
807    * @return The bytes for sourceDisk.
808    */
getSourceDiskBytes()809   com.google.protobuf.ByteString getSourceDiskBytes();
810 
811   /**
812    *
813    *
814    * <pre>
815    * The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
816    * </pre>
817    *
818    * <code>
819    * optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;
820    * </code>
821    *
822    * @return Whether the sourceDiskEncryptionKey field is set.
823    */
hasSourceDiskEncryptionKey()824   boolean hasSourceDiskEncryptionKey();
825   /**
826    *
827    *
828    * <pre>
829    * The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
830    * </pre>
831    *
832    * <code>
833    * optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;
834    * </code>
835    *
836    * @return The sourceDiskEncryptionKey.
837    */
getSourceDiskEncryptionKey()838   com.google.cloud.compute.v1.CustomerEncryptionKey getSourceDiskEncryptionKey();
839   /**
840    *
841    *
842    * <pre>
843    * The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
844    * </pre>
845    *
846    * <code>
847    * optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;
848    * </code>
849    */
getSourceDiskEncryptionKeyOrBuilder()850   com.google.cloud.compute.v1.CustomerEncryptionKeyOrBuilder getSourceDiskEncryptionKeyOrBuilder();
851 
852   /**
853    *
854    *
855    * <pre>
856    * [Output Only] The ID value of the disk used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given disk name.
857    * </pre>
858    *
859    * <code>optional string source_disk_id = 454190809;</code>
860    *
861    * @return Whether the sourceDiskId field is set.
862    */
hasSourceDiskId()863   boolean hasSourceDiskId();
864   /**
865    *
866    *
867    * <pre>
868    * [Output Only] The ID value of the disk used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given disk name.
869    * </pre>
870    *
871    * <code>optional string source_disk_id = 454190809;</code>
872    *
873    * @return The sourceDiskId.
874    */
getSourceDiskId()875   java.lang.String getSourceDiskId();
876   /**
877    *
878    *
879    * <pre>
880    * [Output Only] The ID value of the disk used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given disk name.
881    * </pre>
882    *
883    * <code>optional string source_disk_id = 454190809;</code>
884    *
885    * @return The bytes for sourceDiskId.
886    */
getSourceDiskIdBytes()887   com.google.protobuf.ByteString getSourceDiskIdBytes();
888 
889   /**
890    *
891    *
892    * <pre>
893    * URL of the source image used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ images/image_name - projects/project_id/global/images/image_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
894    * </pre>
895    *
896    * <code>optional string source_image = 50443319;</code>
897    *
898    * @return Whether the sourceImage field is set.
899    */
hasSourceImage()900   boolean hasSourceImage();
901   /**
902    *
903    *
904    * <pre>
905    * URL of the source image used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ images/image_name - projects/project_id/global/images/image_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
906    * </pre>
907    *
908    * <code>optional string source_image = 50443319;</code>
909    *
910    * @return The sourceImage.
911    */
getSourceImage()912   java.lang.String getSourceImage();
913   /**
914    *
915    *
916    * <pre>
917    * URL of the source image used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ images/image_name - projects/project_id/global/images/image_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
918    * </pre>
919    *
920    * <code>optional string source_image = 50443319;</code>
921    *
922    * @return The bytes for sourceImage.
923    */
getSourceImageBytes()924   com.google.protobuf.ByteString getSourceImageBytes();
925 
926   /**
927    *
928    *
929    * <pre>
930    * The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key.
931    * </pre>
932    *
933    * <code>
934    * optional .google.cloud.compute.v1.CustomerEncryptionKey source_image_encryption_key = 381503659;
935    * </code>
936    *
937    * @return Whether the sourceImageEncryptionKey field is set.
938    */
hasSourceImageEncryptionKey()939   boolean hasSourceImageEncryptionKey();
940   /**
941    *
942    *
943    * <pre>
944    * The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key.
945    * </pre>
946    *
947    * <code>
948    * optional .google.cloud.compute.v1.CustomerEncryptionKey source_image_encryption_key = 381503659;
949    * </code>
950    *
951    * @return The sourceImageEncryptionKey.
952    */
getSourceImageEncryptionKey()953   com.google.cloud.compute.v1.CustomerEncryptionKey getSourceImageEncryptionKey();
954   /**
955    *
956    *
957    * <pre>
958    * The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key.
959    * </pre>
960    *
961    * <code>
962    * optional .google.cloud.compute.v1.CustomerEncryptionKey source_image_encryption_key = 381503659;
963    * </code>
964    */
getSourceImageEncryptionKeyOrBuilder()965   com.google.cloud.compute.v1.CustomerEncryptionKeyOrBuilder getSourceImageEncryptionKeyOrBuilder();
966 
967   /**
968    *
969    *
970    * <pre>
971    * [Output Only] The ID value of the image used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given image name.
972    * </pre>
973    *
974    * <code>optional string source_image_id = 55328291;</code>
975    *
976    * @return Whether the sourceImageId field is set.
977    */
hasSourceImageId()978   boolean hasSourceImageId();
979   /**
980    *
981    *
982    * <pre>
983    * [Output Only] The ID value of the image used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given image name.
984    * </pre>
985    *
986    * <code>optional string source_image_id = 55328291;</code>
987    *
988    * @return The sourceImageId.
989    */
getSourceImageId()990   java.lang.String getSourceImageId();
991   /**
992    *
993    *
994    * <pre>
995    * [Output Only] The ID value of the image used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given image name.
996    * </pre>
997    *
998    * <code>optional string source_image_id = 55328291;</code>
999    *
1000    * @return The bytes for sourceImageId.
1001    */
getSourceImageIdBytes()1002   com.google.protobuf.ByteString getSourceImageIdBytes();
1003 
1004   /**
1005    *
1006    *
1007    * <pre>
1008    * URL of the source snapshot used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ snapshots/snapshot_name - projects/project_id/global/snapshots/snapshot_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
1009    * </pre>
1010    *
1011    * <code>optional string source_snapshot = 126061928;</code>
1012    *
1013    * @return Whether the sourceSnapshot field is set.
1014    */
hasSourceSnapshot()1015   boolean hasSourceSnapshot();
1016   /**
1017    *
1018    *
1019    * <pre>
1020    * URL of the source snapshot used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ snapshots/snapshot_name - projects/project_id/global/snapshots/snapshot_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
1021    * </pre>
1022    *
1023    * <code>optional string source_snapshot = 126061928;</code>
1024    *
1025    * @return The sourceSnapshot.
1026    */
getSourceSnapshot()1027   java.lang.String getSourceSnapshot();
1028   /**
1029    *
1030    *
1031    * <pre>
1032    * URL of the source snapshot used to create this image. The following are valid formats for the URL: - https://www.googleapis.com/compute/v1/projects/project_id/global/ snapshots/snapshot_name - projects/project_id/global/snapshots/snapshot_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL
1033    * </pre>
1034    *
1035    * <code>optional string source_snapshot = 126061928;</code>
1036    *
1037    * @return The bytes for sourceSnapshot.
1038    */
getSourceSnapshotBytes()1039   com.google.protobuf.ByteString getSourceSnapshotBytes();
1040 
1041   /**
1042    *
1043    *
1044    * <pre>
1045    * The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key.
1046    * </pre>
1047    *
1048    * <code>
1049    * optional .google.cloud.compute.v1.CustomerEncryptionKey source_snapshot_encryption_key = 303679322;
1050    * </code>
1051    *
1052    * @return Whether the sourceSnapshotEncryptionKey field is set.
1053    */
hasSourceSnapshotEncryptionKey()1054   boolean hasSourceSnapshotEncryptionKey();
1055   /**
1056    *
1057    *
1058    * <pre>
1059    * The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key.
1060    * </pre>
1061    *
1062    * <code>
1063    * optional .google.cloud.compute.v1.CustomerEncryptionKey source_snapshot_encryption_key = 303679322;
1064    * </code>
1065    *
1066    * @return The sourceSnapshotEncryptionKey.
1067    */
getSourceSnapshotEncryptionKey()1068   com.google.cloud.compute.v1.CustomerEncryptionKey getSourceSnapshotEncryptionKey();
1069   /**
1070    *
1071    *
1072    * <pre>
1073    * The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key.
1074    * </pre>
1075    *
1076    * <code>
1077    * optional .google.cloud.compute.v1.CustomerEncryptionKey source_snapshot_encryption_key = 303679322;
1078    * </code>
1079    */
1080   com.google.cloud.compute.v1.CustomerEncryptionKeyOrBuilder
getSourceSnapshotEncryptionKeyOrBuilder()1081       getSourceSnapshotEncryptionKeyOrBuilder();
1082 
1083   /**
1084    *
1085    *
1086    * <pre>
1087    * [Output Only] The ID value of the snapshot used to create this image. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given snapshot name.
1088    * </pre>
1089    *
1090    * <code>optional string source_snapshot_id = 98962258;</code>
1091    *
1092    * @return Whether the sourceSnapshotId field is set.
1093    */
hasSourceSnapshotId()1094   boolean hasSourceSnapshotId();
1095   /**
1096    *
1097    *
1098    * <pre>
1099    * [Output Only] The ID value of the snapshot used to create this image. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given snapshot name.
1100    * </pre>
1101    *
1102    * <code>optional string source_snapshot_id = 98962258;</code>
1103    *
1104    * @return The sourceSnapshotId.
1105    */
getSourceSnapshotId()1106   java.lang.String getSourceSnapshotId();
1107   /**
1108    *
1109    *
1110    * <pre>
1111    * [Output Only] The ID value of the snapshot used to create this image. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given snapshot name.
1112    * </pre>
1113    *
1114    * <code>optional string source_snapshot_id = 98962258;</code>
1115    *
1116    * @return The bytes for sourceSnapshotId.
1117    */
getSourceSnapshotIdBytes()1118   com.google.protobuf.ByteString getSourceSnapshotIdBytes();
1119 
1120   /**
1121    *
1122    *
1123    * <pre>
1124    * The type of the image used to create this disk. The default and only valid value is RAW.
1125    * Check the SourceType enum for the list of possible values.
1126    * </pre>
1127    *
1128    * <code>optional string source_type = 452245726;</code>
1129    *
1130    * @return Whether the sourceType field is set.
1131    */
hasSourceType()1132   boolean hasSourceType();
1133   /**
1134    *
1135    *
1136    * <pre>
1137    * The type of the image used to create this disk. The default and only valid value is RAW.
1138    * Check the SourceType enum for the list of possible values.
1139    * </pre>
1140    *
1141    * <code>optional string source_type = 452245726;</code>
1142    *
1143    * @return The sourceType.
1144    */
getSourceType()1145   java.lang.String getSourceType();
1146   /**
1147    *
1148    *
1149    * <pre>
1150    * The type of the image used to create this disk. The default and only valid value is RAW.
1151    * Check the SourceType enum for the list of possible values.
1152    * </pre>
1153    *
1154    * <code>optional string source_type = 452245726;</code>
1155    *
1156    * @return The bytes for sourceType.
1157    */
getSourceTypeBytes()1158   com.google.protobuf.ByteString getSourceTypeBytes();
1159 
1160   /**
1161    *
1162    *
1163    * <pre>
1164    * [Output Only] The status of the image. An image can be used to create other resources, such as instances, only after the image has been successfully created and the status is set to READY. Possible values are FAILED, PENDING, or READY.
1165    * Check the Status enum for the list of possible values.
1166    * </pre>
1167    *
1168    * <code>optional string status = 181260274;</code>
1169    *
1170    * @return Whether the status field is set.
1171    */
hasStatus()1172   boolean hasStatus();
1173   /**
1174    *
1175    *
1176    * <pre>
1177    * [Output Only] The status of the image. An image can be used to create other resources, such as instances, only after the image has been successfully created and the status is set to READY. Possible values are FAILED, PENDING, or READY.
1178    * Check the Status enum for the list of possible values.
1179    * </pre>
1180    *
1181    * <code>optional string status = 181260274;</code>
1182    *
1183    * @return The status.
1184    */
getStatus()1185   java.lang.String getStatus();
1186   /**
1187    *
1188    *
1189    * <pre>
1190    * [Output Only] The status of the image. An image can be used to create other resources, such as instances, only after the image has been successfully created and the status is set to READY. Possible values are FAILED, PENDING, or READY.
1191    * Check the Status enum for the list of possible values.
1192    * </pre>
1193    *
1194    * <code>optional string status = 181260274;</code>
1195    *
1196    * @return The bytes for status.
1197    */
getStatusBytes()1198   com.google.protobuf.ByteString getStatusBytes();
1199 
1200   /**
1201    *
1202    *
1203    * <pre>
1204    * Cloud Storage bucket storage location of the image (regional or multi-regional).
1205    * </pre>
1206    *
1207    * <code>repeated string storage_locations = 328005274;</code>
1208    *
1209    * @return A list containing the storageLocations.
1210    */
getStorageLocationsList()1211   java.util.List<java.lang.String> getStorageLocationsList();
1212   /**
1213    *
1214    *
1215    * <pre>
1216    * Cloud Storage bucket storage location of the image (regional or multi-regional).
1217    * </pre>
1218    *
1219    * <code>repeated string storage_locations = 328005274;</code>
1220    *
1221    * @return The count of storageLocations.
1222    */
getStorageLocationsCount()1223   int getStorageLocationsCount();
1224   /**
1225    *
1226    *
1227    * <pre>
1228    * Cloud Storage bucket storage location of the image (regional or multi-regional).
1229    * </pre>
1230    *
1231    * <code>repeated string storage_locations = 328005274;</code>
1232    *
1233    * @param index The index of the element to return.
1234    * @return The storageLocations at the given index.
1235    */
getStorageLocations(int index)1236   java.lang.String getStorageLocations(int index);
1237   /**
1238    *
1239    *
1240    * <pre>
1241    * Cloud Storage bucket storage location of the image (regional or multi-regional).
1242    * </pre>
1243    *
1244    * <code>repeated string storage_locations = 328005274;</code>
1245    *
1246    * @param index The index of the value to return.
1247    * @return The bytes of the storageLocations at the given index.
1248    */
getStorageLocationsBytes(int index)1249   com.google.protobuf.ByteString getStorageLocationsBytes(int index);
1250 }
1251