Interface RestoreDiskFromInstanceOptionsOrBuilder (0.58.0)

public interface RestoreDiskFromInstanceOptionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBootDisk()

public abstract boolean getBootDisk()

Set to true to restore the boot disk from the instance backup. This field should only be set to true if selected.

bool boot_disk = 2;

Returns
Type Description
boolean

The bootDisk.

getSourceDeviceName()

public abstract String getSourceDeviceName()

The device name of the disk to restore from the VM backup.

string source_device_name = 1;

Returns
Type Description
String

The sourceDeviceName.

getSourceDeviceNameBytes()

public abstract ByteString getSourceDeviceNameBytes()

The device name of the disk to restore from the VM backup.

string source_device_name = 1;

Returns
Type Description
ByteString

The bytes for sourceDeviceName.

getSourceDiskCase()

public abstract RestoreDiskFromInstanceOptions.SourceDiskCase getSourceDiskCase()
Returns
Type Description
RestoreDiskFromInstanceOptions.SourceDiskCase

hasBootDisk()

public abstract boolean hasBootDisk()

Set to true to restore the boot disk from the instance backup. This field should only be set to true if selected.

bool boot_disk = 2;

Returns
Type Description
boolean

Whether the bootDisk field is set.

hasSourceDeviceName()

public abstract boolean hasSourceDeviceName()

The device name of the disk to restore from the VM backup.

string source_device_name = 1;

Returns
Type Description
boolean

Whether the sourceDeviceName field is set.