Package com.google.cloud.batch.v1alpha
Interface AllocationPolicy.AttachedDiskOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AllocationPolicy.AttachedDisk
,AllocationPolicy.AttachedDisk.Builder
- Enclosing class:
- AllocationPolicy
public static interface AllocationPolicy.AttachedDiskOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AllocationPolicy.AttachedDisk.AttachedCase
getAttachedCase()
String
getDeviceName()
Device name that the guest operating system will see.com.google.protobuf.ByteString
getDeviceNameBytes()
Device name that the guest operating system will see.String
getExistingDisk()
Name of an existing PD.com.google.protobuf.ByteString
getExistingDiskBytes()
Name of an existing PD.AllocationPolicy.Disk
getNewDisk()
.google.cloud.batch.v1alpha.AllocationPolicy.Disk new_disk = 1;
AllocationPolicy.DiskOrBuilder
getNewDiskOrBuilder()
.google.cloud.batch.v1alpha.AllocationPolicy.Disk new_disk = 1;
boolean
hasExistingDisk()
Name of an existing PD.boolean
hasNewDisk()
.google.cloud.batch.v1alpha.AllocationPolicy.Disk new_disk = 1;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasNewDisk
boolean hasNewDisk()
.google.cloud.batch.v1alpha.AllocationPolicy.Disk new_disk = 1;
- Returns:
- Whether the newDisk field is set.
-
getNewDisk
AllocationPolicy.Disk getNewDisk()
.google.cloud.batch.v1alpha.AllocationPolicy.Disk new_disk = 1;
- Returns:
- The newDisk.
-
getNewDiskOrBuilder
AllocationPolicy.DiskOrBuilder getNewDiskOrBuilder()
.google.cloud.batch.v1alpha.AllocationPolicy.Disk new_disk = 1;
-
hasExistingDisk
boolean hasExistingDisk()
Name of an existing PD.
string existing_disk = 2;
- Returns:
- Whether the existingDisk field is set.
-
getExistingDisk
String getExistingDisk()
Name of an existing PD.
string existing_disk = 2;
- Returns:
- The existingDisk.
-
getExistingDiskBytes
com.google.protobuf.ByteString getExistingDiskBytes()
Name of an existing PD.
string existing_disk = 2;
- Returns:
- The bytes for existingDisk.
-
getDeviceName
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:
- The deviceName.
-
getDeviceNameBytes
com.google.protobuf.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:
- The bytes for deviceName.
-
getAttachedCase
AllocationPolicy.AttachedDisk.AttachedCase getAttachedCase()
-
-