public static final class SavedAttachedDisk.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SavedAttachedDisk.Builder> implements SavedAttachedDiskOrBuilder
DEPRECATED: Please use compute#savedDisk instead. An instance-attached disk resource.Protobuf type
google.cloud.compute.v1.SavedAttachedDisk| Modifier and Type | Method and Description |
|---|---|
SavedAttachedDisk.Builder |
addAllGuestOsFeatures(Iterable<? extends GuestOsFeature> values)
A list of features to enable on the guest operating system.
|
SavedAttachedDisk.Builder |
addAllLicenses(Iterable<String> values)
[Output Only] Any valid publicly visible licenses.
|
SavedAttachedDisk.Builder |
addGuestOsFeatures(GuestOsFeature.Builder builderForValue)
A list of features to enable on the guest operating system.
|
SavedAttachedDisk.Builder |
addGuestOsFeatures(GuestOsFeature value)
A list of features to enable on the guest operating system.
|
SavedAttachedDisk.Builder |
addGuestOsFeatures(int index,
GuestOsFeature.Builder builderForValue)
A list of features to enable on the guest operating system.
|
SavedAttachedDisk.Builder |
addGuestOsFeatures(int index,
GuestOsFeature value)
A list of features to enable on the guest operating system.
|
GuestOsFeature.Builder |
addGuestOsFeaturesBuilder()
A list of features to enable on the guest operating system.
|
GuestOsFeature.Builder |
addGuestOsFeaturesBuilder(int index)
A list of features to enable on the guest operating system.
|
SavedAttachedDisk.Builder |
addLicenses(String value)
[Output Only] Any valid publicly visible licenses.
|
SavedAttachedDisk.Builder |
addLicensesBytes(com.google.protobuf.ByteString value)
[Output Only] Any valid publicly visible licenses.
|
SavedAttachedDisk.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SavedAttachedDisk |
build() |
SavedAttachedDisk |
buildPartial() |
SavedAttachedDisk.Builder |
clear() |
SavedAttachedDisk.Builder |
clearAutoDelete()
Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
|
SavedAttachedDisk.Builder |
clearBoot()
Indicates that this is a boot disk.
|
SavedAttachedDisk.Builder |
clearDeviceName()
Specifies the name of the disk attached to the source instance.
|
SavedAttachedDisk.Builder |
clearDiskEncryptionKey()
The encryption key for the disk.
|
SavedAttachedDisk.Builder |
clearDiskSizeGb()
The size of the disk in base-2 GB.
|
SavedAttachedDisk.Builder |
clearDiskType()
[Output Only] URL of the disk type resource.
|
SavedAttachedDisk.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SavedAttachedDisk.Builder |
clearGuestOsFeatures()
A list of features to enable on the guest operating system.
|
SavedAttachedDisk.Builder |
clearIndex()
Specifies zero-based index of the disk that is attached to the source instance.
|
SavedAttachedDisk.Builder |
clearInterface()
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
|
SavedAttachedDisk.Builder |
clearKind()
[Output Only] Type of the resource.
|
SavedAttachedDisk.Builder |
clearLicenses()
[Output Only] Any valid publicly visible licenses.
|
SavedAttachedDisk.Builder |
clearMode()
The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
|
SavedAttachedDisk.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SavedAttachedDisk.Builder |
clearSource()
Specifies a URL of the disk attached to the source instance.
|
SavedAttachedDisk.Builder |
clearStorageBytes()
[Output Only] A size of the storage used by the disk's snapshot by this machine image.
|
SavedAttachedDisk.Builder |
clearStorageBytesStatus()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
|
SavedAttachedDisk.Builder |
clearType()
Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
|
SavedAttachedDisk.Builder |
clone() |
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).
|
boolean |
getBoot()
Indicates that this is a boot disk.
|
SavedAttachedDisk |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDeviceName()
Specifies the name of the disk attached to the source instance.
|
com.google.protobuf.ByteString |
getDeviceNameBytes()
Specifies the name of the disk attached to the source instance.
|
CustomerEncryptionKey |
getDiskEncryptionKey()
The encryption key for the disk.
|
CustomerEncryptionKey.Builder |
getDiskEncryptionKeyBuilder()
The encryption key for the disk.
|
CustomerEncryptionKeyOrBuilder |
getDiskEncryptionKeyOrBuilder()
The encryption key for the disk.
|
long |
getDiskSizeGb()
The size of the disk in base-2 GB.
|
String |
getDiskType()
[Output Only] URL of the disk type resource.
|
com.google.protobuf.ByteString |
getDiskTypeBytes()
[Output Only] URL of the disk type resource.
|
GuestOsFeature |
getGuestOsFeatures(int index)
A list of features to enable on the guest operating system.
|
GuestOsFeature.Builder |
getGuestOsFeaturesBuilder(int index)
A list of features to enable on the guest operating system.
|
List<GuestOsFeature.Builder> |
getGuestOsFeaturesBuilderList()
A list of features to enable on the guest operating system.
|
int |
getGuestOsFeaturesCount()
A list of features to enable on the guest operating system.
|
List<GuestOsFeature> |
getGuestOsFeaturesList()
A list of features to enable on the guest operating system.
|
GuestOsFeatureOrBuilder |
getGuestOsFeaturesOrBuilder(int index)
A list of features to enable on the guest operating system.
|
List<? extends GuestOsFeatureOrBuilder> |
getGuestOsFeaturesOrBuilderList()
A list of features to enable on the guest operating system.
|
int |
getIndex()
Specifies zero-based index of the disk that is attached to the source instance.
|
String |
getInterface()
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
|
com.google.protobuf.ByteString |
getInterfaceBytes()
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
|
String |
getKind()
[Output Only] Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of the resource.
|
String |
getLicenses(int index)
[Output Only] Any valid publicly visible licenses.
|
com.google.protobuf.ByteString |
getLicensesBytes(int index)
[Output Only] Any valid publicly visible licenses.
|
int |
getLicensesCount()
[Output Only] Any valid publicly visible licenses.
|
com.google.protobuf.ProtocolStringList |
getLicensesList()
[Output Only] Any valid publicly visible licenses.
|
String |
getMode()
The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
|
com.google.protobuf.ByteString |
getModeBytes()
The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
|
String |
getSource()
Specifies a URL of the disk attached to the source instance.
|
com.google.protobuf.ByteString |
getSourceBytes()
Specifies a URL of the disk attached to the source instance.
|
long |
getStorageBytes()
[Output Only] A size of the storage used by the disk's snapshot by this machine image.
|
String |
getStorageBytesStatus()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
|
com.google.protobuf.ByteString |
getStorageBytesStatusBytes()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
|
String |
getType()
Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
|
com.google.protobuf.ByteString |
getTypeBytes()
Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
|
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).
|
boolean |
hasBoot()
Indicates that this is a boot disk.
|
boolean |
hasDeviceName()
Specifies the name of the disk attached to the source instance.
|
boolean |
hasDiskEncryptionKey()
The encryption key for the disk.
|
boolean |
hasDiskSizeGb()
The size of the disk in base-2 GB.
|
boolean |
hasDiskType()
[Output Only] URL of the disk type resource.
|
boolean |
hasIndex()
Specifies zero-based index of the disk that is attached to the source instance.
|
boolean |
hasInterface()
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
|
boolean |
hasKind()
[Output Only] Type of the resource.
|
boolean |
hasMode()
The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
|
boolean |
hasSource()
Specifies a URL of the disk attached to the source instance.
|
boolean |
hasStorageBytes()
[Output Only] A size of the storage used by the disk's snapshot by this machine image.
|
boolean |
hasStorageBytesStatus()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
|
boolean |
hasType()
Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SavedAttachedDisk.Builder |
mergeDiskEncryptionKey(CustomerEncryptionKey value)
The encryption key for the disk.
|
SavedAttachedDisk.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedAttachedDisk.Builder |
mergeFrom(com.google.protobuf.Message other) |
SavedAttachedDisk.Builder |
mergeFrom(SavedAttachedDisk other) |
SavedAttachedDisk.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SavedAttachedDisk.Builder |
removeGuestOsFeatures(int index)
A list of features to enable on the guest operating system.
|
SavedAttachedDisk.Builder |
setAutoDelete(boolean value)
Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
|
SavedAttachedDisk.Builder |
setBoot(boolean value)
Indicates that this is a boot disk.
|
SavedAttachedDisk.Builder |
setDeviceName(String value)
Specifies the name of the disk attached to the source instance.
|
SavedAttachedDisk.Builder |
setDeviceNameBytes(com.google.protobuf.ByteString value)
Specifies the name of the disk attached to the source instance.
|
SavedAttachedDisk.Builder |
setDiskEncryptionKey(CustomerEncryptionKey.Builder builderForValue)
The encryption key for the disk.
|
SavedAttachedDisk.Builder |
setDiskEncryptionKey(CustomerEncryptionKey value)
The encryption key for the disk.
|
SavedAttachedDisk.Builder |
setDiskSizeGb(long value)
The size of the disk in base-2 GB.
|
SavedAttachedDisk.Builder |
setDiskType(String value)
[Output Only] URL of the disk type resource.
|
SavedAttachedDisk.Builder |
setDiskTypeBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the disk type resource.
|
SavedAttachedDisk.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SavedAttachedDisk.Builder |
setGuestOsFeatures(int index,
GuestOsFeature.Builder builderForValue)
A list of features to enable on the guest operating system.
|
SavedAttachedDisk.Builder |
setGuestOsFeatures(int index,
GuestOsFeature value)
A list of features to enable on the guest operating system.
|
SavedAttachedDisk.Builder |
setIndex(int value)
Specifies zero-based index of the disk that is attached to the source instance.
|
SavedAttachedDisk.Builder |
setInterface(String value)
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
|
SavedAttachedDisk.Builder |
setInterfaceBytes(com.google.protobuf.ByteString value)
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.
|
SavedAttachedDisk.Builder |
setKind(String value)
[Output Only] Type of the resource.
|
SavedAttachedDisk.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource.
|
SavedAttachedDisk.Builder |
setLicenses(int index,
String value)
[Output Only] Any valid publicly visible licenses.
|
SavedAttachedDisk.Builder |
setMode(String value)
The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
|
SavedAttachedDisk.Builder |
setModeBytes(com.google.protobuf.ByteString value)
The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY.
|
SavedAttachedDisk.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SavedAttachedDisk.Builder |
setSource(String value)
Specifies a URL of the disk attached to the source instance.
|
SavedAttachedDisk.Builder |
setSourceBytes(com.google.protobuf.ByteString value)
Specifies a URL of the disk attached to the source instance.
|
SavedAttachedDisk.Builder |
setStorageBytes(long value)
[Output Only] A size of the storage used by the disk's snapshot by this machine image.
|
SavedAttachedDisk.Builder |
setStorageBytesStatus(String value)
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
|
SavedAttachedDisk.Builder |
setStorageBytesStatusBytes(com.google.protobuf.ByteString value)
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
|
SavedAttachedDisk.Builder |
setType(String value)
Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
|
SavedAttachedDisk.Builder |
setTypeBytes(com.google.protobuf.ByteString value)
Specifies the type of the attached disk, either SCRATCH or PERSISTENT.
|
SavedAttachedDisk.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SavedAttachedDisk.Builder>public SavedAttachedDisk.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SavedAttachedDisk.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SavedAttachedDisk.Builder>public SavedAttachedDisk getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SavedAttachedDisk build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SavedAttachedDisk buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SavedAttachedDisk.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SavedAttachedDisk.Builder>public SavedAttachedDisk.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SavedAttachedDisk.Builder>public SavedAttachedDisk.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SavedAttachedDisk.Builder>public SavedAttachedDisk.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SavedAttachedDisk.Builder>public SavedAttachedDisk.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SavedAttachedDisk.Builder>public SavedAttachedDisk.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SavedAttachedDisk.Builder>public SavedAttachedDisk.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SavedAttachedDisk.Builder>public SavedAttachedDisk.Builder mergeFrom(SavedAttachedDisk other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SavedAttachedDisk.Builder>public SavedAttachedDisk.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SavedAttachedDisk.Builder>IOExceptionpublic 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;hasAutoDelete in interface SavedAttachedDiskOrBuilderpublic 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;getAutoDelete in interface SavedAttachedDiskOrBuilderpublic SavedAttachedDisk.Builder setAutoDelete(boolean value)
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;value - The autoDelete to set.public SavedAttachedDisk.Builder clearAutoDelete()
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;public 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;hasBoot in interface SavedAttachedDiskOrBuilderpublic 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;getBoot in interface SavedAttachedDiskOrBuilderpublic SavedAttachedDisk.Builder setBoot(boolean value)
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;value - The boot to set.public SavedAttachedDisk.Builder clearBoot()
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;public boolean hasDeviceName()
Specifies the name of the disk attached to the source instance.
optional string device_name = 67541716;hasDeviceName in interface SavedAttachedDiskOrBuilderpublic String getDeviceName()
Specifies the name of the disk attached to the source instance.
optional string device_name = 67541716;getDeviceName in interface SavedAttachedDiskOrBuilderpublic com.google.protobuf.ByteString getDeviceNameBytes()
Specifies the name of the disk attached to the source instance.
optional string device_name = 67541716;getDeviceNameBytes in interface SavedAttachedDiskOrBuilderpublic SavedAttachedDisk.Builder setDeviceName(String value)
Specifies the name of the disk attached to the source instance.
optional string device_name = 67541716;value - The deviceName to set.public SavedAttachedDisk.Builder clearDeviceName()
Specifies the name of the disk attached to the source instance.
optional string device_name = 67541716;public SavedAttachedDisk.Builder setDeviceNameBytes(com.google.protobuf.ByteString value)
Specifies the name of the disk attached to the source instance.
optional string device_name = 67541716;value - The bytes for deviceName to set.public boolean hasDiskEncryptionKey()
The encryption key for the disk.
optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677;
hasDiskEncryptionKey in interface SavedAttachedDiskOrBuilderpublic CustomerEncryptionKey getDiskEncryptionKey()
The encryption key for the disk.
optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677;
getDiskEncryptionKey in interface SavedAttachedDiskOrBuilderpublic SavedAttachedDisk.Builder setDiskEncryptionKey(CustomerEncryptionKey value)
The encryption key for the disk.
optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677;
public SavedAttachedDisk.Builder setDiskEncryptionKey(CustomerEncryptionKey.Builder builderForValue)
The encryption key for the disk.
optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677;
public SavedAttachedDisk.Builder mergeDiskEncryptionKey(CustomerEncryptionKey value)
The encryption key for the disk.
optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677;
public SavedAttachedDisk.Builder clearDiskEncryptionKey()
The encryption key for the disk.
optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677;
public CustomerEncryptionKey.Builder getDiskEncryptionKeyBuilder()
The encryption key for the disk.
optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677;
public CustomerEncryptionKeyOrBuilder getDiskEncryptionKeyOrBuilder()
The encryption key for the disk.
optional .google.cloud.compute.v1.CustomerEncryptionKey disk_encryption_key = 271660677;
getDiskEncryptionKeyOrBuilder in interface SavedAttachedDiskOrBuilderpublic boolean hasDiskSizeGb()
The size of the disk in base-2 GB.
optional int64 disk_size_gb = 316263735;hasDiskSizeGb in interface SavedAttachedDiskOrBuilderpublic long getDiskSizeGb()
The size of the disk in base-2 GB.
optional int64 disk_size_gb = 316263735;getDiskSizeGb in interface SavedAttachedDiskOrBuilderpublic SavedAttachedDisk.Builder setDiskSizeGb(long value)
The size of the disk in base-2 GB.
optional int64 disk_size_gb = 316263735;value - The diskSizeGb to set.public SavedAttachedDisk.Builder clearDiskSizeGb()
The size of the disk in base-2 GB.
optional int64 disk_size_gb = 316263735;public boolean hasDiskType()
[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;hasDiskType in interface SavedAttachedDiskOrBuilderpublic String getDiskType()
[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;getDiskType in interface SavedAttachedDiskOrBuilderpublic com.google.protobuf.ByteString getDiskTypeBytes()
[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;getDiskTypeBytes in interface SavedAttachedDiskOrBuilderpublic SavedAttachedDisk.Builder setDiskType(String value)
[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;value - The diskType to set.public SavedAttachedDisk.Builder clearDiskType()
[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;public SavedAttachedDisk.Builder setDiskTypeBytes(com.google.protobuf.ByteString value)
[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;value - The bytes for diskType to set.public 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;getGuestOsFeaturesList in interface SavedAttachedDiskOrBuilderpublic 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;getGuestOsFeaturesCount in interface SavedAttachedDiskOrBuilderpublic GuestOsFeature getGuestOsFeatures(int index)
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 in interface SavedAttachedDiskOrBuilderpublic SavedAttachedDisk.Builder setGuestOsFeatures(int index, GuestOsFeature value)
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;public SavedAttachedDisk.Builder setGuestOsFeatures(int index, GuestOsFeature.Builder builderForValue)
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;public SavedAttachedDisk.Builder addGuestOsFeatures(GuestOsFeature value)
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;public SavedAttachedDisk.Builder addGuestOsFeatures(int index, GuestOsFeature value)
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;public SavedAttachedDisk.Builder addGuestOsFeatures(GuestOsFeature.Builder builderForValue)
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;public SavedAttachedDisk.Builder addGuestOsFeatures(int index, GuestOsFeature.Builder builderForValue)
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;public SavedAttachedDisk.Builder addAllGuestOsFeatures(Iterable<? extends GuestOsFeature> values)
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;public SavedAttachedDisk.Builder clearGuestOsFeatures()
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;public SavedAttachedDisk.Builder removeGuestOsFeatures(int index)
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;public GuestOsFeature.Builder getGuestOsFeaturesBuilder(int index)
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;public GuestOsFeatureOrBuilder getGuestOsFeaturesOrBuilder(int index)
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 in interface SavedAttachedDiskOrBuilderpublic 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;getGuestOsFeaturesOrBuilderList in interface SavedAttachedDiskOrBuilderpublic GuestOsFeature.Builder addGuestOsFeaturesBuilder()
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;public GuestOsFeature.Builder addGuestOsFeaturesBuilder(int index)
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;public List<GuestOsFeature.Builder> getGuestOsFeaturesBuilderList()
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;public boolean hasIndex()
Specifies zero-based index of the disk that is attached to the source instance.
optional int32 index = 100346066;hasIndex in interface SavedAttachedDiskOrBuilderpublic int getIndex()
Specifies zero-based index of the disk that is attached to the source instance.
optional int32 index = 100346066;getIndex in interface SavedAttachedDiskOrBuilderpublic SavedAttachedDisk.Builder setIndex(int value)
Specifies zero-based index of the disk that is attached to the source instance.
optional int32 index = 100346066;value - The index to set.public SavedAttachedDisk.Builder clearIndex()
Specifies zero-based index of the disk that is attached to the source instance.
optional int32 index = 100346066;public 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;hasInterface in interface SavedAttachedDiskOrBuilderpublic 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;getInterface in interface SavedAttachedDiskOrBuilderpublic 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;getInterfaceBytes in interface SavedAttachedDiskOrBuilderpublic SavedAttachedDisk.Builder setInterface(String value)
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;value - The interface to set.public SavedAttachedDisk.Builder clearInterface()
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;public SavedAttachedDisk.Builder setInterfaceBytes(com.google.protobuf.ByteString value)
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;value - The bytes for interface to set.public boolean hasKind()
[Output Only] Type of the resource. Always compute#attachedDisk for attached disks.
optional string kind = 3292052;hasKind in interface SavedAttachedDiskOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#attachedDisk for attached disks.
optional string kind = 3292052;getKind in interface SavedAttachedDiskOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#attachedDisk for attached disks.
optional string kind = 3292052;getKindBytes in interface SavedAttachedDiskOrBuilderpublic SavedAttachedDisk.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#attachedDisk for attached disks.
optional string kind = 3292052;value - The kind to set.public SavedAttachedDisk.Builder clearKind()
[Output Only] Type of the resource. Always compute#attachedDisk for attached disks.
optional string kind = 3292052;public SavedAttachedDisk.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always compute#attachedDisk for attached disks.
optional string kind = 3292052;value - The bytes for kind to set.public com.google.protobuf.ProtocolStringList getLicensesList()
[Output Only] Any valid publicly visible licenses.
repeated string licenses = 337642578;getLicensesList in interface SavedAttachedDiskOrBuilderpublic int getLicensesCount()
[Output Only] Any valid publicly visible licenses.
repeated string licenses = 337642578;getLicensesCount in interface SavedAttachedDiskOrBuilderpublic String getLicenses(int index)
[Output Only] Any valid publicly visible licenses.
repeated string licenses = 337642578;getLicenses in interface SavedAttachedDiskOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getLicensesBytes(int index)
[Output Only] Any valid publicly visible licenses.
repeated string licenses = 337642578;getLicensesBytes in interface SavedAttachedDiskOrBuilderindex - The index of the value to return.public SavedAttachedDisk.Builder setLicenses(int index, String value)
[Output Only] Any valid publicly visible licenses.
repeated string licenses = 337642578;index - The index to set the value at.value - The licenses to set.public SavedAttachedDisk.Builder addLicenses(String value)
[Output Only] Any valid publicly visible licenses.
repeated string licenses = 337642578;value - The licenses to add.public SavedAttachedDisk.Builder addAllLicenses(Iterable<String> values)
[Output Only] Any valid publicly visible licenses.
repeated string licenses = 337642578;values - The licenses to add.public SavedAttachedDisk.Builder clearLicenses()
[Output Only] Any valid publicly visible licenses.
repeated string licenses = 337642578;public SavedAttachedDisk.Builder addLicensesBytes(com.google.protobuf.ByteString value)
[Output Only] Any valid publicly visible licenses.
repeated string licenses = 337642578;value - The bytes of the licenses to add.public boolean hasMode()
The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY. Check the Mode enum for the list of possible values.
optional string mode = 3357091;hasMode in interface SavedAttachedDiskOrBuilderpublic String getMode()
The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY. Check the Mode enum for the list of possible values.
optional string mode = 3357091;getMode in interface SavedAttachedDiskOrBuilderpublic com.google.protobuf.ByteString getModeBytes()
The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY. Check the Mode enum for the list of possible values.
optional string mode = 3357091;getModeBytes in interface SavedAttachedDiskOrBuilderpublic SavedAttachedDisk.Builder setMode(String value)
The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY. Check the Mode enum for the list of possible values.
optional string mode = 3357091;value - The mode to set.public SavedAttachedDisk.Builder clearMode()
The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY. Check the Mode enum for the list of possible values.
optional string mode = 3357091;public SavedAttachedDisk.Builder setModeBytes(com.google.protobuf.ByteString value)
The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY. Check the Mode enum for the list of possible values.
optional string mode = 3357091;value - The bytes for mode to set.public boolean hasSource()
Specifies a URL of the disk attached to the source instance.
optional string source = 177235995;hasSource in interface SavedAttachedDiskOrBuilderpublic String getSource()
Specifies a URL of the disk attached to the source instance.
optional string source = 177235995;getSource in interface SavedAttachedDiskOrBuilderpublic com.google.protobuf.ByteString getSourceBytes()
Specifies a URL of the disk attached to the source instance.
optional string source = 177235995;getSourceBytes in interface SavedAttachedDiskOrBuilderpublic SavedAttachedDisk.Builder setSource(String value)
Specifies a URL of the disk attached to the source instance.
optional string source = 177235995;value - The source to set.public SavedAttachedDisk.Builder clearSource()
Specifies a URL of the disk attached to the source instance.
optional string source = 177235995;public SavedAttachedDisk.Builder setSourceBytes(com.google.protobuf.ByteString value)
Specifies a URL of the disk attached to the source instance.
optional string source = 177235995;value - The bytes for source to set.public boolean hasStorageBytes()
[Output Only] A size of the storage used by the disk's snapshot by this machine image.
optional int64 storage_bytes = 424631719;hasStorageBytes in interface SavedAttachedDiskOrBuilderpublic long getStorageBytes()
[Output Only] A size of the storage used by the disk's snapshot by this machine image.
optional int64 storage_bytes = 424631719;getStorageBytes in interface SavedAttachedDiskOrBuilderpublic SavedAttachedDisk.Builder setStorageBytes(long value)
[Output Only] A size of the storage used by the disk's snapshot by this machine image.
optional int64 storage_bytes = 424631719;value - The storageBytes to set.public SavedAttachedDisk.Builder clearStorageBytes()
[Output Only] A size of the storage used by the disk's snapshot by this machine image.
optional int64 storage_bytes = 424631719;public boolean hasStorageBytesStatus()
[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;hasStorageBytesStatus in interface SavedAttachedDiskOrBuilderpublic String getStorageBytesStatus()
[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;getStorageBytesStatus in interface SavedAttachedDiskOrBuilderpublic com.google.protobuf.ByteString getStorageBytesStatusBytes()
[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;getStorageBytesStatusBytes in interface SavedAttachedDiskOrBuilderpublic SavedAttachedDisk.Builder setStorageBytesStatus(String value)
[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;value - The storageBytesStatus to set.public SavedAttachedDisk.Builder clearStorageBytesStatus()
[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;public SavedAttachedDisk.Builder setStorageBytesStatusBytes(com.google.protobuf.ByteString value)
[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;value - The bytes for storageBytesStatus to set.public boolean hasType()
Specifies the type of the attached disk, either SCRATCH or PERSISTENT. Check the Type enum for the list of possible values.
optional string type = 3575610;hasType in interface SavedAttachedDiskOrBuilderpublic String getType()
Specifies the type of the attached disk, either SCRATCH or PERSISTENT. Check the Type enum for the list of possible values.
optional string type = 3575610;getType in interface SavedAttachedDiskOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
Specifies the type of the attached disk, either SCRATCH or PERSISTENT. Check the Type enum for the list of possible values.
optional string type = 3575610;getTypeBytes in interface SavedAttachedDiskOrBuilderpublic SavedAttachedDisk.Builder setType(String value)
Specifies the type of the attached disk, either SCRATCH or PERSISTENT. Check the Type enum for the list of possible values.
optional string type = 3575610;value - The type to set.public SavedAttachedDisk.Builder clearType()
Specifies the type of the attached disk, either SCRATCH or PERSISTENT. Check the Type enum for the list of possible values.
optional string type = 3575610;public SavedAttachedDisk.Builder setTypeBytes(com.google.protobuf.ByteString value)
Specifies the type of the attached disk, either SCRATCH or PERSISTENT. Check the Type enum for the list of possible values.
optional string type = 3575610;value - The bytes for type to set.public final SavedAttachedDisk.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SavedAttachedDisk.Builder>public final SavedAttachedDisk.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SavedAttachedDisk.Builder>Copyright © 2023 Google LLC. All rights reserved.