Interface AllocationPolicy.AttachedDiskOrBuilder (0.21.0)

public static interface AllocationPolicy.AttachedDiskOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttachedCase()

public abstract AllocationPolicy.AttachedDisk.AttachedCase getAttachedCase()
Returns
TypeDescription
AllocationPolicy.AttachedDisk.AttachedCase

getDeviceName()

public abstract String getDeviceName()

Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.

string device_name = 3;

Returns
TypeDescription
String

The deviceName.

getDeviceNameBytes()

public abstract ByteString getDeviceNameBytes()

Device name that the guest operating system will see. It is used by Runnable.volumes field to mount disks. So please specify the device_name if you want Batch to help mount the disk, and it should match the device_name field in volumes.

string device_name = 3;

Returns
TypeDescription
ByteString

The bytes for deviceName.

getExistingDisk()

public abstract String getExistingDisk()

Name of an existing PD.

string existing_disk = 2;

Returns
TypeDescription
String

The existingDisk.

getExistingDiskBytes()

public abstract ByteString getExistingDiskBytes()

Name of an existing PD.

string existing_disk = 2;

Returns
TypeDescription
ByteString

The bytes for existingDisk.

getNewDisk()

public abstract AllocationPolicy.Disk getNewDisk()

.google.cloud.batch.v1.AllocationPolicy.Disk new_disk = 1;

Returns
TypeDescription
AllocationPolicy.Disk

The newDisk.

getNewDiskOrBuilder()

public abstract AllocationPolicy.DiskOrBuilder getNewDiskOrBuilder()

.google.cloud.batch.v1.AllocationPolicy.Disk new_disk = 1;

Returns
TypeDescription
AllocationPolicy.DiskOrBuilder

hasExistingDisk()

public abstract boolean hasExistingDisk()

Name of an existing PD.

string existing_disk = 2;

Returns
TypeDescription
boolean

Whether the existingDisk field is set.

hasNewDisk()

public abstract boolean hasNewDisk()

.google.cloud.batch.v1.AllocationPolicy.Disk new_disk = 1;

Returns
TypeDescription
boolean

Whether the newDisk field is set.