public static interface AllocationPolicy.AttachedDiskOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAttachedCase()
public abstract AllocationPolicy.AttachedDisk.AttachedCase getAttachedCase()
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;
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;
Type | Description |
ByteString | The bytes for deviceName. |
getExistingDisk()
public abstract String getExistingDisk()
Name of an existing PD.
string existing_disk = 2;
Type | Description |
String | The existingDisk. |
getExistingDiskBytes()
public abstract ByteString getExistingDiskBytes()
Name of an existing PD.
string existing_disk = 2;
Type | Description |
ByteString | The bytes for existingDisk. |
getNewDisk()
public abstract AllocationPolicy.Disk getNewDisk()
.google.cloud.batch.v1alpha.AllocationPolicy.Disk new_disk = 1;
Type | Description |
AllocationPolicy.Disk | The newDisk. |
getNewDiskOrBuilder()
public abstract AllocationPolicy.DiskOrBuilder getNewDiskOrBuilder()
.google.cloud.batch.v1alpha.AllocationPolicy.Disk new_disk = 1;
Type | Description |
AllocationPolicy.DiskOrBuilder |
hasExistingDisk()
public abstract boolean hasExistingDisk()
Name of an existing PD.
string existing_disk = 2;
Type | Description |
boolean | Whether the existingDisk field is set. |
hasNewDisk()
public abstract boolean hasNewDisk()
.google.cloud.batch.v1alpha.AllocationPolicy.Disk new_disk = 1;
Type | Description |
boolean | Whether the newDisk field is set. |