Interface AllocationPolicy.AttachedDiskOrBuilder

    • Method Detail

      • hasNewDisk

        boolean hasNewDisk()
        .google.cloud.batch.v1.AllocationPolicy.Disk new_disk = 1;
        Returns:
        Whether the newDisk field is set.
      • getNewDisk

        AllocationPolicy.Disk getNewDisk()
        .google.cloud.batch.v1.AllocationPolicy.Disk new_disk = 1;
        Returns:
        The newDisk.
      • 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.