• 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 SnapshotOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.Snapshot)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * [Output Only] The architecture of the snapshot. 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    * [Output Only] The architecture of the snapshot. 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    * [Output Only] The architecture of the snapshot. 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    * [Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk.
71    * </pre>
72    *
73    * <code>optional bool auto_created = 463922264;</code>
74    *
75    * @return Whether the autoCreated field is set.
76    */
hasAutoCreated()77   boolean hasAutoCreated();
78   /**
79    *
80    *
81    * <pre>
82    * [Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk.
83    * </pre>
84    *
85    * <code>optional bool auto_created = 463922264;</code>
86    *
87    * @return The autoCreated.
88    */
getAutoCreated()89   boolean getAutoCreated();
90 
91   /**
92    *
93    *
94    * <pre>
95    * Creates the new snapshot in the snapshot chain labeled with the specified name. The chain name must be 1-63 characters long and comply with RFC1035. This is an uncommon option only for advanced service owners who needs to create separate snapshot chains, for example, for chargeback tracking. When you describe your snapshot resource, this field is visible only if it has a non-empty value.
96    * </pre>
97    *
98    * <code>optional string chain_name = 68644169;</code>
99    *
100    * @return Whether the chainName field is set.
101    */
hasChainName()102   boolean hasChainName();
103   /**
104    *
105    *
106    * <pre>
107    * Creates the new snapshot in the snapshot chain labeled with the specified name. The chain name must be 1-63 characters long and comply with RFC1035. This is an uncommon option only for advanced service owners who needs to create separate snapshot chains, for example, for chargeback tracking. When you describe your snapshot resource, this field is visible only if it has a non-empty value.
108    * </pre>
109    *
110    * <code>optional string chain_name = 68644169;</code>
111    *
112    * @return The chainName.
113    */
getChainName()114   java.lang.String getChainName();
115   /**
116    *
117    *
118    * <pre>
119    * Creates the new snapshot in the snapshot chain labeled with the specified name. The chain name must be 1-63 characters long and comply with RFC1035. This is an uncommon option only for advanced service owners who needs to create separate snapshot chains, for example, for chargeback tracking. When you describe your snapshot resource, this field is visible only if it has a non-empty value.
120    * </pre>
121    *
122    * <code>optional string chain_name = 68644169;</code>
123    *
124    * @return The bytes for chainName.
125    */
getChainNameBytes()126   com.google.protobuf.ByteString getChainNameBytes();
127 
128   /**
129    *
130    *
131    * <pre>
132    * [Output Only] Size in bytes of the snapshot at creation time.
133    * </pre>
134    *
135    * <code>optional int64 creation_size_bytes = 125400077;</code>
136    *
137    * @return Whether the creationSizeBytes field is set.
138    */
hasCreationSizeBytes()139   boolean hasCreationSizeBytes();
140   /**
141    *
142    *
143    * <pre>
144    * [Output Only] Size in bytes of the snapshot at creation time.
145    * </pre>
146    *
147    * <code>optional int64 creation_size_bytes = 125400077;</code>
148    *
149    * @return The creationSizeBytes.
150    */
getCreationSizeBytes()151   long getCreationSizeBytes();
152 
153   /**
154    *
155    *
156    * <pre>
157    * [Output Only] Creation timestamp in RFC3339 text format.
158    * </pre>
159    *
160    * <code>optional string creation_timestamp = 30525366;</code>
161    *
162    * @return Whether the creationTimestamp field is set.
163    */
hasCreationTimestamp()164   boolean hasCreationTimestamp();
165   /**
166    *
167    *
168    * <pre>
169    * [Output Only] Creation timestamp in RFC3339 text format.
170    * </pre>
171    *
172    * <code>optional string creation_timestamp = 30525366;</code>
173    *
174    * @return The creationTimestamp.
175    */
getCreationTimestamp()176   java.lang.String getCreationTimestamp();
177   /**
178    *
179    *
180    * <pre>
181    * [Output Only] Creation timestamp in RFC3339 text format.
182    * </pre>
183    *
184    * <code>optional string creation_timestamp = 30525366;</code>
185    *
186    * @return The bytes for creationTimestamp.
187    */
getCreationTimestampBytes()188   com.google.protobuf.ByteString getCreationTimestampBytes();
189 
190   /**
191    *
192    *
193    * <pre>
194    * An optional description of this resource. Provide this property when you create the resource.
195    * </pre>
196    *
197    * <code>optional string description = 422937596;</code>
198    *
199    * @return Whether the description field is set.
200    */
hasDescription()201   boolean hasDescription();
202   /**
203    *
204    *
205    * <pre>
206    * An optional description of this resource. Provide this property when you create the resource.
207    * </pre>
208    *
209    * <code>optional string description = 422937596;</code>
210    *
211    * @return The description.
212    */
getDescription()213   java.lang.String getDescription();
214   /**
215    *
216    *
217    * <pre>
218    * An optional description of this resource. Provide this property when you create the resource.
219    * </pre>
220    *
221    * <code>optional string description = 422937596;</code>
222    *
223    * @return The bytes for description.
224    */
getDescriptionBytes()225   com.google.protobuf.ByteString getDescriptionBytes();
226 
227   /**
228    *
229    *
230    * <pre>
231    * [Output Only] Size of the source disk, specified in GB.
232    * </pre>
233    *
234    * <code>optional int64 disk_size_gb = 316263735;</code>
235    *
236    * @return Whether the diskSizeGb field is set.
237    */
hasDiskSizeGb()238   boolean hasDiskSizeGb();
239   /**
240    *
241    *
242    * <pre>
243    * [Output Only] Size of the source disk, specified in GB.
244    * </pre>
245    *
246    * <code>optional int64 disk_size_gb = 316263735;</code>
247    *
248    * @return The diskSizeGb.
249    */
getDiskSizeGb()250   long getDiskSizeGb();
251 
252   /**
253    *
254    *
255    * <pre>
256    * [Output Only] Number of bytes downloaded to restore a snapshot to a disk.
257    * </pre>
258    *
259    * <code>optional int64 download_bytes = 435054068;</code>
260    *
261    * @return Whether the downloadBytes field is set.
262    */
hasDownloadBytes()263   boolean hasDownloadBytes();
264   /**
265    *
266    *
267    * <pre>
268    * [Output Only] Number of bytes downloaded to restore a snapshot to a disk.
269    * </pre>
270    *
271    * <code>optional int64 download_bytes = 435054068;</code>
272    *
273    * @return The downloadBytes.
274    */
getDownloadBytes()275   long getDownloadBytes();
276 
277   /**
278    *
279    *
280    * <pre>
281    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
282    * </pre>
283    *
284    * <code>optional uint64 id = 3355;</code>
285    *
286    * @return Whether the id field is set.
287    */
hasId()288   boolean hasId();
289   /**
290    *
291    *
292    * <pre>
293    * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
294    * </pre>
295    *
296    * <code>optional uint64 id = 3355;</code>
297    *
298    * @return The id.
299    */
getId()300   long getId();
301 
302   /**
303    *
304    *
305    * <pre>
306    * [Output Only] Type of the resource. Always compute#snapshot for Snapshot resources.
307    * </pre>
308    *
309    * <code>optional string kind = 3292052;</code>
310    *
311    * @return Whether the kind field is set.
312    */
hasKind()313   boolean hasKind();
314   /**
315    *
316    *
317    * <pre>
318    * [Output Only] Type of the resource. Always compute#snapshot for Snapshot resources.
319    * </pre>
320    *
321    * <code>optional string kind = 3292052;</code>
322    *
323    * @return The kind.
324    */
getKind()325   java.lang.String getKind();
326   /**
327    *
328    *
329    * <pre>
330    * [Output Only] Type of the resource. Always compute#snapshot for Snapshot resources.
331    * </pre>
332    *
333    * <code>optional string kind = 3292052;</code>
334    *
335    * @return The bytes for kind.
336    */
getKindBytes()337   com.google.protobuf.ByteString getKindBytes();
338 
339   /**
340    *
341    *
342    * <pre>
343    * A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set 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 a snapshot.
344    * </pre>
345    *
346    * <code>optional string label_fingerprint = 178124825;</code>
347    *
348    * @return Whether the labelFingerprint field is set.
349    */
hasLabelFingerprint()350   boolean hasLabelFingerprint();
351   /**
352    *
353    *
354    * <pre>
355    * A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set 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 a snapshot.
356    * </pre>
357    *
358    * <code>optional string label_fingerprint = 178124825;</code>
359    *
360    * @return The labelFingerprint.
361    */
getLabelFingerprint()362   java.lang.String getLabelFingerprint();
363   /**
364    *
365    *
366    * <pre>
367    * A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set 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 a snapshot.
368    * </pre>
369    *
370    * <code>optional string label_fingerprint = 178124825;</code>
371    *
372    * @return The bytes for labelFingerprint.
373    */
getLabelFingerprintBytes()374   com.google.protobuf.ByteString getLabelFingerprintBytes();
375 
376   /**
377    *
378    *
379    * <pre>
380    * Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
381    * </pre>
382    *
383    * <code>map&lt;string, string&gt; labels = 500195327;</code>
384    */
getLabelsCount()385   int getLabelsCount();
386   /**
387    *
388    *
389    * <pre>
390    * Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
391    * </pre>
392    *
393    * <code>map&lt;string, string&gt; labels = 500195327;</code>
394    */
containsLabels(java.lang.String key)395   boolean containsLabels(java.lang.String key);
396   /** Use {@link #getLabelsMap()} instead. */
397   @java.lang.Deprecated
getLabels()398   java.util.Map<java.lang.String, java.lang.String> getLabels();
399   /**
400    *
401    *
402    * <pre>
403    * Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
404    * </pre>
405    *
406    * <code>map&lt;string, string&gt; labels = 500195327;</code>
407    */
getLabelsMap()408   java.util.Map<java.lang.String, java.lang.String> getLabelsMap();
409   /**
410    *
411    *
412    * <pre>
413    * Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
414    * </pre>
415    *
416    * <code>map&lt;string, string&gt; labels = 500195327;</code>
417    */
418   /* nullable */
getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue)419   java.lang.String getLabelsOrDefault(
420       java.lang.String key,
421       /* nullable */
422       java.lang.String defaultValue);
423   /**
424    *
425    *
426    * <pre>
427    * Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
428    * </pre>
429    *
430    * <code>map&lt;string, string&gt; labels = 500195327;</code>
431    */
getLabelsOrThrow(java.lang.String key)432   java.lang.String getLabelsOrThrow(java.lang.String key);
433 
434   /**
435    *
436    *
437    * <pre>
438    * [Output Only] Integer license codes indicating which licenses are attached to this snapshot.
439    * </pre>
440    *
441    * <code>repeated int64 license_codes = 45482664;</code>
442    *
443    * @return A list containing the licenseCodes.
444    */
getLicenseCodesList()445   java.util.List<java.lang.Long> getLicenseCodesList();
446   /**
447    *
448    *
449    * <pre>
450    * [Output Only] Integer license codes indicating which licenses are attached to this snapshot.
451    * </pre>
452    *
453    * <code>repeated int64 license_codes = 45482664;</code>
454    *
455    * @return The count of licenseCodes.
456    */
getLicenseCodesCount()457   int getLicenseCodesCount();
458   /**
459    *
460    *
461    * <pre>
462    * [Output Only] Integer license codes indicating which licenses are attached to this snapshot.
463    * </pre>
464    *
465    * <code>repeated int64 license_codes = 45482664;</code>
466    *
467    * @param index The index of the element to return.
468    * @return The licenseCodes at the given index.
469    */
getLicenseCodes(int index)470   long getLicenseCodes(int index);
471 
472   /**
473    *
474    *
475    * <pre>
476    * [Output Only] A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image).
477    * </pre>
478    *
479    * <code>repeated string licenses = 337642578;</code>
480    *
481    * @return A list containing the licenses.
482    */
getLicensesList()483   java.util.List<java.lang.String> getLicensesList();
484   /**
485    *
486    *
487    * <pre>
488    * [Output Only] A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image).
489    * </pre>
490    *
491    * <code>repeated string licenses = 337642578;</code>
492    *
493    * @return The count of licenses.
494    */
getLicensesCount()495   int getLicensesCount();
496   /**
497    *
498    *
499    * <pre>
500    * [Output Only] A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image).
501    * </pre>
502    *
503    * <code>repeated string licenses = 337642578;</code>
504    *
505    * @param index The index of the element to return.
506    * @return The licenses at the given index.
507    */
getLicenses(int index)508   java.lang.String getLicenses(int index);
509   /**
510    *
511    *
512    * <pre>
513    * [Output Only] A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image).
514    * </pre>
515    *
516    * <code>repeated string licenses = 337642578;</code>
517    *
518    * @param index The index of the value to return.
519    * @return The bytes of the licenses at the given index.
520    */
getLicensesBytes(int index)521   com.google.protobuf.ByteString getLicensesBytes(int index);
522 
523   /**
524    *
525    *
526    * <pre>
527    * An opaque location hint used to place the snapshot close to other resources. This field is for use by internal tools that use the public API.
528    * </pre>
529    *
530    * <code>optional string location_hint = 350519505;</code>
531    *
532    * @return Whether the locationHint field is set.
533    */
hasLocationHint()534   boolean hasLocationHint();
535   /**
536    *
537    *
538    * <pre>
539    * An opaque location hint used to place the snapshot close to other resources. This field is for use by internal tools that use the public API.
540    * </pre>
541    *
542    * <code>optional string location_hint = 350519505;</code>
543    *
544    * @return The locationHint.
545    */
getLocationHint()546   java.lang.String getLocationHint();
547   /**
548    *
549    *
550    * <pre>
551    * An opaque location hint used to place the snapshot close to other resources. This field is for use by internal tools that use the public API.
552    * </pre>
553    *
554    * <code>optional string location_hint = 350519505;</code>
555    *
556    * @return The bytes for locationHint.
557    */
getLocationHintBytes()558   com.google.protobuf.ByteString getLocationHintBytes();
559 
560   /**
561    *
562    *
563    * <pre>
564    * 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.
565    * </pre>
566    *
567    * <code>optional string name = 3373707;</code>
568    *
569    * @return Whether the name field is set.
570    */
hasName()571   boolean hasName();
572   /**
573    *
574    *
575    * <pre>
576    * 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.
577    * </pre>
578    *
579    * <code>optional string name = 3373707;</code>
580    *
581    * @return The name.
582    */
getName()583   java.lang.String getName();
584   /**
585    *
586    *
587    * <pre>
588    * 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.
589    * </pre>
590    *
591    * <code>optional string name = 3373707;</code>
592    *
593    * @return The bytes for name.
594    */
getNameBytes()595   com.google.protobuf.ByteString getNameBytes();
596 
597   /**
598    *
599    *
600    * <pre>
601    * [Output Only] Reserved for future use.
602    * </pre>
603    *
604    * <code>optional bool satisfies_pzs = 480964267;</code>
605    *
606    * @return Whether the satisfiesPzs field is set.
607    */
hasSatisfiesPzs()608   boolean hasSatisfiesPzs();
609   /**
610    *
611    *
612    * <pre>
613    * [Output Only] Reserved for future use.
614    * </pre>
615    *
616    * <code>optional bool satisfies_pzs = 480964267;</code>
617    *
618    * @return The satisfiesPzs.
619    */
getSatisfiesPzs()620   boolean getSatisfiesPzs();
621 
622   /**
623    *
624    *
625    * <pre>
626    * [Output Only] Server-defined URL for the resource.
627    * </pre>
628    *
629    * <code>optional string self_link = 456214797;</code>
630    *
631    * @return Whether the selfLink field is set.
632    */
hasSelfLink()633   boolean hasSelfLink();
634   /**
635    *
636    *
637    * <pre>
638    * [Output Only] Server-defined URL for the resource.
639    * </pre>
640    *
641    * <code>optional string self_link = 456214797;</code>
642    *
643    * @return The selfLink.
644    */
getSelfLink()645   java.lang.String getSelfLink();
646   /**
647    *
648    *
649    * <pre>
650    * [Output Only] Server-defined URL for the resource.
651    * </pre>
652    *
653    * <code>optional string self_link = 456214797;</code>
654    *
655    * @return The bytes for selfLink.
656    */
getSelfLinkBytes()657   com.google.protobuf.ByteString getSelfLinkBytes();
658 
659   /**
660    *
661    *
662    * <pre>
663    * Encrypts the snapshot using a customer-supplied encryption key. After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the snapshot later. For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request. Customer-supplied encryption keys do not protect access to metadata of the snapshot. If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later.
664    * </pre>
665    *
666    * <code>
667    * optional .google.cloud.compute.v1.CustomerEncryptionKey snapshot_encryption_key = 43334526;
668    * </code>
669    *
670    * @return Whether the snapshotEncryptionKey field is set.
671    */
hasSnapshotEncryptionKey()672   boolean hasSnapshotEncryptionKey();
673   /**
674    *
675    *
676    * <pre>
677    * Encrypts the snapshot using a customer-supplied encryption key. After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the snapshot later. For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request. Customer-supplied encryption keys do not protect access to metadata of the snapshot. If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later.
678    * </pre>
679    *
680    * <code>
681    * optional .google.cloud.compute.v1.CustomerEncryptionKey snapshot_encryption_key = 43334526;
682    * </code>
683    *
684    * @return The snapshotEncryptionKey.
685    */
getSnapshotEncryptionKey()686   com.google.cloud.compute.v1.CustomerEncryptionKey getSnapshotEncryptionKey();
687   /**
688    *
689    *
690    * <pre>
691    * Encrypts the snapshot using a customer-supplied encryption key. After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the snapshot later. For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request. Customer-supplied encryption keys do not protect access to metadata of the snapshot. If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later.
692    * </pre>
693    *
694    * <code>
695    * optional .google.cloud.compute.v1.CustomerEncryptionKey snapshot_encryption_key = 43334526;
696    * </code>
697    */
getSnapshotEncryptionKeyOrBuilder()698   com.google.cloud.compute.v1.CustomerEncryptionKeyOrBuilder getSnapshotEncryptionKeyOrBuilder();
699 
700   /**
701    *
702    *
703    * <pre>
704    * Indicates the type of the snapshot.
705    * Check the SnapshotType enum for the list of possible values.
706    * </pre>
707    *
708    * <code>optional string snapshot_type = 124349653;</code>
709    *
710    * @return Whether the snapshotType field is set.
711    */
hasSnapshotType()712   boolean hasSnapshotType();
713   /**
714    *
715    *
716    * <pre>
717    * Indicates the type of the snapshot.
718    * Check the SnapshotType enum for the list of possible values.
719    * </pre>
720    *
721    * <code>optional string snapshot_type = 124349653;</code>
722    *
723    * @return The snapshotType.
724    */
getSnapshotType()725   java.lang.String getSnapshotType();
726   /**
727    *
728    *
729    * <pre>
730    * Indicates the type of the snapshot.
731    * Check the SnapshotType enum for the list of possible values.
732    * </pre>
733    *
734    * <code>optional string snapshot_type = 124349653;</code>
735    *
736    * @return The bytes for snapshotType.
737    */
getSnapshotTypeBytes()738   com.google.protobuf.ByteString getSnapshotTypeBytes();
739 
740   /**
741    *
742    *
743    * <pre>
744    * The source disk used to create this snapshot.
745    * </pre>
746    *
747    * <code>optional string source_disk = 451753793;</code>
748    *
749    * @return Whether the sourceDisk field is set.
750    */
hasSourceDisk()751   boolean hasSourceDisk();
752   /**
753    *
754    *
755    * <pre>
756    * The source disk used to create this snapshot.
757    * </pre>
758    *
759    * <code>optional string source_disk = 451753793;</code>
760    *
761    * @return The sourceDisk.
762    */
getSourceDisk()763   java.lang.String getSourceDisk();
764   /**
765    *
766    *
767    * <pre>
768    * The source disk used to create this snapshot.
769    * </pre>
770    *
771    * <code>optional string source_disk = 451753793;</code>
772    *
773    * @return The bytes for sourceDisk.
774    */
getSourceDiskBytes()775   com.google.protobuf.ByteString getSourceDiskBytes();
776 
777   /**
778    *
779    *
780    * <pre>
781    * The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
782    * </pre>
783    *
784    * <code>
785    * optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;
786    * </code>
787    *
788    * @return Whether the sourceDiskEncryptionKey field is set.
789    */
hasSourceDiskEncryptionKey()790   boolean hasSourceDiskEncryptionKey();
791   /**
792    *
793    *
794    * <pre>
795    * The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
796    * </pre>
797    *
798    * <code>
799    * optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;
800    * </code>
801    *
802    * @return The sourceDiskEncryptionKey.
803    */
getSourceDiskEncryptionKey()804   com.google.cloud.compute.v1.CustomerEncryptionKey getSourceDiskEncryptionKey();
805   /**
806    *
807    *
808    * <pre>
809    * The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
810    * </pre>
811    *
812    * <code>
813    * optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;
814    * </code>
815    */
getSourceDiskEncryptionKeyOrBuilder()816   com.google.cloud.compute.v1.CustomerEncryptionKeyOrBuilder getSourceDiskEncryptionKeyOrBuilder();
817 
818   /**
819    *
820    *
821    * <pre>
822    * [Output Only] The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.
823    * </pre>
824    *
825    * <code>optional string source_disk_id = 454190809;</code>
826    *
827    * @return Whether the sourceDiskId field is set.
828    */
hasSourceDiskId()829   boolean hasSourceDiskId();
830   /**
831    *
832    *
833    * <pre>
834    * [Output Only] The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.
835    * </pre>
836    *
837    * <code>optional string source_disk_id = 454190809;</code>
838    *
839    * @return The sourceDiskId.
840    */
getSourceDiskId()841   java.lang.String getSourceDiskId();
842   /**
843    *
844    *
845    * <pre>
846    * [Output Only] The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.
847    * </pre>
848    *
849    * <code>optional string source_disk_id = 454190809;</code>
850    *
851    * @return The bytes for sourceDiskId.
852    */
getSourceDiskIdBytes()853   com.google.protobuf.ByteString getSourceDiskIdBytes();
854 
855   /**
856    *
857    *
858    * <pre>
859    * [Output Only] URL of the resource policy which created this scheduled snapshot.
860    * </pre>
861    *
862    * <code>optional string source_snapshot_schedule_policy = 235756291;</code>
863    *
864    * @return Whether the sourceSnapshotSchedulePolicy field is set.
865    */
hasSourceSnapshotSchedulePolicy()866   boolean hasSourceSnapshotSchedulePolicy();
867   /**
868    *
869    *
870    * <pre>
871    * [Output Only] URL of the resource policy which created this scheduled snapshot.
872    * </pre>
873    *
874    * <code>optional string source_snapshot_schedule_policy = 235756291;</code>
875    *
876    * @return The sourceSnapshotSchedulePolicy.
877    */
getSourceSnapshotSchedulePolicy()878   java.lang.String getSourceSnapshotSchedulePolicy();
879   /**
880    *
881    *
882    * <pre>
883    * [Output Only] URL of the resource policy which created this scheduled snapshot.
884    * </pre>
885    *
886    * <code>optional string source_snapshot_schedule_policy = 235756291;</code>
887    *
888    * @return The bytes for sourceSnapshotSchedulePolicy.
889    */
getSourceSnapshotSchedulePolicyBytes()890   com.google.protobuf.ByteString getSourceSnapshotSchedulePolicyBytes();
891 
892   /**
893    *
894    *
895    * <pre>
896    * [Output Only] ID of the resource policy which created this scheduled snapshot.
897    * </pre>
898    *
899    * <code>optional string source_snapshot_schedule_policy_id = 70489047;</code>
900    *
901    * @return Whether the sourceSnapshotSchedulePolicyId field is set.
902    */
hasSourceSnapshotSchedulePolicyId()903   boolean hasSourceSnapshotSchedulePolicyId();
904   /**
905    *
906    *
907    * <pre>
908    * [Output Only] ID of the resource policy which created this scheduled snapshot.
909    * </pre>
910    *
911    * <code>optional string source_snapshot_schedule_policy_id = 70489047;</code>
912    *
913    * @return The sourceSnapshotSchedulePolicyId.
914    */
getSourceSnapshotSchedulePolicyId()915   java.lang.String getSourceSnapshotSchedulePolicyId();
916   /**
917    *
918    *
919    * <pre>
920    * [Output Only] ID of the resource policy which created this scheduled snapshot.
921    * </pre>
922    *
923    * <code>optional string source_snapshot_schedule_policy_id = 70489047;</code>
924    *
925    * @return The bytes for sourceSnapshotSchedulePolicyId.
926    */
getSourceSnapshotSchedulePolicyIdBytes()927   com.google.protobuf.ByteString getSourceSnapshotSchedulePolicyIdBytes();
928 
929   /**
930    *
931    *
932    * <pre>
933    * [Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING.
934    * Check the Status enum for the list of possible values.
935    * </pre>
936    *
937    * <code>optional string status = 181260274;</code>
938    *
939    * @return Whether the status field is set.
940    */
hasStatus()941   boolean hasStatus();
942   /**
943    *
944    *
945    * <pre>
946    * [Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING.
947    * Check the Status enum for the list of possible values.
948    * </pre>
949    *
950    * <code>optional string status = 181260274;</code>
951    *
952    * @return The status.
953    */
getStatus()954   java.lang.String getStatus();
955   /**
956    *
957    *
958    * <pre>
959    * [Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING.
960    * Check the Status enum for the list of possible values.
961    * </pre>
962    *
963    * <code>optional string status = 181260274;</code>
964    *
965    * @return The bytes for status.
966    */
getStatusBytes()967   com.google.protobuf.ByteString getStatusBytes();
968 
969   /**
970    *
971    *
972    * <pre>
973    * [Output Only] A size of the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion.
974    * </pre>
975    *
976    * <code>optional int64 storage_bytes = 424631719;</code>
977    *
978    * @return Whether the storageBytes field is set.
979    */
hasStorageBytes()980   boolean hasStorageBytes();
981   /**
982    *
983    *
984    * <pre>
985    * [Output Only] A size of the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion.
986    * </pre>
987    *
988    * <code>optional int64 storage_bytes = 424631719;</code>
989    *
990    * @return The storageBytes.
991    */
getStorageBytes()992   long getStorageBytes();
993 
994   /**
995    *
996    *
997    * <pre>
998    * [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
999    * Check the StorageBytesStatus enum for the list of possible values.
1000    * </pre>
1001    *
1002    * <code>optional string storage_bytes_status = 490739082;</code>
1003    *
1004    * @return Whether the storageBytesStatus field is set.
1005    */
hasStorageBytesStatus()1006   boolean hasStorageBytesStatus();
1007   /**
1008    *
1009    *
1010    * <pre>
1011    * [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
1012    * Check the StorageBytesStatus enum for the list of possible values.
1013    * </pre>
1014    *
1015    * <code>optional string storage_bytes_status = 490739082;</code>
1016    *
1017    * @return The storageBytesStatus.
1018    */
getStorageBytesStatus()1019   java.lang.String getStorageBytesStatus();
1020   /**
1021    *
1022    *
1023    * <pre>
1024    * [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date.
1025    * Check the StorageBytesStatus enum for the list of possible values.
1026    * </pre>
1027    *
1028    * <code>optional string storage_bytes_status = 490739082;</code>
1029    *
1030    * @return The bytes for storageBytesStatus.
1031    */
getStorageBytesStatusBytes()1032   com.google.protobuf.ByteString getStorageBytesStatusBytes();
1033 
1034   /**
1035    *
1036    *
1037    * <pre>
1038    * Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
1039    * </pre>
1040    *
1041    * <code>repeated string storage_locations = 328005274;</code>
1042    *
1043    * @return A list containing the storageLocations.
1044    */
getStorageLocationsList()1045   java.util.List<java.lang.String> getStorageLocationsList();
1046   /**
1047    *
1048    *
1049    * <pre>
1050    * Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
1051    * </pre>
1052    *
1053    * <code>repeated string storage_locations = 328005274;</code>
1054    *
1055    * @return The count of storageLocations.
1056    */
getStorageLocationsCount()1057   int getStorageLocationsCount();
1058   /**
1059    *
1060    *
1061    * <pre>
1062    * Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
1063    * </pre>
1064    *
1065    * <code>repeated string storage_locations = 328005274;</code>
1066    *
1067    * @param index The index of the element to return.
1068    * @return The storageLocations at the given index.
1069    */
getStorageLocations(int index)1070   java.lang.String getStorageLocations(int index);
1071   /**
1072    *
1073    *
1074    * <pre>
1075    * Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
1076    * </pre>
1077    *
1078    * <code>repeated string storage_locations = 328005274;</code>
1079    *
1080    * @param index The index of the value to return.
1081    * @return The bytes of the storageLocations at the given index.
1082    */
getStorageLocationsBytes(int index)1083   com.google.protobuf.ByteString getStorageLocationsBytes(int index);
1084 }
1085