Package com.google.cloud.compute.v1
Interface SavedAttachedDiskOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SavedAttachedDisk,SavedAttachedDisk.Builder
@Generated
public interface SavedAttachedDiskOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanSpecifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).booleangetBoot()Indicates that this is a boot disk.Specifies the name of the disk attached to the source instance.com.google.protobuf.ByteStringSpecifies the name of the disk attached to the source instance.The encryption key for the disk.The encryption key for the disk.longThe size of the disk in base-2 GB.Output only.com.google.protobuf.ByteStringOutput only.getGuestOsFeatures(int index) A list of features to enable on the guest operating system.intA list of features to enable on the guest operating system.A list of features to enable on the guest operating system.getGuestOsFeaturesOrBuilder(int index) A list of features to enable on the guest operating system.List<? extends GuestOsFeatureOrBuilder>A list of features to enable on the guest operating system.intgetIndex()Output only.Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.com.google.protobuf.ByteStringSpecifies the disk interface to use for attaching this disk, which is either SCSI or NVME.getKind()Output only.com.google.protobuf.ByteStringOutput only.getLicenses(int index) Output only.com.google.protobuf.ByteStringgetLicensesBytes(int index) Output only.intOutput only.Output only.getMode()The mode in which this disk is attached to the source instance, eitherREAD_WRITE or READ_ONLY.com.google.protobuf.ByteStringThe mode in which this disk is attached to the source instance, eitherREAD_WRITE or READ_ONLY.Specifies a URL of the disk attached to the source instance.com.google.protobuf.ByteStringSpecifies a URL of the disk attached to the source instance.longOutput only.Output only.com.google.protobuf.ByteStringOutput only.getType()Specifies the type of the attached disk, either SCRATCH orPERSISTENT.com.google.protobuf.ByteStringSpecifies the type of the attached disk, either SCRATCH orPERSISTENT.booleanSpecifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).booleanhasBoot()Indicates that this is a boot disk.booleanSpecifies the name of the disk attached to the source instance.booleanThe encryption key for the disk.booleanThe size of the disk in base-2 GB.booleanOutput only.booleanhasIndex()Output only.booleanSpecifies the disk interface to use for attaching this disk, which is either SCSI or NVME.booleanhasKind()Output only.booleanhasMode()The mode in which this disk is attached to the source instance, eitherREAD_WRITE or READ_ONLY.booleanSpecifies a URL of the disk attached to the source instance.booleanOutput only.booleanOutput only.booleanhasType()Specifies the type of the attached disk, either SCRATCH orPERSISTENT.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAutoDelete
boolean hasAutoDelete()Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
optional bool auto_delete = 464761403;- Returns:
- Whether the autoDelete field is set.
-
getAutoDelete
boolean getAutoDelete()Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
optional bool auto_delete = 464761403;- Returns:
- The autoDelete.
-
hasBoot
boolean hasBoot()Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.
optional bool boot = 3029746;- Returns:
- Whether the boot field is set.
-
getBoot
boolean getBoot()Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.
optional bool boot = 3029746;- Returns:
- The boot.
-
hasDeviceName
boolean hasDeviceName()Specifies the name of the disk attached to the source instance.
optional string device_name = 67541716;- Returns:
- Whether the deviceName field is set.
-
getDeviceName
String getDeviceName()Specifies the name of the disk attached to the source instance.
optional string device_name = 67541716;- Returns:
- The deviceName.
-
getDeviceNameBytes
com.google.protobuf.ByteString getDeviceNameBytes()Specifies the name of the disk attached to the source instance.
optional string device_name = 67541716;- Returns:
- The bytes for deviceName.
-
hasDiskEncryptionKey
boolean hasDiskEncryptionKey()The encryption key for the disk.
optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677;- Returns:
- Whether the diskEncryptionKey field is set.
-
getDiskEncryptionKey
CustomerEncryptionKey getDiskEncryptionKey()The encryption key for the disk.
optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677;- Returns:
- The diskEncryptionKey.
-
getDiskEncryptionKeyOrBuilder
CustomerEncryptionKeyOrBuilder getDiskEncryptionKeyOrBuilder()The encryption key for the disk.
optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677; -
hasDiskSizeGb
boolean hasDiskSizeGb()The size of the disk in base-2 GB.
optional int64 disk_size_gb = 316263735;- Returns:
- Whether the diskSizeGb field is set.
-
getDiskSizeGb
long getDiskSizeGb()The size of the disk in base-2 GB.
optional int64 disk_size_gb = 316263735;- Returns:
- The diskSizeGb.
-
hasDiskType
boolean hasDiskType()Output only. [Output Only] URL of the disk type resource. For example:projects/project/zones/zone/diskTypes/pd-standard or pd-ssd
optional string disk_type = 93009052;- Returns:
- Whether the diskType field is set.
-
getDiskType
String getDiskType()Output only. [Output Only] URL of the disk type resource. For example:projects/project/zones/zone/diskTypes/pd-standard or pd-ssd
optional string disk_type = 93009052;- Returns:
- The diskType.
-
getDiskTypeBytes
com.google.protobuf.ByteString getDiskTypeBytes()Output only. [Output Only] URL of the disk type resource. For example:projects/project/zones/zone/diskTypes/pd-standard or pd-ssd
optional string disk_type = 93009052;- Returns:
- The bytes for diskType.
-
getGuestOsFeaturesList
List<GuestOsFeature> getGuestOsFeaturesList()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; -
getGuestOsFeatures
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; -
getGuestOsFeaturesCount
int getGuestOsFeaturesCount()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; -
getGuestOsFeaturesOrBuilderList
List<? extends GuestOsFeatureOrBuilder> getGuestOsFeaturesOrBuilderList()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
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; -
hasIndex
boolean hasIndex()Output only. Specifies zero-based index of the disk that is attached to the source instance.
optional int32 index = 100346066;- Returns:
- Whether the index field is set.
-
getIndex
int getIndex()Output only. Specifies zero-based index of the disk that is attached to the source instance.
optional int32 index = 100346066;- Returns:
- The index.
-
hasInterface
boolean hasInterface()Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. Check the Interface enum for the list of possible values.
optional string interface = 502623545;- Returns:
- Whether the interface field is set.
-
getInterface
String getInterface()Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. Check the Interface enum for the list of possible values.
optional string interface = 502623545;- Returns:
- The interface.
-
getInterfaceBytes
com.google.protobuf.ByteString getInterfaceBytes()Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. Check the Interface enum for the list of possible values.
optional string interface = 502623545;- Returns:
- The bytes for interface.
-
hasKind
boolean hasKind()Output only. [Output Only] Type of the resource. Alwayscompute#attachedDisk for attached disks.
optional string kind = 3292052;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()Output only. [Output Only] Type of the resource. Alwayscompute#attachedDisk for attached disks.
optional string kind = 3292052;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Alwayscompute#attachedDisk for attached disks.
optional string kind = 3292052;- Returns:
- The bytes for kind.
-
getLicensesList
Output only. [Output Only] Any valid publicly visible licenses.
repeated string licenses = 337642578;- Returns:
- A list containing the licenses.
-
getLicensesCount
int getLicensesCount()Output only. [Output Only] Any valid publicly visible licenses.
repeated string licenses = 337642578;- Returns:
- The count of licenses.
-
getLicenses
Output only. [Output Only] Any valid publicly visible licenses.
repeated string licenses = 337642578;- Parameters:
index- The index of the element to return.- Returns:
- The licenses at the given index.
-
getLicensesBytes
com.google.protobuf.ByteString getLicensesBytes(int index) Output only. [Output Only] Any valid publicly visible licenses.
repeated string licenses = 337642578;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the licenses at the given index.
-
hasMode
boolean hasMode()The mode in which this disk is attached to the source instance, eitherREAD_WRITE or READ_ONLY. Check the Mode enum for the list of possible values.
optional string mode = 3357091;- Returns:
- Whether the mode field is set.
-
getMode
String getMode()The mode in which this disk is attached to the source instance, eitherREAD_WRITE or READ_ONLY. Check the Mode enum for the list of possible values.
optional string mode = 3357091;- Returns:
- The mode.
-
getModeBytes
com.google.protobuf.ByteString getModeBytes()The mode in which this disk is attached to the source instance, eitherREAD_WRITE or READ_ONLY. Check the Mode enum for the list of possible values.
optional string mode = 3357091;- Returns:
- The bytes for mode.
-
hasSource
boolean hasSource()Specifies a URL of the disk attached to the source instance.
optional string source = 177235995;- Returns:
- Whether the source field is set.
-
getSource
String getSource()Specifies a URL of the disk attached to the source instance.
optional string source = 177235995;- Returns:
- The source.
-
getSourceBytes
com.google.protobuf.ByteString getSourceBytes()Specifies a URL of the disk attached to the source instance.
optional string source = 177235995;- Returns:
- The bytes for source.
-
hasStorageBytes
boolean hasStorageBytes()Output only. [Output Only] A size of the storage used by the disk's snapshot by this machine image.
optional int64 storage_bytes = 424631719;- Returns:
- Whether the storageBytes field is set.
-
getStorageBytes
long getStorageBytes()Output only. [Output Only] A size of the storage used by the disk's snapshot by this machine image.
optional int64 storage_bytes = 424631719;- Returns:
- The storageBytes.
-
hasStorageBytesStatus
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;- Returns:
- Whether the storageBytesStatus field is set.
-
getStorageBytesStatus
String 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;- Returns:
- The storageBytesStatus.
-
getStorageBytesStatusBytes
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;- Returns:
- The bytes for storageBytesStatus.
-
hasType
boolean hasType()Specifies the type of the attached disk, either SCRATCH orPERSISTENT. Check the Type enum for the list of possible values.
optional string type = 3575610;- Returns:
- Whether the type field is set.
-
getType
String getType()Specifies the type of the attached disk, either SCRATCH orPERSISTENT. Check the Type enum for the list of possible values.
optional string type = 3575610;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()Specifies the type of the attached disk, either SCRATCH orPERSISTENT. Check the Type enum for the list of possible values.
optional string type = 3575610;- Returns:
- The bytes for type.
-