Interface AllocationPolicy.AttachedDiskOrBuilder (0.12.0)

public static interface AllocationPolicy.AttachedDiskOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttachedCase()

public abstract AllocationPolicy.AttachedDisk.AttachedCase getAttachedCase()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for deviceName.

getExistingDisk()

public abstract String getExistingDisk()

Name of an existing PD.

string existing_disk = 2;

Returns
Type Description
String

The existingDisk.

getExistingDiskBytes()

public abstract ByteString getExistingDiskBytes()

Name of an existing PD.

string existing_disk = 2;

Returns
Type Description
ByteString

The bytes for existingDisk.

getNewDisk()

public abstract AllocationPolicy.Disk getNewDisk()

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

Returns
Type Description
AllocationPolicy.Disk

The newDisk.

getNewDiskOrBuilder()

public abstract AllocationPolicy.DiskOrBuilder getNewDiskOrBuilder()

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

Returns
Type Description
AllocationPolicy.DiskOrBuilder

hasExistingDisk()

public abstract boolean hasExistingDisk()

Name of an existing PD.

string existing_disk = 2;

Returns
Type Description
boolean

Whether the existingDisk field is set.

hasNewDisk()

public abstract boolean hasNewDisk()

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

Returns
Type Description
boolean

Whether the newDisk field is set.