Interface AllocationPolicy.AttachedDiskOrBuilder (0.1.1)

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. If not specified, this is default to the disk name.

string device_name = 3;

Returns
Type Description
String

The deviceName.

getDeviceNameBytes()

public abstract ByteString getDeviceNameBytes()

Device name that the guest operating system will see. If not specified, this is default to the disk name.

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.v1.AllocationPolicy.Disk new_disk = 1;

Returns
Type Description
AllocationPolicy.Disk

The newDisk.

getNewDiskOrBuilder()

public abstract AllocationPolicy.DiskOrBuilder getNewDiskOrBuilder()

.google.cloud.batch.v1.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.v1.AllocationPolicy.Disk new_disk = 1;

Returns
Type Description
boolean

Whether the newDisk field is set.