Package com.google.cloud.compute.v1
Class Snapshot.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Snapshot.Builder>
com.google.cloud.compute.v1.Snapshot.Builder
- All Implemented Interfaces:
SnapshotOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Snapshot
public static final class Snapshot.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Snapshot.Builder>
implements SnapshotOrBuilder
Represents a Persistent Disk Snapshot resource. You can use snapshots to back up data on a regular interval. For more information, read Creating persistent disk snapshots.Protobuf type
google.cloud.compute.v1.Snapshot-
Method Summary
Modifier and TypeMethodDescriptionaddAllGuestOsFeatures(Iterable<? extends GuestOsFeature> values) Output only.addAllLicenseCodes(Iterable<? extends Long> values) Output only.addAllLicenses(Iterable<String> values) Output only.addAllStorageLocations(Iterable<String> values) Cloud Storage bucket storage location of the snapshot (regional or multi-regional).addGuestOsFeatures(int index, GuestOsFeature value) Output only.addGuestOsFeatures(int index, GuestOsFeature.Builder builderForValue) Output only.addGuestOsFeatures(GuestOsFeature value) Output only.addGuestOsFeatures(GuestOsFeature.Builder builderForValue) Output only.Output only.addGuestOsFeaturesBuilder(int index) Output only.addLicenseCodes(long value) Output only.addLicenses(String value) Output only.addLicensesBytes(com.google.protobuf.ByteString value) Output only.addStorageLocations(String value) Cloud Storage bucket storage location of the snapshot (regional or multi-regional).addStorageLocationsBytes(com.google.protobuf.ByteString value) Cloud Storage bucket storage location of the snapshot (regional or multi-regional).build()clear()Output only.Output only.Creates the new snapshot in the snapshot chain labeled with the specified name.Output only.Output only.An optional description of this resource.Output only.Output only.Output only.[Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process.Output only.clearId()Output only.Output only.A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking.Output only.Output only.An opaque location hint used to place the snapshot close to other resources.Name of the resource; provided by the client when the resource is created.Input only.Output only.Output only.Output only.Output only.Encrypts the snapshot using acustomer-supplied encryption key.Output only.Output only.Indicates the type of the snapshot.The source disk used to create this snapshot.The customer-supplied encryption key of the source disk.The source disk whose recovery checkpoint will be used to create this snapshot.Output only.The source instant snapshot used to create this snapshot.Customer provided encryption key when creating Snapshot from Instant Snapshot.Output only.Output only.Output only.Output only.Output only.Output only.Cloud Storage bucket storage location of the snapshot (regional or multi-regional).booleancontainsLabels(String key) Labels to apply to this snapshot.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.Creates the new snapshot in the snapshot chain labeled with the specified name.com.google.protobuf.ByteStringCreates the new snapshot in the snapshot chain labeled with the specified name.longOutput only.Output only.com.google.protobuf.ByteStringOutput only.An optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongOutput only.longOutput only.booleanOutput only.boolean[Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process.getGuestOsFeatures(int index) Output only.getGuestOsFeaturesBuilder(int index) Output only.Output only.intOutput only.Output only.getGuestOsFeaturesOrBuilder(int index) Output only.List<? extends GuestOsFeatureOrBuilder>Output only.longgetId()Output only.getKind()Output only.com.google.protobuf.ByteStringOutput only.A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking.com.google.protobuf.ByteStringA fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking.Deprecated.intLabels to apply to this snapshot.Labels to apply to this snapshot.getLabelsOrDefault(String key, String defaultValue) Labels to apply to this snapshot.getLabelsOrThrow(String key) Labels to apply to this snapshot.longgetLicenseCodes(int index) Output only.intOutput only.Output only.getLicenses(int index) Output only.com.google.protobuf.ByteStringgetLicensesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.An opaque location hint used to place the snapshot close to other resources.com.google.protobuf.ByteStringAn opaque location hint used to place the snapshot close to other resources.Deprecated.getName()Name of the resource; provided by the client when the resource is created.com.google.protobuf.ByteStringName of the resource; provided by the client when the resource is created.Input only.Input only.Input only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.Output only.com.google.protobuf.ByteStringOutput only.Encrypts the snapshot using acustomer-supplied encryption key.Encrypts the snapshot using acustomer-supplied encryption key.Encrypts the snapshot using acustomer-supplied encryption key.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Indicates the type of the snapshot.com.google.protobuf.ByteStringIndicates the type of the snapshot.The source disk used to create this snapshot.com.google.protobuf.ByteStringThe source disk used to create this snapshot.The customer-supplied encryption key of the source disk.The customer-supplied encryption key of the source disk.The customer-supplied encryption key of the source disk.The source disk whose recovery checkpoint will be used to create this snapshot.com.google.protobuf.ByteStringThe source disk whose recovery checkpoint will be used to create this snapshot.Output only.com.google.protobuf.ByteStringOutput only.The source instant snapshot used to create this snapshot.com.google.protobuf.ByteStringThe source instant snapshot used to create this snapshot.Customer provided encryption key when creating Snapshot from Instant Snapshot.Customer provided encryption key when creating Snapshot from Instant Snapshot.Customer provided encryption key when creating Snapshot from Instant Snapshot.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.longOutput only.Output only.com.google.protobuf.ByteStringOutput only.getStorageLocations(int index) Cloud Storage bucket storage location of the snapshot (regional or multi-regional).com.google.protobuf.ByteStringgetStorageLocationsBytes(int index) Cloud Storage bucket storage location of the snapshot (regional or multi-regional).intCloud Storage bucket storage location of the snapshot (regional or multi-regional).com.google.protobuf.ProtocolStringListCloud Storage bucket storage location of the snapshot (regional or multi-regional).booleanOutput only.booleanOutput only.booleanCreates the new snapshot in the snapshot chain labeled with the specified name.booleanOutput only.booleanOutput only.booleanAn optional description of this resource.booleanOutput only.booleanOutput only.booleanOutput only.boolean[Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process.booleanhasId()Output only.booleanhasKind()Output only.booleanA fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking.booleanAn opaque location hint used to place the snapshot close to other resources.booleanhasName()Name of the resource; provided by the client when the resource is created.booleanInput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanEncrypts the snapshot using acustomer-supplied encryption key.booleanOutput only.booleanOutput only.booleanIndicates the type of the snapshot.booleanThe source disk used to create this snapshot.booleanThe customer-supplied encryption key of the source disk.booleanThe source disk whose recovery checkpoint will be used to create this snapshot.booleanOutput only.booleanThe source instant snapshot used to create this snapshot.booleanCustomer provided encryption key when creating Snapshot from Instant Snapshot.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeParams(SnapshotParams value) Input only.Encrypts the snapshot using acustomer-supplied encryption key.The customer-supplied encryption key of the source disk.Customer provided encryption key when creating Snapshot from Instant Snapshot.putAllLabels(Map<String, String> values) Labels to apply to this snapshot.Labels to apply to this snapshot.removeGuestOsFeatures(int index) Output only.removeLabels(String key) Labels to apply to this snapshot.setArchitecture(String value) Output only.setArchitectureBytes(com.google.protobuf.ByteString value) Output only.setAutoCreated(boolean value) Output only.setChainName(String value) Creates the new snapshot in the snapshot chain labeled with the specified name.setChainNameBytes(com.google.protobuf.ByteString value) Creates the new snapshot in the snapshot chain labeled with the specified name.setCreationSizeBytes(long value) Output only.setCreationTimestamp(String value) Output only.setCreationTimestampBytes(com.google.protobuf.ByteString value) Output only.setDescription(String value) An optional description of this resource.setDescriptionBytes(com.google.protobuf.ByteString value) An optional description of this resource.setDiskSizeGb(long value) Output only.setDownloadBytes(long value) Output only.setEnableConfidentialCompute(boolean value) Output only.setGuestFlush(boolean value) [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process.setGuestOsFeatures(int index, GuestOsFeature value) Output only.setGuestOsFeatures(int index, GuestOsFeature.Builder builderForValue) Output only.setId(long value) Output only.Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.setLabelFingerprint(String value) A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking.setLabelFingerprintBytes(com.google.protobuf.ByteString value) A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking.setLicenseCodes(int index, long value) Output only.setLicenses(int index, String value) Output only.setLocationHint(String value) An opaque location hint used to place the snapshot close to other resources.setLocationHintBytes(com.google.protobuf.ByteString value) An opaque location hint used to place the snapshot close to other resources.Name of the resource; provided by the client when the resource is created.setNameBytes(com.google.protobuf.ByteString value) Name of the resource; provided by the client when the resource is created.setParams(SnapshotParams value) Input only.setParams(SnapshotParams.Builder builderForValue) Input only.Output only.setRegionBytes(com.google.protobuf.ByteString value) Output only.setSatisfiesPzi(boolean value) Output only.setSatisfiesPzs(boolean value) Output only.setSelfLink(String value) Output only.setSelfLinkBytes(com.google.protobuf.ByteString value) Output only.Encrypts the snapshot using acustomer-supplied encryption key.setSnapshotEncryptionKey(CustomerEncryptionKey.Builder builderForValue) Encrypts the snapshot using acustomer-supplied encryption key.setSnapshotGroupId(String value) Output only.setSnapshotGroupIdBytes(com.google.protobuf.ByteString value) Output only.setSnapshotGroupName(String value) Output only.setSnapshotGroupNameBytes(com.google.protobuf.ByteString value) Output only.setSnapshotType(String value) Indicates the type of the snapshot.setSnapshotTypeBytes(com.google.protobuf.ByteString value) Indicates the type of the snapshot.setSourceDisk(String value) The source disk used to create this snapshot.setSourceDiskBytes(com.google.protobuf.ByteString value) The source disk used to create this snapshot.The customer-supplied encryption key of the source disk.setSourceDiskEncryptionKey(CustomerEncryptionKey.Builder builderForValue) The customer-supplied encryption key of the source disk.The source disk whose recovery checkpoint will be used to create this snapshot.setSourceDiskForRecoveryCheckpointBytes(com.google.protobuf.ByteString value) The source disk whose recovery checkpoint will be used to create this snapshot.setSourceDiskId(String value) Output only.setSourceDiskIdBytes(com.google.protobuf.ByteString value) Output only.setSourceInstantSnapshot(String value) The source instant snapshot used to create this snapshot.setSourceInstantSnapshotBytes(com.google.protobuf.ByteString value) The source instant snapshot used to create this snapshot.Customer provided encryption key when creating Snapshot from Instant Snapshot.setSourceInstantSnapshotEncryptionKey(CustomerEncryptionKey.Builder builderForValue) Customer provided encryption key when creating Snapshot from Instant Snapshot.setSourceInstantSnapshotId(String value) Output only.setSourceInstantSnapshotIdBytes(com.google.protobuf.ByteString value) Output only.Output only.setSourceSnapshotSchedulePolicyBytes(com.google.protobuf.ByteString value) Output only.Output only.setSourceSnapshotSchedulePolicyIdBytes(com.google.protobuf.ByteString value) Output only.Output only.setStatusBytes(com.google.protobuf.ByteString value) Output only.setStorageBytes(long value) Output only.setStorageBytesStatus(String value) Output only.setStorageBytesStatusBytes(com.google.protobuf.ByteString value) Output only.setStorageLocations(int index, String value) Cloud Storage bucket storage location of the snapshot (regional or multi-regional).Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Snapshot.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Snapshot.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Snapshot.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Snapshot.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Snapshot.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Snapshot.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Snapshot.Builder>
-
mergeFrom
public Snapshot.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Snapshot.Builder>- Throws:
IOException
-
hasArchitecture
public boolean hasArchitecture()Output only. [Output Only] The architecture of the snapshot. Valid values are ARM64 or X86_64. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;- Specified by:
hasArchitecturein interfaceSnapshotOrBuilder- Returns:
- Whether the architecture field is set.
-
getArchitecture
Output only. [Output Only] The architecture of the snapshot. Valid values are ARM64 or X86_64. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;- Specified by:
getArchitecturein interfaceSnapshotOrBuilder- Returns:
- The architecture.
-
getArchitectureBytes
public com.google.protobuf.ByteString getArchitectureBytes()Output only. [Output Only] The architecture of the snapshot. Valid values are ARM64 or X86_64. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;- Specified by:
getArchitectureBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for architecture.
-
setArchitecture
Output only. [Output Only] The architecture of the snapshot. Valid values are ARM64 or X86_64. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;- Parameters:
value- The architecture to set.- Returns:
- This builder for chaining.
-
clearArchitecture
Output only. [Output Only] The architecture of the snapshot. Valid values are ARM64 or X86_64. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;- Returns:
- This builder for chaining.
-
setArchitectureBytes
Output only. [Output Only] The architecture of the snapshot. Valid values are ARM64 or X86_64. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;- Parameters:
value- The bytes for architecture to set.- Returns:
- This builder for chaining.
-
hasAutoCreated
public boolean hasAutoCreated()Output only. [Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk.
optional bool auto_created = 463922264;- Specified by:
hasAutoCreatedin interfaceSnapshotOrBuilder- Returns:
- Whether the autoCreated field is set.
-
getAutoCreated
public boolean getAutoCreated()Output only. [Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk.
optional bool auto_created = 463922264;- Specified by:
getAutoCreatedin interfaceSnapshotOrBuilder- Returns:
- The autoCreated.
-
setAutoCreated
Output only. [Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk.
optional bool auto_created = 463922264;- Parameters:
value- The autoCreated to set.- Returns:
- This builder for chaining.
-
clearAutoCreated
Output only. [Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk.
optional bool auto_created = 463922264;- Returns:
- This builder for chaining.
-
hasChainName
public boolean hasChainName()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.
optional string chain_name = 68644169;- Specified by:
hasChainNamein interfaceSnapshotOrBuilder- Returns:
- Whether the chainName field is set.
-
getChainName
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.
optional string chain_name = 68644169;- Specified by:
getChainNamein interfaceSnapshotOrBuilder- Returns:
- The chainName.
-
getChainNameBytes
public com.google.protobuf.ByteString getChainNameBytes()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.
optional string chain_name = 68644169;- Specified by:
getChainNameBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for chainName.
-
setChainName
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.
optional string chain_name = 68644169;- Parameters:
value- The chainName to set.- Returns:
- This builder for chaining.
-
clearChainName
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.
optional string chain_name = 68644169;- Returns:
- This builder for chaining.
-
setChainNameBytes
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.
optional string chain_name = 68644169;- Parameters:
value- The bytes for chainName to set.- Returns:
- This builder for chaining.
-
hasCreationSizeBytes
public boolean hasCreationSizeBytes()Output only. [Output Only] Size in bytes of the snapshot at creation time.
optional int64 creation_size_bytes = 125400077;- Specified by:
hasCreationSizeBytesin interfaceSnapshotOrBuilder- Returns:
- Whether the creationSizeBytes field is set.
-
getCreationSizeBytes
public long getCreationSizeBytes()Output only. [Output Only] Size in bytes of the snapshot at creation time.
optional int64 creation_size_bytes = 125400077;- Specified by:
getCreationSizeBytesin interfaceSnapshotOrBuilder- Returns:
- The creationSizeBytes.
-
setCreationSizeBytes
Output only. [Output Only] Size in bytes of the snapshot at creation time.
optional int64 creation_size_bytes = 125400077;- Parameters:
value- The creationSizeBytes to set.- Returns:
- This builder for chaining.
-
clearCreationSizeBytes
Output only. [Output Only] Size in bytes of the snapshot at creation time.
optional int64 creation_size_bytes = 125400077;- Returns:
- This builder for chaining.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceSnapshotOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceSnapshotOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceSnapshotOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceSnapshotOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for description.
-
setDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasDiskSizeGb
public boolean hasDiskSizeGb()Output only. [Output Only] Size of the source disk, specified in GB.
optional int64 disk_size_gb = 316263735;- Specified by:
hasDiskSizeGbin interfaceSnapshotOrBuilder- Returns:
- Whether the diskSizeGb field is set.
-
getDiskSizeGb
public long getDiskSizeGb()Output only. [Output Only] Size of the source disk, specified in GB.
optional int64 disk_size_gb = 316263735;- Specified by:
getDiskSizeGbin interfaceSnapshotOrBuilder- Returns:
- The diskSizeGb.
-
setDiskSizeGb
Output only. [Output Only] Size of the source disk, specified in GB.
optional int64 disk_size_gb = 316263735;- Parameters:
value- The diskSizeGb to set.- Returns:
- This builder for chaining.
-
clearDiskSizeGb
Output only. [Output Only] Size of the source disk, specified in GB.
optional int64 disk_size_gb = 316263735;- Returns:
- This builder for chaining.
-
hasDownloadBytes
public boolean hasDownloadBytes()Output only. [Output Only] Number of bytes downloaded to restore a snapshot to a disk.
optional int64 download_bytes = 435054068;- Specified by:
hasDownloadBytesin interfaceSnapshotOrBuilder- Returns:
- Whether the downloadBytes field is set.
-
getDownloadBytes
public long getDownloadBytes()Output only. [Output Only] Number of bytes downloaded to restore a snapshot to a disk.
optional int64 download_bytes = 435054068;- Specified by:
getDownloadBytesin interfaceSnapshotOrBuilder- Returns:
- The downloadBytes.
-
setDownloadBytes
Output only. [Output Only] Number of bytes downloaded to restore a snapshot to a disk.
optional int64 download_bytes = 435054068;- Parameters:
value- The downloadBytes to set.- Returns:
- This builder for chaining.
-
clearDownloadBytes
Output only. [Output Only] Number of bytes downloaded to restore a snapshot to a disk.
optional int64 download_bytes = 435054068;- Returns:
- This builder for chaining.
-
hasEnableConfidentialCompute
public boolean hasEnableConfidentialCompute()Output only. Whether this snapshot is created from a confidential compute mode disk. [Output Only]: This field is not set by user, but from source disk.
optional bool enable_confidential_compute = 102135228;- Specified by:
hasEnableConfidentialComputein interfaceSnapshotOrBuilder- Returns:
- Whether the enableConfidentialCompute field is set.
-
getEnableConfidentialCompute
public boolean getEnableConfidentialCompute()Output only. Whether this snapshot is created from a confidential compute mode disk. [Output Only]: This field is not set by user, but from source disk.
optional bool enable_confidential_compute = 102135228;- Specified by:
getEnableConfidentialComputein interfaceSnapshotOrBuilder- Returns:
- The enableConfidentialCompute.
-
setEnableConfidentialCompute
Output only. Whether this snapshot is created from a confidential compute mode disk. [Output Only]: This field is not set by user, but from source disk.
optional bool enable_confidential_compute = 102135228;- Parameters:
value- The enableConfidentialCompute to set.- Returns:
- This builder for chaining.
-
clearEnableConfidentialCompute
Output only. Whether this snapshot is created from a confidential compute mode disk. [Output Only]: This field is not set by user, but from source disk.
optional bool enable_confidential_compute = 102135228;- Returns:
- This builder for chaining.
-
hasGuestFlush
public boolean hasGuestFlush()[Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process.
optional bool guest_flush = 385550813;- Specified by:
hasGuestFlushin interfaceSnapshotOrBuilder- Returns:
- Whether the guestFlush field is set.
-
getGuestFlush
public boolean getGuestFlush()[Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process.
optional bool guest_flush = 385550813;- Specified by:
getGuestFlushin interfaceSnapshotOrBuilder- Returns:
- The guestFlush.
-
setGuestFlush
[Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process.
optional bool guest_flush = 385550813;- Parameters:
value- The guestFlush to set.- Returns:
- This builder for chaining.
-
clearGuestFlush
[Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process.
optional bool guest_flush = 385550813;- Returns:
- This builder for chaining.
-
getGuestOsFeaturesList
Output only. [Output Only] A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;- Specified by:
getGuestOsFeaturesListin interfaceSnapshotOrBuilder
-
getGuestOsFeaturesCount
public int getGuestOsFeaturesCount()Output only. [Output Only] A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;- Specified by:
getGuestOsFeaturesCountin interfaceSnapshotOrBuilder
-
getGuestOsFeatures
Output only. [Output Only] A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;- Specified by:
getGuestOsFeaturesin interfaceSnapshotOrBuilder
-
setGuestOsFeatures
Output only. [Output Only] A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
setGuestOsFeatures
Output only. [Output Only] A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
addGuestOsFeatures
Output only. [Output Only] A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
addGuestOsFeatures
Output only. [Output Only] A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
addGuestOsFeatures
Output only. [Output Only] A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
addGuestOsFeatures
Output only. [Output Only] A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
addAllGuestOsFeatures
Output only. [Output Only] A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
clearGuestOsFeatures
Output only. [Output Only] A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
removeGuestOsFeatures
Output only. [Output Only] A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
getGuestOsFeaturesBuilder
Output only. [Output Only] A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
getGuestOsFeaturesOrBuilder
Output only. [Output Only] A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;- Specified by:
getGuestOsFeaturesOrBuilderin interfaceSnapshotOrBuilder
-
getGuestOsFeaturesOrBuilderList
Output only. [Output Only] A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545;- Specified by:
getGuestOsFeaturesOrBuilderListin interfaceSnapshotOrBuilder
-
addGuestOsFeaturesBuilder
Output only. [Output Only] A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
addGuestOsFeaturesBuilder
Output only. [Output Only] A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
getGuestOsFeaturesBuilderList
Output only. [Output Only] A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
repeated .google.cloud.compute.v1.GuestOsFeature guest_os_features = 79294545; -
hasId
public boolean hasId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceSnapshotOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfaceSnapshotOrBuilder- Returns:
- The id.
-
setId
Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()Output only. [Output Only] Type of the resource. Always compute#snapshot for Snapshot resources.
optional string kind = 3292052;- Specified by:
hasKindin interfaceSnapshotOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output Only] Type of the resource. Always compute#snapshot for Snapshot resources.
optional string kind = 3292052;- Specified by:
getKindin interfaceSnapshotOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Always compute#snapshot for Snapshot resources.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for kind.
-
setKind
Output only. [Output Only] Type of the resource. Always compute#snapshot for Snapshot resources.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
Output only. [Output Only] Type of the resource. Always compute#snapshot for Snapshot resources.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
Output only. [Output Only] Type of the resource. Always compute#snapshot for Snapshot resources.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
hasLabelFingerprint
public boolean hasLabelFingerprint()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 error412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a snapshot.
optional string label_fingerprint = 178124825;- Specified by:
hasLabelFingerprintin interfaceSnapshotOrBuilder- Returns:
- Whether the labelFingerprint field is set.
-
getLabelFingerprint
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 error412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a snapshot.
optional string label_fingerprint = 178124825;- Specified by:
getLabelFingerprintin interfaceSnapshotOrBuilder- Returns:
- The labelFingerprint.
-
getLabelFingerprintBytes
public com.google.protobuf.ByteString getLabelFingerprintBytes()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 error412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a snapshot.
optional string label_fingerprint = 178124825;- Specified by:
getLabelFingerprintBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for labelFingerprint.
-
setLabelFingerprint
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 error412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a snapshot.
optional string label_fingerprint = 178124825;- Parameters:
value- The labelFingerprint to set.- Returns:
- This builder for chaining.
-
clearLabelFingerprint
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 error412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a snapshot.
optional string label_fingerprint = 178124825;- Returns:
- This builder for chaining.
-
setLabelFingerprintBytes
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 error412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a snapshot.
optional string label_fingerprint = 178124825;- Parameters:
value- The bytes for labelFingerprint to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:SnapshotOrBuilderLabels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;- Specified by:
getLabelsCountin interfaceSnapshotOrBuilder
-
containsLabels
Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;- Specified by:
containsLabelsin interfaceSnapshotOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceSnapshotOrBuilder
-
getLabelsMap
Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;- Specified by:
getLabelsMapin interfaceSnapshotOrBuilder
-
getLabelsOrDefault
Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;- Specified by:
getLabelsOrDefaultin interfaceSnapshotOrBuilder
-
getLabelsOrThrow
Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;- Specified by:
getLabelsOrThrowin interfaceSnapshotOrBuilder
-
clearLabels
-
removeLabels
Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327; -
putAllLabels
Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327; -
getLicenseCodesList
Output only. [Output Only] Integer license codes indicating which licenses are attached to this snapshot.
repeated int64 license_codes = 45482664;- Specified by:
getLicenseCodesListin interfaceSnapshotOrBuilder- Returns:
- A list containing the licenseCodes.
-
getLicenseCodesCount
public int getLicenseCodesCount()Output only. [Output Only] Integer license codes indicating which licenses are attached to this snapshot.
repeated int64 license_codes = 45482664;- Specified by:
getLicenseCodesCountin interfaceSnapshotOrBuilder- Returns:
- The count of licenseCodes.
-
getLicenseCodes
public long getLicenseCodes(int index) Output only. [Output Only] Integer license codes indicating which licenses are attached to this snapshot.
repeated int64 license_codes = 45482664;- Specified by:
getLicenseCodesin interfaceSnapshotOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The licenseCodes at the given index.
-
setLicenseCodes
Output only. [Output Only] Integer license codes indicating which licenses are attached to this snapshot.
repeated int64 license_codes = 45482664;- Parameters:
index- The index to set the value at.value- The licenseCodes to set.- Returns:
- This builder for chaining.
-
addLicenseCodes
Output only. [Output Only] Integer license codes indicating which licenses are attached to this snapshot.
repeated int64 license_codes = 45482664;- Parameters:
value- The licenseCodes to add.- Returns:
- This builder for chaining.
-
addAllLicenseCodes
Output only. [Output Only] Integer license codes indicating which licenses are attached to this snapshot.
repeated int64 license_codes = 45482664;- Parameters:
values- The licenseCodes to add.- Returns:
- This builder for chaining.
-
clearLicenseCodes
Output only. [Output Only] Integer license codes indicating which licenses are attached to this snapshot.
repeated int64 license_codes = 45482664;- Returns:
- This builder for chaining.
-
getLicensesList
public com.google.protobuf.ProtocolStringList getLicensesList()Output only. [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).
repeated string licenses = 337642578;- Specified by:
getLicensesListin interfaceSnapshotOrBuilder- Returns:
- A list containing the licenses.
-
getLicensesCount
public int getLicensesCount()Output only. [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).
repeated string licenses = 337642578;- Specified by:
getLicensesCountin interfaceSnapshotOrBuilder- Returns:
- The count of licenses.
-
getLicenses
Output only. [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).
repeated string licenses = 337642578;- Specified by:
getLicensesin interfaceSnapshotOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The licenses at the given index.
-
getLicensesBytes
public com.google.protobuf.ByteString getLicensesBytes(int index) Output only. [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).
repeated string licenses = 337642578;- Specified by:
getLicensesBytesin interfaceSnapshotOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the licenses at the given index.
-
setLicenses
Output only. [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).
repeated string licenses = 337642578;- Parameters:
index- The index to set the value at.value- The licenses to set.- Returns:
- This builder for chaining.
-
addLicenses
Output only. [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).
repeated string licenses = 337642578;- Parameters:
value- The licenses to add.- Returns:
- This builder for chaining.
-
addAllLicenses
Output only. [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).
repeated string licenses = 337642578;- Parameters:
values- The licenses to add.- Returns:
- This builder for chaining.
-
clearLicenses
Output only. [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).
repeated string licenses = 337642578;- Returns:
- This builder for chaining.
-
addLicensesBytes
Output only. [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).
repeated string licenses = 337642578;- Parameters:
value- The bytes of the licenses to add.- Returns:
- This builder for chaining.
-
hasLocationHint
public boolean hasLocationHint()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.
optional string location_hint = 350519505;- Specified by:
hasLocationHintin interfaceSnapshotOrBuilder- Returns:
- Whether the locationHint field is set.
-
getLocationHint
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.
optional string location_hint = 350519505;- Specified by:
getLocationHintin interfaceSnapshotOrBuilder- Returns:
- The locationHint.
-
getLocationHintBytes
public com.google.protobuf.ByteString getLocationHintBytes()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.
optional string location_hint = 350519505;- Specified by:
getLocationHintBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for locationHint.
-
setLocationHint
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.
optional string location_hint = 350519505;- Parameters:
value- The locationHint to set.- Returns:
- This builder for chaining.
-
clearLocationHint
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.
optional string location_hint = 350519505;- Returns:
- This builder for chaining.
-
setLocationHintBytes
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.
optional string location_hint = 350519505;- Parameters:
value- The bytes for locationHint to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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.
optional string name = 3373707;- Specified by:
hasNamein interfaceSnapshotOrBuilder- Returns:
- Whether the name field is set.
-
getName
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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.
optional string name = 3373707;- Specified by:
getNamein interfaceSnapshotOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for name.
-
setName
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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.
optional string name = 3373707;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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.
optional string name = 3373707;- Returns:
- This builder for chaining.
-
setNameBytes
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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.
optional string name = 3373707;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasParams
public boolean hasParams()Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.SnapshotParams params = 78313862;- Specified by:
hasParamsin interfaceSnapshotOrBuilder- Returns:
- Whether the params field is set.
-
getParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.SnapshotParams params = 78313862;- Specified by:
getParamsin interfaceSnapshotOrBuilder- Returns:
- The params.
-
setParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.SnapshotParams params = 78313862; -
setParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.SnapshotParams params = 78313862; -
mergeParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.SnapshotParams params = 78313862; -
clearParams
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.SnapshotParams params = 78313862; -
getParamsBuilder
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.SnapshotParams params = 78313862; -
getParamsOrBuilder
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.SnapshotParams params = 78313862;- Specified by:
getParamsOrBuilderin interfaceSnapshotOrBuilder
-
hasRegion
public boolean hasRegion()Output only. [Output Only] URL of the region where the snapshot resides. Only applicable for regional snapshots.
optional string region = 138946292;- Specified by:
hasRegionin interfaceSnapshotOrBuilder- Returns:
- Whether the region field is set.
-
getRegion
Output only. [Output Only] URL of the region where the snapshot resides. Only applicable for regional snapshots.
optional string region = 138946292;- Specified by:
getRegionin interfaceSnapshotOrBuilder- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()Output only. [Output Only] URL of the region where the snapshot resides. Only applicable for regional snapshots.
optional string region = 138946292;- Specified by:
getRegionBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for region.
-
setRegion
Output only. [Output Only] URL of the region where the snapshot resides. Only applicable for regional snapshots.
optional string region = 138946292;- Parameters:
value- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
Output only. [Output Only] URL of the region where the snapshot resides. Only applicable for regional snapshots.
optional string region = 138946292;- Returns:
- This builder for chaining.
-
setRegionBytes
Output only. [Output Only] URL of the region where the snapshot resides. Only applicable for regional snapshots.
optional string region = 138946292;- Parameters:
value- The bytes for region to set.- Returns:
- This builder for chaining.
-
hasSatisfiesPzi
public boolean hasSatisfiesPzi()Output only. Reserved for future use.
optional bool satisfies_pzi = 480964257;- Specified by:
hasSatisfiesPziin interfaceSnapshotOrBuilder- Returns:
- Whether the satisfiesPzi field is set.
-
getSatisfiesPzi
public boolean getSatisfiesPzi()Output only. Reserved for future use.
optional bool satisfies_pzi = 480964257;- Specified by:
getSatisfiesPziin interfaceSnapshotOrBuilder- Returns:
- The satisfiesPzi.
-
setSatisfiesPzi
Output only. Reserved for future use.
optional bool satisfies_pzi = 480964257;- Parameters:
value- The satisfiesPzi to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzi
Output only. Reserved for future use.
optional bool satisfies_pzi = 480964257;- Returns:
- This builder for chaining.
-
hasSatisfiesPzs
public boolean hasSatisfiesPzs()Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;- Specified by:
hasSatisfiesPzsin interfaceSnapshotOrBuilder- Returns:
- Whether the satisfiesPzs field is set.
-
getSatisfiesPzs
public boolean getSatisfiesPzs()Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;- Specified by:
getSatisfiesPzsin interfaceSnapshotOrBuilder- Returns:
- The satisfiesPzs.
-
setSatisfiesPzs
Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;- Parameters:
value- The satisfiesPzs to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzs
Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;- Returns:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceSnapshotOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceSnapshotOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
hasSnapshotEncryptionKey
public boolean hasSnapshotEncryptionKey()Encrypts the snapshot using acustomer-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.
optional .google.cloud.compute.v1.CustomerEncryptionKey snapshot_encryption_key = 43334526;- Specified by:
hasSnapshotEncryptionKeyin interfaceSnapshotOrBuilder- Returns:
- Whether the snapshotEncryptionKey field is set.
-
getSnapshotEncryptionKey
Encrypts the snapshot using acustomer-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.
optional .google.cloud.compute.v1.CustomerEncryptionKey snapshot_encryption_key = 43334526;- Specified by:
getSnapshotEncryptionKeyin interfaceSnapshotOrBuilder- Returns:
- The snapshotEncryptionKey.
-
setSnapshotEncryptionKey
Encrypts the snapshot using acustomer-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.
optional .google.cloud.compute.v1.CustomerEncryptionKey snapshot_encryption_key = 43334526; -
setSnapshotEncryptionKey
Encrypts the snapshot using acustomer-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.
optional .google.cloud.compute.v1.CustomerEncryptionKey snapshot_encryption_key = 43334526; -
mergeSnapshotEncryptionKey
Encrypts the snapshot using acustomer-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.
optional .google.cloud.compute.v1.CustomerEncryptionKey snapshot_encryption_key = 43334526; -
clearSnapshotEncryptionKey
Encrypts the snapshot using acustomer-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.
optional .google.cloud.compute.v1.CustomerEncryptionKey snapshot_encryption_key = 43334526; -
getSnapshotEncryptionKeyBuilder
Encrypts the snapshot using acustomer-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.
optional .google.cloud.compute.v1.CustomerEncryptionKey snapshot_encryption_key = 43334526; -
getSnapshotEncryptionKeyOrBuilder
Encrypts the snapshot using acustomer-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.
optional .google.cloud.compute.v1.CustomerEncryptionKey snapshot_encryption_key = 43334526;- Specified by:
getSnapshotEncryptionKeyOrBuilderin interfaceSnapshotOrBuilder
-
hasSnapshotGroupId
public boolean hasSnapshotGroupId()Output only. [Output Only] The unique ID of the snapshot group that this snapshot belongs to. The usage of snapshot group feature is restricted.
optional string snapshot_group_id = 255004406;- Specified by:
hasSnapshotGroupIdin interfaceSnapshotOrBuilder- Returns:
- Whether the snapshotGroupId field is set.
-
getSnapshotGroupId
Output only. [Output Only] The unique ID of the snapshot group that this snapshot belongs to. The usage of snapshot group feature is restricted.
optional string snapshot_group_id = 255004406;- Specified by:
getSnapshotGroupIdin interfaceSnapshotOrBuilder- Returns:
- The snapshotGroupId.
-
getSnapshotGroupIdBytes
public com.google.protobuf.ByteString getSnapshotGroupIdBytes()Output only. [Output Only] The unique ID of the snapshot group that this snapshot belongs to. The usage of snapshot group feature is restricted.
optional string snapshot_group_id = 255004406;- Specified by:
getSnapshotGroupIdBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for snapshotGroupId.
-
setSnapshotGroupId
Output only. [Output Only] The unique ID of the snapshot group that this snapshot belongs to. The usage of snapshot group feature is restricted.
optional string snapshot_group_id = 255004406;- Parameters:
value- The snapshotGroupId to set.- Returns:
- This builder for chaining.
-
clearSnapshotGroupId
Output only. [Output Only] The unique ID of the snapshot group that this snapshot belongs to. The usage of snapshot group feature is restricted.
optional string snapshot_group_id = 255004406;- Returns:
- This builder for chaining.
-
setSnapshotGroupIdBytes
Output only. [Output Only] The unique ID of the snapshot group that this snapshot belongs to. The usage of snapshot group feature is restricted.
optional string snapshot_group_id = 255004406;- Parameters:
value- The bytes for snapshotGroupId to set.- Returns:
- This builder for chaining.
-
hasSnapshotGroupName
public boolean hasSnapshotGroupName()Output only. [Output only] The snapshot group that this snapshot belongs to. The usage of snapshot group feature is restricted.
optional string snapshot_group_name = 246247846;- Specified by:
hasSnapshotGroupNamein interfaceSnapshotOrBuilder- Returns:
- Whether the snapshotGroupName field is set.
-
getSnapshotGroupName
Output only. [Output only] The snapshot group that this snapshot belongs to. The usage of snapshot group feature is restricted.
optional string snapshot_group_name = 246247846;- Specified by:
getSnapshotGroupNamein interfaceSnapshotOrBuilder- Returns:
- The snapshotGroupName.
-
getSnapshotGroupNameBytes
public com.google.protobuf.ByteString getSnapshotGroupNameBytes()Output only. [Output only] The snapshot group that this snapshot belongs to. The usage of snapshot group feature is restricted.
optional string snapshot_group_name = 246247846;- Specified by:
getSnapshotGroupNameBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for snapshotGroupName.
-
setSnapshotGroupName
Output only. [Output only] The snapshot group that this snapshot belongs to. The usage of snapshot group feature is restricted.
optional string snapshot_group_name = 246247846;- Parameters:
value- The snapshotGroupName to set.- Returns:
- This builder for chaining.
-
clearSnapshotGroupName
Output only. [Output only] The snapshot group that this snapshot belongs to. The usage of snapshot group feature is restricted.
optional string snapshot_group_name = 246247846;- Returns:
- This builder for chaining.
-
setSnapshotGroupNameBytes
Output only. [Output only] The snapshot group that this snapshot belongs to. The usage of snapshot group feature is restricted.
optional string snapshot_group_name = 246247846;- Parameters:
value- The bytes for snapshotGroupName to set.- Returns:
- This builder for chaining.
-
hasSnapshotType
public boolean hasSnapshotType()Indicates the type of the snapshot. Check the SnapshotType enum for the list of possible values.
optional string snapshot_type = 124349653;- Specified by:
hasSnapshotTypein interfaceSnapshotOrBuilder- Returns:
- Whether the snapshotType field is set.
-
getSnapshotType
Indicates the type of the snapshot. Check the SnapshotType enum for the list of possible values.
optional string snapshot_type = 124349653;- Specified by:
getSnapshotTypein interfaceSnapshotOrBuilder- Returns:
- The snapshotType.
-
getSnapshotTypeBytes
public com.google.protobuf.ByteString getSnapshotTypeBytes()Indicates the type of the snapshot. Check the SnapshotType enum for the list of possible values.
optional string snapshot_type = 124349653;- Specified by:
getSnapshotTypeBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for snapshotType.
-
setSnapshotType
Indicates the type of the snapshot. Check the SnapshotType enum for the list of possible values.
optional string snapshot_type = 124349653;- Parameters:
value- The snapshotType to set.- Returns:
- This builder for chaining.
-
clearSnapshotType
Indicates the type of the snapshot. Check the SnapshotType enum for the list of possible values.
optional string snapshot_type = 124349653;- Returns:
- This builder for chaining.
-
setSnapshotTypeBytes
Indicates the type of the snapshot. Check the SnapshotType enum for the list of possible values.
optional string snapshot_type = 124349653;- Parameters:
value- The bytes for snapshotType to set.- Returns:
- This builder for chaining.
-
hasSourceDisk
public boolean hasSourceDisk()The source disk used to create this snapshot.
optional string source_disk = 451753793;- Specified by:
hasSourceDiskin interfaceSnapshotOrBuilder- Returns:
- Whether the sourceDisk field is set.
-
getSourceDisk
The source disk used to create this snapshot.
optional string source_disk = 451753793;- Specified by:
getSourceDiskin interfaceSnapshotOrBuilder- Returns:
- The sourceDisk.
-
getSourceDiskBytes
public com.google.protobuf.ByteString getSourceDiskBytes()The source disk used to create this snapshot.
optional string source_disk = 451753793;- Specified by:
getSourceDiskBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for sourceDisk.
-
setSourceDisk
The source disk used to create this snapshot.
optional string source_disk = 451753793;- Parameters:
value- The sourceDisk to set.- Returns:
- This builder for chaining.
-
clearSourceDisk
The source disk used to create this snapshot.
optional string source_disk = 451753793;- Returns:
- This builder for chaining.
-
setSourceDiskBytes
The source disk used to create this snapshot.
optional string source_disk = 451753793;- Parameters:
value- The bytes for sourceDisk to set.- Returns:
- This builder for chaining.
-
hasSourceDiskEncryptionKey
public boolean hasSourceDiskEncryptionKey()The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;- Specified by:
hasSourceDiskEncryptionKeyin interfaceSnapshotOrBuilder- Returns:
- Whether the sourceDiskEncryptionKey field is set.
-
getSourceDiskEncryptionKey
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;- Specified by:
getSourceDiskEncryptionKeyin interfaceSnapshotOrBuilder- Returns:
- The sourceDiskEncryptionKey.
-
setSourceDiskEncryptionKey
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153; -
setSourceDiskEncryptionKey
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153; -
mergeSourceDiskEncryptionKey
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153; -
clearSourceDiskEncryptionKey
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153; -
getSourceDiskEncryptionKeyBuilder
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153; -
getSourceDiskEncryptionKeyOrBuilder
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;- Specified by:
getSourceDiskEncryptionKeyOrBuilderin interfaceSnapshotOrBuilder
-
hasSourceDiskForRecoveryCheckpoint
public boolean hasSourceDiskForRecoveryCheckpoint()The source disk whose recovery checkpoint will be used to create this snapshot.
optional string source_disk_for_recovery_checkpoint = 359837950;- Specified by:
hasSourceDiskForRecoveryCheckpointin interfaceSnapshotOrBuilder- Returns:
- Whether the sourceDiskForRecoveryCheckpoint field is set.
-
getSourceDiskForRecoveryCheckpoint
The source disk whose recovery checkpoint will be used to create this snapshot.
optional string source_disk_for_recovery_checkpoint = 359837950;- Specified by:
getSourceDiskForRecoveryCheckpointin interfaceSnapshotOrBuilder- Returns:
- The sourceDiskForRecoveryCheckpoint.
-
getSourceDiskForRecoveryCheckpointBytes
public com.google.protobuf.ByteString getSourceDiskForRecoveryCheckpointBytes()The source disk whose recovery checkpoint will be used to create this snapshot.
optional string source_disk_for_recovery_checkpoint = 359837950;- Specified by:
getSourceDiskForRecoveryCheckpointBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for sourceDiskForRecoveryCheckpoint.
-
setSourceDiskForRecoveryCheckpoint
The source disk whose recovery checkpoint will be used to create this snapshot.
optional string source_disk_for_recovery_checkpoint = 359837950;- Parameters:
value- The sourceDiskForRecoveryCheckpoint to set.- Returns:
- This builder for chaining.
-
clearSourceDiskForRecoveryCheckpoint
The source disk whose recovery checkpoint will be used to create this snapshot.
optional string source_disk_for_recovery_checkpoint = 359837950;- Returns:
- This builder for chaining.
-
setSourceDiskForRecoveryCheckpointBytes
public Snapshot.Builder setSourceDiskForRecoveryCheckpointBytes(com.google.protobuf.ByteString value) The source disk whose recovery checkpoint will be used to create this snapshot.
optional string source_disk_for_recovery_checkpoint = 359837950;- Parameters:
value- The bytes for sourceDiskForRecoveryCheckpoint to set.- Returns:
- This builder for chaining.
-
hasSourceDiskId
public boolean hasSourceDiskId()Output only. [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.
optional string source_disk_id = 454190809;- Specified by:
hasSourceDiskIdin interfaceSnapshotOrBuilder- Returns:
- Whether the sourceDiskId field is set.
-
getSourceDiskId
Output only. [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.
optional string source_disk_id = 454190809;- Specified by:
getSourceDiskIdin interfaceSnapshotOrBuilder- Returns:
- The sourceDiskId.
-
getSourceDiskIdBytes
public com.google.protobuf.ByteString getSourceDiskIdBytes()Output only. [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.
optional string source_disk_id = 454190809;- Specified by:
getSourceDiskIdBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for sourceDiskId.
-
setSourceDiskId
Output only. [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.
optional string source_disk_id = 454190809;- Parameters:
value- The sourceDiskId to set.- Returns:
- This builder for chaining.
-
clearSourceDiskId
Output only. [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.
optional string source_disk_id = 454190809;- Returns:
- This builder for chaining.
-
setSourceDiskIdBytes
Output only. [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.
optional string source_disk_id = 454190809;- Parameters:
value- The bytes for sourceDiskId to set.- Returns:
- This builder for chaining.
-
hasSourceInstantSnapshot
public boolean hasSourceInstantSnapshot()The source instant snapshot used to create this snapshot. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instantSnapshots/instantSnapshot - projects/project/zones/zone/instantSnapshots/instantSnapshot - zones/zone/instantSnapshots/instantSnapshot
optional string source_instant_snapshot = 219202054;- Specified by:
hasSourceInstantSnapshotin interfaceSnapshotOrBuilder- Returns:
- Whether the sourceInstantSnapshot field is set.
-
getSourceInstantSnapshot
The source instant snapshot used to create this snapshot. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instantSnapshots/instantSnapshot - projects/project/zones/zone/instantSnapshots/instantSnapshot - zones/zone/instantSnapshots/instantSnapshot
optional string source_instant_snapshot = 219202054;- Specified by:
getSourceInstantSnapshotin interfaceSnapshotOrBuilder- Returns:
- The sourceInstantSnapshot.
-
getSourceInstantSnapshotBytes
public com.google.protobuf.ByteString getSourceInstantSnapshotBytes()The source instant snapshot used to create this snapshot. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instantSnapshots/instantSnapshot - projects/project/zones/zone/instantSnapshots/instantSnapshot - zones/zone/instantSnapshots/instantSnapshot
optional string source_instant_snapshot = 219202054;- Specified by:
getSourceInstantSnapshotBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for sourceInstantSnapshot.
-
setSourceInstantSnapshot
The source instant snapshot used to create this snapshot. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instantSnapshots/instantSnapshot - projects/project/zones/zone/instantSnapshots/instantSnapshot - zones/zone/instantSnapshots/instantSnapshot
optional string source_instant_snapshot = 219202054;- Parameters:
value- The sourceInstantSnapshot to set.- Returns:
- This builder for chaining.
-
clearSourceInstantSnapshot
The source instant snapshot used to create this snapshot. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instantSnapshots/instantSnapshot - projects/project/zones/zone/instantSnapshots/instantSnapshot - zones/zone/instantSnapshots/instantSnapshot
optional string source_instant_snapshot = 219202054;- Returns:
- This builder for chaining.
-
setSourceInstantSnapshotBytes
The source instant snapshot used to create this snapshot. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone/instantSnapshots/instantSnapshot - projects/project/zones/zone/instantSnapshots/instantSnapshot - zones/zone/instantSnapshots/instantSnapshot
optional string source_instant_snapshot = 219202054;- Parameters:
value- The bytes for sourceInstantSnapshot to set.- Returns:
- This builder for chaining.
-
hasSourceInstantSnapshotEncryptionKey
public boolean hasSourceInstantSnapshotEncryptionKey()Customer provided encryption key when creating Snapshot from Instant Snapshot.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_instant_snapshot_encryption_key = 436536060;- Specified by:
hasSourceInstantSnapshotEncryptionKeyin interfaceSnapshotOrBuilder- Returns:
- Whether the sourceInstantSnapshotEncryptionKey field is set.
-
getSourceInstantSnapshotEncryptionKey
Customer provided encryption key when creating Snapshot from Instant Snapshot.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_instant_snapshot_encryption_key = 436536060;- Specified by:
getSourceInstantSnapshotEncryptionKeyin interfaceSnapshotOrBuilder- Returns:
- The sourceInstantSnapshotEncryptionKey.
-
setSourceInstantSnapshotEncryptionKey
Customer provided encryption key when creating Snapshot from Instant Snapshot.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_instant_snapshot_encryption_key = 436536060; -
setSourceInstantSnapshotEncryptionKey
public Snapshot.Builder setSourceInstantSnapshotEncryptionKey(CustomerEncryptionKey.Builder builderForValue) Customer provided encryption key when creating Snapshot from Instant Snapshot.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_instant_snapshot_encryption_key = 436536060; -
mergeSourceInstantSnapshotEncryptionKey
Customer provided encryption key when creating Snapshot from Instant Snapshot.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_instant_snapshot_encryption_key = 436536060; -
clearSourceInstantSnapshotEncryptionKey
Customer provided encryption key when creating Snapshot from Instant Snapshot.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_instant_snapshot_encryption_key = 436536060; -
getSourceInstantSnapshotEncryptionKeyBuilder
Customer provided encryption key when creating Snapshot from Instant Snapshot.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_instant_snapshot_encryption_key = 436536060; -
getSourceInstantSnapshotEncryptionKeyOrBuilder
Customer provided encryption key when creating Snapshot from Instant Snapshot.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_instant_snapshot_encryption_key = 436536060;- Specified by:
getSourceInstantSnapshotEncryptionKeyOrBuilderin interfaceSnapshotOrBuilder
-
hasSourceInstantSnapshotId
public boolean hasSourceInstantSnapshotId()Output only. [Output Only] The unique ID of the instant snapshot used to create this snapshot. This value identifies the exact instant snapshot that was used to create this snapshot. For example, if you created the snapshot from an instant snapshot that was later deleted and recreated under the same name, the source instant snapshot ID would identify the exact instant snapshot that was used.
optional string source_instant_snapshot_id = 287582708;- Specified by:
hasSourceInstantSnapshotIdin interfaceSnapshotOrBuilder- Returns:
- Whether the sourceInstantSnapshotId field is set.
-
getSourceInstantSnapshotId
Output only. [Output Only] The unique ID of the instant snapshot used to create this snapshot. This value identifies the exact instant snapshot that was used to create this snapshot. For example, if you created the snapshot from an instant snapshot that was later deleted and recreated under the same name, the source instant snapshot ID would identify the exact instant snapshot that was used.
optional string source_instant_snapshot_id = 287582708;- Specified by:
getSourceInstantSnapshotIdin interfaceSnapshotOrBuilder- Returns:
- The sourceInstantSnapshotId.
-
getSourceInstantSnapshotIdBytes
public com.google.protobuf.ByteString getSourceInstantSnapshotIdBytes()Output only. [Output Only] The unique ID of the instant snapshot used to create this snapshot. This value identifies the exact instant snapshot that was used to create this snapshot. For example, if you created the snapshot from an instant snapshot that was later deleted and recreated under the same name, the source instant snapshot ID would identify the exact instant snapshot that was used.
optional string source_instant_snapshot_id = 287582708;- Specified by:
getSourceInstantSnapshotIdBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for sourceInstantSnapshotId.
-
setSourceInstantSnapshotId
Output only. [Output Only] The unique ID of the instant snapshot used to create this snapshot. This value identifies the exact instant snapshot that was used to create this snapshot. For example, if you created the snapshot from an instant snapshot that was later deleted and recreated under the same name, the source instant snapshot ID would identify the exact instant snapshot that was used.
optional string source_instant_snapshot_id = 287582708;- Parameters:
value- The sourceInstantSnapshotId to set.- Returns:
- This builder for chaining.
-
clearSourceInstantSnapshotId
Output only. [Output Only] The unique ID of the instant snapshot used to create this snapshot. This value identifies the exact instant snapshot that was used to create this snapshot. For example, if you created the snapshot from an instant snapshot that was later deleted and recreated under the same name, the source instant snapshot ID would identify the exact instant snapshot that was used.
optional string source_instant_snapshot_id = 287582708;- Returns:
- This builder for chaining.
-
setSourceInstantSnapshotIdBytes
Output only. [Output Only] The unique ID of the instant snapshot used to create this snapshot. This value identifies the exact instant snapshot that was used to create this snapshot. For example, if you created the snapshot from an instant snapshot that was later deleted and recreated under the same name, the source instant snapshot ID would identify the exact instant snapshot that was used.
optional string source_instant_snapshot_id = 287582708;- Parameters:
value- The bytes for sourceInstantSnapshotId to set.- Returns:
- This builder for chaining.
-
hasSourceSnapshotSchedulePolicy
public boolean hasSourceSnapshotSchedulePolicy()Output only. [Output Only] URL of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy = 235756291;- Specified by:
hasSourceSnapshotSchedulePolicyin interfaceSnapshotOrBuilder- Returns:
- Whether the sourceSnapshotSchedulePolicy field is set.
-
getSourceSnapshotSchedulePolicy
Output only. [Output Only] URL of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy = 235756291;- Specified by:
getSourceSnapshotSchedulePolicyin interfaceSnapshotOrBuilder- Returns:
- The sourceSnapshotSchedulePolicy.
-
getSourceSnapshotSchedulePolicyBytes
public com.google.protobuf.ByteString getSourceSnapshotSchedulePolicyBytes()Output only. [Output Only] URL of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy = 235756291;- Specified by:
getSourceSnapshotSchedulePolicyBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for sourceSnapshotSchedulePolicy.
-
setSourceSnapshotSchedulePolicy
Output only. [Output Only] URL of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy = 235756291;- Parameters:
value- The sourceSnapshotSchedulePolicy to set.- Returns:
- This builder for chaining.
-
clearSourceSnapshotSchedulePolicy
Output only. [Output Only] URL of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy = 235756291;- Returns:
- This builder for chaining.
-
setSourceSnapshotSchedulePolicyBytes
Output only. [Output Only] URL of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy = 235756291;- Parameters:
value- The bytes for sourceSnapshotSchedulePolicy to set.- Returns:
- This builder for chaining.
-
hasSourceSnapshotSchedulePolicyId
public boolean hasSourceSnapshotSchedulePolicyId()Output only. [Output Only] ID of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy_id = 70489047;- Specified by:
hasSourceSnapshotSchedulePolicyIdin interfaceSnapshotOrBuilder- Returns:
- Whether the sourceSnapshotSchedulePolicyId field is set.
-
getSourceSnapshotSchedulePolicyId
Output only. [Output Only] ID of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy_id = 70489047;- Specified by:
getSourceSnapshotSchedulePolicyIdin interfaceSnapshotOrBuilder- Returns:
- The sourceSnapshotSchedulePolicyId.
-
getSourceSnapshotSchedulePolicyIdBytes
public com.google.protobuf.ByteString getSourceSnapshotSchedulePolicyIdBytes()Output only. [Output Only] ID of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy_id = 70489047;- Specified by:
getSourceSnapshotSchedulePolicyIdBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for sourceSnapshotSchedulePolicyId.
-
setSourceSnapshotSchedulePolicyId
Output only. [Output Only] ID of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy_id = 70489047;- Parameters:
value- The sourceSnapshotSchedulePolicyId to set.- Returns:
- This builder for chaining.
-
clearSourceSnapshotSchedulePolicyId
Output only. [Output Only] ID of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy_id = 70489047;- Returns:
- This builder for chaining.
-
setSourceSnapshotSchedulePolicyIdBytes
public Snapshot.Builder setSourceSnapshotSchedulePolicyIdBytes(com.google.protobuf.ByteString value) Output only. [Output Only] ID of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy_id = 70489047;- Parameters:
value- The bytes for sourceSnapshotSchedulePolicyId to set.- Returns:
- This builder for chaining.
-
hasStatus
public boolean hasStatus()Output only. [Output Only] The status of the snapshot. This can beCREATING, DELETING, FAILED,READY, or UPLOADING. Check the Status enum for the list of possible values.
optional string status = 181260274;- Specified by:
hasStatusin interfaceSnapshotOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Output only. [Output Only] The status of the snapshot. This can beCREATING, DELETING, FAILED,READY, or UPLOADING. Check the Status enum for the list of possible values.
optional string status = 181260274;- Specified by:
getStatusin interfaceSnapshotOrBuilder- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()Output only. [Output Only] The status of the snapshot. This can beCREATING, DELETING, FAILED,READY, or UPLOADING. Check the Status enum for the list of possible values.
optional string status = 181260274;- Specified by:
getStatusBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for status.
-
setStatus
Output only. [Output Only] The status of the snapshot. This can beCREATING, DELETING, FAILED,READY, or UPLOADING. Check the Status enum for the list of possible values.
optional string status = 181260274;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Output only. [Output Only] The status of the snapshot. This can beCREATING, DELETING, FAILED,READY, or UPLOADING. Check the Status enum for the list of possible values.
optional string status = 181260274;- Returns:
- This builder for chaining.
-
setStatusBytes
Output only. [Output Only] The status of the snapshot. This can beCREATING, DELETING, FAILED,READY, or UPLOADING. Check the Status enum for the list of possible values.
optional string status = 181260274;- Parameters:
value- The bytes for status to set.- Returns:
- This builder for chaining.
-
hasStorageBytes
public boolean hasStorageBytes()Output only. [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.
optional int64 storage_bytes = 424631719;- Specified by:
hasStorageBytesin interfaceSnapshotOrBuilder- Returns:
- Whether the storageBytes field is set.
-
getStorageBytes
public long getStorageBytes()Output only. [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.
optional int64 storage_bytes = 424631719;- Specified by:
getStorageBytesin interfaceSnapshotOrBuilder- Returns:
- The storageBytes.
-
setStorageBytes
Output only. [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.
optional int64 storage_bytes = 424631719;- Parameters:
value- The storageBytes to set.- Returns:
- This builder for chaining.
-
clearStorageBytes
Output only. [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.
optional int64 storage_bytes = 424631719;- Returns:
- This builder for chaining.
-
hasStorageBytesStatus
public boolean hasStorageBytesStatus()Output only. [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. Check the StorageBytesStatus enum for the list of possible values.
optional string storage_bytes_status = 490739082;- Specified by:
hasStorageBytesStatusin interfaceSnapshotOrBuilder- Returns:
- Whether the storageBytesStatus field is set.
-
getStorageBytesStatus
Output only. [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. Check the StorageBytesStatus enum for the list of possible values.
optional string storage_bytes_status = 490739082;- Specified by:
getStorageBytesStatusin interfaceSnapshotOrBuilder- Returns:
- The storageBytesStatus.
-
getStorageBytesStatusBytes
public com.google.protobuf.ByteString getStorageBytesStatusBytes()Output only. [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. Check the StorageBytesStatus enum for the list of possible values.
optional string storage_bytes_status = 490739082;- Specified by:
getStorageBytesStatusBytesin interfaceSnapshotOrBuilder- Returns:
- The bytes for storageBytesStatus.
-
setStorageBytesStatus
Output only. [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. Check the StorageBytesStatus enum for the list of possible values.
optional string storage_bytes_status = 490739082;- Parameters:
value- The storageBytesStatus to set.- Returns:
- This builder for chaining.
-
clearStorageBytesStatus
Output only. [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. Check the StorageBytesStatus enum for the list of possible values.
optional string storage_bytes_status = 490739082;- Returns:
- This builder for chaining.
-
setStorageBytesStatusBytes
Output only. [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. Check the StorageBytesStatus enum for the list of possible values.
optional string storage_bytes_status = 490739082;- Parameters:
value- The bytes for storageBytesStatus to set.- Returns:
- This builder for chaining.
-
getStorageLocationsList
public com.google.protobuf.ProtocolStringList getStorageLocationsList()Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;- Specified by:
getStorageLocationsListin interfaceSnapshotOrBuilder- Returns:
- A list containing the storageLocations.
-
getStorageLocationsCount
public int getStorageLocationsCount()Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;- Specified by:
getStorageLocationsCountin interfaceSnapshotOrBuilder- Returns:
- The count of storageLocations.
-
getStorageLocations
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;- Specified by:
getStorageLocationsin interfaceSnapshotOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The storageLocations at the given index.
-
getStorageLocationsBytes
public com.google.protobuf.ByteString getStorageLocationsBytes(int index) Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;- Specified by:
getStorageLocationsBytesin interfaceSnapshotOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the storageLocations at the given index.
-
setStorageLocations
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;- Parameters:
index- The index to set the value at.value- The storageLocations to set.- Returns:
- This builder for chaining.
-
addStorageLocations
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;- Parameters:
value- The storageLocations to add.- Returns:
- This builder for chaining.
-
addAllStorageLocations
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;- Parameters:
values- The storageLocations to add.- Returns:
- This builder for chaining.
-
clearStorageLocations
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;- Returns:
- This builder for chaining.
-
addStorageLocationsBytes
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;- Parameters:
value- The bytes of the storageLocations to add.- Returns:
- This builder for chaining.
-