Interface BootDiskDefaultsOrBuilder (1.74.0)

public interface BootDiskDefaultsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeviceName()

public abstract String getDeviceName()

Optional. Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.

string device_name = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The deviceName.

getDeviceNameBytes()

public abstract ByteString getDeviceNameBytes()

Optional. Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.

string device_name = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for deviceName.

getDiskName()

public abstract String getDiskName()

Optional. The name of the disk.

string disk_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The diskName.

getDiskNameBytes()

public abstract ByteString getDiskNameBytes()

Optional. The name of the disk.

string disk_name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for diskName.

getDiskType()

public abstract ComputeEngineDiskType getDiskType()

Optional. The type of disk provisioning to use for the VM.

.google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ComputeEngineDiskType

The diskType.

getDiskTypeValue()

public abstract int getDiskTypeValue()

Optional. The type of disk provisioning to use for the VM.

.google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for diskType.

getEncryption()

public abstract Encryption getEncryption()

Optional. The encryption to apply to the boot disk.

.google.cloud.vmmigration.v1.Encryption encryption = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Encryption

The encryption.

getEncryptionOrBuilder()

public abstract EncryptionOrBuilder getEncryptionOrBuilder()

Optional. The encryption to apply to the boot disk.

.google.cloud.vmmigration.v1.Encryption encryption = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EncryptionOrBuilder

getImage()

public abstract BootDiskDefaults.DiskImageDefaults getImage()

The image to use when creating the disk.

.google.cloud.vmmigration.v1.BootDiskDefaults.DiskImageDefaults image = 3;

Returns
Type Description
BootDiskDefaults.DiskImageDefaults

The image.

getImageOrBuilder()

public abstract BootDiskDefaults.DiskImageDefaultsOrBuilder getImageOrBuilder()

The image to use when creating the disk.

.google.cloud.vmmigration.v1.BootDiskDefaults.DiskImageDefaults image = 3;

Returns
Type Description
BootDiskDefaults.DiskImageDefaultsOrBuilder

getSourceCase()

public abstract BootDiskDefaults.SourceCase getSourceCase()
Returns
Type Description
BootDiskDefaults.SourceCase

hasEncryption()

public abstract boolean hasEncryption()

Optional. The encryption to apply to the boot disk.

.google.cloud.vmmigration.v1.Encryption encryption = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the encryption field is set.

hasImage()

public abstract boolean hasImage()

The image to use when creating the disk.

.google.cloud.vmmigration.v1.BootDiskDefaults.DiskImageDefaults image = 3;

Returns
Type Description
boolean

Whether the image field is set.